]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix tst_wcscpy.c test.
[glibc.git] / ChangeLog
CommitLineData
ccdb048d
CD
12015-01-21 Carlos O'Donell <carlos@redhat.com>
2
3 [BZ #17702]
4 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
5 (modules-names): Add moddummy1 and moddummy2.
6 ($(objpfx)tst-rec-dlopen): Define.
7 * dlfcn/moddummy1.c: New file.
8 * dlfcn/moddummy2.c: New file.
9 * dlfcn/tst-rec-dlopen.c: New file.
10 * elf/dl-cache.c (_dl_load_cache_lookup):
11 Return char*. Copy result with alloca/strcpy/strdup.
12 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
13 returns char*. Free cached. If not saving realname
14 free cached.
15 * elf/dl-open.c (dl_open_worker): Do not assert that
16 _r_debug->r_state is RT_CONSISTENT.
17 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
18 returns char*.
19
042e1521
CD
202015-01-21 Torvald Riegel <triegel@redhat.com>
21 Carlos O'Donell <carlos@redhat.com>
22
23 [BZ #12674]
24 * nptl/sem_waitcommon.c: New file.
25 * nptl/sem_wait.c: Include sem_waitcommon.c.
26 (__sem_wait_cleanup, do_futex_wait): Remove.
27 (__new_sem_wait): Adapt.
28 (__new_sem_trywait): New function.
29 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
31 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
32 (sem_timedwait): Adapt.
33 * nptl/sem_post.c (__new_sem_post): Adapt.
34 (futex_wake): New function.
35 (__old_sem_post): Add release MO fence.
36 * nptl/sem_open.c (sem_open): Adapt.
37 * nptl/sem_init.c (__new_sem_init): Adapt.
38 (futex_private_if_supported): New function.
39 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40 (__old_sem_getvalue): Add using previous code.
41 * sysdeps/nptl/internaltypes.h: Adapt.
42 * nptl/tst-sem13.c (do_test): Adapt.
43 * nptl/tst-sem11.c (main): Adapt.
44 * nptl/sem_trywait.c: Remove.
45 * nptl/DESIGN-sem.txt: Remove.
46 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
47 (gen-as-const-headers): Remove structsem.sym.
48 * nptl/structsem.sym: Remove.
49 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
50 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
51 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
52 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
53 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
54 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
55 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
56 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
57 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
58 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
59 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
60 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
61 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
62 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
63 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
64 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
65 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
66 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
67 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
68 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
69 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
70 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
71
fe0e85af
CD
722015-01-20 Carlos O'Donell <carlos@redhat.com>
73
a8db092e
CD
74 * INSTALL: Regenerated.
75
fe0e85af
CD
76 * po/libc.pot: Regenerated.
77
522e6ee3
CLT
782015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
79 Sandra Loosemore <sandra@codesourcery.com>
80 Andrew Jenner <andrew@codesourcery.com>
81 Joseph Myers <joseph@codesourcery.com>
82 Nathan Sidwell <nathan@codesourcery.com>
83
84 * NEWS: Mention new Nios II port.
85 * sysdeps/nios2/Implies: New file.
86 * sysdeps/nios2/Makefile: New file.
87 * sysdeps/nios2/Subdirs: New file.
88 * sysdeps/nios2/Versions: New file.
89 * sysdeps/nios2/__longjmp.S: New file.
90 * sysdeps/nios2/abort-instr.h: New file.
91 * sysdeps/nios2/backtrace.c: New file.
92 * sysdeps/nios2/bits/endian.h: New file.
93 * sysdeps/nios2/bits/fenv.h: New file.
94 * sysdeps/nios2/bits/link.h: New file.
95 * sysdeps/nios2/bits/setjmp.h: New file.
96 * sysdeps/nios2/bsd-_setjmp.S: New file.
97 * sysdeps/nios2/bsd-setjmp.S: New file.
98 * sysdeps/nios2/configure: New generated file.
99 * sysdeps/nios2/configure.ac: New file.
100 * sysdeps/nios2/crti.S: New file.
101 * sysdeps/nios2/crtn.S: New file.
102 * sysdeps/nios2/dl-init.c: New file.
103 * sysdeps/nios2/dl-machine.h: New file.
104 * sysdeps/nios2/dl-sysdep.h: New file.
105 * sysdeps/nios2/dl-tls.h: New file.
106 * sysdeps/nios2/dl-trampoline.S: New file.
107 * sysdeps/nios2/gccframe.h: New file.
108 * sysdeps/nios2/gmp-mparam.h: New file.
109 * sysdeps/nios2/jmpbuf-offsets.h: New file.
110 * sysdeps/nios2/jmpbuf-unwind.h: New file.
111 * sysdeps/nios2/ldsodefs.h: New file.
112 * sysdeps/nios2/libc-tls.c: New file.
113 * sysdeps/nios2/libm-test-ulps: New file.
114 * sysdeps/nios2/machine-gmon.h: New file.
115 * sysdeps/nios2/math-tests.h: New file.
116 * sysdeps/nios2/math_private.h: New file.
117 * sysdeps/nios2/memusage.h: New file.
118 * sysdeps/nios2/nptl/Makefile: New file.
119 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
120 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
121 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
122 * sysdeps/nios2/nptl/pthreaddef.h: New file.
123 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
124 * sysdeps/nios2/nptl/tls.h: New file.
125 * sysdeps/nios2/preconfigure: New file.
126 * sysdeps/nios2/s_fma.c: New file.
127 * sysdeps/nios2/s_fmaf.c: New file.
128 * sysdeps/nios2/setjmp.S: New file.
129 * sysdeps/nios2/sfp-machine.h: New file.
130 * sysdeps/nios2/sotruss-lib.c: New file.
131 * sysdeps/nios2/stackguard-macros.h: New file.
132 * sysdeps/nios2/stackinfo.h: New file.
133 * sysdeps/nios2/start.S: New file.
134 * sysdeps/nios2/sysdep.h: New file.
135 * sysdeps/nios2/tls-macros.h: New file.
136 * sysdeps/nios2/tst-audit.h: New file.
137 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
138 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
139 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
140 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
141 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
142 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
143 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
144 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
145 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
146 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
147 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
148 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
149 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
150 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
151 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
152 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
153 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
154 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
155 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
156 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
157 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
158 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
159 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
160 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
161 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
162 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
163 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
164 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
165 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
166 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
167 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
168 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
169 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
170 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
171 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
172 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
173 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
174 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
175 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
176 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
177 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
178 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
179 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
180 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
181
026eb207
SL
1822015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
183
184 [BZ #17844]
185 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
186 (getutent): Use weak_alias in non SHARED case
187 and default_symbol_version in SHARED case.
188 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
189 (getutent_r, pututline): Likewise.
190 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
191 (getutid): Likewise.
192 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
193 (getutid_r): Likewise.
194 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
195 (getutline): Likewise.
196 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
197 (getutline_r): Likewise.
198 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
199 (updwtmp): Likewise.
200
1d532483
SL
2012015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
202
203 [BZ #17848]
204 * sysdeps/s390/s390-32/memcmp.S
205 (memcmp_g5): Rename to __memcmp_g5.
206 * sysdeps/s390/s390-32/memcpy.S
207 (memcpy_g5): Rename to __memcpy_g5.
208 Jump to __memcpy_mvcle instead of memcpy_mvcle.
209 (memcpy_mvcle) Rename to __memcpy_mvcle.
210 * sysdeps/s390/s390-32/memset.S
211 (memset_g5): Rename to __memset_g5.
212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
213 (IFUNC_RESOLVE): Prefix ifunc-resolve function
214 and use prefixed functions.
215 * sysdeps/s390/s390-32/multiarch/memcmp.S
216 (memcmp_z196): Rename to __memcmp_z196.
217 (memcmp_z10): Rename to __memcmp_z10.
218 (memcmp): Set alias to __memcmp_g5.
219 (bcmp): Set alias to __memcmp_g5.
220 * sysdeps/s390/s390-32/multiarch/memcpy.S
221 (memcpy_z196): Rename to __memcpy_z196.
222 Jump to __memcpy_mvcle instead of memcpy_mvcle.
223 (memcpy_z10): Rename to __memcpy_z10.
224 Jump to __memcpy_mvcle instead of memcpy_mvcle.
225 (memcpy): Set alias to __memcpy_g5.
226 * sysdeps/s390/s390-32/multiarch/memset.S
227 (memset_z196): Rename to __memset_z196.
228 Jump to __memset_mvcle instead of memset_mvcle.
229 (memset_z10): Rename to __memset_z10.
230 Jump to __memset_mvcle instead of memset_mvcle.
231 (memset_mvcle) Rename to __memset_mvcle.
232 (memset): Set alias to __memset_g5.
233 * sysdeps/s390/s390-64/memcmp.S
234 (memcmp_z900): Rename to __memcmp_z900.
235 * sysdeps/s390/s390-64/memcpy.S
236 (memcpy_z900): Rename to __memcpy_z900.
237 Jump to __memcpy_mvcle instead of memcpy_mvcle.
238 (memcpy_mvcle) Rename to __memcpy_mvcle.
239 * sysdeps/s390/s390-64/memset.S
240 (memset_z900): Rename to __memset_z900.
241 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
242 (IFUNC_RESOLVE): Prefix ifunc-resolve function
243 and use prefixed functions.
244 * sysdeps/s390/s390-64/multiarch/memcmp.S
245 (memcmp_z196): Rename to __memcmp_z196.
246 (memcmp_z10): Rename to __memcmp_z10.
247 (memcmp): Set alias to __memcmp_z900.
248 (bcmp): Set alias to __memcmp_z900.
249 * sysdeps/s390/s390-64/multiarch/memcpy.S
250 (memcpy_z196): Rename to __memcpy_z196.
251 Jump to __memcpy_mvcle instead of memcpy_mvcle.
252 (memcpy_z10): Rename to __memcpy_z10.
253 Jump to __memcpy_mvcle instead of memcpy_mvcle.
254 (memcpy): Set alias to __memcpy_z900.
255 * sysdeps/s390/s390-64/multiarch/memset.S
256 (memset_z196): Rename to __memset_z196.
257 Jump to __memset_mvcle instead of memset_mvcle.
258 (memset_z10): Rename to __memset_z10.
259 Jump to __memset_mvcle instead of memset_mvcle.
260 (memset_mvcle) Rename to __memset_mvcle.
261 (memset): Set alias to __memset_z900.
262
53fbd169
JM
2632015-01-14 Joseph Myers <joseph@codesourcery.com>
264
265 [BZ #17748]
266 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
267 __fesetenv instead of fesetenv.
268
d639a363
SP
2692015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
270
271 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
272 macro.
273
d3b00f46
AZ
2742015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
275
ce6615c9
AZ
276 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
277 regression on LE.
278
d3b00f46
AZ
279 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
280 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
281 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
282 strncmp-power8 object.
283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
284 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
285 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
286 * NEWS: Update.
287
72607db0
RS
2882015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
289 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
292 trailing byte check.
293
54dc5461
DM
2942015-01-13 David S. Miller <davem@davemloft.net>
295
296 * include/signal.h (__sigreturn): Guard with __USE_MISC.
297
1c6e6f23
RM
2982015-01-13 Roland McGrath <roland@hack.frob.com>
299
300 * login/logout.c (logout): Use memset rather than bzero.
301 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
302 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
303 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
304 (_gethtbyaddr): Likewise.
305 * locale/programs/simple-hash.c (bcopy): Macro removed.
306
96d6fd6c
AZ
3072015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
308
8bedcb5f
AZ
309 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
310 Add strcmp-power8 object.
311 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
312 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
313 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
314 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
315 __strcmp_power8 implementation.
316 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
317 * NEWS: Update.
318
f06a4faf
AZ
319 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
320 Add strncpy-power8 and stpncpy-power8 objects.
321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
322 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
323 implementations.
324 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
325 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
326 __stpncpy_power8 implementation.
327 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
328 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
329 __strncpy_power8 implementation.
330 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
331 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
332 * NEWS: Update.
333
9f2f36e5
AZ
334 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
335 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
336 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
337
96d6fd6c 338 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
339 strncat-power8 object.
340 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
341 __strcat_power8 implementation.
342 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
343 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
344 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
345 optimized strcat for power8.
346
347 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
348 strcpy-power8 and stpcpy-power8 objects.
349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
350 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
351 implementations.
352 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
353 multiarch stpcpy implementation for POWER8.
354 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
355 multiarch strcpy implementation for POWER8.
356 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
357 __strcpy_power8 function.
358 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
359 stpcpy for POWER8.
360 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
361 strcpy for POWER8.
362 * NEWS: Update.
363
0f9e5854
LH
3642015-01-13 Leonhard Holz <leonhard.holz@web.de>
365
366 [BZ #16009]
367 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
368 weights and rules. Use do_xfrm_cached if data fits in cache,
369 do_xfrm otherwise. Moved former main loop to...
370 * (do_xfrm_cached): New function.
371 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
372 find_idx, find_position and stack_push.
373 * (find_idx): New function.
374 * (find_position): Likewise.
375 * localedata/sort-test.sh: Added test run for do_xfrm.
376 * localedata/xfrm-test.c (main): Added command line option
377 -nocache to run the test with strings that are too large for
378 the STRXFRM cache.
379
c60ec0e0
TR
3802015-01-13 Torvald Riegel <triegel@redhat.com>
381
382 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
383 variable to lll_futex_wake call, not the value itself.
384
34e93d6c
JM
3852015-01-12 Joseph Myers <joseph@codesourcery.com>
386
5a9e4c09
JM
387 [BZ #17803]
388 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
389 twom64. Adjust value to 0x1p-64L.
390 (__scalblnl): Only return standard underflowing result for K <=
391 -64 not K <= -63; adjust exponent for underflowing result by 64
392 not 63.
393 * math/libm-test.inc (scalbn_test_data): Add more tests.
394 (scalbln_test_data): Likewise.
395
34e93d6c
JM
396 [BZ #17834]
397 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
398 0x1p63L.
399 (__scalblnl): Get new exponent of adjusted subnormal value from ES
400 not HX.
401 * math/libm-test.inc (scalbn_test_data): Add more tests.
402 (scalbln_test_data): Likewise.
403
ca677d3c
AZ
4042015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
405 Stefani Seibold <stefani@seibold.net>
406
407 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
408 (sysdep_routines): Add dl-vdso here, ...
409 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
410 (sysdep_routines): ... not here.
411 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
412 fallback when vDSO is not presented.
413 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
414 Define with libc_hidden_proto/libc_hidden_data_def definitions.
415 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
416 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
417 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
418 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
419 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
421 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
422 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
423 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
424 fallback configurable symbol when vDSO is not available.
425 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
426 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
427 be able to redefine fallback symbol when vDSO is not available.
428 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
429 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
430
49a9f6ab 4312015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 432
56cf2763
AZ
433 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
434 (TLS_INIT_TP): Add tm_capable initialization.
435 (TLS_DEFINE_INIT_TP): Likewise.
436 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
437 TCB.
438 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
439 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
440 calculation.
441 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
442 transactoion is lock elision is built and TCB tm_capable is set.
443 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
445 (INTERNAL_SYSCALL_NCS): Likewise.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
447 (INTERNAL_SYSCALL_NCS): Likewise.
448 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
449
4b45943a
AZ
450 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
451 for powerpc.
452 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
453 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
454 and remove it for 32 bits case.
455 [pthread_rwlock_t] (__rwelision): New field for lock elision.
456 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
457 initialization.
458 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
459 Disable lock elision with rdlocks if elision is not available.
460
8d2c0a59
AZ
461 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
462 (sysdep_routines): Add lock elision objects.
463 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
464 [pthread_mutex_t] (__spins): Rework to add lock elision field.
465 [pthread_mutex_t] (__elision): Add field.
466 [__PTHREAD_SPINS]: Adjust to init lock elision field.
467 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
468 elision definitions for powerpc.
469 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
470 implementation of lock elision for powerpc.
471 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
472 implementation of timed lock elision for powerpc.
473 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
474 implementation of trylock with lock elision for powerpc.
475 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
476 implementaion of unlock for lock elision for powerpc.
477 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
478 automatic enable lock elision for mutexes.
479 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
480 transaction execution definitions for powerpc.
481 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
482 definitions.
483 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
484 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
485 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
486 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
487 * NEWS: Update.
488
bc0ed9f7
RM
4892015-01-09 Roland McGrath <roland@hack.frob.com>
490
491 * sysdeps/posix/shm-directory.c: Use <> rather than ""
492 for #include of <shm-directory.h>.
493
585d9c18
CLT
4942015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
495
496 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
497 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
498
aee6626c
MF
4992015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
500
501 [BZ #17791]
502 * NEWS: Mention bug fix.
503 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
504 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
505 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
506
9e560f48
TR
5072015-01-09 Torvald Riegel <triegel@redhat.com>
508
509 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
510
e1cfbd0c
TR
5112015-01-09 Torvald Riegel <triegel@redhat.com>
512
513 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
514
cf71e44f
DH
5152015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
516
517 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
518 pointer and cast to uintptr_t.
519
b360ee62
DH
5202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
521
522 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
523 removed.
524 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
525
caff764e
DH
5262015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
527
528 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
529 of 0.
530
59ff172f
RM
5312015-01-08 Roland McGrath <roland@hack.frob.com>
532
c97d27f1
RM
533 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
534 <nptl/pthreadP.h> instead.
535 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
536
08734ccd
RM
537 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
538 already defined.
539 [__SIGRTMIN] (init): Function removed.
540 [__SIGRTMIN] (initialized): Variable removed.
541 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
542 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
543 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
544 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
545 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
546 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
547 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
548 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
549 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
550 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
551 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
552 * sysdeps/nptl/allocrtsig.c: New file.
553 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
554 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
555 * sysdeps/generic/testrtsig.h: File removed.
556
7b052e33
RM
557 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
558 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
559
cc40d25e
RM
560 * nptl/nptl-init.c (pthread_functions): Conditionalize
561 .ptr__nptl_setxid initialization on [SIGSETXID].
562
9287adf0
RM
563 * sysdeps/nptl/sys/procfs.h: New file.
564 * nptl_db/Makefile (headers): Add it.
565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
566
59ff172f
RM
567 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
568 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
569 * nptl/pthread_attr_setaffinity.c: Include it.
570 * nptl/pthread_setattr_default_np.c: Likewise.
571 * nptl/check-cpuset.h: New file.
572
b9205857
RH
5732015-01-08 Richard Henderson <rth@redhat.com>
574
575 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
576 (CFLAGS-tst-execstack-prog.c): Likewise.
577 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
578
1a0a8d15
CLT
5792015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
580 Sandra Loosemore <sandra@codesourcery.com>
581 Andrew Jenner <andrew@codesourcery.com>
582 Joseph Myers <joseph@codesourcery.com>
583 Nathan Sidwell <nathan@codesourcery.com>
584
585 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
586 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
587 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
588 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
589 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
590 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
591 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
592 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
593 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
594 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
595 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
596 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
597 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
598 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
599 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
600 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
601 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
602
dd6e8af6
AZ
6032015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
604
605 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
606 timespec struct member in syscall macro.
607 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
608 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
609 first timeval struct member in syscall macro.
610 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
611
8116321f
JM
6122015-01-07 Joseph Myers <joseph@codesourcery.com>
613
614 [BZ #17748]
615 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
616 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
617 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
618 __feupdateenv and define as weak alias of __feupdateenv. Use
619 libm_hidden_weak.
620 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
621 libm_hidden_def.
622 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
623 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
624 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
626 libm_hidden_def.
627 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
628 __feupdateenv and define as weak alias of __feupdateenv. Use
629 libm_hidden_weak.
630 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
631 libm_hidden_def.
632 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
633 __feupdateenv and define as weak alias of __feupdateenv. Use
634 libm_hidden_weak.
635 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
636 libm_hidden_def.
637 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
638 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
639 (__feupdateenv): Likewise.
640 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
641 __feupdateenv and define as weak alias of __feupdateenv. Use
642 libm_hidden_weak.
643 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
644 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
645 libm_hidden_def.
646 * sysdeps/tile/math_private.h (__feupdateenv): New inline
647 function.
648 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
649 libm_hidden_def.
650 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
651 __feupdateenv instead of feupdateenv.
652 (default_libc_feupdateenv_test): Likewise.
653 (libc_feresetround_ctx): Likewise.
654
882dfe18
AZ
6552015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
656
657 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
658 prototype.
659
39a12f8d
CM
6602015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
661
662 * posix/regcomp.c (parse_bracket_exp): Initialize type to
663 COLL_SYM in a couple of places to avoid uninitialized variable
664 wanings on tilegx gcc 4.8.2.
665
dc400d7b
RE
6662015-01-07 Richard Earnshaw <rearnsha@arm.com>
667
668 * sysdeps/aarch64/strcpy.S: New file.
669 * sysdeps/aarch64/stpcpy.S: New file.
670 * NEWS: Updated.
671
ec582ca0
RE
6722015-01-07 Richard Earnshaw <rearnsha@arm.com>
673
674 * sysdeps/aarch64/strrchr.S: New file.
675 * NEWS: Updated.
676
d5b1c5ed
EB
6772015-01-07 Eric Biggers <ebiggers3@gmail.com>
678
679 [BZ #17658]
680 * stdlib/setenv.c: Fix memory leak when setting large,
681 duplicate string.
682
fb87ee96
VN
6832015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
684
60f046a8 685 [BZ #17273]
fb87ee96
VN
686 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
687 and tabs from buffer before parsing fstab entry.
688 * misc/tst-mntent.c (main): Add test for mount entry with
689 trailing spaces and tabs.
690
cd42798a
JM
6912015-01-06 Joseph Myers <joseph@codesourcery.com>
692
01238691
JM
693 [BZ #17748]
694 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
695 * math/fesetround.c (fesetround): Rename to __fesetround and
696 define as weak alias of __fesetround. Use libm_hidden_weak.
697 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
698 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
699 * sysdeps/arm/fesetround.c (fesetround): Likewise.
700 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
701 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
702 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
703 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
704 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
705 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
706 __fesetround_inline.
707 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
708 __fesetround_inline instead of __fesetround.
709 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
710 __fesetround and define as weak alias of __fesetround. Use
711 libm_hidden_weak. Call __fesetround_inline instead of
712 __fesetround.
713 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
714 __fesetround and define as weak alias of __fesetround. Use
715 libm_hidden_weak.
716 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
717 Likewise.
718 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
719 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
720 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
721 * sysdeps/tile/math_private.h (__fesetround): New inline function.
722 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
723 __fesetround and define as weak alias of __fesetround. Use
724 libm_hidden_weak.
725 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
726 __fesetround instead of fesetround.
727 (default_libc_feholdexcept_setround): Likewise.
728 (libc_feholdsetround_ctx): Likewise.
729 (libc_feholdsetround_noex_ctx): Likewise.
730
cd42798a
JM
731 [BZ #17748]
732 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
733 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
734 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
735 and define as weak alias of __fesetenv. Use libm_hidden_weak.
736 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
737 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
738 define as weak alias of __fesetenv. Use libm_hidden_weak.
739 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
740 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
741 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
742 define as weak alias of __fesetenv. Use libm_hidden_weak.
743 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
744 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
745 define as weak alias of __fesetenv. Use libm_hidden_weak.
746 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
747 libm_hidden_def.
748 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
749 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
750 Likewise.
751 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
752 define as weak alias of __fesetenv. Use libm_hidden_weak.
753 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
754 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
755 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
756 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
757 and define as weak alias of __fesetenv. Use libm_hidden_weak.
758 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
759 __fesetenv instead of fesetenv.
760 (libc_feresetround_noex_ctx): Likewise.
761 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
762 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
763 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
764 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
765 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
766 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
767 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
768 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
769 (__feupdateenv): Likewise.
770 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
771 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
772 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
773 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
774
38949026
AJ
7752015-01-06 Aurelien Jarno <aurelien@aurel32.net>
776
1cf98e27 777 [BZ #17806]
38949026
AJ
778 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
779 addresses have been freed.
780
5fe55e9c
AJ
7812015-01-06 Aurelien Jarno <aurelien@aurel32.net>
782
783 * resolv/res_init.c (__res_vinit): Improve comments about nserv
784 and nservall.
785
dc8ab018
OB
7862015-01-06 Ondřej Bílka <neleai@seznam.cz>
787
788 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
789 Clean up check_pf allocation pattern. addresses
790
14bb4e57
AZ
7912015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
792
793 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
794 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
795 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
796 * nptl/pthread_exit.c (__pthread_exit): Likewise.
797 * nptl/pthread_join.c (pthread_join): Likewise.
798 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
799 * sysdeps/posix/waitid.c (__waitid): Likewise.
800 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
801 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
802 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
803 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
804 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
805 Likewise.
806 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
807 (__libc_pread64): Likewise.
808 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
809 (__libc_pwrite): Likewise.
810 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
811 (__libc_pwrite64): Likewsie.
812 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
813 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
814 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
815 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
816 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
817 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
818 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
820 Likewise.
821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
822 (__libc_pread64): Likewise.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
824 Likewise.
825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
826 (__libc_pwrite64): Likewise.
827 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
828 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
829 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
830 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
831 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
832 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
833 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
834 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
835 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
836 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
837 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
838 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
839 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
840 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
841 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
842 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
843 Likewise.
844
10a5e112
AS
8452015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
846
847 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
848 (CFLAGS-test-double.c): Likewise.
849 (CFLAGS-test-ldouble.c): Likewise.
850 (CPPFLAGS-test-ifloat.c): Likewise.
851 (CPPFLAGS-test-idouble.c): Likewise.
852 (CPPFLAGS-test-ildoubl.c): Likewise.
853 (CFLAGS-test-test-fenv.c): Remove variable.
854 (CFLAGS-test-misc.c): Likewise.
855
57ada0e7
L
8562015-01-06 H.J. Lu <hongjiu.lu@intel.com>
857
858 [BZ #17797]
859 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
860 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
861 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
862 CLOCKS_PER_SEC == 1000000.
863 * time/clocktest.c (main): Replace %ld with %jd and cast to
864 intmax_t.
865
46abb64d
RM
8662015-01-05 Roland McGrath <roland@hack.frob.com>
867
868 * sysdeps/generic/unwind-resume.h: New file.
869 * sysdeps/gnu/unwind-resume.c: Include it.
870 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
871 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
872 argument list.
873 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
874 global rather than static.
875 (_Unwind_Resume): Update user.
876 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
877 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
878 rather than static. Add __attribute__ ((cold)).
879 (_Unwind_Resume, __gcc_personality_v0): Update callers.
880 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
881 * sysdeps/arm/arm-unwind-resume.S: New file.
882 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
883 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
884 * sysdeps/arm/Makefile [$(subdir) = csu]
885 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
886 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
887 Add rt-arm-unwind-resume.
888 [$(subdir) = nptl]
889 (libpthread-sysdep_routines, libpthread-shared-only-routines):
890 Add pt-arm-unwind-resume.
891 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
892 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
893
ef9faf13
JM
8942015-01-05 Joseph Myers <joseph@codesourcery.com>
895
896 [BZ #17748]
897 * include/fenv.h (__feholdexcept): Declare. Use
898 libm_hidden_proto.
899 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
900 define as weak alias of __feholdexcept. Use libm_hidden_weak.
901 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
902 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
903 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
904 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
905 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
906 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
907 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
908 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
909 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
910 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
911 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
912 (feholdexcept): Likewise.
913 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
914 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
915 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
916 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
917 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
918 __feholdexcept instead of feholdexcept.
919 (default_libc_feholdexcept_setround): Likewise.
920
295a453e
SE
9212015-01-05 Steve Ellcey <sellcey@imgtec.com>
922
923 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
924 to avoid using stl/str to align destination.
925
882c4b9f
SE
9262015-01-05 Steve Ellcey <sellcey@imgtec.com>
927
928 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
929
ac4c11f5
JM
9302015-01-05 Joseph Myers <joseph@codesourcery.com>
931
932 [BZ #17796]
933 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
934 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
935 Define as weak alias not strong alias.
936
03403e30
SE
9372015-01-05 Steve Ellcey <sellcey@imgtec.com>
938
939 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
940 bltzal with addiupc.
941 (RTLD_START): Ditto.
942
1dca195e
CM
9432015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
944
7ea793f3
CM
945 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
946 for __vdso_* functions in declarations.
947 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
948 definitions.
949 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
950 INTERNAL_VSYSCALL): Use struct return types to check for error.
951
1dca195e
CM
952 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
953 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
954 function with cast from llround().
955 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
956 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
957 Define.
958
a287953a
JM
9592015-01-05 Joseph Myers <joseph@codesourcery.com>
960
ab70da77
JM
961 [BZ #17793]
962 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
963 Define as weak alias not strong alias.
964
b8986484
JM
965 [BZ #17635]
966 * ctype/ctype-c99.c: New file. isblank implementation moved from
967 ...
968 * ctype/ctype-extn.c: ... here.
969 (__isblank_l): Move to ...
970 * ctype/ctype-c99_l.c: ... here. New file.
971 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
972 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
973 Remove variable.
974 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
975 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
976 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
977 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
978 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
979
a287953a
JM
980 [BZ #17777]
981 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
982 (posix_fadvise64): Define as weak alias not strong alias.
983 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
984 (posix_fallocate64): Likewise.
985 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
986 Remove variable.
987 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
988 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
989 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
990 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
991 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
992
b1efe3bb
MF
9932015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
994
995 [BZ #16191]
996 * NEWS: Mention bug fix.
997 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
998 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
999 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1000 (HOST_STACK_END_ADDR): Likewise.
1001
9706dc5f
JM
10022015-01-02 Joseph Myers <joseph@codesourcery.com>
1003
b93c2205
JM
1004 [BZ #17748]
1005 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1006 * math/fegetround.c (fegetround): Rename to __fegetround and
1007 define as weak alias of __fegetround. Use libm_hidden_weak.
1008 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1009 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1010 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1011 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1012 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1013 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1014 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1015 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1016 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1017 Undefine after rather than before function definition; use
1018 parentheses around function name in definition.
1019 (__fegetround): Also undefine macro after function definition.
1020 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1021 __fegetround and define as weak alias of __fegetround. Use
1022 libm_hidden_weak. Do not undefine as macro.
1023 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1024 Likewise.
1025 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1026 __fegetround and define as weak alias of __fegetround. Use
1027 libm_hidden_weak.
1028 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1029 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1030 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1031 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1032 __fegetround and define as weak alias of __fegetround. Use
1033 libm_hidden_weak.
1034 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1035 __fegetround instead of fegetround.
1036
253a59cc
JM
1037 [BZ #17782]
1038 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1039 Condition macro definition on [__USE_MISC].
1040
27dae011
JM
1041 [BZ #17781]
1042 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1043 (struct sigaction): Change type of sa_flags field to int.
1044
172019c0
JM
1045 [BZ #17780]
1046 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1047 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1048 __glibc_reserved0.
1049
522ad1d6
JM
1050 * nptl/version.c (banner): Use single year in copyright notice.
1051
9706dc5f
JM
1052 * NEWS: Update copyright dates.
1053 * catgets/gencat.c (print_version): Likewise.
1054 * csu/version.c (banner): Likewise.
1055 * debug/catchsegv.sh: Likewise.
1056 * debug/pcprofiledump.c (print_version): Likewise.
1057 * debug/xtrace.sh (do_version): Likewise.
1058 * elf/ldconfig.c (print_version): Likewise.
1059 * elf/ldd.bash.in: Likewise.
1060 * elf/pldd.c (print_version): Likewise.
1061 * elf/sotruss.sh: Likewise.
1062 * elf/sprof.c (print_version): Likewise.
1063 * iconv/iconv_prog.c (print_version): Likewise.
1064 * iconv/iconvconfig.c (print_version): Likewise.
1065 * locale/programs/locale.c (print_version): Likewise.
1066 * locale/programs/localedef.c (print_version): Likewise.
1067 * login/programs/pt_chown.c (print_version): Likewise.
1068 * malloc/memusage.sh (do_version): Likewise.
1069 * malloc/memusagestat.c (print_version): Likewise.
1070 * malloc/mtrace.pl: Likewise.
1071 * manual/libc.texinfo: Likewise.
1072 * nptl/version.c (banner): Likewise.
1073 * nscd/nscd.c (print_version): Likewise.
1074 * nss/getent.c (print_version): Likewise.
1075 * nss/makedb.c (print_version): Likewise.
1076 * posix/getconf.c (main): Likewise.
1077 * scripts/test-installation.pl: Likewise.
1078 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1079
b8607aac
WN
10802015-01-02 Will Newton <will.newton@linaro.org>
1081
1082 * sysdeps/arm/armv7/configure: Removed.
1083 * sysdeps/arm/armv7/configure.ac: Likewise.
1084
b168057a
JM
10852015-01-02 Joseph Myers <joseph@codesourcery.com>
1086
1087 * All files with FSF copyright notices: Update copyright dates
1088 using scripts/update-copyrights.
1089 * intl/plural.c: Regenerated.
1090 * locale/programs/charmap-kw.h: Likewise.
1091 * locale/programs/locfile-kw.h: Likewise.
1092
b217c15f
SP
10932015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1094
1095 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1096
73a268c7
JM
10972014-12-31 Joseph Myers <joseph@codesourcery.com>
1098
1099 [BZ #17748]
1100 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1101 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1102 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1103 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1104 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1105 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1106 define as weak alias of __fegetenv. Use libm_hidden_weak.
1107 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1108 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1109 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1110 define as weak alias of __fegetenv. Use libm_hidden_weak.
1111 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1112 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1113 define as weak alias of __fegetenv. Use libm_hidden_weak.
1114 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1115 libm_hidden_def.
1116 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1117 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1118 Likewise.
1119 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1120 define as weak alias of __fegetenv. Use libm_hidden_weak.
1121 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1122 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1123 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1124 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1125 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1126 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1127 __fegetenv instead of fegetenv.
1128 (libc_feholdsetround_noex_ctx): Likewise.
1129
0bd95672
MF
11302014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1131
1132 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1133 (Elf_MIPS_ABIFlags_v0): New structure.
1134 (EF_MIPS_FP64): Define.
1135 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1136 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1137 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1138 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1139 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1140 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1141 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1142 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1143 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1144 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1145 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1146 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1147 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1148 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1149 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1150 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1151 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1152 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1153 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1154 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1155 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1156 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1157 field.
1158 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1159 EF_MIPS_FP64.
1160 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1161 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1162 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1163 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1164 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1165 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1166 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1167 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1168 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1169 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1170 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1171 record the current FP ABI extension.
1172 (mips-mode-switch): Define to show if kernel headers support mode
1173 switching.
1174 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1175 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1176 supported SYSV ABI version to 3.
1177 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1178 feature.
1179
f59ad976
RS
11802014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1181 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182
1183 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1184 path.
1185 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1186
4a3d3999
JM
11872014-12-31 Joseph Myers <joseph@codesourcery.com>
1188
1189 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1190 __fegetround and redefine to call __fegetround. Remove condition
1191 on [!__NO_MATH_INLINES].
1192 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1193 function.
1194 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1195 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1196 Remove macro.
1197 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1198 instead of <fenv_libc.h>.
1199 (__llrintl): Call fegetround instead of __fegetround.
1200 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1201 instead of <fenv_libc.h>.
1202 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1203 (__lrintl): Call fegetround instead of __fegetround.
1204 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1205 instead of <fenv_libc.h>.
1206 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1207 (__rintl): Call fegetround instead of __fegetround.
1208
195f3afc
SP
12092014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1210
1211 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1212 arrays.
1213
7062bd42
L
12142014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 [BZ #17775]
1217 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1218 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1219 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1220
07256e18
AS
12212014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1222
1223 * sysdeps/i386/tls-macros.h: Include <features.h>.
1224 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1225 (TLS_IE): Likewise.
1226 (TLS_LD): Likewise.
1227 (TLS_GD): Likewise.
1228 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1229 define for GCC >= 5.0.
1230
1ff950ad
CM
12312014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1232
1233 * math/test-fenv.c (test_single_exception, set_single_exc,
1234 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1235 feexcp_mask_test, feenable_test, fe_single_test): Add
1236 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1237 case where they are not used.
1238 * math/libm-test.inc: Likewise.
1239 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1240 unused in the absence of FP rounding/exception support.
1241 * stdio-common/tst-printf-round.c: Likewise.
1242 * stdlib/tst-strtod-round.c: Likewise.
1243 * stdlib/tst-strtod-underflow.c: Likewise.
1244
0747f818
JM
12452014-12-30 Joseph Myers <joseph@codesourcery.com>
1246
1247 [BZ #17723]
1248 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1249 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1250 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1251 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1252 libm_hidden_weak.
1253 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1254 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1255 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1256 libm_hidden_def.
1257 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1258 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1259 libm_hidden_weak.
1260 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1261 Likewise.
1262 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1263 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1264 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1265 libm_hidden_weak.
1266 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1267 libm_hidden_def.
1268 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1269 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1270 (__feraiseexcept): Likewise.
1271 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1272 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1273 libm_hidden_weak.
1274 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1275 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1276 libm_hidden_def.
1277 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1278 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1279 Use libm_hidden_def.
1280 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1281 libm_hidden_def.
1282 (feraiseexcept): Define as weak not strong alias. Use
1283 libm_hidden_weak.
1284 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1285 New inline function. Factored out of ...
1286 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1287 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1288 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1289 feraiseexcept.
1290 * math/w_acos.c (__acos): Likewise.
1291 * math/w_asin.c (__asin): Likewise.
1292 * math/w_ilogb.c (__ilogb): Likewise.
1293 * math/w_j0.c (y0): Likewise.
1294 * math/w_j1.c (y1): Likewise.
1295 * math/w_jn.c (yn): Likewise.
1296 * math/w_log.c (__log): Likewise.
1297 * math/w_log10.c (__log10): Likewise.
1298 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1299 * sysdeps/aarch64/fpu/math_private.h
1300 (libc_feupdateenv_test_aarch64): Likewise.
1301 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1302 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1303 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1304 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1305 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1306 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1307 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1308 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1309 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1310 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1311
8d2b2763
L
13122014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1313
1314 [BZ #17732]
1315 * io/test-utime.c (main): Replace %ld with %jd and cast to
1316 intmax_t.
41fad830 1317 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1318 * nptl/tst-mutex5.c: Include <stdint.h>.
1319 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1320 * posix/tst-regex.c (run_test): Likewise.
1321 (run_test_backwards): Likewise.
5d619de4
L
1322 * rt/tst-clock.c: Include <stdint.h>.
1323 (clock_test): Replace %ld with %jd and cast to intmax_t.
1324 * rt/tst-cpuclock1.c: Include <stdint.h>.
1325 (do_test): Replace %lu with %ju and cast to uintmax_t.
1326 * rt/tst-cpuclock2.c: Include <stdint.h>.
1327 (do_test): Replace %lu with %ju and cast to uintmax_t.
1328 * rt/tst-mqueue1.c: Include <stdint.h>.
1329 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1330 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1331 intmax_t.
1332 * rt/tst-mqueue4.c (do_test): Likewise.
1333 * rt/tst-timer4.c: Include <stdint.h>.
1334 (check_ts): Replace %ld with %jd and cast to intmax_t.
1335 (do_test): Likewise.
ad86fbc3
L
1336 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1337 and cast to intmax_t.
37f46900 1338 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1339 * time/clocktest.c (main): Likewise.
1340 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1341 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1342
8b4416d8
AS
13432014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1344 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1347 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1348 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1349 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1350 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1351 version if bit_Fast_Unaligned_Load is set.
1352 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1353 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1354 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1355 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1356 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1357 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1359 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1360 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1361 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1362 to 4.
1363 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1364 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1365 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1366 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1367
e47b8d3b
CM
13682014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1369
6d6d7fde
CM
1370 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1371 instead of #if to avoid a Wundef warning.
1372 * stdlib/tst-limits.c (do_test): Likewise.
1373
cd2c37c9
CM
1374 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1375 parallel other exception macros.
1376 (fegetenv): Convert from macro to extern inline so that it applies
1377 retroactively to inline functions already seen by the compiler.
1378 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1379
e47b8d3b
CM
1380 * posix/Makefile (before-compile): Use $(objpfx) for
1381 posix-conf-vars-def.h.
1382
4a6aca7b
SP
13832014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1384
7910c2ae
SP
1385 * posix/getconf.c (main): Use size_t for type of I.
1386 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1387 NSPEC.
1388
50cbbaa9
SP
1389 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1390 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1391 * posix/posix-envs.def: Likewise.
1392 * sysdeps/posix/sysconf.c: Likewise.
1393 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1394 (specs): Remove array.
1395 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1396 array.
1397
3b566046
SP
1398 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1399 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1400 (__sysconf): Use CONF_IS_* macros.
1401
4a6aca7b
SP
1402 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1403 ($(objpfx)posix-conf-vars-def.h): New target.
1404 * posix/posix-conf-vars.list: New file.
1405 * posix/posix-conf-vars.h: New file.
1406 * posix/confstr.c: Include posix-conf-vars.h.
1407 (confstr): Use CONF_IS_* macros.
1408 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1409 CONF_IS_* macros.
1410 * scripts/gen-posix-conf-vars.awk: New file.
1411
7c1395a7
CM
14122014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1413
0025b4cc
CM
1414 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1415 fegetround): Add no-op macros to avoid linknamespace issues.
1416
d8aaf74b
CM
1417 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1418 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1419
5d24aa60
CM
1420 * sysdeps/unix/sysv/linux/tile/sysdep.h
1421 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1422 assembly-specific section to avoid a redefinition warning.
1423
7c1395a7
CM
1424 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1425 long before casting to pointer to avoid a cast warning.
1426
3c87c616
CM
14272014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1428
1429 * sysdeps/tile/tilegx/Implies: New file.
1430
f559d8cf
RE
14312014-12-23 Richard Earnshaw <rearnsha@arm.com>
1432
1433 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1434
7d81e8d6
FW
14352014-12-23 Florian Weimer <fweimer@redhat.com>
1436
1437 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1438
90aa3d09
JM
14392014-12-22 Joseph Myers <joseph@codesourcery.com>
1440
1441 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1442 not define.
1443 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1444 <kernel-features.h>.
1445 (__utimes) [__NR_utimes]: Make code unconditional.
1446 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1447 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1448 (__ASSUME_UTIMES): Do not undefine.
1449 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1450 (__ASSUME_UTIMES): Likewise.
1451 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1452 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1453 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1454 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1455
4c0c0e2a
SE
14562014-12-22 Steve Ellcey <sellcey@imgtec.com>
1457
1458 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1459
0dacd7a3
CM
14602014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1461
b638f96a
CM
1462 [BZ #17747]
1463 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1464 alias to weak alias for j0l, y0l.
1465 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1466 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1467
0dacd7a3
CM
1468 [BZ #17746]
1469 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1470 conversion.
1471
528479c4
SE
14722014-12-22 Steve Ellcey <sellcey@imgtec.com>
1473
1474 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1475 to zero if not already defined.
1476
f56f9124
JM
14772014-12-22 Joseph Myers <joseph@codesourcery.com>
1478
1479 [BZ #17724]
1480 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1481 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1482 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1483 (char *) casts added.
1484 * sysdeps/ieee754/k_standardf.c: New file.
1485 * sysdeps/ieee754/k_standardl.c: Likewise.
1486 * math/Makefile (libm-support): Remove k_standard.
1487 (libm-calls): Add k_standard.
1488
8622d556
WD
14892014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1490
1491 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1492 Optimize to avoid an unnecessary FPCR read.
1493
f3806bdb
WD
14942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1495
1496 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1497 Optimize to reduce FPCR/FPSR accesses.
1498
9b47df58
WD
14992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1500
1501 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1502 Call libc_fetestexcept_aarch64.
1503
97be3cac
WD
15042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1505
1506 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1507 Call libc_fesetround_aarch64.
1508
935ab817
JM
15092014-12-22 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #17733]
1512 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1513 (__bind): Do not define as weak alias.
1514 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1515 define.
1516 (__getsockname): Do not define as weak alias.
1517
cc8623f1
WN
15182014-12-22 Will Newton <will.newton@linaro.org>
1519
1520 * manual/install.texi: Document that we require bison 2.7
1521 or above.
1522 * INSTALL: Regenerate.
1523 * configure.ac: Use AC_CHECK_PROG_VER instead of
1524 AC_PATH_PROG when checking for bison and check for
1525 version 2.7 or above.
1526 * configure: Regenerate.
1527
a19ca65a
CM
15282014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1529
92901170 1530 [BZ #17745]
e969965a
CM
1531 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1532 * sysdeps/tile/ffsll.c (ffsll): To here.
1533
a19ca65a
CM
1534 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1535
050f7298
L
15362014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1537
1538 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1539 if not defined.
1540 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1541 definition.
1542 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1543 hidden ___tls_get_addr.
1544 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1545 hidden __tls_get_addr.
1546 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1547 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1548 Likewise.
1549
6df5547e
AS
15502014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1551
1552 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1553 _dl_init call.
1554
7432d613
L
15552014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1558 from "call _dl_init@PLT".
1559 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1560
98fe149e
AK
15612014-12-21 Anders Kaseorg <andersk@mit.edu>
1562
1563 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1564 guarantees.
1565
d12455f5
CM
15662014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1567
1568 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1569
95dee05f
CM
15702014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1571
92901170 1572 [BZ #17744]
95dee05f
CM
1573 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1574 strnlen.
1575
2ef4b74a
SE
15762014-12-19 Steve Ellcey <sellcey@imgtec.com>
1577
1578 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1579 of multu on MIPSr6.
1580 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1581 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1582 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1583 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1584 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1585
15862014-12-19 Steve Ellcey <sellcey@imgtec.com>
1587
1588 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1589 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1590 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1591 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1592 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1593 mips32r6/mips64r6.
1594 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1595
3eb38795
OB
15962014-12-19 Ondřej Bílka <neleai@seznam.cz>
1597
1598 * string/strncat.c (STRNCAT): Simplify implementation.
1599
6d4188dd
DM
16002014-12-19 David S. Miller <davem@davemloft.net>
1601
0d4ba8be
DM
1602 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1603 access the quad as both a long double and as a series of 4 words.
1604
6d4188dd
DM
1605 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1606 link_map->l_info array access.
1607
4ef91cdc
CM
16082014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1609
804c54f7
CM
1610 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1611
4ef91cdc
CM
1612 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1613 * math/atest-exp2.c (TIMEOUT): Likewise.
1614 * math/atest-sincos.c (TIMEOUT): Likewise.
1615
afd176d6
L
16162014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1617
1618 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1619 -Wno-error with -fno-builtin-lround.
1620
a4a43a90
TR
16212014-12-19 Torvald Riegel <triegel@redhat.com>
1622
1623 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1624 Contains futex constants and functions moved over from ...
1625 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1626 <lowlevellock-futex.h>.
1627 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1628 (lll_timedwait_tid): Add comments and parentheses around macro
1629 arguments.
1630
76f71081
TR
16312014-12-19 Torvald Riegel <triegel@redhat.com>
1632
1633 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1634 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1635 (__lll_private_flag): Remove.
1636 (lll_futex_wait): Likewise.
1637 (lll_futex_timed_wait): Likewise.
1638 (lll_futex_wake): Likewise.
1639 (lll_futex_requeue): Likewise.
1640 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1641 (__lll_timedwait_tid): Spell out argument names.
1642 (lll_timedwait_tid): Add comments and parentheses around macro
1643 arguments.
1644 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1645 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1646
6b814909
TR
16472014-12-19 Torvald Riegel <triegel@redhat.com>
1648
1649 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1650 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1651 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1652 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1653 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1654 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1655 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1656 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1657 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1658 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1659 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1660 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1661 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1662 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1663 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1664 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1665 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1666 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1667 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1668
9cd4d4ab
L
16692014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * sysdeps/x86_64/x32/Makefile: New file.
1672
c9c1a2d0
L
16732014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1676 1L with (mp_limb_t) 1.
1677
af102d95
RM
16782014-12-17 Roland McGrath <roland@hack.frob.com>
1679
dd690454
RM
1680 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1681 * nptl/libc_pthread_init.c: ... here.
1682 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1683 * nptl/register-atfork.c: ... here.
1684
74eb826c
RM
1685 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1686 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1687 Use assert_perror to check its return value.
1688 (__gai_create_helper_thread): Likewise.
1689
c9ce306b
RM
1690 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1691
af102d95
RM
1692 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1693
8ac5a76a
JM
16942014-12-17 Joseph Myers <joseph@codesourcery.com>
1695
ea41469b
JM
1696 [BZ #17725]
1697 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1698 __profil_counter.
1699 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1704 Likewise.
1705 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1706 (profil_counter): Likewise.
1707 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1708 (profil_counter): Likewise.
1709 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1710 Likewise.
1711 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1712 Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1714 (profil_counter): Likewise.
1715 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1716 Likewise.
1717 [!__profil_counter] (profil_counter): Define as weak alias of
1718 __profil_counter.
1719 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1720 (profil_counter): Rename to __profil_counter.
1721 [!__profil_counter] (profil_counter): Define as weak alias of
1722 __profil_counter.
1723 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1724 (profil_counter): Rename to __profil_counter.
1725 [!__profil_counter] (profil_counter): Define as weak alias of
1726 __profil_counter.
1727 * sysdeps/posix/profil.c: Update comment referring to
1728 profil_counter.
1729 (__profil): Use __profil_counter instead of profil_counter.
1730 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1731 __profil_counter. Use __profil_counter_ushort and
1732 __profil_counter_uint in definitions.
1733 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1734 instead of profil_counter_uint and profil_counter_ushort.
1735
8ac5a76a
JM
1736 [BZ #17722]
1737 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1738 define as weak alias of __inet_makeaddr.
1739 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1740 as weak alias of __inet_addr.
1741 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1742 as weak alias of __inet_pton. Use libc_hidden_weak.
1743 * include/arpa/inet.h (__inet_pton): Declare. Use
1744 libc_hidden_proto.
1745 (inet_makeaddr): Don't use libc_hidden_proto.
1746 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1747 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1748 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1749 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1750 Remove variable.
1751 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1752 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1753
66ce3cb1
SE
17542014-12-17 Steve Ellcey <sellcey@imgtec.com>
1755
1756 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1757
d22ce01b
SL
17582014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1759
1760 * stdio-common/bug-vfprintf-nargs.c (do_test):
1761 Cast value to intptr_t to avoid format warning
1762 for usage with PRIdPTR printing macro.
1763
eca2772b
SL
17642014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1765
1766 * libio/tst-widetext.c (do_test):
1767 Use format type %td instead of %Zd for ptrdiff_t
1768 in order to avoid format warning.
1769
bdf079da
AS
17702014-12-17 Andreas Schwab <schwab@suse.de>
1771
1772 * nscd/mem.c (gc): Add size_t cast to match printf format.
1773
3eb5d2fc
RM
17742014-12-16 Roland McGrath <roland@hack.frob.com>
1775
1776 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1777 (init): Apply PTR_MANGLE to pointers before storing them.
1778 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1779 before using them.
1780
d003ada2
JM
17812014-12-16 Joseph Myers <joseph@codesourcery.com>
1782
380292ba
JM
1783 [BZ #17719]
1784 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1785 define as weak alias of __memrchr.
1786 (__memrchr): Do not define as strong alias of memrchr.
1787 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1788 Remove variable.
1789 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1790 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1791 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1792
9a44d530
JM
1793 [BZ #17717]
1794 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1795 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1796 (if_indextoname): Rename to __if_indextoname and define as weak
1797 alias of __if_indextoname. Use libc_hidden_weak.
1798 (if_freenameindex): Rename to __if_freenameindex and define as
1799 weak alias of __if_freenameindex.
1800 (if_nameindex): Rename to __if_nameindex and define as weak alias
1801 of __if_nameindex.
1802 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1803 __if_nametoindex and define as weak alias of __if_nametoindex.
1804 Use libc_hidden_weak.
1805 (if_freenameindex): Rename to __if_freenameindex and define as
1806 weak alias of __if_freenameindex.
1807 (if_nameindex): Rename to __if_nameindex and define as weak alias
1808 of __if_nameindex.
1809 (if_indextoname): Rename to __if_indextoname and define as weak
1810 alias of __if_indextoname. Use libc_hidden_weak.
1811 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1812 __if_nametoindex and define as weak alias of __if_nametoindex.
1813 Use libc_hidden_weak.
1814 (if_freenameindex): Rename to __if_freenameindex and define as
1815 weak alias of __if_freenameindex. Use libc_hidden_weak.
1816 (if_nameindex_netlink): Use __if_freenameindex instead of
1817 if_freenameindex.
1818 (if_nameindex): Rename to __if_nameindex and define as weak alias
1819 of __if_nameindex. Use libc_hidden_weak.
1820 (if_indextoname): Rename to __if_indextoname and define as weak
1821 alias of __if_indextoname. Use libc_hidden_weak.
1822 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1823 libc_hidden_proto.
1824 [!_ISOMAC] (__if_freenameindex): Likewise.
1825 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1826 if_nametoindex.
1827 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1828 variable.
1829 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1830 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1831 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1832 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1833 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1834 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1835 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1836
d003ada2
JM
1837 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1838 Remove variable.
1839 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1840 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1841
a0d424ef
SP
18422014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1843
0cd85520
SP
1844 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1845 subscript above bounds'
1846
a0d424ef
SP
1847 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1848 bounds.
1849
0e426475
AS
18502014-12-16 Arjun Shankar <arjun.is@lostca.se>
1851
8b460906
AS
1852 * libio/tst-fopenloc.c: Use test-skeleton.c.
1853
fa13e15b
AS
1854 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1855 (entry): Rename to ITEM.
1856 (do_test, comp): Adjust.
1857
0e426475
AS
1858 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1859
4f646bce
TR
18602014-12-16 Torvald Riegel <triegel@redhat.com>
1861
1862 * string/tester.c: Include <libc-internal.h>.
1863 (test_memset): Ignore -Wmemset-transposed-args.
1864
a07c4427
TR
18652014-12-16 Torvald Riegel <triegel@redhat.com>
1866
1867 * misc/tst-mntent2.c (do_test): Fix warning.
1868
1469f466
TR
18692014-12-16 Torvald Riegel <triegel@redhat.com>
1870
1871 * elf/tst-unique4lib.cc(a): Mark as used.
1872
11e3417a
FW
18732014-12-16 Florian Weimer <fweimer@redhat.com>
1874
1875 [BZ #17630]
1876 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1877 names.
1878
ae61fc7b
AM
18792014-12-16 Allan McRae <allan@archlinux.org>
1880
1881 * stdio-common/Makefile (tests): Re-add bug26.
1882
363a9899
OB
18832014-12-15 Ondřej Bílka <neleai@seznam.cz>
1884
1885 [BZ #17657]
1886 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1887 static array.
1888
d52c62df
TR
18892014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1890
1891 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1892 (__lll_lock_wait): Likewise.
1893 (__lll_timedlock_wait): Likewise.
1894 (__lll_timedwait_tid): Likewise.
1895 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1896 (__lll_robust_timedlock_wait): Likewise.
1897 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1898 (lll_cond_trylock): Likewise.
1899 (__lll_lock): Likewise.
1900 (__lll_robust_lock): Likewise.
1901 (__lll_cond_lock): Likewise.
1902 (lll_robust_cond_lock): Likewise.
1903 (__lll_timedlock): Likewise.
1904 (__lll_robust_timedlock): Likewise.
1905 (__lll_unlock): Likewise.
1906 (__lll_robust_unlock): Likewise.
1907 (lll_wait_tid): Likewise.
1908 (lll_timedwait_tid): Likewise.
1909
045a6bcd
TR
19102014-12-15 Torvald Riegel <triegel@redhat.com>
1911
1912 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1913
7f786dc1
TR
19142014-12-15 Torvald Riegel <triegel@redhat.com>
1915
1916 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1917
e7e21cba
AZ
19182014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1919
1920 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1921 * stdio-common/tst-sprintf.c: Likewise.
1922
bc89c0fc
TR
19232014-12-15 Torvald Riegel <triegel@redhat.com>
1924
1925 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1926
a5357b7c
JL
19272014-12-15 Jeff Law <law@redhat.com>
1928
1929 [BZ #16617]
1930 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1931 on the heap. (CVE-2012-3406)
1932 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1933 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1934 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1935
3a12c70f
WN
19362014-12-15 Will Newton <will.newton@linaro.org>
1937
1938 * manual/install.texi: Bump required version of texinfo
1939 to 4.7 from 4.5.
1940 * INSTALL: Regenerated.
1941 * configure.ac: Check for makeinfo version 4.7 and above.
1942 * configure: Regenerated.
1943
e4f639e4
RM
19442014-12-12 Roland McGrath <roland@hack.frob.com>
1945
1946 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1947 PREFIX, string constant to insert between directory and name.
1948 * sysdeps/posix/shm_open.c: Update caller.
1949 * sysdeps/posix/shm_unlink.c: Likewise.
1950 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1951 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1952 (SEM_SHM_PREFIX): New macro.
1953 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1954 [$(have-thread-library) = no].
1955 * nptl/Makefile (libpthread-routines): Add shm-directory.
1956 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1957 * sysdeps/nptl/shm-directory.h: New file.
1958 * sysdeps/posix/shm-directory.c
1959 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1960 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1961 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1962 INTERNAL_SYSCALL.
1963 (__where_is_shmfs): Function removed.
1964 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1965 Variables removed.
1966 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1967 Use SHM_GET_NAME.
1968 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1969
1970 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1971 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1972 unconditional for use inside libpthread.
1973 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1974
439c43f6
RM
19752014-12-12 Roland McGrath <roland@hack.frob.com>
1976
c76d1ff5
RM
1977 * nptl/pthread_getaffinity.c: New file.
1978 * nptl/pthread_setaffinity.c: New file.
1979 * nptl/pthread_getname.c: New file.
1980 * nptl/pthread_setname.c: New file.
1981
439c43f6
RM
1982 * nptl/pthread_create.c (START_THREAD_DEFN)
1983 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1984
48e435cd
SL
19852014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1986 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1987
1988 * resolv/res_send.c (send_vc): Disable warning resplen may
1989 be used uninitialized.
1990
9d9c0019
SL
19912014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1992
1993 * nptl/tst-mutex6.c
1994 (ATTR_NULL): New define checks ATTR against NULL.
1995 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1996 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1997
9173840b
JL
19982014-12-11 James Lemke <jwlemke@codesourcery.com>
1999
2000 [BZ #17581]
2001 * malloc/hooks.c
2002 (mem2mem_check): Revert my previous change.
2003 (malloc_check_get_size): Revert my previous change.
2004 (mem2chunk_check): Revert my previous change.
2005
78e21c5d
RM
20062014-12-11 Roland McGrath <roland@hack.frob.com>
2007
2008 * sysdeps/posix/shm-directory.c: New file.
2009 * sysdeps/posix/shm-directory.h: New file.
2010 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2011 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2012 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2013 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2014 Transmute EPERM to EACCES.
2015 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2016 from ...
2017 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2018 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2019
f82c43af
KK
20202014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2021
2022 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2023 pointer and cast to uintptr_t.
2024 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2025 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2026 Add cast to avoid warning.
2027 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2028
fc00cf7b
JM
20292014-12-11 Joseph Myers <joseph@codesourcery.com>
2030
2031 * nptl/semaphore.h: Move to ...
2032 * sysdeps/pthread/semaphore.h: ... here.
2033 * Makefile (installed-headers): Change nptl/semaphore.h to
2034 sysdeps/pthread/semaphore.h.
2035
1c4053db
RM
20362014-12-11 Roland McGrath <roland@hack.frob.com>
2037
73b0c1a1
RM
2038 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2039 generated error format strings.
2040
1c4053db
RM
2041 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2042 -Wformat-extra-args warnings for scanf formats.
2043 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2044 test of zero-length format (duh).
2045 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2046 corner-case scanf format test.
2047 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2048 generated fprintf format string.
2049 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2050 corner-case sprintf format tests.
2051 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2052 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2053 -Wformat-extra-args warnings throughout.
2054 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2055 (CFLAGS-scanf4.c): Likewise.
2056 (CFLAGS-scanf7.c): Likewise.
2057 (CFLAGS-tst-sprintf.c): Likewise.
2058 (CFLAGS-tst-printf.c): Likewise.
2059 (CFLAGS-tst-printfsz.c): Likewise.
2060
47d51f4f
JM
20612014-12-11 Joseph Myers <joseph@codesourcery.com>
2062
a1edbf3c
JM
2063 * include/cpio.h: New file.
2064 * include/fmtmsg.h: Likewise.
2065
47d51f4f
JM
2066 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2067 corresponding format argument to size_t.
2068 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2069 arguments.
2070 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2071 corresponding format argument to size_t.
2072 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2073 arguments.
2074 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2075 corresponding format argument to size_t.
2076 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2077 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2078 (CFLAGS-tst-mbswcs2.c): Likewise.
2079 (CFLAGS-tst-mbswcs3.c): Likewise.
2080 (CFLAGS-tst-mbswcs4.c): Likewise.
2081 (CFLAGS-tst-mbswcs5.c): Likewise.
2082 (CFLAGS-tst-trans.c): Likewise
2083
e9813cfb
RM
20842014-12-11 Roland McGrath <roland@hack.frob.com>
2085
2086 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2087 rather than assuming they won't contain any '%'s.
2088
f627ca82
CM
20892014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2090
2091 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2092 inhibit_loop_to_libcall to avoid recursive calls.
2093 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2094 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2095
7f296942
AZ
20962014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2097
2098 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2099 prototype.
2100
d0276e18
SE
21012014-12-11 Steve Ellcey <sellcey@imgtec.com>
2102
2103 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2104 integer value instead of boolean.
2105
fc56e970
SE
21062014-12-11 Steve Ellcey <sellcey@imgtec.com>
2107
2108 * malloc/malloc.c: Fix powerof2 check.
2109
40e53917
SL
21102014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2111
2112 * locale/programs/locfile.h (maybe_swap_uint32):
2113 Remove inline and add unused attribute.
2114
1ea166df
SL
21152014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2116
9d9c0019 2117 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2118 Truncating assembler expression to a .long expression.
2119
acf869f4
AS
21202014-12-11 Andreas Schwab <schwab@suse.de>
2121
2122 * elf/rtld.c (struct map_args): Constify str member.
2123 (do_preload): Constify fname argument.
2124
9d969099
AZ
21252014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2126
2127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2128 constants definition.
2129
da5bcaa4
AS
21302014-12-11 Andreas Schwab <schwab@suse.de>
2131
b0a3c164
AS
2132 [BZ #16657]
2133 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2134 FORCE_ELISION instead of DO_ELISION.
2135 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2136 Remove.
2137 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2138 Likewise.
2139
da5bcaa4
AS
2140 * iconvdata/gconv-modules: Remove duplicate entry.
2141
6d248857
WN
21422014-12-11 Will Newton <will.newton@linaro.org>
2143
2144 Merge gettext 0.19.3 into intl/.
2145
2146 This involves a number of cosmetic changes to comments
2147 and ANSI function definitions and prototypes throughout
2148 all the files. The gettext copyright header is used but
2149 with the date ranges taken from the glibc copy.
2150
2151 * NEWS: Add gettext merge to 2.21.
2152 * intl/bindtextdom.c: Switch to gettext copyright.
2153 Use ANSI definitions and prototypes.
2154 Use gl_* locking primitives rather than __libc_* ones.
2155 Use __builtin_expect rather than __glibc_likely/unlikely.
2156 * intl/dcgettext.c: Switch to gettext copyright.
2157 Use ANSI definitions and prototypes.
2158 * intl/dcigettext.c: Switch to gettext copyright.
2159 Use ANSI definitions and prototypes.
2160 (INTDIV0_RAISES_SIGFPE): New define.
2161 Use gl_* locking primitives rather than __libc_* ones.
2162 Include eval-plural.h instead of plural-eval.c.
2163 Use __builtin_expect rather than __glibc_likely/unlikely.
2164 * intl/dcngettext.c: Switch to gettext copyright.
2165 Use ANSI definitions and prototypes.
2166 * intl/dgettext.c: Likewise.
2167 * intl/dngettext.c: Likewise.
2168 * intl/plural-eval.c: Renamed to...
2169 * intl/eval-plural.h: ...this.
2170 * intl/explodename.c: Switch to gettext copyright.
2171 Use ANSI definitions and prototypes.
2172 (_nl_explode_name): Use strchr instead of __rawmemchr.
2173 * intl/finddomain.c: Switch to gettext copyright.
2174 Use ANSI definitions and prototypes.
2175 Use gl_* locking primitives rather than __libc_* ones.
2176 (_nl_find_domain): Use malloc rather than alloca for
2177 allocation of temporary locale name.
2178 * intl/gettext.c: Switch to gettext copyright.
2179 Use ANSI definitions and prototypes.
2180 * intl/gettextP.h: Switch to gettext copyright.
2181 Use ANSI definitions and prototypes.
2182 Use gl_* locking primitives rather than __libc_* ones.
2183 * intl/gmo.h: Switch to gettext copyright.
2184 (struct sysdep_string): Move struct segment_pair outside of
2185 struct definition.
2186 * intl/hash-string.c: Use ANSI definitions and prototypes.
2187 * intl/hash-string.h: Switch to gettext copyright.
2188 Use ANSI definitions and prototypes.
2189 * intl/l10nflist.c: Switch to gettext copyright.
2190 Use ANSI definitions and prototypes.
2191 (_nl_normalize_codeset): Avoid integer overflow.
2192 * intl/loadinfo.h: Switch to gettext copyright.
2193 Use ANSI definitions and prototypes.
2194 (LIBINTL_DLL_EXPORTED): New define.
2195 (PATH_SEPARATOR): New define.
2196 * intl/loadmsgcat.c: Switch to gettext copyright.
2197 * intl/localealias.c: Switch to gettext copyright.
2198 Use ANSI definitions and prototypes.
2199 (_nl_expand_alias): Use PATH_SEPARATOR.
2200 * intl/ngettext.c: Switch to gettext copyright.
2201 Use ANSI definitions and prototypes.
2202 * intl/plural-exp.c: Likewise.
2203 * intl/plural-exp.h: Switch to gettext copyright.
2204 Use ANSI definitions and prototypes.
2205 (struct expression): Move definition of enum operator outside
2206 of struct definition.
2207 * intl/plural.c: Regenerate.
2208 * intl/plural.y: Switch to gettext copyright.
2209 Use ANSI definitions and prototypes.
2210 Port to bison 3.0.
2211 * intl/textdomain.c: Switch to gettext copyright.
2212 Use ANSI definitions and prototypes.
2213 Use gl_* locking primitives rather than __libc_* ones.
2214
48c43298
SE
22152014-12-10 Steve Ellcey <sellcey@imgtec.com>
2216
2217 * debug/warning-nop.c: Add used atrribute.
2218
2b89bce9
JM
22192014-12-10 Joseph Myers <joseph@codesourcery.com>
2220
c153ac9f
JM
2221 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2222
2b89bce9
JM
2223 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2224 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2225 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2226
2cfbdb9a
JM
22272014-12-10 Joseph Myers <joseph@codesourcery.com>
2228 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2229
2230 [BZ #17634]
2231 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2232 Undefine after defining function. Define as weak alias of
2233 __wcschr. Use libc_hidden_weak.
2234 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2235 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2236 (libc_hidden_def): Also define __GI___wcschr alias.
2237 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2238 __wcschr and define as weak alias of __wcschr.
2239 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2240 __wcschr.
2241 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2242 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2243 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2244 libc_hidden_weak. Do not use libc_hidden_def.
2245 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2246 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2247 __GI___wcschr alias.
2248 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2249 [IS_IN (libc)] (wcschr): Define as macro expanding to
2250 __redirect_wcschr.
2251 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2252 [IS_IN (libc)] (__wcschr_power6): Likewise.
2253 [IS_IN (libc)] (__wcschr_power7): Likewise.
2254 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2255 instead of wcschr.
2256 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2257 __libc_wcschr.
2258 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2259 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2260 __wcschr and define as weak alias of __wcschr. Use
2261 libc_hidden_builtin_def.
2262 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2263 as weak alias of __wcschr. Use libc_hidden_weak.
2264 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2265 wcschr.
2266 * time/era.c (_nl_init_era_entries): Likewise.
2267 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2268 variable.
2269 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2270 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2271
1b8bf351
JM
22722014-12-10 Joseph Myers <joseph@codesourcery.com>
2273
2274 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2275 format for long int variable.
2276
f5f46d51
AK
22772014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2278
2279 [BZ #10672]
07008f7d 2280 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2281 qsort stable.
2282
217a74a8
AS
22832014-12-10 Andreas Schwab <schwab@suse.de>
2284
2285 [BZ #12847]
2286 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2287 user-controlled locks.
2288
aa76a5c7
RE
22892014-12-10 Richard Earnshaw <rearnsha@arm.com>
2290
2291 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2292 register.
2293
2084e7ca
JM
22942014-12-10 Joseph Myers <joseph@codesourcery.com>
2295
a4ecc9eb
JM
2296 * configure.ac (--disable-werror): New configure option.
2297 (enable_werror): New AC_SUBST.
2298 * configure: Regenerated.
2299 * config.make.in (enable-werror): New variable.
2300 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2301 -Wno-error=undef.
2302 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2303 * manual/install.texi (Configuring and compiling): Document
2304 --disable-werror.
2305 * INSTALL: Regenerated.
2306 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2307 (CFLAGS-tst-chk2.c): Likewise.
2308 (CFLAGS-tst-chk3.c): Likewise.
2309 (CFLAGS-tst-chk4.cc): Likewise.
2310 (CFLAGS-tst-chk5.cc): Likewise.
2311 (CFLAGS-tst-chk6.cc): Likewise.
2312 (CFLAGS-tst-lfschk1.c): Likewise.
2313 (CFLAGS-tst-lfschk2.c): Likewise.
2314 (CFLAGS-tst-lfschk3.c): Likewise.
2315 (CFLAGS-tst-lfschk4.cc): Likewise.
2316 (CFLAGS-tst-lfschk5.cc): Likewise.
2317 (CFLAGS-tst-lfschk6.cc): Likewise.
2318
0f88636c
JM
2319 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2320 (main): Disable -Wdeprecated-declarations around calls to
2321 register_printf_function.
2322
c81e9deb
JM
2323 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2324 (do_test): Disable -Wdiv-by-zero around some calls to
2325 fwrite_unlocked and fread_unlocked.
2326
2084e7ca
JM
2327 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2328 (DIAG_POP_NEEDS_COMMENT): Likewise.
2329 (_DIAG_STR1): Likewise.
2330 (_DIAG_STR): Likewise.
2331 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2332 * stdio-common/bug21.c: Include <libc-internal.h>.
2333 (do_test): Disable -Wformat around call to sscanf.
2334 * stdio-common/scanf14.c: Include <libc-internal.h>.
2335 (main): Disable -Wformat around some calls to scanf functions.
2336
df7ecc6b
TR
23372014-12-09 Torvald Riegel <triegel@redhat.com>
2338
2339 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2340
2aa3862e
AZ
23412014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342
2343 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2344 stack variable alignment.
2345
c5c2b7c3
JM
23462014-12-06 Joseph Myers <joseph@codesourcery.com>
2347
2348 [BZ #17682]
2349 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2350 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2351 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2352 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2353 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2354 __getrlimit instead of getrlimit.
2355 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2356 __gettimeofday instead of gettimeofday.
2357 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2358 Likewise.
2359 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2360 Likewise.
2361 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2362 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2363 Remove variable.
2364 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2365 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2366
9752c3cd
AZ
23672014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2368
2369 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2370 for wide-character tests.
2371
4bee4cd9
RM
23722014-12-04 Roland McGrath <roland@hack.frob.com>
2373
2374 * io/openat64.c: #include <libc-internal.h>
2375 (__openat64): Prototypify. Use ignore_value on MODE.
2376 * io/openat.c: Likewise.
2377 * misc/reboot.c: #include <libc-internal.h>
2378 (reboot): Prototypify. Use ignore_value on HOWTO.
2379 * misc/ptrace.c: #include <libc-internal.h>
2380 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2381
84dbedb6
JM
23822014-12-04 Joseph Myers <joseph@codesourcery.com>
2383
2384 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2385 XPG4, UNIX98 and XOPEN2K.
2386 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2387 Remove variable.
2388 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2389
b7a3e1c4 23902014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2391
af50dfc1 2392 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2393 * libio/iofopen.c: Likewise.
2394 * libio/wfileops.c: Likewise.
2395
fe8b4d98
SP
2396 [BZ #17653]
2397 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2398 offset on EOF.
2399 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2400 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2401 (fgets_func): Function pointer to fgets and fgetws.
2402 (do_ftell_test): Add test to verify ftell value after read
2403 EOF.
2404 (do_test): Set fgets_func.
2405
61b4f792
SP
2406 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2407 O_TRUNC flag for w and w+ modes.
2408 (do_rewind_test): Likewise.
2409 (do_ftell_test): Likewise.
2410 (do_write_test): Likewise.
2411
be349d70
SP
2412 [BZ #17647]
2413 * libio/fileops.c (do_ftell): Seek only when there are
2414 unflushed writes.
2415 * libio/wfileops.c (do_ftell_wide): Likewise.
2416 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2417 test case.
2418 (do_one_test): Call it.
2419
e3d6dba5
JM
24202014-12-03 Joseph Myers <joseph@codesourcery.com>
2421
2422 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2423 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2424 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2425 Remove variable.
2426 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2427 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2428 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2429
7f994279
JM
24302014-12-02 Joseph Myers <joseph@codesourcery.com>
2431
28a91e8f
JM
2432 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2433 Remove variable.
2434 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2435
7f994279
JM
2436 [BZ #17668]
2437 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2438 as weak alias of __getifaddrs. Use libc_hidden_weak.
2439 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2440 __freeifaddrs. Use libc_hidden_weak.
2441 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2442 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2443 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2444 __freeifaddrs. Use libc_hidden_weak.
2445 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2446 __getifaddrs and define as weak alias of __getifaddrs. Use
2447 libc_hidden_weak.
2448 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2449 __freeifaddrs. Use libc_hidden_weak.
2450 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2451 Remove variable.
2452 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2453 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2454
bbe4c142
PJ
24552014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2456
2457 [BZ #17601]
2458 * sysdeps/mips/start.S (__start): Use indirect jump to call
2459 __libc_start_main.
2460
66cadc05
JM
24612014-12-02 Joseph Myers <joseph@codesourcery.com>
2462
909e16d9
JM
2463 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2464
4e0b9016
JM
2465 * nptl/tst-mutex1.c: Include <stdbool.h>.
2466 [!ATTR] (ATTR_NULL): New macro.
2467 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2468 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2469 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2470
b1aff6a4
JM
2471 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2472 to char *.
2473
266865c0
JM
2474 [BZ #17665]
2475 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2476 Change conditional to [__USE_MISC].
2477
84e5e756
JM
2478 [BZ #17664]
2479 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2480 fgets_unlocked.
2481 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2482 __fgets_unlocked.
2483 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2484 fgets_unlocked.
2485 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2486 Remove variable.
2487 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2488 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2489 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2490 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2491 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2492 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2493 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2494 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2495 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2496
66cadc05
JM
2497 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2498
2e8a2de2 24992014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2500
2501 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2502 Remove strpbrk objects.
2503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2504 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2506 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2507 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2508 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2509
bb2542e0
AZ
2510 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2511 Remove strcspn objects.
2512 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2513 (__libc_ifunc_impl_list): Remove strcspn implementation.
2514 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2515 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2516 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2517 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2518
2519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2520 Remove strspn objetcs.
2521 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2522 (__libc_ifunc_impl_list): Remove strspn implementation.
2523 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2524 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2525 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2526 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2527
08f1e1d2
JL
25282014-12-01 James Lemke <jwlemke@codesourcery.com>
2529
2530 [BZ #17581]
2531 * malloc/hooks.c
2532 (mem2mem_check): Add a terminator to the chain of checking blocks.
2533 (malloc_check_get_size): Use it here.
2534 (mem2chunk_check): Ditto.
2535
a8a7d7d2
RS
25362014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2537
2538 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2539 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2540
97114a38
CD
25412014-11-29 Carlos O'Donell <carlos@redhat.com>
2542
c8dc1727
CD
2543 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2544
6d03458e
CD
2545 * nptl/nptl-init.c: Include libc-internal.h.
2546 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2547
97114a38
CD
2548 * elf/ldconfig.c (search_dir): Expand comment.
2549
0e7e69ba
JM
25502014-11-29 Joseph Myers <joseph@codesourcery.com>
2551
2552 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2553 variable.
2554 (linknamespace-symlist-stdlibs-tests): Likewise.
2555 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2556 instead of $(objpfx)symlist-stdlibs.
2557 (linknamespace-libs-isoc): New variable.
2558 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2559 (linknamespace-libs-ISO): New variable.
2560 (linknamespace-libs-ISO99): Likewise.
2561 (linknamespace-libs-ISO11): Likewise.
2562 (linknamespace-libs-XPG3): Likewise.
2563 (linknamespace-libs-XPG4): Likewise.
2564 (linknamespace-libs-POSIX): Likewise.
2565 (linknamespace-libs-UNIX98): Likewise.
2566 (linknamespace-libs-XOPEN2K): Likewise.
2567 (linknamespace-libs-POSIX2008): Likewise.
2568 (linknamespace-libs-XOPEN2K8): Likewise.
2569 ($(objpfx)symlist-stdlibs): Replace by
2570 $(linknamespace-symlist-stdlibs-tests). Use
2571 $(linknamespace-libs-$*) as set of libraries.
2572 ($(linknamespace-header-tests)): Update dependencies. Use
2573 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2574 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2575 * conform/linknamespace.pl: Remove comment about considering
2576 definitions of symbols from irrelevant libraries.
2577
d8dd0080
L
25782014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2579
2580 [BZ #13862]
2581 * elf/dl-tls.c: Include <atomic.h>.
2582 (oom): Remove #ifdef SHARED/#endif.
2583 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2584 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2585 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2586 big enough.
2587 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2588 * nptl/Makefile (tests): Add tst-stack4.
2589 (modules-names): Add tst-stack4mod.
2590 ($(objpfx)tst-stack4): New.
2591 (tst-stack4mod.sos): Likewise.
2592 ($(objpfx)tst-stack4.out): Likewise.
2593 ($(tst-stack4mod.sos)): Likewise.
2594 (clean): Likewise.
2595 * nptl/tst-stack4.c: New file.
2596 * nptl/tst-stack4mod.c: Likewise.
2597
167da422
B
25982014-11-27 J. Brown <jb999@gmx.de>
2599
2600 * sysdeps/x86/bits/string.h: Add recent CPUs.
2601
9114625b
JM
26022014-11-27 Joseph Myers <joseph@codesourcery.com>
2603
6b5189eb
JM
2604 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2605 sigblock.
2606
49051f8e
JM
2607 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2608 feof.
2609
9114625b
JM
2610 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2611 variable.
2612
e7300fef
SL
26132014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2614
2615 * nscd/connections.c: Include libc-internal.h because of macro
2616 usage ignore_value.
2617
1721f0a4
SP
26182014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2619
2620 * string/bits/string3.h (__warn_memset_zero_len): Don't
2621 declare for gcc newer than 5.0.
2622 (memset): Don't test for zero-length __LEN for gcc newer than
2623 5.0.
2624
be970916
JM
26252014-11-27 Joseph Myers <joseph@codesourcery.com>
2626
d88548f4
JM
2627 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2628 size_t for %zu format.
2629
be970916
JM
2630 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2631 difference, not %ju.
2632
3b20fd5c
JM
26332014-11-26 Joseph Myers <joseph@codesourcery.com>
2634
8915eace
JM
2635 * include/libc-internal.h (ignore_value): New macro.
2636 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2637 with ignore_value.
2638
f1a5a0e3
JM
2639 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2640 definition.
2641
59ef1715
JM
2642 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2643 pthread_cleanup_push to void *.
2644
a6f3079b
JM
2645 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2646 Undefine.
2647
706688aa
JM
2648 [BZ #16619]
2649 [BZ #16740]
2650 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2651 instead of 1L << 52.
2652
12da14a5
JM
2653 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2654 * libio/bug-rewind2.c (do_test): Likewise.
2655
bd5dadac
JM
2656 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2657 * debug/test-strcpy_chk-ifunc.c: Likewise.
2658 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2659 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2660 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2661 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2662 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2663 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2664 * Rules [$(multi-arch) = no] (tests): Do not filter out
2665 $(tests-ifunc).
2666 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2667 * debug/Makefile (tests-ifunc): Remove variable.
2668 (tests): Do not add $(tests-ifunc).
2669 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2670 (tests): Do not add $(tests-ifunc).
2671 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2672 [TEST_IFUNC]: Remove conditionals.
2673 * string/test-string.h (TEST_IFUNC): Remove macro.
2674 [TEST_IFUNC]: Remove conditionals.
2675
3b20fd5c
JM
2676 * string/test-strchr.c [!WIDE] (L): New macro.
2677 [WIDE] (L): Likewise.
2678 (check1): Use CHAR instead of char. Use L on string and character
2679 constants.
2680
704f7947
AZ
26812014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2682
2683 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2684 tests.
2685 * sysdeps/powerpc/bits/atomic.h
2686 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2687 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2688 (atomic_exchange_and_add_acq): Likewise.
2689 (atomic_exchange_and_add_rel): Likewise.
2690 * sysdeps/powerpc/powerpc32/bits/atomic.h
2691 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2692 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2693 * sysdeps/powerpc/powerpc64/bits/atomic.h
2694 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2695 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2696
cdcb42d7
TR
26972014-11-26 Torvald Riegel <triegel@redhat.com>
2698
2699 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2700 Change synchronization of __sched_fifo_min_prio and
2701 __sched_fifo_max_prio.
2702 * nptl/pthread_mutexattr_getprioceiling.c
2703 (pthread_mutexattr_getprioceiling): Likewise.
2704 * nptl/pthread_mutexattr_setprioceiling.c
2705 (pthread_mutexattr_setprioceiling): Likewise.
2706 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2707 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2708 Likewise.
2709
c82f5c0c
JM
27102014-11-26 Joseph Myers <joseph@codesourcery.com>
2711
2712 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2713 void.
2714
439e1ad6
JM
27152014-11-25 Joseph Myers <joseph@codesourcery.com>
2716
2717 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2718 third argument const.
2719
b1eda10e
PE
27202014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2721
2722 fnmatch: work around GCC compiler warning bug with uninit var
2723 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2724 This works around a bug with x86-64 GCC 4.9.2 and earlier
2725 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2726 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2727 used uninitialized in this function [-Wmaybe-uninitialized]".
2728
bde2667a
JM
27292014-11-25 Joseph Myers <joseph@codesourcery.com>
2730
2731 * posix/bug-regex31.c (main): Return RES not 0.
2732
5fbb5691
AB
27332014-11-25 Anton Blanchard <anton@samba.org>
2734
2735 * sysdeps/powerpc/bits/atomic.h
2736 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2737
467fec0b
BM
27382014-11-24 Sterling Augustine <saugustine@google.com>
2739
2740 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2741
e9ff8efb
RC
27422014-11-24 Ryan Cumming <etaoins@gmail.com>
2743
2744 [BZ #17608]
2745 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2746
9744496f
JM
27472014-11-24 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #17633]
2750 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2751 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2752 variable.
2753 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2754 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2755
6423d475
WD
27562014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2757
2758 * string/strncpy.c (strncpy): Improve performance by using memset.
2759
27602014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2761
2762 * string/strcpy.c (strcpy):
2763 Improve performance by using strlen and memcpy.
2764
5d178c37
LH
27652014-11-24 Leonhard Holz <leonhard.holz@web.de>
2766
2767 * string/strcoll_l.c (get_next_seq): __always_inline.
2768 * string/strcoll_l.c (do_compare): __always_inline.
2769
279bc5b3
SP
27702014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2771
7a9ebfa1
SP
2772 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2773 defined.
2774 * include/mqueue.h: Likewise.
2775 * include/stdlib.h: Likewise.
2776
4f41c682
SP
2777 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2778 (get_null_defines): Adjust.
2779 * sunrpc/Makefile: Adjust comment.
2780 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2781 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2782 (CFLAGS-interp.c): Likewise.
2783 (CFLAGS-ldconfig.c): Likewise.
2784 (CPPFLAGS-.os): Likewise.
2785 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2786 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2787 * extra-modules.mk (extra-modules.mk): Likewise.
2788 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2789 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2790 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2791 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2792 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2793 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2794 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2795 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2796 * iconvdata/Makefile (CPPFLAGS): Likewise.
2797 (cpp-srcs-left): Add libof for all iconvdata routines.
2798 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2799 * include/assert.h: Likewise.
2800 * include/ctype.h: Likewise.
2801 * include/errno.h: Likewise.
2802 * include/libc-symbols.h: Likewise.
2803 * include/math.h: Likewise.
2804 * include/netdb.h: Likewise.
2805 * include/resolv.h: Likewise.
2806 * include/stdio.h: Likewise.
2807 * include/stdlib.h: Likewise.
2808 * include/string.h: Likewise.
2809 * include/sys/stat.h: Likewise.
2810 * include/wctype.h: Likewise.
2811 * intl/l10nflist.c: Likewise.
2812 * libidn/idn-stub.c: Likewise.
2813 * libio/libioP.h: Likewise.
2814 * nptl/libc_multiple_threads.c: Likewise.
2815 * nptl/pthreadP.h: Likewise.
2816 * posix/regex_internal.h: Likewise.
2817 * resolv/res_hconf.c: Likewise.
2818 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2819 * sysdeps/arm/memmove.S: Likewise.
2820 * sysdeps/arm/sysdep.h: Likewise.
2821 * sysdeps/generic/_itoa.h: Likewise.
2822 * sysdeps/generic/symbol-hacks.h: Likewise.
2823 * sysdeps/gnu/errlist.awk: Likewise.
2824 * sysdeps/gnu/errlist.c: Likewise.
2825 * sysdeps/i386/i586/memcpy.S: Likewise.
2826 * sysdeps/i386/i586/memset.S: Likewise.
2827 * sysdeps/i386/i686/memcpy.S: Likewise.
2828 * sysdeps/i386/i686/memmove.S: Likewise.
2829 * sysdeps/i386/i686/mempcpy.S: Likewise.
2830 * sysdeps/i386/i686/memset.S: Likewise.
2831 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2833 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2834 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2835 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2836 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2837 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2838 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2839 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2840 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2841 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2842 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2843 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2844 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2845 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2846 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2847 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2848 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2849 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2850 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2851 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2852 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2853 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2854 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2855 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2856 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2857 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2858 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2859 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2860 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2861 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2864 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2865 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2867 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2868 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2869 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2870 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2871 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2872 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2873 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2874 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2875 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2876 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2877 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2878 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2879 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2880 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2881 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2882 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2883 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2884 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2885 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2886 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2887 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2888 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2889 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2890 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2891 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2892 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2893 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2894 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2895 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2896 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2897 * sysdeps/posix/closedir.c: Likewise.
2898 * sysdeps/posix/opendir.c: Likewise.
2899 * sysdeps/posix/readdir.c: Likewise.
2900 * sysdeps/posix/rewinddir.c: Likewise.
2901 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2902 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2903 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2904 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2905 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2906 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2908 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2909 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2910 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2911 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2912 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2913 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2914 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2916 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2917 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2918 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2919 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2920 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2921 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2922 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2923 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2924 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2925 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2926 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2927 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2928 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2929 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2931 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2933 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2935 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2936 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2937 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2938 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2939 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2940 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2941 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2942 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2943 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2944 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2945 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2946 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2947 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2948 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2949 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2950 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2951 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2952 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2953 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2954 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2955 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2956 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2957 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2958 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2959 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2960 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2961 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2962 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2963 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2964 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2965 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2966 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2967 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2968 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2969 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2970 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2971 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2972 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2974 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2975 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2976 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2977 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2978 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2979 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2980 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2981 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2982 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2983 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2985 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2986 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2987 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2988 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2989 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2991 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2992 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2993 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2994 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2996 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2997 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2998 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2999 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3000 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3002 * sysdeps/unix/alpha/sysdep.S: Likewise.
3003 * sysdeps/unix/alpha/sysdep.h: Likewise.
3004 * sysdeps/unix/make-syscalls.sh: Likewise.
3005 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3007 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3008 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3009 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3010 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3011 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3012 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3013 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3014 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3015 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3016 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3017 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3018 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3019 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3020 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3021 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3022 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3023 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3024 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3025 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3026 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3027 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3028 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3029 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3030 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3031 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3034 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3035 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3036 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3037 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3038 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3039 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3040 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3041 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3042 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3043 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3044 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3045 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3046 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3047 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3048 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3049 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3050 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3051 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3052 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3053 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3054 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3055 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3056 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3057 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3058 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3059 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3060 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3061 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3063 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3064 * sysdeps/x86_64/memcpy.S: Likewise.
3065 * sysdeps/x86_64/memmove.c: Likewise.
3066 * sysdeps/x86_64/memset.S: Likewise.
3067 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3069 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3070 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3071 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3074 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3075 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3076 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3077 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3079 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3080 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3081 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3082 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3084 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3085 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3086 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3087 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3088 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3090 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3091 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3092 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3093 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3094 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3095 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3096 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3097 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3098 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3099 * sysdeps/x86_64/strcmp.S: Likewise.
3100
76ca86a5
SP
3101 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3102
a3848485
SP
3103 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3104 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3105 * elf/rtld-Rules: Likewise.
3106 * elf/setup-vdso.h: Likewise.
3107 * include/assert.h: Likewise.
3108 * include/bits/stdlib-float.h: Likewise.
3109 * include/errno.h: Likewise.
3110 * include/sys/stat.h: Likewise.
3111 * include/unistd.h: Likewise.
3112 * sysdeps/aarch64/setjmp.S: Likewise.
3113 * sysdeps/alpha/setjmp.S: Likewise.
3114 * sysdeps/arm/__longjmp.S: Likewise.
3115 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3116 * sysdeps/arm/setjmp.S: Likewise.
3117 * sysdeps/arm/sysdep.h: Likewise.
3118 * sysdeps/generic/_itoa.h: Likewise.
3119 * sysdeps/generic/dl-sysdep.h: Likewise.
3120 * sysdeps/generic/ldsodefs.h: Likewise.
3121 * sysdeps/i386/dl-tls.h: Likewise.
3122 * sysdeps/i386/setjmp.S: Likewise.
3123 * sysdeps/m68k/setjmp.c: Likewise.
3124 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3125 * sysdeps/mach/hurd/opendir.c: Likewise.
3126 * sysdeps/posix/getcwd.c: Likewise.
3127 * sysdeps/posix/opendir.c: Likewise.
3128 * sysdeps/posix/profil.c: Likewise.
3129 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3130 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3131 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3132 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3133 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3134 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3135 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3136 * sysdeps/s390/dl-tls.h: Likewise.
3137 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3138 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3139 * sysdeps/sh/sh3/setjmp.S: Likewise.
3140 * sysdeps/sh/sh4/setjmp.S: Likewise.
3141 * sysdeps/unix/alpha/sysdep.h: Likewise.
3142 * sysdeps/unix/arm/sysdep.S: Likewise.
3143 * sysdeps/unix/i386/sysdep.S: Likewise.
3144 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3145 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3146 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3147 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3149 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3150 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3151 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3152 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3153 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3154 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3155 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3159 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3160 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3161 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3162 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3163 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3164 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3165 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3167 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3168 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3169 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3170 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3171 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3172 * sysdeps/x86_64/setjmp.S: Likewise.
3173
a109996e
SP
3174 * include/math.h: Use IS_IN instead of IS_IN_libm.
3175 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3176 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3177 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3179 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3180 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3181 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3182 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3183 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3184 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3185 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3186 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3187 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3188 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3189 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3190 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3191 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3192 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3193 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3194 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3195 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3196 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3197 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3198 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3199 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3200 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3201 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3202 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3203 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3204 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3205 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3206 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3207 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3209 Likewise.
3210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3211 Likewise.
3212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3213 Likewise.
3214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3215 Likewise.
3216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3217 Likewise.
3218 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3219 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3220 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3221 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3222 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3223 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3229 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3230 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3231 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3232 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3233 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3234 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3235 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3236 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3237 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3238 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3239 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3240 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3241 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3242 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3244 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3245
ce9f10f7
SP
3246 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3247 * nptl/pthreadP.h: Likewise.
3248 * nptl_db/structs.def: Likewise.
3249 * sysdeps/arm/sysdep.h: Likewise.
3250 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3251 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3252 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3253 * sysdeps/unix/alpha/sysdep.h: Likewise.
3254 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3255 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3256 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3257 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3258 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3259 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3261 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3262 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3263 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3264 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3265 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3266 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3267 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3270 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3271 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3272 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3275 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3276 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3277 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3278 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3279 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3280
016afc75
SP
3281 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3282 * nptl/pthreadP.h: Likewise.
3283 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3284 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3285 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3286 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3287 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3288 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3289 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3290 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3291 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3292 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3293 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3294 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3298 Likewise.
3299 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3300 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3301 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3303 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3304 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3305 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3306 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3307
9b42a0b3
SP
3308 * dlfcn/dladdr.c: Use IS_IN.
3309 * dlfcn/dladdr1.c: Likewise.
3310 * dlfcn/dlclose.c: Likewise.
3311 * dlfcn/dlerror.c: Likewise.
3312 * dlfcn/dlinfo.c: Likewise.
3313 * dlfcn/dlmopen.c: Likewise.
3314 * dlfcn/dlopen.c: Likewise.
3315 * dlfcn/dlsym.c: Likewise.
3316 * dlfcn/dlvsym.c: Likewise.
3317
85f36372
SP
3318 * include/ifaddrs.h: Use IS_IN.
3319 * inet/check_pf.c: Likewise.
3320 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3321 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3322
fb6784e3
SP
3323 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3324 IS_IN_ldconfig.
3325 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3326 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3327
2886d2d1
SP
3328 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3329 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3330 IS_IN (libc).
3331
9a484857
SP
3332 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3333
a10178bd
SP
3334 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3335 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3336 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3337 * include/libc-symbols.h (IS_IN_LIB): New macro.
3338 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3339 * include/netdb.h: Likewise.
3340 * include/stap-probe.h: Remove all uses of IN_LIB.
3341
279bc5b3
SP
3342 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3343 instead of IN_MODULE.
3344 * include/libc-symbols.h (IN_MODULE): Define using
3345 MODULE_NAME.
3346 (PASTE_NAME, PASTE_NAME1): New macros.
3347 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3348 of IN_LIB.
3349 (STAP_PROBE_ASM): Likewise.
3350
e0cfa510
ST
33512014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3352
3353 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3354 __mach_init in dlopened libc.
3355
34d97d87
MF
33562014-11-22 Mike Frysinger <vapier@gentoo.org>
3357
3358 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3359 * sysdeps/arm/preconfigure: Regenerate.
3360
33cd1f74
RM
33612014-11-21 Roland McGrath <roland@hack.frob.com>
3362
3363 * nptl/pthread_create.c (__pthread_create_2_1): Set
3364 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3365 when copying values from IATTR into PD.
3366
8c230039
WN
33672014-11-21 Will Newton <will.newton@linaro.org>
3368 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3369
6d3db89b
AP
3370 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3371 Refactor inline-asm. Also add comment.
3372
01194ba1
WN
3373 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3374 ElfW macro instead of hardcoded Elf64 types.
3375 (la_aarch64_gnu_pltenter): Likewise.
3376 * sysdeps/aarch64/dl-machine.h
3377 (elf_machine_runtime_setup): Use ElfW(Addr).
3378
8c230039
WN
3379 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3380 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3381 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3382 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3383 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3384 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3385 (R_AARCH64_TLS_DTPMOD): This.
3386 (R_AARCH64_TLS_DTPREL64): Rename to ...
3387 (R_AARCH64_TLS_DTPREL): This.
3388 (R_AARCH64_TLS_TPREL64): Rename to ...
3389 (R_AARCH64_TLS_TPREL): This.
3390 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3391 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3392 R_AARCH64_TLS_TPREL64.
3393 (elf_machine_rela): Likewise.
3394
0d79fa53
TR
33952014-11-21 Torvald Riegel <triegel@redhat.com>
3396
3397 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3398 by setting it to 0. 64b atomics are not supported currently.
3399
b59d114b
AO
34002014-11-21 Alexandre Oliva <aoliva@redhat.com>
3401
3402 [BZ #16469]
3403 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3404 search domain names.
3405
f3d945d5
AO
34062014-11-21 Alexandre Oliva <aoliva@redhat.com>
3407
3408 [BZ #16469]
3409 * NEWS: Update.
3410 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3411 trailing dot.
3412 * posix/tst-getaddrinfo5.c: New.
3413 * posix/Makefile (tests): Add it.
3414
49698902
AO
34152014-11-21 Alexandre Oliva <aoliva@redhat.com>
3416
3417 [BZ #14498]
3418 * NEWS: Fixed.
3419 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3420 after parsing line but before break_if_match.
3421 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3422 if there is a protocol mismatch.
3423
81959214
MS
34242014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3425
3426 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3427 because the potential race is on the user-supplied stream.
3428
7729e0e9
AO
34292014-11-21 Alexandre Oliva <aoliva@redhat.com>
3430
3431 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3432 string literal if not passed a buffer.
3433 * manual/job.texi (ctermid): Update reasoning, note deviation
3434 from posix, suggest mtasurace when not passed a buffer, for
3435 future non-preliminary safety notes.
3436
a4ea5e28
AO
34372014-11-21 Alexandre Oliva <aoliva@redhat.com>
3438
3439 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3440 of not passing it a buffer.
3441 Reported by Peng Haitao.
3442
a2b581cb
AO
34432014-11-21 Alexandre Oliva <aoliva@redhat.com>
3444
3445 * manual/Makefile ($(objpfx)stamp-summary): Require
3446 check-safety.sh to pass.
3447 * manual/check-safety.sh: Wish for verification that every
3448 @deftypefn and @deftypefun is followed by a @safety remark.
3449
f214ff74
RM
34502014-11-20 Roland McGrath <roland@hack.frob.com>
3451
7f0dfae0
RM
3452 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3453
2f531bbb
RM
3454 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3455 PTHREAD_CANCEL_ASYNCHRONOUS.
3456 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3457 send SIGCANCEL.
3458
f214ff74
RM
3459 * nptl/default-sched.h: New file.
3460 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3461 * nptl/pthread_create.c: Include it.
3462 (__pthread_create_2_1): Use collect_default_sched instead of making
3463 Linux syscalls here directly.
3464
e37c91d4
TR
34652014-11-20 Torvald Riegel <triegel@redhat.com>
3466
3467 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3468 __pthread_once): Use C11 atomics.
3469
1eccfecd
TR
34702014-11-20 Torvald Riegel <triegel@redhat.com>
3471
3472 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3473
ff871426
TR
34742014-11-20 Torvald Riegel <triegel@redhat.com>
3475
3476 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3477 atomic_thread_fence_acquire, atomic_thread_fence_release,
3478 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3479 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3480 atomic_compare_exchange_weak_relaxed,
3481 atomic_compare_exchange_weak_acquire,
3482 atomic_compare_exchange_weak_release,
3483 atomic_exchange_acquire, atomic_exchange_release,
3484 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3485 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3486 atomic_fetch_and_acquire,
3487 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3488
1ea339b6
TR
34892014-11-20 Torvald Riegel <triegel@redhat.com>
3490
3491 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3492 USE_ATOMIC_COMPILER_BUILTINS): Define.
3493 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3494 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3495 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3496 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3497 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3498 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3499 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3500 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3501 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3502 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3503 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3504 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3505 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3506 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3507 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3508 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3509 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3510 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3511 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3512 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3513 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3514 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3515 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3516 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3517 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3518 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3519 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3520 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3521 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3522 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3523 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3524 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3525 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3526 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3527 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3528 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3529 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3531 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3533
cbd463e2
RM
35342014-11-19 Roland McGrath <roland@hack.frob.com>
3535
d960211f
RM
3536 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3537 the sched_priority value here. It was already checked when the user
3538 called pthread_attr_setschedparam.
3539
cbd463e2
RM
3540 * nptl/tst-bad-schedattr.c: New file.
3541 * nptl/Makefile (tests): Add it.
3542
a39208bd
CD
35432014-11-19 Carlos O'Donell <carlos@redhat.com>
3544 Florian Weimer <fweimer@redhat.com>
3545 Joseph Myers <joseph@codesourcery.com>
3546 Adam Conrad <adconrad@0c3.net>
3547 Andreas Schwab <schwab@suse.de>
3548 Brooks <bmoses@google.com>
3549
3550 [BZ #17625]
3551 * wordexp-test.c (__dso_handle): Add prototype.
3552 (__register_atfork): Likewise.
3553 (__app_register_atfork): New function.
3554 (registered_forks): New global.
3555 (register_fork): New function.
3556 (test_case): Add 3 new tests for WRDE_CMDSUB.
3557 (main): Call __app_register_atfork.
3558 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3559 fork count is non-zero fail the test.
3560 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3561 is set.
3562 (parse_dollars): Remove check for WRDE_NOCMD.
3563 (parse_dquote): Likewise.
3564
9cd47470
SP
35652014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3566
130ac68c
SP
3567 * Makeconfig (built-modules): List non-library modules to be
3568 built.
3569 (module-cppflags): Include libc-modules.h for
3570 everything except shlib-versions.v.i.
3571 (CPPFLAGS): Use it.
3572 (before-compile): Add libc-modules.h.
3573 ($(common-objpfx)libc-modules.h,
3574 $(common-objpfx)libc-modules.stmp): New targets.
3575 (common-generated): Add libc-modules.h and libc-modules.stmp.
3576 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3577 * include/libc-symbols.h: Don't include libc-modules.h.
3578 * include/libc-modules.h: Remove file.
3579 * scripts/gen-libc-modules.awk: New script to generate
3580 libc-modules.h.
3581 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3582 Depend on libc-modules.stmp.
3583
286663c3
SP
3584 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3585
9cd47470
SP
3586 * Makeconfig (in-module): Get value of libof set for the
3587 translation unit.
3588 (CPPFLAGS): Use $(in-module).
3589 * Makerules: Don't suffix routine names for nonlib.
3590 * include/libc-modules.h: New file.
3591 * include/libc-symbols.h: Include libc-modules.h
3592 (IS_IN): New macro to replace IS_IN_* macros.
3593 * elf/Makefile: Set libof-* for each routine.
3594 * elf/rtld-Rules: Likewise.
3595 * extra-modules.mk: Likewise.
3596 * iconv/Makefile: Likewise.
3597 * iconvdata/Makefile: Likewise.
3598 * locale/Makefile: Likewise.
3599 * malloc/Makefile: Likewise.
3600 * nss/Makefile: Likewise.
3601 * sysdeps/gnu/Makefile: Likewise.
3602 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3603 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3604 * sysdeps/s390/s390-64/Makefile: Likewise.
3605 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3606 CPPFLAGS for nscd instead of nonlib.
3607
32fed10f
RM
36082014-11-18 Roland McGrath <roland@hack.frob.com>
3609
d71035bd
RM
3610 * nptl/createthread.c: New file.
3611
6540b991
RM
3612 * nptl/createthread.c: Moved ...
3613 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3614
32fed10f
RM
3615 * nptl/createthread.c: Add proper top-line comment.
3616 (do_clone): Folded into ...
3617 (create_thread): ... here. Take new arguments STOPPED_START and
3618 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3619 increment __nptl_threads, do event-reporting logic, do
3620 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3621 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3622 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3623 just send SIGCANCEL.
3624 * nptl/pthread_create.c: Forward-declare create_thread before
3625 including createthread.c.
3626 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3627 declaration, and new macro START_THREAD_SELF to replace argument.
3628 Remove return statement.
3629 (report_thread_creation): New function.
3630 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3631 synchronization logic, and __nptl_nthreads increment here, around
3632 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3633 PD->parent_cancelhandling here, before create_thread. When
3634 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3635 __deallocate_stack, and ENOMEM translation here.
3636
107a5bf0
JM
36372014-11-18 Joseph Myers <joseph@codesourcery.com>
3638
3639 [BZ #17616]
3640 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3641 (mptwo): Rename to __mptwo.
3642 (__inv): Use __mptwo instead of mptwo.
3643 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3644 (mptwo): Rename to __mptwo.
3645 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3646 of mpone and __mptwo instead of mptwo.
3647 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3648 instead of mpone.
3649 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3650 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3651 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3652 of mpone and __mptwo instead of mptwo.
3653 (__mpranred): Use __mpone instead of mpone.
3654 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3655 variable.
3656 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3657 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3658 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3659 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3660 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3661 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3662 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3663 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3664 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3665 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3666 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3667 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3668 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3669 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3670 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3671 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3672 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3673 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3674 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3675
3b679ab3
TV
36762014-11-18 Tom de Vries <tom@codesoucery.com>
3677
3678 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3679 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3680
36812014-11-17 Richard Henderson <rth@redhat.com>
3682
3683 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3684 (_FP_PACK_RAW_2): Remove.
3685 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3686 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3687 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3688 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3689 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3690 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3691 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3692 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3693 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3694 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3695 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3696 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3697 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3698 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3699 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3700 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3701
0781a777
RM
37022014-11-14 Roland McGrath <roland@hack.frob.com>
3703
3704 * signal/signal.h [__USE_MISC]
3705 (struct sigvec): Remove type.
3706 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3707 (sigvec): Remove declaration.
3708 * sysdeps/posix/sigvec.c: Moved ...
3709 * signal/sigvec.c: ... here, replacing old file.
3710 (struct sigvec): New type, copied from old signal.h definition.
3711 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3712 (__sigvec): Convert definition to prototype.
3713 (sigvec): Replace weak_alias with compat_symbol.
3714 * signal/Versions (libc: GLIBC_2.21): New version set.
3715 * include/signal.h: Remove __sigvec declaration.
3716 * sysdeps/unix/bsd/sigvec.c: Remove file.
3717 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3718 * manual/signal.texi (BSD Handler): Remove subsection.
3719 Move siginterrupt up to ...
3720 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3721 (Blocking in BSD): Fold subsection into its parent.
3722 * NEWS: Mention sigvec removal.
3723
a4733812
JM
37242014-11-14 Joseph Myers <joseph@codesourcery.com>
3725
5ae4fe60
JM
3726 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3727 (DLA_FMS): Make definition conditional only on [__FMA4__].
3728 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3729 definition.
3730
6a0dd472
JM
3731 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3732 Make definition conditional only on [PROF].
3733 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3734 definition.
3735 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3736 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3737
a4733812
JM
3738 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3739 !__GNUC__].
3740 * include/signal.h (__sigpause): Move declaration above call to
3741 libc_hidden_proto.
3742 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3743 variable.
3744 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3745 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3746
cf7246dd
DM
37472014-11-14 David S. Miller <davem@davemloft.net>
3748
3749 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3750 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3751
c1b0aadc
JM
37522014-11-14 Joseph Myers <joseph@codesourcery.com>
3753
4863355a
JM
3754 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3755 * configure: Regenerated.
3756 * manual/install.texi (Tools for Compilation): Document a
3757 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3758 compiler verified to work.
3759 * INSTALL: Regenerated.
3760
c1b0aadc
JM
3761 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3762 redeclare with asm name.
3763 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3764 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3765 including <string.h>.
3766 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3767 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3768 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3769 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3770 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3771 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3772 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3773
2a1cfd94
JM
37742014-11-13 Joseph Myers <joseph@codesourcery.com>
3775
bf438382
JM
3776 * stdlib/strtol.c (__strtol): Use prototype definition.
3777
2a1cfd94
JM
3778 [BZ #17594]
3779 * stdlib/strtol.c (SYM__): New macro.
3780 (SYM__1): Likewise.
3781 (__strtol): Likewise.
3782 (strtol): Rename to __strtol and define as weak alias of
3783 __strtol. Use libc_hidden_weak.
3784
20ed0d26
SL
37852014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3786
3787 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3788 Use numbered labels in inline assembly.
3789
53244a4e
SL
37902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3791
3792 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3793 Add setjmp LIBC_PROBE.
3794 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3795 Likewise.
3796 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3797 Add longjmp, longjmp_target LIBC_PROBE.
3798 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3799 Likewise.
3800
47df8251
SL
38012014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3802
3803 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3804 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3805 to get rid of unused variable warning.
3806
618cebef
SL
38072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3808
3809 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3810 Check for unwind_backtrace == NULL only in SHARED case.
3811 (__backchain_backtrace): Compile only in SHARED case.
3812 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3813 Likewise.
3814 (__backchain_backtrace): Declare as static.
3815
c6aab2cb
RM
38162014-11-12 Roland McGrath <roland@hack.frob.com>
3817
3818 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3819 (__libc_multiple_threads_ptr): Variable moved ...
3820 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3821
5a6fa4d7
JM
38222014-11-12 Joseph Myers <joseph@codesourcery.com>
3823
24f4f825
JM
3824 * conform/GlibcConform.pm: New file.
3825 * conform/conformtest.pl: Use GlibcConform module.
3826 * conform/linknamespace.pl: New file.
3827 * conform/list-header-symbols.pl: Likewise.
3828 * conform/Makefile (linknamespace-symlists-base): New variable.
3829 (linknamespace-symlists-tests): Likewise.
3830 (linknamespace-header-base): Likewise.
3831 (linknamespace-header-tests): Likewise.
3832 (tests-special): Add new tests.
3833 ($(linknamespace-symlists-tests)): New rule.
3834 (linknamespace-libs): New variable.
3835 ($(objpfx)symlist-stdlibs): New rule.
3836 ($(linknamespace-header-tests)): Likewise.
3837 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3838 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3839 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3840 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3841 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3842 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3843 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3844 (test-xfail-ISO/math.h/linknamespace): Likewise.
3845 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3846 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3847 (test-xfail-ISO/time.h/linknamespace): Likewise.
3848 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3849 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3850 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3851 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3852 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3853 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3854 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3855 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3856 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3857 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3858 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3859 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3860 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3861 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3862 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3863 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3864 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3865 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3866 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3867 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3868 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3869 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3870 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3871 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3872 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3873 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3874 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3875 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3876 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3877 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3878 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3879 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3880 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3881 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3882 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3883 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3884 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3885 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3886 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3887 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3888 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3889 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3890 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3891 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3892 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3893 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3894 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3895 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3896 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3897 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3898 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3899 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3900 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3901 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3902 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3903 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3904 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3905 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3906 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3907 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3908 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3909 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3910 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3911 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3912 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3913 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3914 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3915 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3916 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3917 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3918 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3919 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3920 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3921 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3922 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3923 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3924 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3925 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3926 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3927 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3928 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3929 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3930 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3931 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3932 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3933 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3934 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3935 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3936 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3937 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3938 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3939 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3940 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3941 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3942 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3943 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3944 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3945 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3946 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3947 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3948 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3949 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3950 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3951 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3952 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3953 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3954 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3955 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3956 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3957 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3958 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3959 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3960 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3961 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3962 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3963 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3964 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3965 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3966 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3967 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3968 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3969 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3970 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3971 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3972 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3973 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3974 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3975 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3976 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3977 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3978 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3979 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3980 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3981 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3982 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3983 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3984 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3985 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3986 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3987 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3988 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3989 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3991 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3992 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3993 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3994 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3995 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3996 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3997 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3998
cc67478e
JM
3999 [BZ #17589]
4000 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4001 of fgets_unlocked.
4002
9975e3d3
JM
4003 [BZ #17585]
4004 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4005 (memmem): Rename to __memmem and define as weak alias of
4006 __memmem. Use libc_hidden_weak.
4007 (__memmem): Use libc_hidden_def.
4008 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4009 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4010 memmem.
4011
c4eae752
JM
4012 [BZ #17582]
4013 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4014 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4015 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4016 and define as weak alias of __fgets_unlocked. Use
4017 libc_hidden_weak.
4018 (__fgets_unlocked): Use libc_hidden_def.
4019 * include/stdio.h (__fgets_unlocked): Declare. Use
4020 libc_hidden_proto.
4021 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4022 __fgets_unlocked instead of fgets_unlocked.
4023 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4024 (GET_NPROCS_CONF_PARSER): Likewise.
4025 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4026 (GET_NPROCS_CONF_PARSER): Likewise.
4027
01cad84e
JM
4028 [BZ #17574]
4029 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4030 weak alias of __wmemset. Use libc_hidden_weak.
4031 (__wmemset): Use libc_hidden_def.
4032 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4033 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4034 of wmemset.
4035
939da411
JM
4036 [BZ #17573]
4037 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4038 with asm name __mempcpy.
4039 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4040
293d9a41
JM
4041 [BZ #17572]
4042 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4043 and define as weak alias of __rawmemchr.
4044 (__rawmemchr): Do not define as strong alias of rawmemchr.
4045
bef8fd60
JM
4046 [BZ #17571]
4047 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4048 alias of __qsort_r.
4049 (qsort): Call __qsort_r instead of qsort_r.
4050 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4051 (__qsort_r): Declare. Call libc_hidden_proto.
4052 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4053 instead of qsort_r.
4054 * nscd/gai.c (__qsort_r): Define to qsort_r.
4055 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4056 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4057 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4058
c52ff39e
JM
4059 [BZ #17570]
4060 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4061 define as weak alias of __malloc_info.
4062
2f5c1b00
JM
4063 [BZ #17584]
4064 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4065 as weak alias of __rewinddir. Don't use libc_hidden_def.
4066 (__rewinddir): Use libc_hidden_def.
4067 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4068 as weak alias of __rewinddir. Don't use libc_hidden_def.
4069 (__rewinddir): Use libc_hidden_def.
4070 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4071 weak alias of __rewinddir. Don't use libc_hidden_def.
4072 (__rewinddir): Use libc_hidden_def.
4073 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4074 (__rewinddir): Use libc_hidden_proto.
4075 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4076 rewinddir.
4077 (__getcwd): Use __rewinddir instead of rewinddir.
4078
5a6fa4d7
JM
4079 [BZ #17583]
4080 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4081 alias of __fileno. Use libc_hidden_weak.
4082 (__fileno): Use libc_hidden_def.
4083 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4084 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4085 alias of __ftello.
4086 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4087 __ftello.
4088 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4089 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4090 libc_hidden_def.
4091 (fread_unlocked): Don't use libc_hidden_ver.
4092 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4093 and define as weak alias of __fread_unlocked. Don't use
4094 libc_hidden_def.
4095 (__fread_unlocked): Use libc_hidden_def.
4096 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4097 (ftello): Don't use libc_hidden_proto.
4098 (__ftello): Declare. Use libc_hidden_proto.
4099 (fread_unlocked): Don't use libc_hidden_proto.
4100 (__fread_unlocked): Declare. Use libc_hidden_proto.
4101 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4102 and __ftello instead of fileno, fread_unlocked and ftello.
4103
2581b98e
SP
41042012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
4106 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4107 GOT12.
4108 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4109 Likewise.
4110 (_dl_start_user): Likewise.
4111 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4112
533bb7c2
SP
41132014-11-12 Carlos O'Donell <carlos@redhat.com>
4114 Siddhesh Poyarekar <siddhesh@redhat.com>
4115
4116 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4117 Move argv and envp down instead of moving argc up.
4118 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4119
fffa1cf8
LH
41202014-11-12 Leonhard Holz <leonhard.holz@web.de>
4121
4122 [BZ #17506]
4123 * test-skeleton.c (main): Return successful if one of
4124 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4125 * string/tst-strcoll-overflow.c: Define expected status.
4126
fb89b46d
TU
41272014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4128
4129 [BZ #17475]
4130 * locale/iso-639.def: Define Bhili and Tulu language codes.
4131
5c40c3ba
AH
41322014-11-11 Alan Hayward <alan.hayward@arm.com>
4133
4134 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4135
b17fe01b 41362014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4137
4138 [BZ #17555]
4139 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4140
bd805071
AS
41412014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4142
4143 * configure.ac: Updated check of minimal required version to
4144 2.22.
4145 * manual/install.texi (Tools for Compilation): Updated version
4146 number.
4147 * configure: Regenerated.
4148 * INSTALL: Likewise.
4149
1400983e
AS
41502014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4151
4152 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4153 __tls_get_addr.
4154
2c46a66a
JM
41552014-11-07 Joseph Myers <joseph@codesourcery.com>
4156
4157 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4158 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4159 (__waitpid): Don't define as alias. Use libc_hidden_def not
4160 libc_hidden_weak.
4161 (waitpid): Define as alias of __waitpid.
4162 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4163 __waitpid.
4164 (__waitpid): Don't define as alias. Use libc_hidden_def not
4165 libc_hidden_weak.
4166 (waitpid): Define as alias of __waitpid.
4167 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4168 __libc_waitpid alias.
4169 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4170 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4171 Likewise.
4172 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4173 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4174 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4175 alias.
4176 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4177 __waitpid.
4178 (__waitpid): Don't define as alias. Use libc_hidden_def not
4179 libc_hidden_weak.
4180 (waitpid): Define as alias of __waitpid.
4181
da53d6db
CD
41822014-11-06 Carlos O'Donell <carlos@redhat.com>
4183
a2887bdb
CD
4184 * manual/llio.texi: Add comment that write safety has been
4185 fixed in Linux.
4186
da53d6db
CD
4187 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4188 (localplt-build-dso): Add elf/ld.so.
4189 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4190 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4191 and free for ld.so.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4193 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4195 Likewise.
4196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4197 Likewise.
4198 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4199 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4200 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4201 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4202 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4203 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4204 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4205 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4206 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4207 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4208 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4209
9cf27b8d
JM
42102014-11-05 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #14132]
4213 * include/libc-symbols.h (INTUSE): Remove macro.
4214 (INTDEF): Likewise.
4215 (INTVARDEF): Likewise.
4216 (_INTVARDEF): Likewise.
4217 (INTDEF2): Likewise.
4218 (INTVARDEF2): Likewise.
4219 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4220 rtld_hidden_def instead of INTVARDEF.
4221 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4222 (_dl_starting_up_internal): Remove declaration.
4223 (_dl_starting_up): Use rtld_hidden_proto.
4224 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4225 declaration.
4226 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4227 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4228 _dl_starting_up.
4229 * elf/dl-writev.h (_dl_writev): Likewise.
4230 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4231 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4232 _dl_starting_up_internal.
4233
af83568d
AZ
42342014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4235
4236 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4237 test-skeleton.c.
4238
b01ee67c
WN
42392014-11-05 Will Newton <will.newton@linaro.org>
4240
4241 * benchtests/Makefile: (bench-malloc): Add malloc thread
4242 scalability benchmark.
4243 * benchtests/bench-malloc-threads.c: New file.
4244
be9d4ccc
RE
42452014-11-05 Richard Earnshaw <rearnsha@arm.com>
4246
4247 * sysdeps/aarch64/strchrnul.S: New file.
4248
7110166d
AZ
42492014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4250
4251 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4252 definition.
4253 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4254 Likwise.
4255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4256 Likewise.
4257 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4258 Likewise.
4259 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4260 Likewise.
4261 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4262 Likewise.
4263
42642014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4265
4266 * catgets/test-gencat.c: Use test-skeleton.c.
4267 * catgets/tst-catgets.c: Likewise.
4268 * csu/tst-empty.c: Likewise.
4269 * elf/tst-audit2.c: Likewise.
4270 * elf/tst-global1.c: Likewise.
4271 * elf/tst-pathopt.c: Likewise.
4272 * elf/tst-piemod1.c: Likewise.
4273 * elf/tst-tls10.c: Likewise.
4274 * elf/tst-tls11.c: Likewise.
4275 * elf/tst-tls12.c: Likewise.
4276 * gnulib/tst-gcc.c: Likewise.
4277 * iconvdata/tst-e2big.c: Likewise.
4278 * iconvdata/tst-loading.c: Likewise.
4279 * iconv/tst-iconv1.c: Likewise.
4280 * iconv/tst-iconv2.c: Likewise.
4281 * inet/test-inet6_opt.c: Likewise.
4282 * inet/tst-gethnm.c: Likewise.
4283 * inet/tst-network.c: Likewise.
4284 * inet/tst-ntoa.c: Likewise.
4285 * intl/tst-codeset.c: Likewise.
4286 * intl/tst-gettext2.c: Likewise.
4287 * intl/tst-gettext3.c: Likewise.
4288 * intl/tst-ngettext.c: Likewise.
4289 * intl/tst-translit.c: Likewise.
4290 * io/test-stat.c: Likewise.
4291 * libio/test-fmemopen.c: Likewise.
4292 * libio/tst-freopen.c: Likewise.
4293 * libio/tst-sscanf.c: Likewise.
4294 * libio/tst-ungetwc1.c: Likewise.
4295 * libio/tst-ungetwc2.c: Likewise.
4296 * libio/tst-widetext.c: Likewise.
4297 * localedata/tst-ctype.c: Likewise.
4298 * localedata/tst-digits.c: Likewise.
4299 * localedata/tst-leaks.c: Likewise.
4300 * localedata/tst-mbswcs1.c: Likewise.
4301 * localedata/tst-mbswcs2.c: Likewise.
4302 * localedata/tst-mbswcs3.c: Likewise.
4303 * localedata/tst-mbswcs4.c: Likewise.
4304 * localedata/tst-mbswcs5.c: Likewise.
4305 * localedata/tst-setlocale.c: Likewise.
4306 * localedata/tst-trans.c: Likewise.
4307 * localedata/tst-wctype.c: Likewise.
4308 * localedata/tst-xlocale1.c: Likewise.
4309 * login/tst-grantpt.c: Likewise.
4310 * malloc/tst-calloc.c: Likewise.
4311 * malloc/tst-malloc.c: Likewise.
4312 * malloc/tst-mallocstate.c: Likewise.
4313 * malloc/tst-mcheck.c: Likewise.
4314 * malloc/tst-mtrace.c: Likewise.
4315 * malloc/tst-obstack.c: Likewise.
4316 * math/atest-exp2.c: Likewise.
4317 * math/atest-exp.c: Likewise.
4318 * math/atest-sincos.c: Likewise.
4319 * math/test-matherr.c: Likewise.
4320 * math/test-misc.c: Likewise.
4321 * math/test-powl.c: Likewise.
4322 * math/tst-definitions.c: Likewise.
4323 * misc/tst-dirname.c: Likewise.
4324 * misc/tst-efgcvt.c: Likewise.
4325 * misc/tst-fdset.c: Likewise.
4326 * misc/tst-hsearch.c: Likewise.
4327 * misc/tst-mntent2.c: Likewise.
4328 * nptl/tst-sem7.c: Likewise.
4329 * nptl/tst-sem8.c: Likewise.
4330 * nptl/tst-sem9.c: Likewise.
4331 * nss/test-netdb.c: Likewise.
4332 * posix/tst-fnmatch.c: Likewise.
4333 * posix/tst-getlogin.c: Likewise.
4334 * posix/tst-gnuglob.c: Likewise.
4335 * posix/tst-mmap.c: Likewise.
4336 * pwd/tst-getpw.c: Likewise.
4337 * resolv/tst-inet_ntop.c: Likewise.
4338 * rt/tst-timer.c: Likewise.
4339 * stdio-common/test-fseek.c: Likewise.
4340 * stdio-common/test-popen.c: Likewise.
4341 * stdio-common/test-vfprintf.c: Likewise.
4342 * stdio-common/tst-cookie.c: Likewise.
4343 * stdio-common/tst-fileno.c: Likewise.
4344 * stdio-common/tst-gets.c: Likewise.
4345 * stdio-common/tst-obprintf.c: Likewise.
4346 * stdio-common/tst-perror.c: Likewise.
4347 * stdio-common/tst-sprintf2.c: Likewise.
4348 * stdio-common/tst-sprintf3.c: Likewise.
4349 * stdio-common/tst-sprintf.c: Likewise.
4350 * stdio-common/tst-swprintf.c: Likewise.
4351 * stdio-common/tst-tmpnam.c: Likewise.
4352 * stdio-common/tst-unbputc.c: Likewise.
4353 * stdio-common/tst-wc-printf.c: Likewise.
4354 * stdlib/tst-environ.c: Likewise.
4355 * stdlib/tst-fmtmsg.c: Likewise.
4356 * stdlib/tst-limits.c: Likewise.
4357 * stdlib/tst-rand48-2.c: Likewise.
4358 * stdlib/tst-rand48.c: Likewise.
4359 * stdlib/tst-random2.c: Likewise.
4360 * stdlib/tst-random.c: Likewise.
4361 * stdlib/tst-strtol.c: Likewise.
4362 * stdlib/tst-strtoll.c: Likewise.
4363 * stdlib/tst-tls-atexit.c: Likewise.
4364 * stdlib/tst-xpg-basename.c: Likewise.
4365 * string/test-ffs.c: Likewise.
4366 * string/tst-bswap.c: Likewise.
4367 * string/tst-inlcall.c: Likewise.
4368 * string/tst-strtok.c: Likewise.
4369 * string/tst-strxfrm.c: Likewise.
4370 * sysdeps/x86_64/tst-audit10.c: Likewise.
4371 * sysdeps/x86_64/tst-audit3.c: Likewise.
4372 * sysdeps/x86_64/tst-audit4.c: Likewise.
4373 * sysdeps/x86_64/tst-audit5.c: Likewise.
4374 * time/tst-ftime_l.c: Likewise.
4375 * time/tst-getdate.c: Likewise.
4376 * time/tst-mktime3.c: Likewise.
4377 * time/tst-mktime.c: Likewise.
4378 * time/tst-posixtz.c: Likewise.
4379 * time/tst-strptime2.c: Likewise.
4380 * time/tst-strptime3.c: Likewise.
4381 * wcsmbs/tst-btowc.c: Likewise.
4382 * wcsmbs/tst-mbrtowc.c: Likewise.
4383 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4384 * wcsmbs/tst-wchar-h.c: Likewise.
4385 * wcsmbs/tst-wcpncpy.c: Likewise.
4386 * wcsmbs/tst-wcrtomb.c: Likewise.
4387 * wcsmbs/tst-wcsnlen.c: Likewise.
4388 * wcsmbs/tst-wcstof.c: Likewise.
4389
2004e7fb
JM
43902014-11-04 Joseph Myers <joseph@codesourcery.com>
4391
ab97ee8f
JM
4392 [BZ #14132]
4393 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4394 INTDEF.
4395 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4396 declaration.
4397 (_dl_mcount): Use rtld_hidden_proto.
4398 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4399 _dl_mcount.
4400 * elf/rtld.c (_rtld_global_ro): Likewise.
4401
c5684fdb
JM
4402 [BZ #14132]
4403 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4404 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4405 of _dl_init_internal.
4406 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4407 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4408 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4409 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4410 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4411 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4412 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4413 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4414 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4415 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4416 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4417 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4418 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4419 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4420 * sysdeps/tile/dl-start.S (_start): Likewise.
4421 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4422 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4423
4243cbea
JM
4424 [BZ #14132]
4425 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4426 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4427 (rtld_progname): Make macro definition unconditional.
4428 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4429 INTDEF.
4430 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4431 (dl_main): Likewise.
4432 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4433 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4434 instead of _dl_argv_internal.
4435 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4436 __GI__dl_argv instead of INTUSE(_dl_argv).
4437 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4438 __GI__dl_argv instead of _dl_argv_internal.
4439
2004e7fb
JM
4440 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4441 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4442 macro.
4443 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4444 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4445 New macro.
4446 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4447 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4448 macro.
4449 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4450 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4451
97827bfc
AS
44522014-11-04 Andreas Schwab <schwab@suse.de>
4453
4454 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4455
5e4df284
AZ
44562014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4457
4458 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4459 mtvsrd instruction in binary form.
4460
04b76b5a
AS
44612014-11-03 Andreas Schwab <schwab@suse.de>
4462
4463 [BZ #17522]
4464 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4465 for less than MB_LEN_MAX use a local buffer of that size.
4466 * libio/tst-fputws.c: New file.
4467 * libio/Makefile (tests): Add tst-fputws.
4468
4c6da7da
JM
44692014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4470
4471 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4472 the size of the fpu_fr.fpu_dregs[] array.
4473
1679ba8e
JM
44742014-11-01 Joseph Myers <joseph@codesourcery.com>
4475
4476 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4477 (__nanosleep): Do not define as alias.
4478 (nanosleep): Define as alias of __nanosleep.
4479 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4480 __libc_nanosleep name.
4481
2626c183
JM
44822014-10-31 Joseph Myers <joseph@codesourcery.com>
4483
4484 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4485 install.texi in comment.
4486
7f981fc2
TR
44872014-10-31 Torvald Riegel <triegel@redhat.com>
4488
4489 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4490 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4491 ... add here and use lwsync or sync ...
4492 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4493 ... and add here using lwsync.
4494
d6f373d2
MF
44952014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4496
4497 * elf/dl-machine-reject-phdr.h: New file.
4498 * elf/dl-load.c: #include that.
4499 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4500 if that returned true.
4501
67c37987
RM
45022014-10-31 Roland McGrath <roland@hack.frob.com>
4503
4504 [BZ #17496]
4505 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4506 gen-as-const-headers chunk. Add a big scare comment after the last
4507 safe place to touch before-compile.
4508
94a42455 45092014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4510
f3f5d895
JM
4511 * manual/install.texi (Tools for Compilation): Update autoconf
4512 version requirements.
4513 * INSTALL: Regenerated.
4514
f62ff286
JM
4515 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4516 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4517 (__libc_pselect): Likewise.
94a42455
JM
4518
4519 [BZ #14138]
4520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4524
ff9dbdc0
TR
45252014-10-31 Torvald Riegel <triegel@redhat.com>
4526
4527 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4528 correct barrier instruction.
4529 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4530 Likewise.
4531 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4532 Likewise.
4533
b4f66884
RM
45342014-10-30 Roland McGrath <roland@hack.frob.com>
4535
4536 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4537 after defining inlines. Instead, just use parens to defeat macro
4538 expansion of __isctype in its declaration.
4539
e19c95fd
JM
45402014-10-30 Joseph Myers <joseph@codesourcery.com>
4541
4542 * include/sys/uio.h (__libc_readv): Remove declaration.
4543 (__libc_writev): Likewise.
4544 * misc/readv.c (__libc_readv): Rename to __readv.
4545 (__readv): Do not define as alias.
4546 (readv): Define as alias of __readv.
4547 * misc/writev.c (__libc_writev): Rename to __writev.
4548 (__writev): Do not define as alias.
4549 (writev): Define as alias of __writev.
4550 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4551 (__readv): Do not define as alias.
4552 (readv): Define unconditionally as alias of __readv.
4553 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4554 (__writev): Do not define as alias.
4555 (writev): Define unconditionally as alias of __writev.
4556 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4557 name.
4558 (writev): Do not define __libc_writev name.
4559
65b00b6c
RM
45602014-10-30 Roland McGrath <roland@hack.frob.com>
4561
4562 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4563 (convert_charseq): New function, broken out of ...
4564 (use_from_charmap): ... here. Call it.
4565 (use_to_charmap): Use convert_charseq and free instead of duplicating
4566 its code with a variable-length stack struct.
4567
d4e157aa
JM
45682014-10-30 Joseph Myers <joseph@codesourcery.com>
4569
4570 * include/fcntl.h (__libc_creat): Remove declaration.
4571 * io/creat.c (__libc_creat): Rename to creat.
4572 (creat): Do not define as alias.
4573 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4574 of creat instead of __libc_creat.
4575 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4576 to creat.
4577 (creat): Do not define as alias.
4578 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4579 __libc_creat.
4580 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4581 __libc_creat name.
4582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4583 Likewise.
4584
0c6891a0
CD
45852014-10-29 Carlos O'Donell <carlos@redhat.com>
4586
4587 * manual/llio.texi: Add comments discussing why write() may be
4588 considered MT-unsafe on Linux.
4589
cc00cece
CD
45902014-10-28 Carlos O'Donell <carlos@redhat.com>
4591
4592 * dl-load.c (local_strdup): Remove.
4593 (expand_dynamic_string_token): Use __strdup.
4594 (decompose_rpath): Likewise.
4595 (_dl_map_object): Likewise.
4596
51e623f2
JM
45972014-10-28 Joseph Myers <joseph@codesourcery.com>
4598
4599 [BZ #14132]
4600 * sysdeps/generic/unwind-dw2-fde.c
4601 (__register_frame_info_bases_internal): Do not declare.
4602 (__register_frame_info_table_bases_internal): Likewise.
4603 (__deregister_frame_info_bases_internal): Likewise.
4604 (__register_frame_info_bases): Declare and use hidden_proto before
4605 definition. Use hidden_def instead of INTDEF.
4606 (__register_frame_info_table_bases): Likewise.
4607 (__deregister_frame_info_bases): Likewise.
4608 (__register_frame_info): Do not use INTUSE.
4609 (__register_frame): Likewise.
4610 (__register_frame_info_table): Likewise.
4611 (__register_frame_table): Likewise.
4612 (__deregister_frame_info): Likewise.
4613 (__deregister_frame): Likewise.
4614
03d41216
GC
46152014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4616
4617 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4618 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4619 not undefine.
4620 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4621 Likewise.
4622 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4623 Likewise.
4624
a4b3624d
JM
46252014-10-27 Joseph Myers <joseph@codesourcery.com>
4626
4627 [BZ #14138]
4628 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4629 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4630 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4631 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4632 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4633 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4635 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4636 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4637 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4638 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4639 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4640 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4641 syscall.
4642 (setfsuid): Likewise.
4643 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4644 (setfsuid): Likewise.
4645 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4646 (setfsuid): Likewise.
4647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4648 Likewise.
4649 (setfsuid): Likewise.
4650 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4651 (setfsuid): Likewise.
4652 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4653 Likewise.
4654 (setfsuid): Likewise.
4655
3574f2fd
AS
46562014-10-27 Andreas Schwab <schwab@suse.de>
4657
4658 [BZ #17501]
4659 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4660 check for Slow_SSE4_2 feature bit.
4661 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4662 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4663 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4664 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4665
70996a37
RM
46662014-10-24 Roland McGrath <roland@hack.frob.com>
4667
461a7b1e
RM
4668 * configure.ac: Validate compiler version with a empirical test of
4669 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4670 $CC -v output.
4671 * configure: Regenerated.
4672
70996a37
RM
4673 * inet/htons.c (htons): Prototypify.
4674 * inet/htonl.c (htonl): Likewise.
4675
e80514b5
WD
46762014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4677
4678 * string/strncat.c (strncat): Improve performance by using strlen.
4679
6e46de42
WD
46802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4681
4682 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4683
6a9ad2fa
WD
46842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4685
4686 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4687 Call libc_fetestexcept_aarch64.
4688
1c8810ed
WD
46892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4690
4691 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4692 Call libc_feholdexcept_aarch64.
4693
8b1af712
WD
46942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4695
4696 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4697 Call get_rounding_mode.
4698
a7b00c11
WD
46992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4700
4701 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4702 Simplify logic.
4703
3a84f1a6
WD
47042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4705
4706 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4707 Simplify logic.
4708
48eb7a94
JM
47092014-10-24 Joseph Myers <joseph@codesourcery.com>
4710
c8bc4038
JM
4711 [BZ #14138]
4712 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4713 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4714 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4715 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4716 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4717 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4718 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4719 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4720 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4721 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4722 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4723 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4725 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4726 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4727 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4728 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4729 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4730 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4731 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4732 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4733 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4735 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4739 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4740 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4741 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4743 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4744 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4745 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4746 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4752 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4753 syscall.
4754 (geteuid): Likewise.
4755 (getgid): Likewise.
4756 (getuid): Likewise.
4757 (getresgid): Likewise.
4758 (getresuid): Likewise.
4759 (getgroups): Likewise.
4760 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4761 (geteuid): Likewise.
4762 (getgid): Likewise.
4763 (getuid): Likewise.
4764 (getresgid): Likewise.
4765 (getresuid): Likewise.
4766 (getgroups): Likewise.
4767 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4768 (geteuid): Likewise.
4769 (getgid): Likewise.
4770 (getuid): Likewise.
4771 (getresgid): Likewise.
4772 (getresuid): Likewise.
4773 (getgroups): Likewise.
4774 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4775 Likewise.
4776 (geteuid): Likewise.
4777 (getgid): Likewise.
4778 (getuid): Likewise.
4779 (getresgid): Likewise.
4780 (getresuid): Likewise.
4781 (getgroups): Likewise.
4782 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4783 (geteuid): Likewise.
4784 (getgid): Likewise.
4785 (getuid): Likewise.
4786 (getresgid): Likewise.
4787 (getresuid): Likewise.
4788 (getgroups): Likewise.
4789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4790 Likewise.
4791 (geteuid): Likewise.
4792 (getgid): Likewise.
4793 (getuid): Likewise.
4794 (getgroups): Likewise.
4795
48eb7a94
JM
4796 [BZ #14138]
4797 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4798 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4799 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4800 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4803 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4804 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4809 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4810 __chown.
4811 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4812 (lchown): Likewise.
4813 (fchown): Likewise.
4814 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4815 Likewise.
4816 (lchown): Likewise.
4817 (fchown): Likewise.
4818 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4819 (lchown): Likewise.
4820 (fchown): Likewise.
4821 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4822 Likewise.
4823 (lchown): Likewise.
4824 (fchown): Likewise.
4825
ea9a7c8b
WD
48262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4827
4828 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4829 Simplify logic.
4830
e226de33
WD
48312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4832
4833 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4834 Cleanup logic.
4835
6e3d8ed3
WD
48362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4837
4838 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4839 Remove unused include.
4840
eb04247d
WD
48412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4842
4843 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4844 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4845 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4846 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4847
13d84554
CD
48482014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4849 Helge Deller <deller@gmx.de>
4850
4851 [BZ #17508]
4852 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4853 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4854 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4855
15f9c5df
JM
48562014-10-23 Joseph Myers <joseph@codesourcery.com>
4857
4858 [BZ #14132]
4859 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4860 Remove macro definition.
4861 (__ashrdi3_v_glibc20): Likewise.
4862 (__lshrdi3_v_glibc20): Likewise.
4863 (__cmpdi2_v_glibc20): Likewise.
4864 (__ucmpdi2_v_glibc20): Likewise.
4865 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4866 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4867 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4868 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4869 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4870 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4871
c6dfed24
RM
48722014-10-22 Roland McGrath <roland@hack.frob.com>
4873
4874 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4875 old GNU extension [0] syntax.
4876 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4877 alloca rather than an array member with variable length.
4878 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4879 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4880 (parse_opt): ... here. Likewise use alloca there.
4881 Validate the -i argument before checking for rootness.
4882 (send_shutdown): New function, broken out of ...
4883 (parse_opt): ... here.
4884
8c2b1ed8
RM
48852014-10-22 Roland McGrath <roland@hack.frob.com>
4886
4887 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4888 macro to get at the _rt_local_ro field.
4889 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4890 ([PIC] case) or _dl_hwcap ([!PIC] case).
4891 * sysdeps/arm/setjmp.S: Likewise.
4892
4893 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4894 * sysdeps/arm/configure.ac: New check to define it.
4895 * sysdeps/arm/configure: Regenerated.
4896 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4897 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4898 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4899 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4900 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4901 Use move/movt pair instead of a load.
4902 (LDST_GLOBAL): Macro removed.
4903 (LDR_GLOBAL): New macro replaces it.
4904 (LDR_HIDDEN): New macro.
4905 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4906 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4907
4908 * setjmp/tst-setjmp-static.c: New file.
4909 * setjmp/Makefile (tests): Add it.
4910 (tests-static): New variable.
4911
b5af9297
MR
49122014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4913
4914 [BZ #17485]
4915 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4916
a13d0d74
JM
49172014-10-21 Joseph Myers <joseph@codesourcery.com>
4918
4919 [BZ #14132]
4920 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4921
f05e73f6
RM
49222014-10-21 Roland McGrath <roland@hack.frob.com>
4923
4924 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4925
6ab1d1ea
RM
49262014-10-20 Roland McGrath <roland@hack.frob.com>
4927
4928 * io/fts.c (dirent_not_directory): New function.
4929 (fts_build): Call it.
4930
ab49e763
RM
49312014-10-20 Roland McGrath <roland@hack.frob.com>
4932
e436eb79
RM
4933 * nptl/version.c (__nptl_main): Use normal __write rather than
4934 INTERNAL_SYSCALL.
4935 (banner): Update copyright years.
4936
6af246cf
RM
4937 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4938 gettimeofday.
4939 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4940 * nptl/pthread_cond_timedwait.c: Likewise.
4941 * nptl/pthread_mutex_timedlock.c: Likewise.
4942 * nptl/sem_timedwait.c: Likewise.
4943
ab49e763
RM
4944 * sysdeps/nptl/bits/libc-lock.h
4945 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4946 (__libc_lock_init_recursive): Return void, not 0.
4947 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4948 (__libc_rwlock_init): Likewise.
4949 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4950
f50277c1
TR
49512014-10-20 Torvald Riegel <triegel@redhat.com>
4952
4953 [BZ #15215]
4954 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4955 (__pthread_once_slow): ... here.
4956 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4957 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4958
63668b70
TR
49592014-10-20 Torvald Riegel <triegel@redhat.com>
4960
4961 [BZ #15215]
4962 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4963 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4964 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4965 * nptl/pthread_once.c (__pthread_once): Likewise.
4966 Update comments.
4967
42b7f5d4
JM
49682014-10-20 Joseph Myers <joseph@codesourcery.com>
4969
4970 [BZ #14138]
4971 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4972 name.
4973 (writev): Use __libc_writev as strong name.
4974 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4975 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4976
b0643088
RM
49772014-10-17 Roland McGrath <roland@hack.frob.com>
4978
114c4e09
RM
4979 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4980
674b8978
RM
4981 * sysdeps/i386/nptl/tls.h
4982 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4983 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4984 New macros.
4985 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4986 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4987 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4988 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4989 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4990 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4991
184ee940
RM
4992 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4993 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4994 on [__NR_futex].
4995 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4996 broken out of ...
4997 (__pthread_mutex_init): ... here. Call it.
4998 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4999 Conditionalize PI cases on [__NR_futex].
5000 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5001 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5002 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5003
327ae257
RM
5004 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5005 conditional on [SIGSETXID].
5006 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5007 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5008 is defined. Likewise for SIGSETXID.
5009 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5010 Conditionalize definitions on [SIGSETXID].
5011 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5012 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5013 unblocking on [SIGCANCEL].
5014
b0643088
RM
5015 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5016 [__NR_set_robust_list].
5017
33cc770b
SP
50182014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5019
5020 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5021 (do_compare): Likewise.
5022
0742aef6
LH
50232014-10-17 Leonhard Holz <leonhard.holz@web.de>
5024
5025 [BZ #15884]
5026 * string/strcoll_l.c: Don't include stdio.h.
5027 (coll_seq): Remove members idxarr and rulearr.
5028 (get_next_seq_cached): Remove function.
5029 (get_next_seq): Likewise.
5030 (get_next_seq_nocache): Rename to get_next_seq.
5031 (do_compare): Remove function.
5032 (do_compare_nocache): Rename to do_compare.
5033 (STRCOLL): Remove weight and rules cache.
5034
ee54ce44
RM
50352014-10-16 Roland McGrath <roland@hack.frob.com>
5036
5037 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5038 * sysdeps/arm/sfp-machine.h: ... to here.
5039 * sysdeps/arm/Implies: Remove arm/soft-fp.
5040
a75d3b02
JM
50412014-10-14 Joseph Myers <joseph@codesourcery.com>
5042
5043 * conform/data/sys/utsname.h-data (*_t): Allow.
5044 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5045 [POSIX] (WEXITED): Do not expect constant.
5046 [POSIX] (WSTOPPED): Likewise.
5047 [POSIX] (WNOHANG): Likewise.
5048 [POSIX] (WNOWAIT): Likewise.
5049 [POSIX] (siginfo_t): Do not expect type or elements.
5050 [POSIX] (pid_t): Do not expect type.
5051 [POSIX] (signal.h): Do not allow header.
5052 [POSIX] (sys/resource.h): Likewise.
5053 [POSIX] (si_*): Do not allow pattern.
5054 [POSIX] (W*): Likewise.
5055 [POSIX] (P_*): Likewise.
5056 [POSIX] (BUS_*): Likewise.
5057 [POSIX] (CLD_*): Likewise.
5058 [POSIX] (FPE_*): Likewise.
5059 [POSIX] (ILL_*): Likewise.
5060 [POSIX] (POLL_*): Likewise.
5061 [POSIX] (SEGV_*): Likewise.
5062 [POSIX] (SI_*): Likewise.
5063 [POSIX] (TRAP_*): Likewise.
5064 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5065 variable.
5066
fda389c8
SP
50672014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5068
5069 [BZ #12926]
5070 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5071 infinite loop when __recvmsg returns 0.
5072
6bc6bd3b
JM
50732014-10-10 Joseph Myers <joseph@codesourcery.com>
5074
fcb32af1
JM
5075 * CANCEL-FCT-WAIVE: Remove file.
5076 * CANCEL-FILE-WAIVE: Likewise.
5077
6bc6bd3b
JM
5078 [BZ #14132]
5079 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5080 instead of INTVARDEF.
5081 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5082 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5083 rtld_hidden_data_def instead of INTVARDEF.
5084 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5085 * elf/dl-deps.c (expand_dst): Likewise.
5086 * elf/dl-load.c (_dl_dst_count): Likewise.
5087 (_dl_dst_substitute): Likewise.
5088 (decompose_rpath): Likewise.
5089 (_dl_init_paths): Likewise.
5090 (open_path): Likewise.
5091 (_dl_map_object): Likewise.
5092 * elf/rtld.c (dl_main): Likewise.
5093 (process_dl_audit): Likewise.
5094 (process_envvars): Likewise.
5095 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5096 Remove declaration.
5097 (__libc_enable_secure): Use rtld_hidden_proto.
5098
b8c80a7e
KS
50992014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5100
5101 * elf/dl-load.c
5102 (add_path): New function broken out of _dl_rtld_di_serinfo.
5103 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5104
ff12c11f
JM
51052014-10-09 Joseph Myers <joseph@codesourcery.com>
5106
5c0508a3
JM
5107 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5108 parentheses around macro arguments.
5109 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5110 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5111 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5112 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5113 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5114 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5115 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5116 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5117 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5118 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5119 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5120 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5121 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5122 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5123 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5124 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5125 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5126 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5127 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5128 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5129 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5130 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5131 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5132 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5133 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5134 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5135 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5136 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5137 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5138 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5139 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5140 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5141 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5142 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5143 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5144 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5145 Likewise.
5146 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5147 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5148 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5149 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5150 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5151 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5153 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5154 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5155 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5156 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5157 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5158 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5159 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5160 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5161 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5163 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5166 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5167 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5168 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5169 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5170 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5171 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5172 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5173 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5174 (_FP_FRAC_SRS_1): Likewise.
5175 (_FP_FRAC_CLZ_1): Likewise.
5176 (_FP_MUL_MEAT_1_imm): Likewise.
5177 (_FP_MUL_MEAT_1_wide): Likewise.
5178 (_FP_MUL_MEAT_1_hard): Likewise.
5179 (_FP_SQRT_MEAT_1): Likewise.
5180 (_FP_FRAC_ASSEMBLE_1): Likewise.
5181 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5182 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5183 (__FP_CLZ_2): Likewise.
5184 (_FP_MUL_MEAT_2_wide): Likewise.
5185 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5186 (_FP_MUL_MEAT_2_gmp): Likewise.
5187 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5188 (_FP_SQRT_MEAT_2): Likewise.
5189 (_FP_FRAC_ASSEMBLE_2): Likewise.
5190 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5191 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5192 (_FP_FRAC_CLZ_4): Likewise.
5193 (_FP_MUL_MEAT_4_wide): Likewise.
5194 (_FP_MUL_MEAT_4_gmp): Likewise.
5195 (_FP_SQRT_MEAT_4): Likewise.
5196 (_FP_FRAC_ASSEMBLE_4): Likewise.
5197 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5198 * soft-fp/op-common.h (_FP_CMP): Likewise.
5199 (_FP_CMP_EQ): Likewise.
5200 (_FP_CMP_UNORD): Likewise.
5201 (_FP_TO_INT): Likewise.
5202 (_FP_FROM_INT): Likewise.
5203 [!__FP_CLZ] (__FP_CLZ): Likewise.
5204 (_FP_DIV_HELP_imm): Likewise.
5205 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5206 Likewise.
5207 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5209 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5210 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5211 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5212 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5213 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5214 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5215 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5216 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5217 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5218 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5219 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5220 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5221 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5222 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5223 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5224 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5225 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5226 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5227 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5228 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5229 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5230 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5231 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5232 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5233 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5234 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5235 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5236 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5237 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5238 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5239 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5240 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5241 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5242 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5243 (FP_UNPACK_RAW_SP): Likewise.
5244 (FP_PACK_RAW_S): Likewise.
5245 (FP_PACK_RAW_SP): Likewise.
5246 (FP_UNPACK_S): Likewise.
5247 (FP_UNPACK_SP): Likewise.
5248 (FP_UNPACK_SEMIRAW_S): Likewise.
5249 (FP_UNPACK_SEMIRAW_SP): Likewise.
5250 (FP_PACK_S): Likewise.
5251 (FP_PACK_SP): Likewise.
5252 (FP_PACK_SEMIRAW_S): Likewise.
5253 (FP_PACK_SEMIRAW_SP): Likewise.
5254 (_FP_SQRT_MEAT_S): Likewise.
5255 (FP_CMP_S): Likewise.
5256 (FP_CMP_EQ_S): Likewise.
5257 (FP_CMP_UNORD_S): Likewise.
5258 (FP_TO_INT_S): Likewise.
5259 (FP_FROM_INT_S): Likewise.
5260
a736ec37
JM
5261 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5262
ff12c11f
JM
5263 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5264 (FP_EX_INVALID_IMZ): Likewise.
5265 (FP_EX_INVALID_IMZ_FMA): Likewise.
5266 (FP_EX_INVALID_ISI): Likewise.
5267 (FP_EX_INVALID_ZDZ): Likewise.
5268 (FP_EX_INVALID_IDI): Likewise.
5269 (FP_EX_INVALID_SQRT): Likewise.
5270 (FP_EX_INVALID_CVI): Likewise.
5271 (FP_EX_INVALID_VC): Likewise.
5272 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5273 "invalid" exceptions.
5274 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5275 (_FP_ADD_INTERNAL): Likewise.
5276 (_FP_MUL): Likewise.
5277 (_FP_FMA): Likewise.
5278 (_FP_DIV): Likewise.
5279 (_FP_CMP_CHECK_NAN): Likewise.
5280 (_FP_SQRT): Likewise.
5281 (_FP_TO_INT): Likewise.
5282 (FP_EXTEND): Likewise.
5283
b6dcfe8c
AM
52842014-10-09 Allan McRae <allan@archlinux.org>
5285
5286 * po/fr.po: Update French translation from translation project.
5287
2d6a47ba
JM
52882014-10-09 Joseph Myers <joseph@codesourcery.com>
5289
cb831245
JM
5290 [BZ #14132]
5291 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5292 of INTDEF.
5293 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5294 (__cxa_atexit): Use libc_hidden_proto.
5295 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5296
5deeb190
JM
5297 [BZ #14132]
5298 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5299 declaration.
5300 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5301 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5302 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5303 [!_ISOMAC] (__iswctype_internal): Likewise.
5304 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5305 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5306 alias.
5307 (fcntl): Remove __fcntl_internal alias.
5308 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5309 __connect_internal alias.
5310 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5311 Likewise.
5312
454ac701
JM
5313 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5314 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5315 FP_DENORM_ZERO.
5316 (_FP_CHECK_FLUSH_ZERO): New macro.
5317 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5318 (_FP_CMP): Likewise.
5319 (_FP_CMP_EQ): Likewise.
5320 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5321 FP_DENORM_ZERO.
5322 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5323 (FP_TRUNC): Likewise.
5324
0022e688
JM
5325 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5326 treated as invalid conversion, not as normal exponent.
5327
73e28d9c
JM
5328 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5329 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5330 (_FP_CMP_EQ): Likewise.
5331 (_FP_CMP_UNORD): Likewise.
5332 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5333 (FP_CMP_EQ_D): Likewise.
5334 (FP_CMP_UNORD_D): Likewise.
5335 * soft-fp/extended.h (FP_CMP_E): Likewise.
5336 (FP_CMP_EQ_E): Likewise.
5337 (FP_CMP_UNORD_E): Likewise.
5338 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5339 (FP_CMP_EQ_Q): Likewise.
5340 (FP_CMP_UNORD_Q): Likewise.
5341 * soft-fp/single.h (FP_CMP_S): Likewise.
5342 (FP_CMP_EQ_S): Likewise.
5343 (FP_CMP_UNORD_S): Likewise.
5344 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5345 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5346 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5347 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5348 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5349 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5350 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5351 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5352 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5353 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5354 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5355 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5356 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5357 to FP_CMP_Q.
5358 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5359 FP_CMP_Q.
5360 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5361 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5362 FP_CMP_EQ_Q.
5363 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5364 FP_CMP_Q.
5365 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5366 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5367 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5368 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5369 FP_CMP_EQ_Q.
5370 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5371 FP_CMP_Q.
5372 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5373 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5374 FP_CMP_EQ_Q.
5375 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5376 FP_CMP_Q.
5377 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5378 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5379 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5380 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5381 FP_CMP_EQ_Q.
5382
43059f42
JM
5383 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5384 a subnormal result, set the underflow exception if trapping on
5385 underflow is enabled.
5386 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5387 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5388 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5389 redefine to 0.
5390 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5391 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5392 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5393 * soft-fp/extendxftf2.c (__extendxftf2): Use
5394 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5395
2d6a47ba
JM
5396 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5397 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5398 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5399 FP_HANDLE_EXCEPTIONS.
5400 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5401 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5402 FP_HANDLE_EXCEPTIONS.
5403 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5404 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5405 FP_HANDLE_EXCEPTIONS.
5406 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5407 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5408 FP_HANDLE_EXCEPTIONS.
5409
620f462e
JM
54102014-10-08 Joseph Myers <joseph@codesourcery.com>
5411
5412 [BZ #14132]
5413 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5414 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5415 use INTUSE.
5416 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5417 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5418 Remove alias.
5419 (__adjtimex): Define using libc_hidden_ver.
5420 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5421 Remove declaration.
5422 (ntp_gettime): Call __adjtimex directly.
5423 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5424 Remove declaration.
5425 (ntp_gettimex): Call __adjtimex directly.
5426 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5427 __adjtimex_internal alias.
5428
c763c5d2
RM
54292014-10-08 Roland McGrath <roland@hack.frob.com>
5430
5431 [BZ #17460]
5432 * nscd/nscd.c (more_help): Rewrite list of tables collection
5433 using xstrdup and asprintf.
5434
5435 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5436
7b8fb2b8
RM
54372014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5438 Roland McGrath <roland@hack.frob.com>
5439
5440 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5441 (do_lookup_unique): ... local function 'enter' here; update callers.
5442
abb280f7
JM
54432014-10-06 Joseph Myers <joseph@codesourcery.com>
5444
f7b42517
JM
5445 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5446 compat_symbol calls on [SHARED].
5447 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5448 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5449 Remove.
5450 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5451 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5452 (oldsetrlimit): Remove.
5453 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5455 (lchown): New syscall entry.
5456 (oldsetrlimit): Remove.
5457 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5458 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5459 (oldsetrlimit): Remove.
5460 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5461
abb280f7
JM
5462 [BZ #14138]
5463 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5464 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5465 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5466 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5468 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5469 (fchown): Likewise.
5470 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5471 (fchown): Likewise.
5472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5473 Likewise.
5474
47d46237
AZ
54752014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5476
5477 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5478 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5479 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5480 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5481 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5482 Likewise.
5483 (__old_sem_post): Likewise.
5484
54852014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5486
845a7343
CM
5487 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5488 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5489 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5490 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5491 Use INLINE_VSYSCALL macro.
5492 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5493 __vdso_clock_gettime.
5494 * sysdeps/unix/sysv/linux/tile/init-first.c
5495 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5496 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5497 __vdso_clock_gettime.
5498
83d641ef
CM
5499 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5500 to set up frame more cleanly.
5501
d9cd52e6
CM
5502 * sysdeps/tile/memcmp.c: New file.
5503
4b68ea11
CM
5504 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5505
c86f7b80
CM
5506 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5507 * sysdeps/tile/tilegx/strcasestr.c: New file.
5508 * sysdeps/tile/tilegx/strnlen.c: New file.
5509 * sysdeps/tile/tilegx/strstr.c: New file.
5510
1c4c1a6f
CM
5511 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5512
99d86ea3
AS
55132014-10-06 Arjun Shankar <arjun.is@lostca.se>
5514
5515 * nptl/tst-setuid3.c: Write errors to stdout.
5516
06210a44
KS
55172014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5518
5519 * elf/dl-deps.c
5520 (preload): New functions broken out of _dl_map_object_deps.
5521 (_dl_map_object_deps): Remove a nested function. Update call sites.
5522
6268f532
JM
55232014-10-01 Joseph Myers <joseph@codesourcery.com>
5524
5525 [BZ #14138]
5526 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5527 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5528
b925285f
SE
55292014-10-01 Steve Ellcey <sellcey@mips.com>
5530
5531 * sysdeps/mips/strcmp.S: New.
5532
754a15c6
JM
55332014-09-30 Joseph Myers <joseph@codesourcery.com>
5534
5535 [BZ #14138]
5536 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5537 (linkat): Likewise.
5538 (mkdirat): Likewise.
5539 (readlinkat): Likewise.
5540 (renameat): Likewise.
5541 (symlinkat): Likewise.
5542 (unlinkat): Likewise.
5543 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5544 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5545 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5546 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5547 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5548 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5549 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5550
85bb81c9
WN
55512014-09-30 Will Newton <will.newton@linaro.org>
5552
dc6fe23b
WN
5553 * math/math.h: Define long double math functions if
5554 _LIBC_TEST is defined.
5555 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5556
85bb81c9
WN
5557 * localedata/Makefile: Move assignment to tests-special
5558 into an ifdef testing run-built-tests.
5559 * timezone/Makefile: Likewise.
5560
b7e02da4
JM
55612014-09-29 Joseph Myers <joseph@codesourcery.com>
5562
5563 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5564 with $(BASH) not $(SHELL).
5565
62058ce6
CD
55662014-09-29 Carlos O'Donell <carlos@redhat.com>
5567 Matthew LeGendre <legendre1@llnl.gov>
5568
5569 [BZ #17411]
5570 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5571 l_reloc_result.
5572
8e257a29
KS
55732014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5574
5575 * stdio-common/printf_fp.c
5576 (hack_digit): New function, broken out of ...
5577 (__printf_fp): ... local function here. Update call sites.
5578 hack_digit now takes an additional parameter that is a pointer
5579 to a struct of the referenced locals. Those locals moved inside
5580 the struct and references updated.
5581
f4a58f0d
L
55822014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5583
5584 * aclocal.m4: Require autoconf 2.69.
5585 * configure: Regenerated.
5586 * sysdeps/aarch64/configure: Likewise.
5587 * sysdeps/alpha/configure: Likewise.
5588 * sysdeps/arm/armv7/configure: Likewise.
5589 * sysdeps/arm/configure: Likewise.
5590 * sysdeps/ia64/configure: Likewise.
5591 * sysdeps/mach/configure: Likewise.
5592 * sysdeps/mips/configure: Likewise.
5593 * sysdeps/s390/configure: Likewise.
5594 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5596
5597 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5598 file.
5599 * sysdeps/ia64/configure.ac: Likewise.
5600
93ae1eba
JM
56012014-09-26 Joseph Myers <joseph@codesourcery.com>
5602
1810d3ab
JM
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5604 specify symbol version for ld.so. Do not include entry for
5605 libpthread.
5606 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5607 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5608 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5609
93ae1eba
JM
5610 [BZ #14171]
5611 * Makeconfig [$(build-shared) = yes]
5612 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5613 makefiles.
5614 [$(build-shared) = yes && $(soversions.mk-done) = t]
5615 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5616 [$(build-shared) = yes && $(soversions.mk-done) = t]
5617 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5618 to Makerules.
5619 [$(build-shared) = yes && $(soversions.mk-done) = t]
5620 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5621 here.
5622 [$(build-shared) = yes && $(soversions.mk-done) = t]
5623 (common-generated): Don't append gnu/lib-names.h and
5624 gnu/lib-names.stmp here.
5625 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5626 (lib-names-h-abi): New variable.
5627 [$(build-shared) = yes && $(soversions.mk-done) = t]
5628 (lib-names-stmp-abi): Likewise.
5629 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5630 abi-variants] (before-compile): Append
5631 $(common-objpfx)$(lib-names-h-abi).
5632 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5633 abi-variants] (common-generated): Append gnu/lib-names.h.
5634 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5635 abi-variants] (install-others-nosubdir): Depend on
5636 $(inst_includedir)/$(lib-names-h-abi).
5637 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5638 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5639 [$(build-shared) = yes && $(soversions.mk-done) = t]
5640 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5641 [$(build-shared) = yes && $(soversions.mk-done) = t]
5642 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5643 [$(build-shared) = yes && $(soversions.mk-done) = t]
5644 (common-generated): Append $(lib-names-h-abi) and
5645 $(lib-names-stmp-abi).
5646 * scripts/lib-names.awk: Do not handle multi being set.
5647 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5648 Remove variable.
5649 (abi-lp64_be-ld-soname): Likewise.
5650 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5651 Likewise.
5652 (abi-hard-ld-soname): Likewise.
5653 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5654 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5655 Remove variable.
5656 (abi-o32_hard-ld-soname): Likewise.
5657 (abi-o32_soft_2008-ld-soname): Likewise.
5658 (abi-o32_hard_2008-ld-soname): Likewise.
5659 (abi-n32_soft-ld-soname): Likewise.
5660 (abi-n32_hard-ld-soname): Likewise.
5661 (abi-n32_soft_2008-ld-soname): Likewise.
5662 (abi-n32_hard_2008-ld-soname): Likewise.
5663 (abi-n64_soft-ld-soname): Likewise.
5664 (abi-n64_hard-ld-soname): Likewise.
5665 (abi-n64_soft_2008-ld-soname): Likewise.
5666 (abi-n64_hard_2008-ld-soname): Likewise.
5667 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5668 Likewise.
5669 (abi-64-v2-ld-soname): Likewise.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5671 ld.so entries.
5672 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5673 variable.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5675 entry.
5676 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5677 variable.
5678 (abi-64-ld-soname): Likewise.
5679 (abi-x32-ld-soname): Likewise.
5680 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5681 entry.
5682 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5683
68870f12
JM
56842014-09-23 Joseph Myers <joseph@codesourcery.com>
5685
5686 [BZ #14138]
5687 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5688 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5689 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5690 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5691 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5692 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5693 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5694 syscall entry for GLIBC_2.2 symbol version.
5695 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5696 Likewise.
5697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5698 (setrlimit): Likewise.
5699 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5700 Likewise.
5701
ea58f202
WN
57022014-09-23 Will Newton <will.newton@linaro.org>
5703
5704 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5705 _LINUX_ARM_SYSDEP_H include guard too.
5706 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5707 define.
5708
69eb9a18
RV
57092014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5710
5711 * sysdeps/unix/sysv/linux/eventfd.c:
5712 Make first argument unsigned.
5713 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5714 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5715
20e5a5f7
OB
57162014-09-20 Ondřej Bílka <neleai@seznam.cz>
5717
5718 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5719 * socket/sys/socket.h: Likewise
5720 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5721
d3c827e7
AK
57222014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5723
5724 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5725
fe1cc35a
AS
57262014-09-17 Arjun Shankar <arjun.is@lostca.se>
5727
5728 * time/tst-ftime.c: New test.
5729 * time/Makefile (tests): Add tst-ftime.
5730
4e8afe69
JM
57312014-09-17 Joseph Myers <joseph@codesourcery.com>
5732
c4fe3ea7
JM
5733 * soft-fp/extended.h: Fix comment formatting.
5734 * soft-fp/op-1.h: Likewise.
5735 * soft-fp/op-2.h: Likewise.
5736 * soft-fp/op-4.h: Likewise.
5737 * soft-fp/op-8.h: Likewise.
5738 * soft-fp/op-common.h: Likewise.
5739 * soft-fp/soft-fp.h: Likewise.
5740
4e8afe69
JM
5741 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5742
af296fcd
JM
57432014-09-16 Joseph Myers <joseph@codesourcery.com>
5744
5745 [BZ #6652]
5746 * Makeconfig (soversions-default-setname): Remove variable.
5747 ($(common-objpfx)soversions.i): Don't pass default_setname to
5748 soversions.awk.
5749 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5750 oldest_abi to abi-versions.awk.
5751 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5752 * config.make.in (oldest-abi): Remove variable.
5753 * configure.ac (--enable-oldest-abi): Remove configure option.
5754 * configure: Regenerated.
5755 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5756 text.
5757 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5758 * scripts/soversions.awk: Do not handle default_setname variable.
5759 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5760 variable.
5761 * sysdeps/mach/hurd/configure: Regenerated.
5762 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5763 variable.
5764 * sysdeps/unix/sysv/linux/configure: Regenerated.
5765
545583d6
SP
57662014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5767
d330b980
SP
5768 * elf/Makefile (CFLAGS-interp.c): Remove.
5769 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5770 path string.
5771 * elf/interp.c: Include generated runtime-linker.h
5772
02657da2
SP
5773 * Makerules (lib%.so): Don't include $(+interp) in
5774 prerequisites.
5775 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5776 * dlfcn/eval.c: Remove file.
5777
653b1080
SP
5778 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5779 macros.
5780
602f80ec
SP
5781 [BZ #17266]
5782 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5783 4.2 and newer.
5784
545583d6
SP
5785 [BZ #17370]
5786 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5787
884ddc50
SP
57882014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5789 Jakub Jelinek <jakub@redhat.com>
5790
5791 [BZ #17266]
5792 * libio/stdio.h: Check definition of __fortify_function
5793 instead of __extern_always_inline to include bits/stdio2.h.
5794 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5795 check if __extern_always_inline is defined.
5796 [__USE_MISC || __USE_XOPEN]: Likewise.
5797 [__USE_ISOC99] Likewise.
5798 * misc/sys/cdefs.h (__fortify_function): Define only if
5799 __extern_always_inline is defined.
5800 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5801 __extern_always_inline and __extern_inline only for g++-4.3
5802 and newer or a compatible gcc.
5803
a7b87268
AS
58042014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5805
5806 [BZ #17371]
5807 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5808 last change to handle zero prefix length.
5809
3f41521d
SP
58102014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5811
61fe374a
SP
5812 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5813 _SC_REGEX_VERSION.
5814
3f41521d
SP
5815 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5816 _POSIX_RAW_SOCKETS.
5817
d8f879ee
AM
58182014-09-13 Allan McRae <allan@archlinux.org>
5819
5820 * po/ru.po: Update Russian translation from translation project.
5821
c079afb7
RM
58222014-09-12 Roland McGrath <roland@hack.frob.com>
5823
a62b3c15
RM
5824 * locale/programs/locale.c (show_locale_vars): Inline local function
5825 into its sole call site. Clean up some style nits.
5826 (print_item): New function, broken out of ...
5827 (show_info): ... local function here. Clean up style nits.
5828
d7e49b19
RM
5829 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5830 out of ...
5831 (set_class_defaults): ... local function set_default here.
5832 Define set_default as a macro locally to pass constant parameters.
5833 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5834 rather than a shared local.
5835
c079afb7
RM
5836 * stdlib/rpmatch.c (try): New function, broken out of ...
5837 (rpmatch): ... local function here. Also, prototypify definition.
5838
0bd72468
JM
58392014-09-12 Joseph Myers <joseph@codesourcery.com>
5840
ba90e050
JM
5841 * scripts/soversions.awk: Do not handle configuration names.
5842 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5843 vendor and os variables to soversions.awk.
5844 * configure.ac: Do not modify gnu-* host_os.
5845 * configure: Regenerated
5846 * shlib-versions: Remove first column with configuration names.
5847 * nptl/shlib-versions: Likewise.
5848 * nptl_db/shlib-versions: Likewise.
5849 * sysdeps/hppa/shlib-versions: Likewise.
5850 * sysdeps/m68k/shlib-versions: Likewise.
5851 * sysdeps/mach/hurd/shlib-versions: Likewise.
5852 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5853 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5854 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5855 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5856 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5857 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5858 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5859 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5861 Likewise.
5862 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5863 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5864 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5865 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5866 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5867 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5868 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5869 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5870
73a39112
JM
5871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5872 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5874 Regenerated.
5875 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5877 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5878
c729e7c1
JM
5879 * shlib-versions: Remove OS-specific entries. Moved to files in
5880 sysdeps.
5881 * sysdeps/mach/hurd/shlib-versions: New file.
5882 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5883
dc932a24
JM
5884 * nptl/shlib-versions: Remove architecture-specific entries.
5885 Moved to files in sysdeps.
5886 * shlib-versions: Likewise.
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5888 file.
5889 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5890 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5891 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5893
0bd72468
JM
5894 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5895 (UDP_NO_CHECK6_RX): Likewise.
5896
920238e0
SP
58972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5898
5899 * sysdeps/posix/sysconf.c (__sysconf): Spell
5900 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5901
ba7b4d29
FW
59022014-08-12 Florian Weimer <fweimer@redhat.com>
5903
5904 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5905 loading.
5906 * iconv/Versions (__gconv_transliterate): Export for use from
5907 gconv modules.
5908 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5909 (struct __gconv_trans_data, __gconv_trans_fct,
5910 __gconv_trans_context_fct, __gconv_trans_query_fct,
5911 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5912 definitions.
5913 (struct __gconv_step_data): Remove __trans member.
5914 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5915 longer hidden. Remove unused trans_data argument.
5916 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5917 (__gconv_translit_find): Remove declaration.
5918 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5919 prototype.
5920 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5921 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5922 trans_data argument. Add hidden definition.
5923 (__gconv_translit_find): Remove.
5924 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5925 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5926 * iconv/skeleton.c: Remove transliteration initialization.
5927 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5928 __gconv_step_data initialization.
5929 * libio/iofwide.c (__libio_translit_): Remove.
5930 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5931 * wcsmbs/btowc.c (__btowc): Likewise.
5932 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5933 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5934 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5935 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5936 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5937 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5938 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5939 * wcsmbs/wctob.c (wctob): Likewise.
5940
5379aebd
SP
59412014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5942
5943 [BZ #16194]
5944 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5945 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5946 register usage.
5947 * sysdeps/x86/Makefile: Adjust.
5948
8c0ab919
RM
59492014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5950 Roland McGrath <roland@hack.frob.com>
5951
5952 * locale/weight.h: Add include guard.
5953 (findidx): Make static rather than auto; take new parameters
5954 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5955 * locale/weightwc.h: Likewise.
5956 * posix/fnmatch_loop.c
5957 (FCT): Change type of EXTRA from int32_t to wint_t.
5958 Don't include either header inside the function.
5959 Call FINDIDX rather than findidx, and pass new arguments.
5960 #undef FINDIDX at the end of the file.
5961 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5962 FINDIDX before including fnmatch_loop.c for the non-wide version.
5963 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5964 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5965 for the wide version.
5966 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5967 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5968 Pass new arguments to findidx.
5969 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5970 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5971 Don't #include it inside the function. Pass new arguments to findidx.
5972 * posix/regex_internal.h
5973 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5974 (re_string_elem_size_at): Don't #include it inside the function.
5975 Pass new arguments to findidx.
5976 * string/strcoll_l.c: #include WEIGHT_H at top level.
5977 (get_next_seq): Don't #include it inside the function.
5978 Pass new arguments to findidx.
5979 (get_next_seq_nocache): Likewise.
5980 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5981 (STRXFRM): Don't #include it inside the function.
5982 Pass new arguments to findidx.
5983
52ffbdf2
FW
59842014-09-11 Florian Weimer <fweimer@redhat.com>
5985
5986 [BZ #17344]
5987 * malloc/malloc.c (unlink): Turn asserts into a call to
5988 malloc_printerr.
5989
984c0ea9
TL
59902014-09-11 Tim Lammens <tim.lammens@gmail.com>
5991
5992 [BZ #17370]
5993 * libio/wfileops (do_ftell_wide): Free OUT.
5994
3daee107
CM
59952014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5996
5997 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5998
58b930ae
SP
59992014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6000
6001 [BZ #17363]
6002 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6003 group if the current group is empty.
6004
3b473fec
AZ
60052014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6006
71ae8647
AZ
6007 * benchtests/bench-memset.c (test_main): Add more test from size
6008 from 32 to 512 bytes.
6009 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6010 Add POWER8 memset object.
6011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6012 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6013 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6014 implementation.
6015 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6016 Likewise.
6017 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6018 multiarch POWER8 memset optimization.
6019 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6020 POWER8 memset optimization.
6021
3b473fec
AZ
6022 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6023 Remove bzero multiarch objects.
6024 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6025 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6026 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6027 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6028 Remove define.
6029 [__bzero]: Redefine to specific name.
6030 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6032 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6033 define.
6034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6035 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6036
e6fb9587
FW
60372014-09-10 Florian Weimer <fweimer@redhat.com>
6038
6039 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6040 warnings into errors.
6041
6042 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6043 __cxa_thread_atexit_impl prototype.
6044
9d3a350b
SE
60452014-09-09 Steve Ellcey <sellcey@mips.com>
6046
6047 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6048 Fix capitalization of error message.
6049
0febba23
SE
60502014-09-09 Steve Ellcey <sellcey@mips.com>
6051
6052 * sysdeps/mips/preconfigure: Modify ABI tests.
6053
645a0e9c
CD
60542014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6055
6056 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6057
d83f0734
CD
60582014-09-07 Roland McGrath <roland@hack.frob.com>
6059 Carlos O'Donell <carlos@systemhalted.org>
6060
6061 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6062 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6063 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6064 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6065 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6066 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6067 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6068 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6069 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6070 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6071 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6072 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6073 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6074 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6075 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6076 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6077 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6078 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6079 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6080 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6081 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6082 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6083 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6084 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6085 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6086 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6087 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6088 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6089 Deconditionalize the code that was previously under [RESET_PID].
6090 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6091 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6092 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6093 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6094 include sysdep.h.
6095
21c83793
AM
60962014-09-08 Allan McRae <allan@archlinux.org>
6097
6098 * version.h (RELEASE): Set to "development".
6099 (VERSION): Set to "2.20.90"
6100
1cd9b65c
AM
61012014-09-07 Allan McRae <allan@archlinux.org
6102
b8079dd0
AM
6103 * version.h (RELEASE): Set to "stable".
6104 (VERSION): Set to "2.20"
6105 * include/features.h (__GLIBC_MINOR__): Set to 20.
6106
c46303ef
AM
6107 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6108 Liebler.
6109
1cd9b65c
AM
6110 * po/ko.po: Update Korean translation from translation project.
6111
8622092d
CM
61122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6113
6114 [BZ #17354]
6115 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6116 macro for handling signed relocations.
6117
41488498
FW
61182014-09-03 Florian Weimer <fweimer@redhat.com>
6119
6120 [BZ #17325]
6121 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6122 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6123 assert.
6124 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6125 * iconvdata/ibm935.c (BODY): Likewise.
6126 * iconvdata/ibm937.c (BODY): Likewise.
6127 * iconvdata/ibm939.c (BODY): Likewise.
6128 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6129 assert.
6130 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6131 script.
6132 * iconvdata/run-iconv-test.sh: New test loop for checking for
6133 decoder crashers.
6134
a78b712d
KR
61352014-09-02 Khem Raj <raj.khem@gmail.com>
6136
6137 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6138 libm_hidden_ver.
6139
cb08abc6
AM
61402014-09-01 Allan McRae <allan@archlinux.org>
6141
2c31e102
AM
6142 * po/eo.po: Update Esperanto translation from translation project.
6143
cb08abc6
AM
6144 * po/ca.po: Update Catalan translation from translation project.
6145
17a62de1
ST
61462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6147
6148 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6149 __proc_dostop call.
6150
9570bc53
MW
61512014-08-27 Mark Wielaard <mjw@redhat.com>
6152
6153 [BZ #17319]
6154 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6155 to call set_thread_area instead of hand written asm.
6156 (__NR_set_thread_area): Removed define.
6157 (TLS_FLAG_WRITABLE): Likewise.
6158 (__ASSUME_SET_THREAD_AREA): Remove check.
6159 (TLS_EBX_ARG): Remove define.
6160 (TLS_LOAD_EBX): Likewise.
6161
b0f955c9
ST
61622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6163
6164 Simplify atomicity of socket creation in bind.
6165
6166 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6167 looking up the name after linking the file.
6168
529bf515
AM
61692014-08-27 Allan McRae <allan@archlinux.org>
6170
6171 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6172
a1a6a401
FW
61732014-08-26 Florian Weimer <fweimer@redhat.com>
6174
6175 [BZ #17187]
6176 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6177 trans_compare, open_translit, __gconv_translit_find):
6178 Remove module loading code.
6179
686ab290
AM
61802014-08-26 Allan McRae <allan@archlinux.org>
6181
e4e7cfd2
AM
6182 * po/vi.po: Update Vietnamese translation from translation project.
6183
6aa09f71
AM
6184 * po/uk.po: Update Ukrainian translation from translation project.
6185
edc0660e
AM
6186 * po/fr.po: Update French translation from translation project.
6187
7eea72ac
AM
6188 * po/ru.po: Update Russian translation from translation project.
6189
93c49eff
AM
6190 * po/pl.po: Update Polish translation from translation project.
6191
46acaf63
AM
6192 * po/cs.po: Update Czech translation from translation project.
6193
a9f5ce98
AM
6194 * po/de.po: Update German translation from translation project.
6195
373f2b78
AM
6196 * po/bg.po: Update Bulgarian translation from translation project.
6197
e7548bd8
AM
6198 * po/sv.po: Update Sweedish translation from translation project.
6199
c526bf4d
AM
6200 * po/nl.po: Update Dutch translation from translation project.
6201
686ab290
AM
6202 * po/es.po: Update Spanish translation from translation project.
6203
eb72478a
SP
62042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
dd763fdb
SP
6206 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6207
318c7a58
SP
6208 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6209 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6210 (CPPFLAGS-iconvconfig): Likewise.
6211 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6212
eb72478a
SP
6213 * include/libc-symbols.h: Remove unnecessary check for
6214 NOT_IN_libc.
6215 * nptl/pthreadP.h: Likewise.
6216 * sysdeps/aarch64/setjmp.S: Likewise.
6217 * sysdeps/alpha/setjmp.S: Likewise.
6218 * sysdeps/arm/sysdep.h: Likewise.
6219 * sysdeps/i386/setjmp.S: Likewise.
6220 * sysdeps/m68k/setjmp.c: Likewise.
6221 * sysdeps/posix/getcwd.c: Likewise.
6222 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6223 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6224 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6225 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6226 * sysdeps/sh/sh3/setjmp.S: Likewise.
6227 * sysdeps/sh/sh4/setjmp.S: Likewise.
6228 * sysdeps/unix/alpha/sysdep.h: Likewise.
6229 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6231 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6232 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6235 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6236 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6237 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6240 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6242 * sysdeps/x86_64/setjmp.S: Likewise.
6243
d44a052c
JM
62442014-08-13 Joseph Myers <joseph@codesourcery.com>
6245
6246 [BZ #17263]
6247 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6248 <stdint.h>.
6249 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6250 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6251
508ce3ac
SP
62522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6253
e44c8b0e
SP
6254 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6255
508ce3ac
SP
6256 [BZ #17262]
6257 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6258 and __x86_64__ when disabling x87 inline functions.
6259
b4acef1f
L
62602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6261
6262 [BZ #17259]
6263 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6264 asm statement with __cpuid_count.
6265
61b1ef6e
MF
62662014-08-12 Mike Frysinger <vapier@gentoo.org>
6267
6268 * configure.ac: Change __ehdr_start code to dereference the struct.
6269 Run readelf on the output to look for relocations.
6270 * configure: Regenerated.
6271
898c62f4
JM
62722014-08-12 Joseph Myers <joseph@codesourcery.com>
6273
6274 [BZ #17261]
6275 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6276 value to 0.
6277 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6278
9a8a5720
RM
62792014-08-12 Roland McGrath <roland@hack.frob.com>
6280
6281 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6282
4e75751c
BO
62832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6284
6285 [BZ #16892]
6286 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6287 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6288
bb2ce416
SA
62892014-08-12 Sean Anderson <seanga2@gmail.com>
6290
6291 * malloc/malloc.c: Fix typo in comment.
6292
7950a4ee
AM
62932014-08-09 Allan McRae <allan@archlinux.org>
6294
6295 * Regenerate libc.po.
6296
f469c49f
MF
62972014-08-08 Mike Frysinger <vapier@gentoo.org>
6298
6299 * intl/tst-gettext2.sh: Check every lang file for creation.
6300
656b84c2
WD
63012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6302
6303 * sysdeps/aarch64/fpu/math_private.h
6304 (libc_feholdsetround_noex_aarch64_ctx): New function.
6305
538e9e45
W
63062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6307
6308 * sysdeps/arm/armv6/strcpy.S (strcpy):
6309 Fix performance issue in misaligned cases.
6310
d4795e4a
AZ
63112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6312
6313 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6314 Move definition from termios.h.
6315 (struct termio): Likewise.
6316 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6317 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6318 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6319 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6320 Likewise.
6321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6322 Move definition to ioctl-types.h
6323 (struct termio): Likewise.
6324 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6325 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6326 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6327 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6328 Likewise.
6329
64accb62
RH
63302014-08-05 Richard Henderson <rth@redhat.com>
6331
27bb6dc0
RH
6332 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6333 exceptions.
6334 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6335 Add fraiseexcpt.
6336 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6337 Use __feraiseexcept.
6338 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6339 Protect libm symbols with IS_IN_libm.
6340
64accb62
RH
6341 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6342
e5292691
BO
63432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6344
6345 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6346
5b4bd2d4
WN
63472014-08-04 Will Newton <will.newton@linaro.org>
6348
6349 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6350 file.
6351
fcadaeef
MF
63522014-08-04 Mike Frysinger <vapier@gentoo.org>
6353
6354 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6355 variants for each function.
6356
43a94c64
RM
63572014-08-04 Roland McGrath <roland@hack.frob.com>
6358
6359 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6360 appended ...
6361 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6362 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6363 appended ...
6364 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6365 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6366 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6367 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6368 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6369 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6370 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6371 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6372 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6373 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6374 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6375 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6376 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6377 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6378 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6379 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6380 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6381 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6382 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6383 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6384 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6385 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6386 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6387 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6388 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6389 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6390 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6391 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6392 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6393 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6394 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6395 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6396 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6397 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6398 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6399 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6400 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6401 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6402 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6403 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6404 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6405 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6406 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6407 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6408 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6409 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6410 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6411 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6412 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6414 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6415 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6416 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6417 Update #include.
6418 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6419 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6420
8f3c1fa4
RM
64212014-08-04 Roland McGrath <roland@hack.frob.com>
6422
6423 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6424 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6425 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6426 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6428 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6429
ca08746f
RM
64302014-08-04 Roland McGrath <roland@hack.frob.com>
6431
6432 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6433 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6434 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6435 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6436
9c925ff9
RM
64372014-08-04 Roland McGrath <roland@hack.frob.com>
6438
6439 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6440 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6441 (__libc_vfork): Define function under this name.
6442 (__vfork): Define as an alias.
6443 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6444 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6445
e641054c
RM
64462014-08-04 Roland McGrath <roland@hack.frob.com>
6447
6448 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6449 that was previously under [RESET_PID].
6450 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6451
dacdc867
AS
64522014-08-04 Andreas Schwab <schwab@suse.de>
6453
6454 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6455
41f725ff
MF
64562014-08-03 Mike Frysinger <vapier@gentoo.org>
6457
6458 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6459 (main): Likewise.
6460
277cfb31
RM
64612014-08-01 Roland McGrath <roland@hack.frob.com>
6462
6463 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6464
4896f049
RH
64652014-08-01 Richard Henderon <rth@redhat.com>
6466
6467 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6468 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6469 typo in exact zero test.
6470 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6471 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6473
6f64e7d7
RM
64742014-08-01 Roland McGrath <roland@hack.frob.com>
6475
6476 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6477 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6478 * sysdeps/arm/sysdep.h: ... here.
6479 [!__ASSEMBLER__]: Include <stdint.h>.
6480
3f3dd810
SP
64812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6482
a476ac4b
SP
6483 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6484 (HAVE_WCTYPE_H): Likewise.
6485 (HAVE_ISWCTYPE): Likewise.
6486 (ENABLE_NLS): Likewise.
6487 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6488 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6489
78dd658a
SP
6490 * posix/regex_internal.c: Check if DEBUG is defined and is
6491 set.
6492
3f3dd810
SP
6493 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6494 (HAVE_MBSRTOWCS): Likewise.
6495 * posix/fnmatch.c: Include string.h unconditionally.
6496
95ee7fb1
SL
64972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6498
6499 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6500 reversal.
6501
23fe486b
RM
65022014-07-31 Roland McGrath <roland@hack.frob.com>
6503
f61a113f
RM
6504 * sysdeps/generic/safe-fatal.h: New file.
6505 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6506 * nptl/forward.c: Include it.
6507 (__pthread_unwind): Use __safe_fatal as default action, rather
6508 than a bogus use of INTERNAL_SYSCALL that could never work.
6509
9fe7e787
RM
6510 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6511 * configure.ac (libc_cv_builtin_trap): New test.
6512 * configure: Regenerated.
6513 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6514 (ABORT_INSTRUCTION): Define using __builtin_trap.
6515
23fe486b
RM
6516 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6517 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6518 * sysdeps/nptl/nptl-signals.h: New file.
6519 * nptl/pthreadP.h: Include <nptl-signals.h>.
6520
f349489e
SL
65212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6522
6523 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6524 (ONE_DIRECTION): Define.
6525 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6526 (ONE_DIRECTION): Define.
6527 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6528 (ONE_DIRECTION): Define.
6529
2f438e20
SL
65302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6531
6532 * sysdeps/s390/Makefile: Delete file.
6533 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6534 * sysdeps/s390/__longjmp.c: Delete file.
6535 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6536 Remove fields __flags and __reserved.
6537 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6538 and add versioning.
6539 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6540 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6541 * sysdeps/s390/rtld-setjmp.S: Likewise.
6542 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6543 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6544 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6545 * sysdeps/s390/s390-32/setjmp.S: ... here.
6546 Add versioning.
6547 (__sigsetjmp): Remove setting __flags field.
6548 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6549 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6550 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6551 * sysdeps/s390/s390-64/setjmp.S: ... here.
6552 Add versioning.
6553 (__sigsetjmp): Remove setting __flags field.
6554 * sysdeps/s390/setjmp.S: Delete file.
6555 * sysdeps/s390/sigjmp.c: Likewise.
6556 * sysdeps/s390/v1-longjmp.c: Likewise.
6557 * sysdeps/s390/v1-setjmp.h: Likewise.
6558 * sysdeps/s390/v1-sigjmp.c: Likewise.
6559 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6560 Remove v1-longjmp_chk.
6561 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6562 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6563 Include debug/longjmp_chk.c and add versioning.
6564 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6565 Include nptl/pt-longjmp.c and add versioning.
6566 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6567 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6568 Include __longjmp.c.
6569 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6570 Move to ...
6571 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6572 (__getcontext): Remove setting __flags field.
6573 Add versioning.
6574 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6575 Don't restore upper high grps.
6576 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6577 Likewise.
6578 (__swapcontext): Remove setting uc_flags field.
6579 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6580 Delete file.
6581 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6582 Include __longjmp.c.
6583 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6584 Move to ...
6585 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6586 (__getcontext): Remove setting __flags field.
6587 Add versioning.
6588 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6589 (__swapcontext): Remove setting uc_flags field.
6590 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6591 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6592 Remove fields uc_high_gprs and __reserved.
6593 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6594 New file with reverted content.
6595 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6596 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6597 Regenerated.
6598 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6599 Regenerated.
6600
6c9578a2
AS
66012014-07-31 Andreas Schwab <schwab@suse.de>
6602
6603 * config.h.in (HAVE_IFUNC): Define to 0.
6604 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6605 definedness.
6606
05f3633d
LM
66072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6608
6609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6610 memmove-avx-unaligned, memcpy-avx-unaligned and
6611 mempcpy-avx-unaligned.
6612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6613 Add tests for AVX memcpy functions.
6614 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6615 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6616 memcpy_chk.
6617 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6618 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6619 memmove_chk.
6620 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6621 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6622 mempcpy_chk.
6623 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6624 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6625 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6626
a53fbd8e
AZ
66272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6628
6629 [BZ #17213]
6630 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6631 powerpc64le.
6632
0961f7e1
JL
66332014-07-29 Jeff Layton <jlayton@poochiereds.net>
6634
6635 [BZ #16839]
6636 * manual/llio.texi: Add section about open file description locks.
6637 * manual/examples/ofdlocks.c: Example of open file description
6638 lock usage.
6639 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6640 F_OFD_SETLK, and F_OFD_SETLKW.
6641
cc5fb300
AM
66422014-07-23 Allan McRae <allan@archlinux.org>
6643
6644 * po/es.po: Update Spanish translation from translation project.
6645
23329dca
AS
66462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6647
6648 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6649
9c82da17
MR
66502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6651
6652 [BZ #17078]
6653 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6654 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6655 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6656
29c4f53e
JM
66572014-07-17 Joseph Myers <joseph@codesourcery.com>
6658
831b9896
JM
6659 [BZ #17088]
6660 * math/fesetenv.c (__fesetenv)
6661 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6662 * math/feupdateenv.c (__feupdateenv)
6663 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6664
b21c2d50
JM
6665 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6666 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6667 (__ASSUME_SOCKETCALL): Do not define.
6668
067764ef
JM
6669 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6670 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6671 (__ASSUME_SOCKETCALL): Do not define.
6672 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6673 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6674 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6675 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6676 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6677 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6678 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6679 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6680
642530c1
JM
6681 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6682 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6683 (__ASSUME_SOCKETCALL): Do not define.
6684 (__ASSUME_IPC64): Define unconditionally.
6685 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6686 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6687 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6688 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6689 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6690 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6691 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6692 Likewise.
6693
03f77315
JM
6694 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6695 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6696 (__ASSUME_SOCKETCALL): Do not define.
6697 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6698 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6699 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6700 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6701 (__ASSUME_REQUEUE_PI): Define unconditionally.
6702 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6703 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6704 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6705 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6706 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6707 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6708
083b1f7c
JM
6709 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6710 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6711 (__ASSUME_SOCKETCALL): Do not define.
6712 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6713 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6714 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6715 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6716 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6717 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6718
5be44ea6
JM
6719 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6720 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6721 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6722 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6723 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6724 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6725 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6726 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6727 (__ASSUME_GETCPU_SYSCALL): Likewise.
6728
d95ffd4c
JM
6729 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6730 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6731 cases for individual architectures.
6732 * sysdeps/gnu/configure: Regenerated.
6733 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6734 LIBC_SLIBDIR_RTLDDIR.
6735 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6736 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6737 LIBC_SLIBDIR_RTLDDIR.
6738 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6740 LIBC_SLIBDIR_RTLDDIR.
6741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6742 Regenerated.
6743 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6744 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6745 file.
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6747 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6748 file.
6749 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6750 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6751 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6752 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6753
29c4f53e
JM
6754 * sysdeps/aarch64/shlib-versions: Move to ...
6755 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6756 * sysdeps/alpha/shlib-versions: Move to ...
6757 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6758 * sysdeps/arm/shlib-versions: Move to ...
6759 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6760 * sysdeps/hppa/shlib-versions: Move all contents except for
6761 libgcc_s entry to ...
6762 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6763 entry from ...
6764 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6765 * sysdeps/ia64/shlib-versions: Move to ...
6766 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6767 entry from ...
6768 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6769 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6770 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6771 * sysdeps/microblaze/shlib-versions: Move to ...
6772 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6773 * sysdeps/mips/shlib-versions: Move to ...
6774 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6775 entry from ...
6776 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6777 * sysdeps/tile/shlib-versions: Move to ...
6778 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6779 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6780 from ...
6781 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6782 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6783 entry from ...
6784 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6785
32bead5b
WN
67862014-07-17 Will Newton <will.newton@linaro.org>
6787
57977c4b
WN
6788 * sysdeps/arm/bits/atomic.h
6789 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6790 (__arch_compare_and_exchange_bool_16_int): Likewise.
6791 (__arch_compare_and_exchange_bool_64_int): Likewise.
6792
32bead5b
WN
6793 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6794 into an #else block.
6795
37fccd41
RM
67962014-07-16 Roland McGrath <roland@hack.frob.com>
6797
6798 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6799 just Linux configurations. Test empirically that the compiler sets
6800 __ARM_EABI__, rather than using the tuple to decide.
6801 * sysdeps/arm/preconfigure: Regenerated.
6802 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6803 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6804 contents appended ...
6805 * sysdeps/arm/configure.ac: ... here.
6806 * sysdeps/arm/configure: Regenerated.
6807
b365f3ec
RM
68082014-07-15 Roland McGrath <roland@hack.frob.com>
6809
8badf496
RM
6810 * nptl/pthread_kill.c: New file.
6811 * nptl/pthread_sigmask.c: New file.
6812 * nptl/pthread_sigqueue.c: New file.
6813
3df6f22e
RM
6814 * sysdeps/nptl/lowlevellock.h: New file.
6815 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6816 * sysdeps/nptl/lowlevellock-futex.h: New file.
6817
b365f3ec
RM
6818 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6819 Remove dead declarations.
6820
f2fef657
L
68212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6822
6823 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6824 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6825 config-cflags-avx2.
6826 * sysdeps/x86_64/configure.ac: Likewise.
6827 * sysdeps/i386/configure: Regenerated.
6828 * sysdeps/x86_64/configure: Likewise.
6829 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6830 memset-avx2 only if config-cflags-avx2 is yes.
6831 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6832 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6833 defined.
6834 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6835 only if HAVE_AVX2_SUPPORT is defined.
6836 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6837
f6c44d47
AM
68382014-07-14 Alan Modra <amodra@gmail.com>
6839
6840 [BZ #17153]
6841 * elf/elf.h (DT_PPC64_NUM): Correct value.
6842 * NEWS: Add to fixed bug list.
6843
7ee03f00
JM
68442014-07-13 Jim Meyering <meyering@fb.com>
6845
6846 [BZ 17150]
6847 regex: don't deref NULL upon heap allocation failure
6848 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6849 failure in one more place.
6850 To trigger the segfault, configure grep -with-included-regex,
6851 build it, and run these commands:
6852 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6853
9d39d517
AS
68542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6855
6856 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6857
a75b89b7
RH
68582014-07-11 Richard Henderson <rth@redhat.com>
6859
6860 * sysdeps/aarch64/libm-test-ulps: Update.
6861
771eb141
FW
68622014-07-10 Florian Weimer <fweimer@redhat.com>
6863
6864 [BZ #17135]
6865 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6866 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6867 (__nptl_setxid): Initialize error member. Call
6868 __nptl_setxid_error.
6869 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6870 * nptl/descr.h (struct xid_command): Add error member.
6871 * nptl/tst-setuid3.c: New file.
6872 * nptl/Makefile (tests): Add it.
6873
bc1da176
AZ
68742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875
6876 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6877 New define.
6878 (__lll_trylock): Use __lll_base_trylock.
6879 (__lll_cond_trylock): Likewise.
6880
887865fc
RM
68812014-07-10 Roland McGrath <roland@hack.frob.com>
6882
c0c6bac9
RM
6883 * nptl/pthread_create.c (start_thread): Use atomic_or and
6884 lll_futex_wake directly rather than lll_robust_dead.
6885 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6886 (lll_robust_dead): Macro removed.
6a42be57 6887 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6888 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6889 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6890 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6891 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6892 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6893 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6894 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6895 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6896 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6897 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6898 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6899 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6900 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6901 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6902
887865fc
RM
6903 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6904 Use atomic_compare_and_exchange_val_acq directly rather than
6905 lll_robust_trylock.
6906 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6907 (__lll_robust_trylock, lll_robust_trylock): Removed.
6908 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6909 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6910 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6911 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6912 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6913 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6914 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6915 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6916 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6917 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6919 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6920 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6921 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6922
58536726
FW
69232014-07-02 Florian Weimer <fweimer@redhat.com>
6924
6925 * manual/locale.texi (Locale Names): New section documenting
6926 locale name syntax. Adjust menu and node chaining accordingly.
6927 (Choosing Locale): Reference Locale Names, Locale Categories.
6928 Mention setting LC_ALL=C. Reflect that name syntax is now
6929 documented.
6930 (Locale Categories): New section title. Reference Locale Names.
6931 LC_ALL is an environment variable, but not a category.
6932 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6933 description, now in Locale Name. Reference that section. Locale
6934 name syntax is now documented.
6935
4e8f95a0
FW
69362014-07-02 Florian Weimer <fweimer@redhat.com>
6937
6938 [BZ #17137]
6939 * locale/findlocale.c (name_present, valid_locale_name): New
6940 functions.
6941 (_nl_find_locale): Use the loc_name variable to store name
6942 candidates. Call name_present and valid_locale_name to check and
6943 validate locale names. Return an error if the locale is invalid.
6944
d1836456
FW
69452014-07-02 Florian Weimer <fweimer@redhat.com>
6946
6947 * locale/setlocale.c (setlocale): Use strdup for allocating
6948 composite name copy.
6949
d69b7f5a
SP
69502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6951
888c679b
SP
6952 Sync up with gnulib.
6953 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6954 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6955 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6956 and _GL_ARG_NONNULL.
6957 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6958 [!_LIBC]: Include code for Windows and Cygwin.
6959 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6960 Include prototype for int strerror_r.
6961 [!_LIBC] (is_open): New function.
6962 (flush_stdout): New function.
6963 (print_errno_message): Use it.
6964 (error): Likewise.
6965 (error_at_line): Likewise.
6966 (error_tail) Add function attribute macros. Use
6967 __builtin_expect.
6968
180e0e4b
SP
6969 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6970
d22f1fe2
SP
6971 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6972
12f2254b
SP
6973 * io/ftw.c: Include sys/param.h unconditionally.
6974
c3c7c360
SP
6975 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6976
d62aa75a
SP
6977 [BZ #17125]
6978 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6979 libc_freeres_ptr.
6980 (freecache): New function to free CACHE on exit.
6981
d69b7f5a
SP
6982 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6983 initialization.
6984
5efe06a1
DM
69852014-07-09 David S. Miller <davem@davemloft.net>
6986
6987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6988
7000d82e
DM
6989 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6990 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6991 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6992 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6993 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6994 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6995 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6996 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6997 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6998 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6999 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7000 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7001 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7002
c213442d
AS
70032014-07-09 Andreas Schwab <schwab@suse.de>
7004
4a2552c3
AS
7005 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7006 output.
7007 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7008 (do_test): Likewise.
7009
c213442d
AS
7010 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7011
82374e65
WN
70122014-07-09 Will Newton <will.newton@linaro.org>
7013
7014 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7015 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7016 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7017 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7018 * sysdeps/hppa/start.S (_start): Likewise.
7019
6680738a
SP
70202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7021
6ee3eab4
SP
7022 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7023
6680738a
SP
7024 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7025 defined.
7026
80b5c505
SP
70272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7028
e35c53e3
SP
7029 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7030 after checking that it is non-NULL.
7031
80b5c505
SP
7032 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7033
91f4b564
AZ
70342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7035
27b75f56
AZ
7036 * sysdeps/powerpc/memmove.c: Remove file.
7037 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7038 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7039 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7040 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7041 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7042 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7043 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7044 string memmove instead of removed powerpc one.
7045
e7f95bb5
AZ
7046 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7047 [weak_alias]: Fix compiler warning due trailing data.
7048 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7049 [weak_alias]: Likewise.
7050 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7051 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7052
91f4b564
AZ
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7054 (__libc_ifunc_impl_list): Add memmove functions.
7055
7c33f1e5
SP
70562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7057
7058 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7059 Remove code.
7060 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7061 Likewise
7062 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7063 Likewise
7064 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7065 Likewise
7066 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7067 Likewise
7068 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7069 Likewise
7070 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7071 Likewise
7072 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7073 Likewise
7074 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7075 Likewise
7076 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7077 Likewise
7078 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7079 Likewise
7080 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7081 Likewise
7082 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7083 Likewise
7084 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7085 Likewise
7086 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7087 Likewise
7088 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7089 Likewise
7090 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7091 Likewise
7092
3f17b03b
AZ
70932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7094
87868c24
AZ
7095 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7096 to avoid alignment traps in non-cacheable memory.
7097 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7098
07aedd78
AZ
7099 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7100 multiarch objects.
7101 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7102 file: multiarch power7 memmove.
7103 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7104 multiarch default memmove.
7105 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7106 multiarch memove for powerpc32/power4.
7107
17762f66
AZ
7108 * string/bcopy.c: Use full path to include memmove.c.
7109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7110 multiarch objects.
7111 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7112 bcopy for powerpc64.
7113 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7114 bcopy for powerpc64.
7115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7116 and memmove implementations.
7117 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7118 optimized multiarch memmove for POWER7/powerpc64.
7119 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7120 default multiarch memmove for powerpc64.
7121 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7122 multiarch for powerpc64.
7123 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7124 for POWER7/powerpc64.
7125 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7126 memmove for POWER7/powerpc64.
7127
d6f68bbe
AZ
7128 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7129 glibc default one.
7130
3f17b03b
AZ
7131 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7132 __ELF_NATIVE_CLASS equal to 64.
7133
08192659
RM
71342014-07-07 Roland McGrath <roland@hack.frob.com>
7135
f4c4021b
RM
7136 * sysdeps/nptl/lowlevellock.h: File removed.
7137
f083450f
RM
7138 * NEWS: NPTL is no longer an add-on!
7139 * nptl/internaltypes.h: Moved ...
7140 * sysdeps/nptl/internaltypes.h: ... here.
7141 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7142 * sysdeps/nptl/fork.c: Likewise.
7143 * sysdeps/nptl/gai_misc.h: Likewise.
7144 * sysdeps/nptl/librt-cancellation.c: Likewise.
7145 * sysdeps/nptl/jmp-unwind.c: Likewise.
7146 * sysdeps/nptl/setxid.h: Likewise.
7147 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7148 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7149 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7150 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7151 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7152 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7153 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7154 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7155 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7156 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7157 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7158 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7159 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7160 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7161 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7162 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7163 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7164 * nptl/Makeconfig: Moved ...
7165 * sysdeps/nptl/Makeconfig: ... here.
7166 * nptl/configure: File removed.
7167 * nptl/ANNOUNCE: File removed.
7168 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7169 * sysdeps/unix/sysv/linux/configure: Regenerated.
7170
08192659
RM
7171 * nptl/Makefile (routines): Add libc_pthread_init,
7172 libc_multiple_threads, register-atfork and unregister-atfork.
7173 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7174 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7175 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7176 pthread-pi-defines.sym, structsem.sym.
7177 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7178 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7179 [$(subdir) = nptl] (tests): Add tst-setgetname.
7180 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7181 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7182 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7183 [!LIBC_SIGACTION]: Remove aliases.
7184 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7185 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7186 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7187 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7188 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7189 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7190 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7192 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7193 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7194 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7195 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7196 __libc_allocate_rtsig_private.
7197 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7198 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7199 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7200 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7201 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7202 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7203 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7204 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7205 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7206 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7207 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7208 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7209 * nptl/internaltypes.h: ... here.
7210 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7211 * sysdeps/nptl/jmp-unwind.c: ... here.
7212 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7213 * nptl/libc-lowlevellock.c: ... here.
7214 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7215 * nptl/libc_multiple_threads.c: ... here.
7216 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7217 * nptl/libc_pthread_init.c: ... here.
7218 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7219 * nptl/lowlevelbarrier.sym: ... here.
7220 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7221 * nptl/lowlevelcond.sym: ... here.
7222 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7223 * nptl/lowlevellock.c: ... here.
7224 * nptl/lowlevellock.h: Moved ...
7225 * sysdeps/nptl/lowlevellock.h: ... here.
7226 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7227 * nptl/lowlevelrobustlock.c: ... here.
7228 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7229 * nptl/lowlevelrobustlock.sym: ... here.
7230 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7231 * nptl/lowlevelrwlock.sym: ... here.
7232 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7233 * nptl/pt-fork.c: ... here.
7234 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7235 * nptl/pthread-pi-defines.sym: ... here.
7236 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7237 * nptl/pthread_attr_getaffinity.c: ... here.
7238 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7239 * nptl/pthread_attr_setaffinity.c: ... here.
7240 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7241 * nptl/pthread_mutex_cond_lock.c: ... here.
7242 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7243 Update #include.
7244 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7245 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7246 * nptl/pthread_once.c: ... here, replacing old file.
7247 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7248 * nptl/pthread_yield.c: ... here.
7249 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7250 * nptl/register-atfork.c: ... here.
7251 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7252 * nptl/sem_post.c: ... here.
7253 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7254 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7255 * nptl/sem_timedwait.c: ... here.
7256 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7257 * nptl/sem_trywait.c: ... here.
7258 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7259 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7260 * nptl/sem_wait.c: ... here.
7261 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7262 * nptl/structsem.sym: ... here.
7263 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7264 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7265 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7266 * nptl/unregister-atfork.c: ... here.
7267 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7268 * nptl/unwindbuf.sym: ... here.
7269 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7270 * sysdeps/nptl/fork.c: ... here.
7271 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7272 * sysdeps/nptl/fork.h: ... here.
7273 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7274 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7275 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7277 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7279 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7280 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7281 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7283 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7285 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7287 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7289 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7291 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7292 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7293 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7294 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7295 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7296 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7297 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7298 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7299 * sysdeps/unix/sysv/linux/raise.c: ... here.
7300 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7301 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7302 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7303 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7304 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7305 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7306 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7307 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7308 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7309 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7310 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7311 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7313 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7314 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7315
96baf6ff
SP
73162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7317
7318 * sysdeps/generic/memcopy.h: Add comment for
7319 MEMCPY_OK_FOR_FWD_MEMMOVE.
7320
6b7b14b2
WN
73212014-07-04 Will Newton <will.newton@linaro.org>
7322
1570a72b
WN
7323 * string/memchr.c: Merge from gnulib.
7324 [_LIBC]: Remove conditionals.
7325 (__ptr_t): Remove define.
7326 (LONG_MAX_32_BITS): Likewise.
7327 (LONG_MAX): Likewise.
7328 (MEMCHR): Use ANSI prototype and optimize algorithm.
7329
6b7b14b2
WN
7330 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7331
38851324
SP
73322014-07-03 Roland McGrath <roland@hack.frob.com>
7333
3d9eb57c
RM
7334 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7335 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7336
78b984ae
RM
7337 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7338 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7339 in a bare environment with no <stdlib.h> installed.
7340 * sysdeps/nptl/configure: Regenerated.
7341
2d5976a5
RM
7342 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7343
c1f5acd4
RM
7344 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7345 AC_EGREP_CPP for kernel header checks, so they only succeed if
7346 including <linux/version.h> actually works right.
7347 * sysdeps/unix/sysv/linux/configure: Regenerated.
7348
4d614fe5
RM
7349 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7350 value so it's not diagnosed as unused.
7351
38851324
SP
7352 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7353 thing) with "ifeq ($(subdir),rt)".
7354
b3ec00e5
RH
73552014-07-03 Richard Henderson <rth@redhat.com>
7356
69862e25
RH
7357 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7358 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7359 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7360
d5e16ade
RH
7361 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7362 (math_force_eval): New.
7363
ca7b945c
RH
7364 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7365 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7366
cd1175a3
RH
7367 * sysdeps/alpha/fpu/s_round.c: Remove file.
7368 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7369
b3ec00e5
RH
7370 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7371 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7372 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7373 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7374 (_dl_start, print_statistics): Likewise.
7375 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7376 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7377
7378 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7379 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7380 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7381 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7383 (HP_SMALL_TIMING_AVAIL): Define.
7384 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7385 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7386 (HP_SMALL_TIMING_AVAIL): Define.
7387 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7388 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7389
7390 * sysdeps/aarch64/hp-timing.h: New file.
7391
7392 * sysdeps/generic/hp-timing.h: Remove dead comment.
7393 * sysdeps/generic/hp-timing-common.h: New file.
7394 * sysdeps/alpha/hp-timing.h: Include it.
7395 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7396 * sysdeps/i386/i686/hp-timing.h: Likewise.
7397 * sysdeps/ia64/hp-timing.h: Likewise.
7398 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7399 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7401 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7402 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7403 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7404 (hp_timing_t): New.
7405
7406 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7407 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7408 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7409 * elf/rtld.c (_dl_start_final): Likewise.
7410 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7411 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7412 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7413 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7414 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7415 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7416 (HP_TIMING_DIFF_INIT): Remove.
7417 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7418 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7419 (HP_TIMING_DIFF_INIT): Remove.
7420 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7421 * sysdeps/i386/i686/hp-timing.c: Remove file.
7422 * sysdeps/x86_64/hp-timing.c: Remove file.
7423 * sysdeps/ia64/hp-timing.c: Remove file.
7424 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7425 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7427 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7428
7429 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7430 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7431 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7432 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7434 (HP_TIMING_ACCUM): Remove.
7435 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7437 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7438
7439 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7440 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7441 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7442 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7443 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7444 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7445 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7446 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7447
7448 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7449
225f410f
MR
74502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7451
7452 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7453
3247f285
SP
74542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7455
7456 Sync up with gettext.
7457 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7458 [_MSC_VER]: Include malloc.h
7459 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7460 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7461 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7462 TEMP_FAILURE_RETRY. Cast return of alloca.
7463 [!_LIBC] Call gl_rwlock_init.
7464 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7465
d12704c7
SP
74662014-07-02 Roland McGrath <roland@hack.frob.com>
7467
7468 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7469 before checking its value.
7470
99f8dc92
SP
74712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7472
05fdac77
SP
7473 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7474
99f8dc92
SP
7475 * debug/memcpy_chk.c: Don't include pagecopy.h.
7476 * debug/mempcpy_chk.c: Likewise.
7477 * string/memcpy.c: Likewise.
7478 * string/memmove.c: Likewise.
7479 * sysdeps/powerpc/memmove.c: Likewise.
7480 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7481 definition of PAGE_COPY_FWD_MAYBE here...
7482 * sysdeps/generic/pagecopy.h: ... from here.
7483 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7484
bc8ea385
VR
74852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7486 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7487
7488 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7490 optimizations.
7491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7492 (__libc_ifunc_impl_list): Likewise.
7493 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7494 multiarch strcat for PPC64.
7495 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7496 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7497
fe5f34e4
RM
74982014-07-02 Roland McGrath <roland@hack.frob.com>
7499
7500 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7501
256aa665
SP
75022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7503
d4eb8195
SP
7504 * intl/loadmsgcat.c: Remove declaration of
7505 get_sysdep_segment_value.
7506 (get_sysdep_segment_value): Use ISO C style.
7507 (_nl_load_domain): Use ISO C style. Get rid of redundant
7508 semicolon. Fix typo and formatting in comment.
7509 (_nl_unload_domain): Use ISO C style.
7510
256aa665
SP
7511 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7512
b100f9aa
WN
75132014-07-02 Will Newton <will.newton@linaro.org>
7514
7515 * malloc/obstack.c: Merge from gnulib master.
7516 [HAVE_CONFIG_H]: Remove conditional code.
7517 [!_LIBC]: Include config.h.
7518 [!ELIDE_CODE]: Don't include inttypes.h, include
7519 stdint.h unconditionally.
7520 (print_and_abort): Mark as _Noreturn.
7521 (_obstack_allocated_p): Mark as __attribute_pure__.
7522 (obstack_free): Rename to __obstack_free.
7523 [!__attribute__]: Remove conditional code.
7524 * malloc/obstack.h: Merge from gnulib master.
7525 [__cplusplus]: Move conditional down.
7526 [!__attribute_pure__]: Define __attribute_pure__ here
7527 if it is not already defined.
7528 (_obstack_memory_used): Mark as __attribute_pure__.
7529 [!__obstack_free]: Define as obstack_free.
7530 [__GNUC__]: Remove check for ancient NeXT gcc.
7531
c4c41244
PE
75322014-07-02 Will Newton <will.newton@linaro.org>
7533 Paul Eggert <eggert@cs.ucla.edu>
7534
7535 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7536
e1e041c4
SP
75372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7538
7539 * resolv/gethnamaddr.c: Add comment warning that the file is
7540 not maintained.
7541
ccf431ff
CD
75422014-07-01 Carlos O'Donell <carlos@redhat.com>
7543
d34570a6
CD
7544 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7545 entries.
7546
ccf431ff
CD
7547 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7548 entry for aio_cancel and aio_cancel64.
7549 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7550 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7551 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7552 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7553 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7554 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7555 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7556 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7557 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7558 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7559 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7560 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7561 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7562
ca06321d
RM
75632014-07-01 Roland McGrath <roland@hack.frob.com>
7564
7565 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7566 * nptl/pthread_mutex_lock.c: Likewise.
7567 * nptl/pthread_mutex_timedlock.c: Likewise.
7568 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7569
a1ac3184
RH
75702014-07-01 Richard henderson <rth@redhat.com>
7571
631021e0
RH
7572 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7573 (__isnan, __isnanl): Remove.
7574 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7575
a1ac3184
RH
7576 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7577
0c1d731f
SL
75782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7579
7580 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7581
76985d3e
SP
75822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7583
7584 * resolv/nss_dns/dns-host.c (getanswer_r)
7585 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7586
b0cb3096
JM
75872014-07-01 Joseph Myers <joseph@codesourcery.com>
7588
7589 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7590 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7591 undefine.
7592 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7593 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7594
4d76cb39
RM
75952014-07-01 Roland McGrath <roland@hack.frob.com>
7596
7597 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7598 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7599
7600 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7601 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7602
7603 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7604 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7605 ... here.
7606 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7607 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7608
7609 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7610 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7611 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7612 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7613
7614 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7615 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7616 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7617 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7618 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7619 Moved ...
7620 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7621 ... here.
7622 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7623 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7624 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7625 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7626 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7627 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7628 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7629 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7631 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7632 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7633 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7634 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7635 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7636 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7637 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7639 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7640 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7641 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7642 ... here.
7643 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7644 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7645 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7646 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7647 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7648 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7649 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7650 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7651
0cdcad17
DH
76522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7653
7654 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7655 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7656 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7657 Add sysdep.
7658
9b71d0e3
AZ
76592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7660
7661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7662
665390c2
JM
76632014-06-30 Joseph Myers <joseph@codesourcery.com>
7664
ae05a9d7
JM
7665 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7666 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7667
a7672a2f
JM
7668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7669
665390c2
JM
7670 * sysdeps/arm/libm-test-ulps: Regenerated.
7671
d7a05d07
MR
76722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7673 Roland McGrath <roland@hack.frob.com>
7674
7675 * test-skeleton.c (signal_handler): Kill the whole process group
7676 before killing the child individually.
7677 (main): Report any failure on `setpgid'.
7678
46f1d8a6
RM
76792014-06-30 Roland McGrath <roland@hack.frob.com>
7680
7681 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7682 from _TLS_H to _ARM_NPTL_TLS_H.
7683 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7684 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7685
9c37ec0b
JM
76862014-06-30 Joseph Myers <joseph@codesourcery.com>
7687
ce9c5b3e
JM
7688 [BZ #16539]
7689 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7690 (__expm1l): Return argument unchanged when small but not
7691 subnormal.
7692
3a6e9887
JM
7693 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7694 include macro name.
7695 (_FP_UNPACK_RAW_1_P): Likewise.
7696 (_FP_PACK_RAW_1): Likewise.
7697 (_FP_PACK_RAW_1_P): Likewise.
7698 (_FP_MUL_MEAT_1_wide): Likewise.
7699 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7700 (_FP_MUL_MEAT_1_hard): Likewise.
7701 (_FP_DIV_MEAT_1_imm): Likewise.
7702 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7703 (_FP_DIV_MEAT_1_udiv): Likewise.
7704 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7705 (_FP_UNPACK_RAW_2): Likewise.
7706 (_FP_UNPACK_RAW_2_P): Likewise.
7707 (_FP_PACK_RAW_2): Likewise.
7708 (_FP_PACK_RAW_2_P): Likewise.
7709 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7710 (_FP_MUL_MEAT_2_wide): Likewise.
7711 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7712 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7713 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7714 (_FP_MUL_MEAT_2_gmp): Likewise.
7715 (_FP_DIV_MEAT_2_udiv): Likewise.
7716 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7717 (_FP_FRAC_SRL_4): Likewise.
7718 (_FP_FRAC_SRST_4): Likewise.
7719 (_FP_FRAC_SRS_4): Likewise.
7720 (_FP_UNPACK_RAW_4): Likewise.
7721 (_FP_UNPACK_RAW_4_P): Likewise.
7722 (_FP_PACK_RAW_4): Likewise.
7723 (_FP_PACK_RAW_4_P): Likewise.
7724 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7725 (_FP_MUL_MEAT_4_wide): Likewise.
7726 (_FP_MUL_MEAT_4_gmp): Likewise.
7727 (umul_ppppmnnn): Likewise.
7728 (_FP_DIV_MEAT_4_udiv): Likewise.
7729 (__FP_FRAC_ADD_4): Likewise.
7730 (__FP_FRAC_SUB_3): Likewise.
7731 (__FP_FRAC_SUB_4): Likewise.
7732 (__FP_FRAC_DEC_3): Likewise.
7733 (__FP_FRAC_DEC_4): Likewise.
7734 (__FP_FRAC_ADDI_4): Likewise.
7735 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7736 (_FP_FRAC_SRL_8): Likewise.
7737 (_FP_FRAC_SRS_8): Likewise.
7738
9c37ec0b
JM
7739 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7740 include macro name.
7741 (FP_UNPACK_RAW_EP): Likewise.
7742 (FP_PACK_RAW_E): Likewise.
7743 (FP_PACK_RAW_EP): Likewise.
7744 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7745 (_FP_ISSIGNAN): Likewise.
7746 (_FP_ADD_INTERNAL): Likewise.
7747 (_FP_FMA): Likewise.
7748 (_FP_CMP): Likewise.
7749 (_FP_SQRT): Likewise.
7750 (_FP_TO_INT): Likewise.
7751 (_FP_FROM_INT): Likewise.
7752 (FP_EXTEND): Likewise.
7753 (_FP_DIV_MEAT_N_loop): Likewise.
7754
2125f674
MR
77552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7756
7757 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7758 throughout.
7759
edea4028
JM
77602014-06-29 Joseph Myers <joseph@codesourcery.com>
7761
7762 [BZ #17097]
7763 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7764 result with correct sign in case of exponents that produce
7765 overflow except for X very close to 1.
7766
dd0ba018
PE
77672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7768
7769 mktime: merge #if/#ifdef usage from glibc
7770 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7771 as that works with both Glibc's and Gnulib's style.
7772 See thread starting at Siddhesh Poyarekar's bug report at:
7773 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7774
64df73c2
SP
77752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7776
7777 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7778 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7779 * sysdeps/tile/tilegx/memmove.c: Remove file.
7780
f1eafb41
JM
77812014-06-27 Joseph Myers <joseph@codesourcery.com>
7782
7783 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7784 abi-name definition.
7785 * scripts/soversions.awk: Do not handle or generate ABI lines.
7786 * shlib-versions: Remove ABI entries.
7787 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7788 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7789
58eb0862
RM
77902014-06-27 Roland McGrath <roland@hack.frob.com>
7791
37caf178
RM
7792 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7793 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7794 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7795 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7797 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7798 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7799 Moved ...
7800 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7801 ... here.
7802 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7815 Moved ...
7816 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7818 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7822 Moved ...
7823 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7825 Moved ...
7826 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7830 Moved ...
7831 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7833 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7835 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7837 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7839 Moved ...
7840 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7842 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7843 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7844 Moved ...
7845 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7846 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7847 Moved ...
7848 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7849 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7850 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7851 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7852 Moved ...
7853 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7854 ... here.
7855 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7856 Identical file removed.
7857 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7858 Moved ...
7859 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7861 Identical file removed.
7862 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7865 Moved ...
7866 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7867 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7868 Identical file removed.
7869 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7870 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7872 Identical file removed.
7873 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7876 Identical file removed.
7877 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7878 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7879 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7880 Identical file removed.
7881 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7882 Moved ...
7883 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7884 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7885 Identical file removed.
7886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7887 Moved ...
7888 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7889 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7890 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7892 Identical file removed.
7893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7894 Moved ...
7895 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7896 ... here.
7897 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7898 Identical file removed.
7899 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7900 Moved ...
7901 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7903 Identical file removed.
7904 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7905 Moved ...
7906 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7907 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7912 Moved ...
7913 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7915 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7916
58eb0862
RM
7917 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7918 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7919 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7920 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7921 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7922
6f12d062
AS
79232014-06-27 Arjun Shankar <arjun.is@lostca.se>
7924
7925 [BZ #17092]
7926 * nscd/nscd.c (monitor_child): Return exit status of child
7927 instead of return value from wait syscall.
7928
be254932
JM
79292014-06-27 Joseph Myers <joseph@codesourcery.com>
7930
cb403c34
JM
7931 * configure.ac (libc_commonpagesize): Remove variable.
7932 (libc_relro_required): Likewise.
7933 (libc_cv_z_relro): Remove configure test.
7934 * configure: Regenerated.
7935 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7936 variable.
7937 (libc_relro_required): Likewise.
7938 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7939 (libc_relro_required): Likewise.
7940 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7941 (libc_relro_required): Likewise.
7942 * sysdeps/arm/preconfigure: Regenerated.
7943 * sysdeps/ia64/preconfigure: Remove file.
7944 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7945 variable.
7946 (libc_relro_required): Likewise.
7947
be254932
JM
7948 [BZ #16561]
7949 [BZ #16562]
7950 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7951 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7952 recompute overflowing results in original rounding mode.
7953 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7954 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7955 recompute overflowing results in original rounding mode.
7956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7957 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7958 recompute overflowing results in original rounding mode.
7959 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7960 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7961 recompute overflowing results in original rounding mode.
7962 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7963 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7964 recompute overflowing results in original rounding mode.
7965 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7966 (libc_feholdsetround_ctx): New macro.
7967 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7968 * sysdeps/i386/fpu/libm-test-ulps: Update.
7969 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7970
b351d85a
JM
79712014-06-26 Joseph Myers <joseph@codesourcery.com>
7972
7973 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7974 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7975 corresponding .cpsetup call.
7976
3cb4de47
RM
79772014-06-26 Roland McGrath <roland@hack.frob.com>
7978
7979 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7980 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7981 * sysdeps/arm/Makefile [$(subdir) = csu]
7982 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7983 (static-only-routines): Add aeabi_read_tp here.
7984 (shared-only-routines): Add libc-aeabi_read_tp here.
7985 (CFLAGS-libc-start.c): Add -fexceptions here.
7986 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7987 (sysdep_routines, static-only-routines, shared-only-routines):
7988 Don't add to these here.
7989 (CFLAGS-libc-start.c): Likewise.
7990
7991 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7992 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7993 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7994 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7995 * sysdeps/arm/Makefile [$(subdir) = rt]
7996 (librt-sysdep_routines, librt-shared-only-routines):
7997 Append rt-aeabi_unwind_cpp_pr1 here.
7998 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7999 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8000 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8001 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8002 Append nptl-aeabi_unwind_cpp_pr1 here.
8003 (tests): Filter out tst-cleanupx4 here.
8004 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8005 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8006 Don't do those here.
8007
354426bb
JM
80082014-06-26 Joseph Myers <joseph@codesourcery.com>
8009
8010 * scripts/list-sources.sh: Do not handle ports specially.
8011
28b0a8c9
RM
80122014-06-26 Roland McGrath <roland@hack.frob.com>
8013
a3dd035d
RM
8014 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8015 * sysdeps/arm/feupdateenv.c: Likewise.
8016
28b0a8c9
RM
8017 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8018
e66a8203
JM
80192014-06-26 Joseph Myers <joseph@codesourcery.com>
8020
8021 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8022 trailing whitespace removed.
8023 * scripts/config.guess: Update to version 2014-03-23.
8024 * scripts/config.sub: Update to version 2014-05-01
8025 * scripts/install-sh: Update to version 2013-12-25.23.
8026 * scripts/move-if-change: Update from gnulib.
8027
74171115
SP
80282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8029
b97c9ce5
SP
8030 * debug/memmove_chk.c: Remove pagecopy.h include.
8031
4000f892
SP
80322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8033
74171115
SP
8034 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8035 identical to gnulib mktime.
8036
a8779c28
JM
80372014-06-26 Joseph Myers <joseph@codesourcery.com>
8038
e64708de
JM
8039 * configure.ac: Do not test for machine being rs6000. Do not test
8040 for powerpc*-*soft.
8041 * configure: Regenerated.
8042
a8779c28
JM
8043 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8044 test.
8045 * configure: Regenerated.
8046 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8047 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8048 Remove configure test.
8049 * sysdeps/arm/configure: Regenerated.
8050 * sysdeps/nptl/configure.ac: Do not check
8051 libc_cv_asm_cfi_directives.
8052 * sysdeps/nptl/configure: Regenerated.
8053 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8054 * sysdeps/x86_64/nptl/configure: Remove generated file.
8055 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8056 unconditional.
8057 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8058
2aac0a86
SP
80592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8060
059bf913
SP
8061 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8062 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8063 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8064 it is defined.
8065
4cf5b6d0
SP
8066 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8067 instead of whether it is defined.
8068 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8069 * sysdeps/hppa/dl-machine.h: Likewise.
8070 * sysdeps/ia64/dl-machine.h: Likewise.
8071 * sysdeps/m68k/dl-machine.h: Likewise.
8072 * sysdeps/microblaze/dl-machine.h: Likewise.
8073 * sysdeps/mips/dl-machine.: Likewise.
8074 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8075 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8076 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8077 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8078 * sysdeps/sh/dl-machine.h: Likewise.
8079 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8080 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8081 * sysdeps/tile/dl-machine.h: Likewise.
8082 * sysdeps/x86_64/dl-machine.h: Likewise.
8083
2aac0a86
SP
8084 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8085 code.
8086 (verify_persistent_db): Likewise.
8087
6ad2df0b
RM
80882014-06-26 Roland McGrath <roland@hack.frob.com>
8089
d8a483f3
RM
8090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8091 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8093 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8095 Moved ...
8096 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8097 ... here.
8098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8099 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8101 Identical file removed.
8102 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8103 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8104 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8105 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8107 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8109 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8111 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8113 Moved ...
8114 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8116 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8118 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8120 Moved ...
8121 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8123 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8125 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8127 Identical file removed.
8128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8129 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8131 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8133 Moved ...
8134 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8135 ... here.
8136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8139 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8141 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8143 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8145 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8147 Moved ...
8148 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8150 Moved ...
8151 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8155 Moved ...
8156 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8159
52ae23b4
RM
8160 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8161 folded into ...
8162 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8163 * sysdeps/unix/sysv/linux/s390/Versions
8164 (libpthread: GLIBC_2.19): New version set.
8165 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8166 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8167 (librt: GLIBC_2.3.3): New version set.
8168 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8169 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8170 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8172 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8174 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8176 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8178 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8180 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8181 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8182 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8183 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8184 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8185 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8186 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8187 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8188 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8189 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8190 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8191 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8192 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8193 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8194 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8195 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8196 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8197 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8198 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8199 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8200 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8201 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8202 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8203 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8204 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8206 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8207 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8208 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8209 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8210 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8212 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8213
39507e4a
RM
8214 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8215 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8216 (__libc_vfork): Define the function under this name.
8217 [!NOT_IN_libc] (__vfork): Make this an alias.
8218 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8220 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8221 (__libc_vfork): Define the function under this name.
8222 [!NOT_IN_libc] (__vfork): Make this an alias.
8223 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8224 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8225 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8226 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8227 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8228 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8229
e549ee56
RM
8230 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8231 code that was previously under [RESET_PID].
8232 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8233 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8234 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8235
6ad2df0b
RM
8236 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8237 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8238 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8239 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8240 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8241 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8242 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8243 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8244 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8245 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8246 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8247 Moved ...
8248 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8249 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8250 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8251 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8252 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8253 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8254 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8255 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8256 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8257 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8258 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8259 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8260 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8261 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8262 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8263 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8264 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8265 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8266 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8267 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8268 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8269 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8270 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8271 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8272 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8273 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8274 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8275 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8276 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8277
7c1c1d8e
RM
82782014-06-25 Roland McGrath <roland@hack.frob.com>
8279
8280 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8281 that was previously under [RESET_PID].
8282 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8283
3e239be6
JM
82842014-06-25 Joseph Myers <joseph@codesourcery.com>
8285
74385da5
JM
8286 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8287 not undefine and redefine.
8288 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8289 [O_CLOEXEC]: Make code unconditional.
8290 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8291 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8292 <kernel-features.h>.
8293 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8294 conditional variable definition.
8295 (shm_open) [O_CLOEXEC]: Make code unconditional.
8296 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8297 code.
8298
c2570a0b
JM
8299 * configure.ac (USE_REGPARMS): Don't define here.
8300 * configure: Regenerated.
8301 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8302 * sysdeps/i386/configure: Regenerated.
8303
11b076bb
JM
8304 * nptl/createthread.c: Don't include kernel-features.h.
8305 * nptl/pthread_cancel.c: Likewise.
8306 * nptl/pthread_condattr_setclock.c: Likewise.
8307 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8308 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8309 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8310 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8311 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8312 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8313 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8314 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8315 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8316 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8317 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8318 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8319 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8320 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8321 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8322 * nscd/gai.c: Likewise.
8323 * nss/nss_db/db-open.c: Likewise.
8324 * sysdeps/generic/ldsodefs.h: Likewise.
8325 * sysdeps/sh/nptl/tls.h: Likewise.
8326 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8327 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8328 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8329 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8330 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8331 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8332 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8333 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8334 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8335 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8336 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8337 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8338 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8339 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8340 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8341 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8342 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8343 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8344 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8345 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8346 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8347 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8348 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8349 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8350 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8351 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8352 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8353 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8354 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8355 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8356 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8357 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8358 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8359 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8360 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8361 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8362 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8363 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8364 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8365 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8366 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8367 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8368 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8369 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8370 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8371 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8372 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8373 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8374 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8375 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8376 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8377 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8378 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8379 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8380 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8381 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8382 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8383 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8406 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8407 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8408 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8409 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8410 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8411 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8412 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8413 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8414 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8415 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8416 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8417 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8418 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8419 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8420 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8421 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8422 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8424 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8425 * sysdeps/unix/sysv/linux/system.c: Likewise.
8426 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8427 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8428 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8429 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8430 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8431 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8432 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8433
92072d57
JM
8434 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8435 * configure: Regenerated.
8436 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8437
3e239be6
JM
8438 * configure.ac (base_machine): Do not set specially for particular
8439 machines here.
8440 * configure: Regenerated.
8441 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8442 settings from configure.ac.
8443 * sysdeps/i386/preconfigure: New file.
8444 * sysdeps/s390/preconfigure: Likewise.
8445 * sysdeps/sh/preconfigure: Likewise.
8446 * sysdeps/sparc/preconfigure: Likewise.
8447
06d50baa
RM
84482014-06-25 Roland McGrath <roland@hack.frob.com>
8449
74836003
RM
8450 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8451 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8452 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8453 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8454 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8455 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8456 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8457 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8458 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8459 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8460 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8461 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8462 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8463 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8464 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8465 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8466 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8467 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8468 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8469
8470 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8471 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8472 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8473 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8474 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8475 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8476 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8477 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8478 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8479 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8480 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8481 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8482 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8483 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8484 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8485 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8486 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8487 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8488 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8489 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8490 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8491 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8492 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8493 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8494 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8495 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8496 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8497 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8499 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8500 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8501 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8502 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8503 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8504 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8505 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8506 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8507 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8508
06d50baa
RM
8509 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8510 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8512 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8513 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8516 ... here.
8517 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8518 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8520 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8521 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8522 Moved ...
8523 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8525 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8527 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8529 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8534 Moved ...
8535 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8537 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8539 Moved ...
8540 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8542 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8544 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8546 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8548 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8550 Moved ...
8551 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8552 ... here.
8553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8554 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8558 Moved ...
8559 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8561 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8565 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8567 Moved ...
8568 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8573 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8575 Moved ...
8576 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8578 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8579 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8580 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8581
a4ccbc9b
JM
85822014-06-25 Joseph Myers <joseph@codesourcery.com>
8583
0828edbf
JM
8584 * timezone/checktab.awk: Update from tzcode 2014e.
8585 * timezone/private.h: Likewise.
8586 * timezone/tzfile.h: Likewise.
8587 * timezone/zdump.c: Likewise.
8588 * timezone/zic.c: Likewise.
8589
a4ccbc9b
JM
8590 * sysdeps/unix/sysv/linux/kernel-features.h
8591 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8592 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8593 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8594 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8595 Remove conditional code.
8596
9aea0cb8
WN
85972014-06-25 Will Newton <will.newton@linaro.org>
8598
8599 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8600 (_dl_arm_cap_flags): Add HWCAP2 values.
8601 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8602 (_DL_HWCAP_COUNT): Increase to 37.
8603 (_DL_HWCAP_LAST): New define.
8604 (_DL_HWCAP2_LAST): New define.
8605 (_dl_procinfo): Add support for printing
8606 AT_HWCAP2 entries.
8607 (_dl_string_hwcap): Use _dl_hwcap_string.
8608
6eaa65ce
AZ
86092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8610
8611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8612
0f5b7185
JM
86132014-06-25 Joseph Myers <joseph@codesourcery.com>
8614
cfd2ea50
JM
8615 * README: Do not mention ports directory.
8616
cecf2ed4
JM
8617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8618 Remove macro.
8619 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8620 <kernel-features.h>.
8621 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8622 conditional variable definition.
8623 (__futimes): Update comment.
8624 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8625 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8626
a638de82
JM
8627 [BZ #16560]
8628 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8629 arguments close to 0.
8630 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8631 Likewise.
8632 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8633 Likewise.
8634 * math/auto-libm-test-in: Add more tests of exp10.
8635 * math/auto-libm-test-out: Regenerated.
8636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8637
0f5b7185
JM
8638 * sysdeps/unix/sysv/linux/kernel-features.h
8639 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8640 * sysdeps/unix/sysv/linux/readv.c: Do not include
8641 <kernel-features.h>.
8642 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8643 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8644 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8645 unconditional.
8646 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8647 conditional code.
8648 * sysdeps/unix/sysv/linux/writev.c: Do not include
8649 <kernel-features.h>.
8650 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8651 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8652 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8653 unconditional.
8654 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8655 conditional code.
8656
c7aec4be
WN
86572014-06-25 Will Newton <will.newton@linaro.org>
8658
8659 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8660 comment changes throughout the file. Remove checks
8661 for HAVE_*_H definitions that are not required.
8662 (__gen_tempname): Call abort if an unknown kind value is
8663 passed.
8664
c5241f95
AS
86652014-06-25 Andreas Schwab <schwab@suse.de>
8666
8667 [BZ #17086]
8668 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8669 scalbln, scalblnf, scalblnl in libc.
8670
911422da
SP
86712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8672
8673 [BZ #17086]
8674 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8675 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8676 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8677
0d749bbe
RM
86782014-06-24 Roland McGrath <roland@hack.frob.com>
8679
8680 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8681 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8682 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8683 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8684 Update #include.
8685 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8686 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8687 Update #include.
8688 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8689 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8690 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8691 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8692 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8693 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8694 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8695 * sysdeps/x86/bits/semaphore.h: ... here.
8696 * sysdeps/x86/nptl/elide.h: Moved ...
8697 * sysdeps/x86/elide.h: ... here.
8698 * sysdeps/x86_64/nptl/Implies: File removed.
8699 * sysdeps/i386/nptl/Implies: File removed.
8700
0ea5d373
JM
87012014-06-24 Joseph Myers <joseph@codesourcery.com>
8702
4060283d
JM
8703 [BZ #16539]
8704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8705 return the argument for normal arguments with exponent below -64.
8706 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8707 Likewise.
8708 * math/auto-libm-test-in: Add another test of expm1.
8709 * math/auto-libm-test-out: Regenerated.
8710
e7dd3c8c
JM
8711 [BZ #16287]
8712 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8713 calling __erfcl for arguments at least 16.
8714 * math/auto-libm-test-in: Add more tests of erf.
8715 * math/auto-libm-test-out: Regenerated.
8716
0ea5d373
JM
8717 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8718 individual architectures.
8719 * sysdeps/unix/sysv/linux/configure: Regenerated.
8720 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8721 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8722 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8723 (ldd_rewrite_script): Define variable.
8724 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8726 file.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8728 generated file.
8729 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8730 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8731 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8732 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8733 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8734 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8735 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8736 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8737
2307e126
SP
87382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8739
8740 [BZ #17084]
8741 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8742 Rename member __data.d to __data.__elision_data.
8743
c0a4ed77
W
87442014-06-24 Wilco <wdijkstr@arm.com>
8745
8746 * NEWS: Add 16918 to fixed bug list.
8747
b8c00573
W
87482014-06-24 Wilco <wdijkstr@arm.com>
8749
8750 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8751
b5570d92
W
87522014-06-24 Wilco <wdijkstr@arm.com>
8753
8754 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8755 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8756 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8757 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8758 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8759 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8760 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8761 Use _FPU_MASK_RM.
8762
947bdca2
W
87632014-06-24 Wilco <wdijkstr@arm.com>
8764
8765 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8766
00f669ed
W
87672014-06-24 Wilco <wdijkstr@arm.com>
8768
8769 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8770 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8771 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8772 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8773
db59bad3
W
87742014-06-24 Wilco <wdijkstr@arm.com>
8775
8776 [BZ #16918]
8777 * sysdeps/arm/feupdateenv.c (feupdateenv):
8778 Rewrite to reduce FPSCR accesses and fix return value.
8779
001f7b77
W
87802014-06-24 Wilco <wdijkstr@arm.com>
8781
8782 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8783 Optimize to avoid unnecessary FPSCR writes.
8784 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8785 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8786 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8787 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8788
4841e6a6
W
87892014-06-24 Wilco <wdijkstr@arm.com>
8790
8791 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8792 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8793 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8794 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8795 Call libc_fetestexcept_vfp.
8796 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8797 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8798 __SOFTFP__ ifdef so that they can be built for softfp.
8799
0813022c
SP
88002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8801
08e5862f
SP
8802 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8803 argument type signed char.
8804
0813022c
SP
8805 * Makerules (check-abi): Dump diff of symlist if the test
8806 fails.
8807
3fc7236a
RM
88082014-06-23 Roland McGrath <roland@hack.frob.com>
8809
aba8ef95
RM
8810 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8811 using abort.
8812
3fc7236a
RM
8813 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8814 Remove unused variable ST.
8815
4da6db51
JM
88162014-06-23 Joseph Myers <joseph@codesourcery.com>
8817
4648909d
JM
8818 [BZ #16354]
8819 [BZ #17061]
8820 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8821 small arguments before calling __expm1.
8822 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8823 small arguments before calling __expm1f.
8824 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8825 small arguments before calling __expm1l.
8826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8827 Likewise.
8828 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8829 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8830 spurious underflow for some cosh tests.
8831 * math/auto-libm-test-out: Regenerated.
8832 * sysdeps/i386/fpu/libm-test-ulps: Update.
8833
46a3d3c7
JM
8834 [BZ #17050]
8835 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8836 (__ieee754_y1): Set errno if return value overflows.
8837 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8838 (__ieee754_y1f): Set errno if return value overflows.
8839 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8840 (__ieee754_y1l): Set errno if return value overflows.
8841 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8842 (__ieee754_y1l): Set errno if return value overflows.
8843 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8844 * math/auto-libm-test-out: Regenerated.
8845
863893ec
JM
8846 * math/gen-auto-libm-tests.c: Document use of
8847 ignore-zero-inf-sign.
8848 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8849 (input_flags): Add ignore-zero-inf-sign.
8850 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8851 * math/gen-libm-test.pl (generate_testfile): Handle
8852 ignore-zero-inf-sign.
8853 * math/auto-libm-test-in: Mark some cpow tests with
8854 ignore-zero-inf-sign and some with xfail-rounding.
8855 * math/auto-libm-test-out: Regenerated.
8856 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8857 * sysdeps/i386/fpu/libm-test-ulps: Update.
8858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8859
4da6db51
JM
8860 [BZ #16315]
8861 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8862 overflowing or underflowing operations take place with sign of
8863 result.
8864 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8865 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8866 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8867 (__ieee754_pow): Recompute overflowing and underflowing results in
8868 original rounding mode.
8869 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8870 (__powl_helper): Allow negative argument X and scale negated value
8871 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8872 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8873 overflowing or underflowing operations take place with sign of
8874 result.
8875 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8876 Include <math.h>.
8877 * math/auto-libm-test-in: Add more tests of pow.
8878 * math/auto-libm-test-out: Regenerated.
8879 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8880 (pow_tonearest_test_data): Remove.
8881 (pow_test_tonearest): Likewise.
8882 (pow_towardzero_test_data): Likewise.
8883 (pow_test_towardzero): Likewise.
8884 (pow_downward_test_data): Likewise.
8885 (pow_test_downward): Likewise.
8886 (pow_upward_test_data): Likewise.
8887 (pow_test_upward): Likewise.
8888 (main): Don't call removed functions.
8889 * sysdeps/i386/fpu/libm-test-ulps: Update.
8890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8891
5686b236
RM
88922014-06-23 Roland McGrath <roland@hack.frob.com>
8893
8894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8895 Moved ...
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8898 Moved ...
8899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8901 Moved ...
8902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8904 Moved ...
8905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8907 File removed.
8908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8909 File removed.
8910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8911 File removed.
8912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8913 File removed.
8914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8915 File removed.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8917 File removed.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8919 File removed.
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8921 File removed.
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8923 File removed.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8925 File removed.
8926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8927 File removed.
8928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8929 File removed.
8930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8931 Moved ...
8932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8934 Moved ...
8935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8936 ... here.
8937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8938 Moved ...
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8941 Moved ...
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8944 Moved ...
8945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8947 Moved ...
8948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8950 Moved ...
8951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8953 Moved ...
8954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8956 Moved ...
8957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8960 ... here.
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8962 Moved ...
8963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8965 Moved ...
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8967 ... here.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8969 Moved ...
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8971 ... here.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8973 Moved ...
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8975 ... here.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8977 Moved ...
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8980 Moved ...
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8985 Moved ...
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8987 ... here.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8989 Moved ...
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8991 ... here.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8993 Moved ...
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8996 Moved ...
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8999 Moved ...
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9002 Moved ...
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9005 Moved ...
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9007 ... here.
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9012 Moved ...
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9015 Moved ...
9016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9018 Moved ...
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9023 Moved ...
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9026 Moved ...
9027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9029 Moved ...
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9031 ... here.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9033 Moved ...
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9035 ... here.
9036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9037 Moved ...
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9039 ... here.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9041 Moved ...
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9044 Moved ...
9045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9047 Moved ...
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9050 Moved ...
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9052 ... here.
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9054 Moved ...
9055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9056 ... here.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9058 Moved ...
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9060 ... here.
9061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9062 Moved ...
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9065 Moved ...
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9067
e6d90d67
WD
90682014-06-23 Will Newton <will.newton@linaro.org>
9069 Wilco <wdijkstr@arm.com>
9070
9071 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9072 implementation. Include get-rounding-mode.h.
9073 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9074 [!libc_feholdsetround_noex_ctx]: Define
9075 libc_feholdsetround_noex_ctx.
9076 [!libc_feholdsetround_noexf_ctx]: Define
9077 libc_feholdsetround_noexf_ctx.
9078 [!libc_feholdsetround_noexl_ctx]: Define
9079 libc_feholdsetround_noexl_ctx.
9080 (libc_feholdsetround_ctx): New function.
9081 (libc_feresetround_ctx): New function.
9082 (libc_feholdsetround_noex_ctx): New function.
9083 (libc_feresetround_noex_ctx): New function.
9084
d42df555
RM
90852014-06-23 Roland McGrath <roland@hack.frob.com>
9086
88a46474
RM
9087 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9088 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9089 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9090 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9091 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9092 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9093
15bed472
RM
9094 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9095 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9096 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9097 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9098 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9099 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9100 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9101 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9102 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9103 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9105 Moved ...
9106 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9107 ... here.
9108 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9109 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9110 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9111 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9112 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9113 Moved ...
9114 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9115 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9116 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9117 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9118 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9119 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9120 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9121 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9122 Moved ...
9123 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9125 Moved ...
9126 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9127 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9128 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9130 Moved ...
9131 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9132 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9135 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9136 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9137 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9138 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9141 Moved ...
9142 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9143 ... here.
9144 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9145 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9149 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9151 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9157 Moved ...
9158 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9160 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9161 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9164 Moved ...
9165 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9167 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9169 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9170
d42df555
RM
9171 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9172 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9173 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9174 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9175 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9176 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9178 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9179 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9180 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9182 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9186 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9187 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9188 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9190 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9191 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9192 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9193 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9194 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9195 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9196 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9199
76e5216e
JM
92002014-06-23 Joseph Myers <joseph@codesourcery.com>
9201
9202 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9203 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9204 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9205 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9206 (IPV6_PMTUDISC_INTERFACE): Likewise.
9207 (IPV6_PMTUDISC_OMIT): Likewise.
9208
7a81cbcc
AS
92092014-06-23 Andreas Schwab <schwab@suse.de>
9210
9211 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9212 Remove unused errout label.
9213
db224009
AZ
92142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9215
9216 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9217 macro: hardware supports Vector Crypto instructions.
9218
f393b4aa
WN
92192014-06-23 Will Newton <will.newton@linaro.org>
9220
cc7d0447
WN
9221 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9222 rather than __builtin_expect.
9223
d6d06225
WN
9224 * elf/dl-lookup.c (undefined_msg): Remove variable.
9225 (_dl_lookup_symbol_x): Replace undefined_msg with string
9226 literal.
9227
f393b4aa
WN
9228 * elf/dl-lookup.c (do_lookup_unique): New function.
9229 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9230 to a separate function.
9231
ac60763e
AS
92322014-06-23 Andreas Schwab <schwab@suse.de>
9233
9234 [BZ #17079]
9235 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9236 before reading the next line.
9237
c5c13355
WN
92382014-06-23 Will Newton <will.newton@linaro.org>
9239
9240 * test-skeleton.c (signal_handler): Use printf and %m
9241 rather than perror. Use printf rather than fprintf to
9242 stderr. Use puts rather than fputs to stderr.
9243 (main): Likewise.
9244
bd3675f9
LC
92452014-06-22 Ludovic Courtès <ludo@gnu.org>
9246
9247 * nscd/nscd.c (thread_info_t): Remove typedef.
9248 (thread_info): Remove variable.
9249
d03efb2f
AM
92502014-06-21 Allan McRae <allan@archlinux.org>
9251
9252 * NEWS: Mention CVE-2014-4043.
9253
bc4a86fa
RM
92542014-06-20 Roland McGrath <roland@hack.frob.com>
9255
dc9a54f8
RM
9256 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9257 * nptl/smp.h: ... here.
9258
bd7022c4
RM
9259 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9260
26ffd5e6
RM
9261 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9262 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9263 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9264 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9265
93a6d082
RM
9266 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9267 * nptl/stack-aliasing.h: New file.
9268 * sysdeps/i386/i686/stack-aliasing.h: New file.
9269 * sysdeps/i386/i686/nptl/Makefile: File removed.
9270 * sysdeps/x86_64/stack-aliasing.h: New file.
9271 * sysdeps/x86_64/nptl/Makefile
9272 (CFLAGS-pthread_create.c): Variable removed.
9273
bc4a86fa
RM
9274 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9275 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9276 old file.
9277 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9278 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9279 old file.
9280
2272ffc1
JM
92812014-06-21 Joseph Myers <joseph@codesourcery.com>
9282
9283 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9284 (__ASSUME_SIGFRAME_V2): Remove macro.
9285 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9286 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9287 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9288 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9289 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9290 Declare as function. Remove conditional macro definitions.
9291 (__default_rt_sa_restorer): Likewise.
9292 (__default_sa_restorer_v1): Remove declaration.
9293 (__default_sa_restorer_v2): Likewise.
9294 (__default_rt_sa_restorer_v1): Likewise.
9295 (__default_rt_sa_restorer_v2): Likewise.
9296 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9297 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9298 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9299
4b88139b
RM
93002014-06-20 Roland McGrath <roland@hack.frob.com>
9301
9302 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9303 (libpthread-routines): Add sysdep.
9304 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9305 * sysdeps/unix/sysv/linux/sparc/Versions
9306 (libpthread: GLIBC_2.3.3): New version set.
9307 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9308 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9309 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9310 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9311 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9312 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9313 Moved ...
9314 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9315 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9316 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9318 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9319 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9320 * sysdeps/sparc/nptl/sem_init.c: ... here.
9321 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9322 * sysdeps/sparc/nptl/sem_post.c: ... here.
9323 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9324 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9325 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9326 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9327 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9328 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9329 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9330 (libpthread-routines): Add cpu_relax.
9331 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9332 File removed.
9333 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9334 (librt: GLIBC_2.3.3): New version set.
9335 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9336 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9337 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9338 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9339 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9340 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9341 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9342 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9343 Moved ...
9344 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9345 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9346 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9348 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9349 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9350 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9352 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9353 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9354 Moved ...
9355 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9356 Update #include.
9357 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9358 Moved ...
9359 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9360 Update #include.
9361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9362 Moved ...
9363 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9364 Update #include.
9365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9366 Moved ...
9367 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9368 Update #include.
9369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9370 Moved ...
9371 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9372 Update #include.
9373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9374 Moved ...
9375 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9376 Update #include.
9377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9378 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9380 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9382 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9384 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9386 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9388 Moved ...
9389 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9391 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9393 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9394
d7109027
JM
93952014-06-20 Joseph Myers <joseph@codesourcery.com>
9396
9bc6103d
JM
9397 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9398 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9399 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9400 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9401 * nscd/nscd.c: Likewise.
9402 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9403 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9404 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9405 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9406
d7109027
JM
9407 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9408 <kernel-features.h>.
9409 (init_mq_netlink): Remove conditional have_sock_cloexec
9410 definitions. Remove code conditional on have_sock_cloexec < 0.
9411 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9412 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9413 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9414 <kernel-features.h>.
9415 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9416 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9417
d92d8f8a
L
94182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9419
9420 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9421 Add tests for memset_chk and memset.
9422
9423 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9424 with AVX2_Usable.
9425
4e6d2347
MR
94262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9427
257ce712
MR
9428 [BZ #16046]
9429 * elf/tst-dl-iter-static.c: New file.
9430 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9431
4e6d2347
MR
9432 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9433 error.
9434
a2a76afe
JM
94352014-06-20 Joseph Myers <joseph@codesourcery.com>
9436
7fd00f99
JM
9437 * sysdeps/unix/sysv/linux/kernel-features.h
9438 (__ASSUME_F_GETOWN_EX): Remove macro.
9439 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9440 <kernel-features.h>.
9441 (miss_F_GETOWN_EX): Remove variable or macro.
9442 (do_fcntl): Do not check miss_F_GETOWN_EX.
9443 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9444
4a103975
JM
9445 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9446 Remove macro.
9447 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9448 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9449 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9450
a2a76afe
JM
9451 * sysdeps/unix/sysv/linux/kernel-features.h
9452 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9453 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9454 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9455 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9456
90e5dd48
MR
94572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9458
9459 [BZ #17075]
9460 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9461 Fix calculation of the symbol's value.
9462 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9463 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9464 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9465 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9466 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9467 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9468 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9469 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9470 (modules-names): Add `tst-armtlsdescmod',
9471 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9472 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9473 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9474 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9475 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9476 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9477 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9478 ($(objpfx)tst-armtlsdescloc): New dependency.
9479 ($(objpfx)tst-armtlsdescextnow): Likewise.
9480 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9481 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9482 TLS scheme support.
9483 * sysdeps/arm/configure: Regenerate.
9484
809fdf0d
JM
94852014-06-20 Joseph Myers <joseph@codesourcery.com>
9486
9487 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9488 (__atfct_seterrno_2): Likewise.
9489 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9490 <kernel-features.h>.
9491 (__ASSUME_ATFCTS): Do not undefine and redefine.
9492 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9493 (__have_atfcts): Remove conditional definition.
9494 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9495 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9496 unreachable if [__ASSUME_ATFCTS].
9497 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9498 not undefine and redefine.
9499 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9500 <kernel-features.h>.
9501 (faccessat) [__NR_faccessat]: Make code unconditional.
9502 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9503 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9504 <kernel-features.h>.
9505 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9506 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9507 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9508 <kernel-features.h>.
9509 (fchownat) [__NR_fchownat]: Make code unconditional.
9510 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9511 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9512 <kernel-features.h>.
9513 (futimesat) [__NR_futimesat]: Make code unconditional.
9514 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9515 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9516 <kernel-features.h>.
9517 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9518 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9519 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9520 <kernel-features.h>.
9521 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9522 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9523 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9524 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9525 <kernel-features.h>.
9526 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9527 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9528 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9529 <kernel-features.h>.
9530 (linkat) [__NR_linkat]: Make code unconditional.
9531 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9532 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9533 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9534 <kernel-features.h>.
9535 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9536 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9537 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9538 <kernel-features.h>.
9539 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9540 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9541 * sysdeps/unix/sysv/linux/openat.c: Do not include
9542 <kernel-features.h>.
9543 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9544 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9545 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9546 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9547 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9548 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9549 <kernel-features.h>.
9550 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9551 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9552 result of INLINE_SYSCALL directly, not via int variable.
9553 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9554 <kernel-features.h>.
9555 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9556 (renameat) [__NR_renameat]: Make code unconditional.
9557 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9558 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9559 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9560 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9561 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9562 (__ASSUME_ATFCTS): Do not undefine and redefine.
9563 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9564 <kernel-features.h>.
9565 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9566 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9567 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9568 <kernel-features.h>.
9569 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9570 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9571 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9572 (__ASSUME_ATFCTS): Do not undefine and redefine.
9573 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9574 <kernel-features.h>.
9575 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9576 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9577 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9578 <kernel-features.h>.
9579 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9580 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9581
224c6c51
L
95822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9583
9584 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9585
aa6ec754
AS
95862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9587
9588 [BZ #17069]
9589 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9590 constructed tree before returning error.
9591 * posix/bug-regexp36.c: Expand test case.
9592
d8c2869d
SL
95932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9594
3ef6b850
SL
9595 [BZ #6803]
9596 * math/libm-test.inc (scalbln_test_date):
9597 Add errno expectations.
9598 * math/w_scalblnf.c: New File.
9599 Add wrapper which checks for setting errno to ERANGE.
9600 Add weak_alias for corresponding scalbln function.
9601 * math/w_scalbln.c: Likewise.
9602 * math/w_scalblnl.c: Likewise.
9603 * math/Makefile (libm-calls): Add w_scalbln.
9604 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9605 Remove weak_alias for corresponding scalbln function.
9606 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9609 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9610 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9611 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9612 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9613 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9614 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9615 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9616 Remove long_double_symbol for scalblnl function in libm, libc.
9617 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9618 Add wrapper which checks for setting errno to ERANGE.
9619 Add long_double_symbol for scalblnl function in libm, libc.
9620 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9621 Remove long_double_symbol for scalblnl in libm.
9622 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9623 Add wrapper which checks for setting errno to ERANGE.
9624 Add long_double_symbol for scalblnl function in libm.
9625 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9626 Do not use wrapper because of own implementation.
9627
c8daec5c
L
96282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9631 3 bytes for __pad1 for x32.
9632 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9633
5c74e47c
LM
96342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9635 H.J. Lu <hongjiu.lu@intel.com>
9636
9637 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9638 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9639 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9640 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9641 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9642
4d43ef1e
AS
96432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9644
9645 [BZ #17069]
9646 * posix/regcomp.c (parse_expression): Deallocate partially
9647 constructed tree before returning error.
9648 * posix/Makefile.c (tests): Add bug-regex36.
9649 (generated): Add bug-regex36.mtrace.
9650 (tests-special): Add $(objpfx)bug-regex36-mem.out
9651 (bug-regex36-ENV): New variable.
9652 ($(objpfx)bug-regex36-mem.out): New rule.
9653 * posix/bug-regex36.c: New file.
9654
51a7380b
WN
96552014-06-19 Will Newton <will.newton@linaro.org>
9656
9657 * malloc/malloc.c (systrim): If extra is zero then return
9658 early.
9659
91b84fe5
SP
96602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9661
9662 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9663
f940b965
RE
96642014-06-19 Richard Earnshaw <rearnsha@arm.com>
9665
9666 * sysdeps/aarch64/strchr.S: New file.
9667
4ba7a00f
JM
96682014-06-18 Joseph Myers <joseph@codesourcery.com>
9669
9670 [BZ #17022]
9671 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9672 from arguments -2 or below.
9673 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9674 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9675
b3a9f56b
AS
96762014-06-18 Andreas Schwab <schwab@suse.de>
9677
9678 [BZ #17062]
9679 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9680 of a bracket expr not to run off the end of the string.
9681 * posix/Makefile (tests): Add tst-fnmatch3.
9682 * posix/tst-fnmatch3.c: New file.
9683
85d89278
JM
96842014-06-18 Joseph Myers <joseph@codesourcery.com>
9685
9686 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9687 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9688 [$(cross-compiling) = no]: Likewise.
9689 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9690 [$(cross-compiling) = no]: Likewise.
9691
754c5a08
RS
96922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9693
9694 [BZ #17031]
9695 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9696 double, adjusted for any remainder from the high double.
9697 * math/libm-test.inc (nearbyint): Add tests.
9698 (rint): Likewise.
9699
556f529d
AZ
97002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9701
9702 * nptl/sysdeps/powerpc/Makefile: Moved ...
9703 * sysdeps/powerpc/nptl/Makefile: ... here.
9704 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9705 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9706 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9707 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9708 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9709 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9710 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9711 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9712 * nptl/sysdeps/powerpc/tls.h: Moved ...
9713 * sysdeps/powerpc/nptl/tls.h: ... here.
9714
91c03c53
JM
97152014-06-16 Joseph Myers <joseph@codesourcery.com>
9716
9717 [BZ #16681]
9718 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9719 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9720 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9721 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9722 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9723 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9724 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9725 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9726 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9727
a76e63c5
AS
97282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9729
9730 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9731
f2f6d82f
AS
97322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9733
ea8a15f6
AS
9734 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9735 defined operator.
9736
f2f6d82f
AS
9737 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9738 $TIMEOUTFACTOR.
9739
a7291117
FW
97402014-06-16 Florian Weimer <fweimer@redhat.com>
9741
9742 [BZ #17058]
9743 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9744 non-executed part of the test.
9745
3d7c00e3
AS
97462014-06-16 Andreas Schwab <schwab@suse.de>
9747
9748 * string/bits/string2.h (strdup, strndup): Update feature guard.
9749
6957fb31
DM
97502014-06-14 David S. Miller <davem@davemloft.net>
9751
9752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9753
11b9e55b
AS
97542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9755
1d2a0492
AS
9756 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9757 that was previously under [RESET_PID].
9758 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9759
11b9e55b
AS
9760 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9761 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9762 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9764 (__libc_vfork): New strong alias.
9765 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9766
0f6901d0
AK
97672014-06-14 Andi Kleen <ak@linux.intel.com>
9768
9769 * sysdeps/generic/elide.h: New file.
9770
38bbbb9f
SL
97712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9772
9773 * Makefile (installed-headers): Adjust path of pthread.h header.
9774
45193bb8
RM
97752014-06-13 Roland McGrath <roland@hack.frob.com>
9776
9a25fd1e
RM
9777 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9778 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9780 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9781
4004f7e4
RM
9782 * nptl/sysdeps/s390/Makefile: Moved ...
9783 * sysdeps/s390/nptl/Makefile: ... here.
9784 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9785 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9786 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9787 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9788 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9789 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9790 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9791 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9792 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9793 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9794 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9795 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9796 * nptl/sysdeps/s390/tls.h: Moved ...
9797 * sysdeps/s390/nptl/tls.h: ... here.
9798
45193bb8
RM
9799 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9800 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9801
f6fdf533
DM
98022014-06-13 David S. Miller <davem@davemloft.net>
9803
9804 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9805 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9806 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9807 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9809 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9811 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9812 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9813 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9814 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9815 Remove RESET_PID cpp guards.
9816 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9817 Remove RESET_PID cpp guards.
9818 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9819
f5d71e14
AS
98202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9821
9822 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9823 __sp to uintptr_t.
9824
b7aa8caa
AK
98252014-06-13 Andi Kleen <ak@linux.intel.com>
9826
4b266200
AZ
9827 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9828 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9829 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9830 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9831 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9832 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9833 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9834 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9835 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9836 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9837 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9838 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9839 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9840 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9841 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9842 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9843 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9844 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9845 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9846 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9847
9848 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9849 (pthread_rwlock_rdlock): Add elision.
9850 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9851 (pthread_rwlock_wrlock): Add elision.
9852 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9853 (pthread_rwlock_trywrlock): Add elision.
9854 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9855 (pthread_rwlock_tryrdlock): Add elision.
9856 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9857 (pthread_rwlock_tryrdlock): Add elision unlock.
9858 * nptl/sysdeps/pthread/pthread.h:
9859 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9860 (PTHREAD_RWLOCK_INITIALIZER,
9861 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9862 Handle new elision field.
9863 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9864 * sysdeps/arm/nptl/bits/pthreadtypes.h
9865 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9866 * sysdeps/sh/nptl/bits/pthreadtypes.h
9867 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9868 * sysdeps/tile/nptl/bits/pthreadtypes.h
9869 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9870 * sysdeps/a/nptl/bits/pthreadtypes.h
9871 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9872 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9873 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9874 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9876 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9877 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9878 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9879 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9880 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9882 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9884 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9886 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9888 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9889 (elision_init): Set try_xbegin to zero when no RTM.
9890 * sysdeps/x86/nptl/bits/pthreadtypes.h
9891 (pthread_rwlock_t): Change __pad1 to __rwelision.
9892 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9893
a832bdd3
AK
98942014-06-13 Andi Kleen <ak@linux.intel.com>
9895
9896 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9897 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9898 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9899 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9900
995a46bb
MI
99012014-06-13 Meador Inge <meadori@codesourcery.com>
9902
9903 [BZ #16996]
03ed7738 9904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9905 that the cached result has been set before returning it.
9906
45262aee
RM
99072014-06-12 Roland McGrath <roland@hack.frob.com>
9908
febf6cc5
RM
9909 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9910 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9912 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9914 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9915
e2682246
RM
9916 * nptl/sysdeps/sparc/Makefile: Moved ...
9917 * sysdeps/sparc/nptl/Makefile: ... here.
9918 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9919 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9920 * nptl/sysdeps/sparc/tls.h: Moved ...
9921 * sysdeps/sparc/nptl/tls.h: ... here.
9922 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9923 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9924 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9925 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9926 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9927 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9928 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9929 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9930 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9931 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9932 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9933 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9934 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9935 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9936 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9937 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9938 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9939 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9940 Update #include.
9941 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9942 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9943 Update #include.
9944 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9946 Update #include.
9947 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9948 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9949 Update #include.
9950
b0725f43
RM
9951 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9952
b14368b8
RM
9953 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9954 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9955
c5620eb3
RM
9956 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9957 (struct list_links): Type removed.
9958 (struct thread_node, struct timer_node): Replace struct list_links
9959 with struct list_head.
9960 (list_unlink_ip): Likewise.
9961 * sysdeps/pthread/timer_routines.c
9962 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9963 (list_append, list_insbefore): Likewise.
9964 (list_init): Function removed.
9965 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
9966 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9967 * sysdeps/pthread/Makefile: ... here, new file.
9968
9969 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9970 * sysdeps/nptl/Implies: ... here.
9971 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9972 * nptl/sysdeps/pthread/list.h: Moved ...
9973 * include/list.h: ... here.
9974 * nptl/sysdeps/pthread/createthread.c: Moved ...
9975 * nptl/createthread.c: ... here.
9976 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9977 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9978 * nptl/pt-longjmp.c: ... here.
9979 * nptl/sysdeps/pthread/Makefile: Moved ...
9980 * sysdeps/nptl/Makefile: ... here.
9981 * nptl/sysdeps/pthread/Subdirs: Moved ...
9982 * sysdeps/nptl/Subdirs: ... here.
9983 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9984 * sysdeps/nptl/aio_misc.h: ... here.
9985 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9986 * sysdeps/nptl/bits/libc-lock.h: ... here.
9987 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9988 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9989 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9990 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9991 * nptl/sysdeps/pthread/configure: Moved ...
9992 * sysdeps/nptl/configure: ... here.
9993 * nptl/sysdeps/pthread/configure.ac: Moved ...
9994 * sysdeps/nptl/configure.ac: ... here.
9995 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9996 * sysdeps/nptl/gai_misc.h: ... here.
9997 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9998 * sysdeps/nptl/librt-cancellation.c: ... here.
9999 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10000 * sysdeps/nptl/malloc-machine.h: ... here.
10001 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10002 * sysdeps/nptl/pthread-functions.h: ... here.
10003 * nptl/sysdeps/pthread/pthread.h: Moved ...
10004 * sysdeps/nptl/pthread.h: ... here.
10005 * nptl/sysdeps/pthread/setxid.h: Moved ...
10006 * sysdeps/nptl/setxid.h: ... here.
10007 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10008 * sysdeps/nptl/sigfillset.c: ... here.
10009 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10010 * sysdeps/nptl/tcb-offsets.h: ... here.
10011 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10012 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10013 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10014 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10015 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10016 * sysdeps/pthread/allocalim.h: ... here.
10017 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10018 * sysdeps/pthread/bits/sigthread.h: ... here.
10019 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10020 * sysdeps/pthread/flockfile.c: ... here.
10021 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10022 * sysdeps/pthread/ftrylockfile.c: ... here.
10023 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10024 * sysdeps/pthread/funlockfile.c: ... here.
10025 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10026 * sysdeps/pthread/posix-timer.h: ... here.
10027 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10028 * sysdeps/pthread/timer_create.c: ... here.
10029 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10030 * sysdeps/pthread/timer_delete.c: ... here.
10031 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10032 * sysdeps/pthread/timer_getoverr.c: ... here.
10033 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10034 * sysdeps/pthread/timer_gettime.c: ... here.
10035 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10036 * sysdeps/pthread/timer_routines.c: ... here.
10037 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10038 * sysdeps/pthread/timer_settime.c: ... here.
10039 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10040 * sysdeps/pthread/tst-timer.c: ... here.
10041 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10042 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10043
e876b090
RM
10044 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10045 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10046
f6b07b3d
RM
10047 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10048 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10049 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10050 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10051 Update #include target.
10052 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10053 * sysdeps/i386/i686/nptl/Makefile: ... here.
10054 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10055 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10056 Update #include target.
10057 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10058 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10059 * nptl/sysdeps/i386/Makefile: Moved ...
10060 * sysdeps/i386/nptl/Makefile: ... here.
10061 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10062 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10063 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10064 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10065 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10066 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10067 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10068 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10069 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10070 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10071 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10072 * nptl/sysdeps/i386/tls.h: Moved ...
10073 * sysdeps/i386/nptl/tls.h: ... here.
10074
45262aee
RM
10075 * sysdeps/sh/Makefile [$(subdir) = csu]
10076 (gen-as-const-headers): Add tcb-offsets.sym.
10077 * nptl/sysdeps/sh/Makefile: File removed.
10078 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10079 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10080 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10081 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10082 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10083 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10084 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10085 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10086 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10087 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10088 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10089 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10090 * nptl/sysdeps/sh/tls.h: Moved ...
10091 * sysdeps/sh/nptl/tls.h: ... here.
10092 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10093 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10094 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10095 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10096 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10097 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10098 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10099 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10100 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10101 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10102 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10103 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10104 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10105 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10106 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10107 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10108 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10109 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10110 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10111 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10112 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10113 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10114 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10115 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10116 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10117 Moved ...
10118 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10119 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10120 Moved ...
10121 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10123 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10126 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10127 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10128 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10129 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10130 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10131 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10132 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10133 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10134 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10135 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10136 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10137 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10138 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10139 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10140
35a5e3e3
SL
101412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10142
10143 * posix/spawn_faction_addopen.c: Include string.h.
10144
14642b85
RM
101452014-06-11 Roland McGrath <roland@hack.frob.com>
10146
10147 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10148 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10149 * nptl/sysdeps/x86_64/Makefile: Moved ...
10150 * sysdeps/x86_64/nptl/Makefile: ... here.
10151 * nptl/sysdeps/x86_64/configure: Moved ...
10152 * sysdeps/x86_64/nptl/configure: ... here.
10153 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10154 * sysdeps/x86_64/nptl/configure.ac: ... here.
10155 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10156 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10157 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10158 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10159 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10160 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10161 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10162 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10163 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10164 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10165 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10166 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10167 * nptl/sysdeps/x86_64/tls.h: Moved ...
10168 * sysdeps/x86_64/nptl/tls.h: ... here.
10169 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10170 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10171 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10172 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10173
10174 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10175
31c44fea
AZ
101762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10177
10178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10179
e81a4f9a
JM
101802014-06-11 Joseph Myers <joseph@codesourcery.com>
10181
10182 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10183 type.
10184 [POSIX] (off_t): Likewise.
10185 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10186 [POSIX] (S_ISBLK): Require macro.
10187 [POSIX] (S_ISCHR): Likewise.
10188 [POSIX] (S_ISDIR): Likewise.
10189 [POSIX] (S_ISFIFO): Likewise.
10190 [POSIX] (S_ISREG): Likewise.
10191 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10192 optional-macro.
10193 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10194 type.
10195 [POSIX] (time_t): Likewise.
10196 [POSIX] (timer_t): Likewise.
10197
89e435f3
FW
101982014-06-11 Florian Weimer <fweimer@redhat.com>
10199
10200 [BZ #17048]
10201 * posix/spawn_int.h (struct __spawn_action): Make the path string
10202 non-const to support deallocation.
10203 * posix/spawn_faction_addopen.c
10204 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10205 * posix/spawn_faction_destroy.c
10206 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10207 path in all spawn_do_open actions.
10208 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10209 posix_spawn_file_actions_addopen.
10210
c3a2ebe1
CM
102112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10212
10213 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10214 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10215 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10216 conditional code always true.
10217 (__libc_vfork): New alias.
10218
9503784a
RM
102192014-06-11 Roland McGrath <roland@hack.frob.com>
10220
c9cab3d2
RM
10221 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10222 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10223
d3996c79
RM
10224 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10225
ba5ec611
RM
10226 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10227 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10228
f12b4814
RM
10229 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10230 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10231
9503784a
RM
10232 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10233 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10234
e23d3d26
VR
102352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10236
10237 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10238 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10239 multiarch strcmp for PPC64.
10240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10242 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10243 multiarch optimizations.
10244 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10245 (__libc_ifunc_impl_list): Likewise.
10246
42b1161e
SP
102472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10248
10249 * benchtests/scripts/validate_benchout.py: New script.
10250 * benchtests/Makefile (bench-func): Call it.
10251 * benchtests/scripts/benchout.schema.json: New file.
10252
2d0fc4dc
CM
102532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10254
4a594c34
AZ
10255 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10256 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10257 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10258 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10259 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10260 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10261 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10262 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10263 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10264 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10265 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10266 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10267 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10268 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10269 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10270 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10272 Moved ...
4a594c34 10273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10274 ... here.
4a594c34 10275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10276 Moved ...
4a594c34
AZ
10277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10278 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10279 Moved ...
4a594c34 10280 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10281 ... here.
4a594c34 10282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10283 Moved ...
4a594c34 10284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10285 ... here.
4a594c34 10286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10287 Moved ...
4a594c34
AZ
10288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10290 Moved ...
4a594c34 10291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10292 ... here.
4a594c34 10293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10294 Moved ...
4a594c34 10295 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10296 ... here.
4a594c34 10297 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10298 Moved ...
4a594c34
AZ
10299 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10301 Moved ...
4a594c34 10302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10303 ... here.
4a594c34 10304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10305 Moved ...
4a594c34 10306 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10307 ... here.
4a594c34 10308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10309 Moved ...
4a594c34 10310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10311 ... here.
4a594c34 10312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10313 Moved ...
4a594c34
AZ
10314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10316 Moved ...
4a594c34 10317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10318 ... here.
4a594c34 10319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10320 Moved ...
4a594c34 10321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10322 ... here.
4a594c34 10323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10324 Moved ...
4a594c34 10325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10326 ... here.
4a594c34 10327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10328 Moved ...
4a594c34
AZ
10329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10331 Moved ...
4a594c34 10332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10333 ... here.
4a594c34 10334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10335 Moved ...
4a594c34 10336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10337 ... here.
4a594c34 10338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10339 Moved ...
4a594c34
AZ
10340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10342 Moved ...
4a594c34 10343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10344 ... here.
4a594c34 10345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10346 Moved ...
4a594c34
AZ
10347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10349 Moved ...
4a594c34
AZ
10350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10352 Moved ...
4a594c34 10353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10354 ... here.
4a594c34 10355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10356 Moved ...
4a594c34 10357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10358 ... here.
4a594c34 10359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10360 Moved ...
4a594c34 10361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10362 ... here.
4a594c34 10363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10364 Moved ...
4a594c34
AZ
10365 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10367 Moved ...
4a594c34 10368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10369 ... here.
4a594c34 10370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10371 Moved ...
4a594c34 10372 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10373 ... here.
4a594c34
AZ
10374 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10375 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10376 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10379 Moved ...
4a594c34 10380 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10381 ... here.
4a594c34
AZ
10382 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10395 Moved ...
4a594c34
AZ
10396 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10398 Moved ...
4a594c34
AZ
10399 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10401 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10403 Moved ...
4a594c34
AZ
10404 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10406 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10408 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10409 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10410 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10411
0570cfed
W
104122014-06-10 Wilco <wdijkstr@arm.com>
10413
10414 * math/test-fenv-return.c: New file.
10415 * math/Makefile: Add new test test-fenv-return.
10416
f8ba1b56
JM
104172014-06-10 Joseph Myers <joseph@codesourcery.com>
10418
10419 [BZ #17042]
10420 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10421 when x - 1 is zero.
10422 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10423 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10424 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10425 0.0L for an argument of 1.0L.
10426 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10427 Likewise.
10428 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10429 value when x - 1 is zero.
10430 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10431 * sysdeps/i386/fpu/libm-test-ulps: Update.
10432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10433
2c3520d9
BO
104342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10435
10436 [BZ #15119]
10437 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10438
acaa4d24
RM
104392014-06-09 Roland McGrath <roland@hack.frob.com>
10440
10441 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10442 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10443
962b744d
RM
104442014-06-09 Roland McGrath <roland@hack.frob.com>
10445
d752f0cc
RM
10446 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10447 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10448
34eda6d1
RM
10449 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10450 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10451
50f0a637
RM
10452 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10453 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10454
08f41f04
RM
10455 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10456 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10457
962b744d
RM
10458 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10459 if not already defined.
10460 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10461 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10462 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10463 (TLS_INIT_TP): Use it.
10464 (TLS_DEFINE_INIT_TP): New macro.
10465 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10466
09f19b05
JM
104672014-06-09 Joseph Myers <joseph@codesourcery.com>
10468
10469 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10470 constant.
10471 [POSIX] (IXANY): Likewise.
10472 [POSIX] (OLCUC): Likewise.
10473 [POSIX || POSIX2008] (CBAUD): Do not allow.
10474 [POSIX || POSIX2008] (DEFECHO): Likewise.
10475 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10476 [POSIX || POSIX2008] (ECHOKE): Likewise.
10477 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10478 [POSIX || POSIX2008] (EXTA): Likewise.
10479 [POSIX || POSIX2008] (EXTB): Likewise.
10480 [POSIX || POSIX2008] (FLUSHO): Likewise.
10481 [POSIX || POSIX2008] (LOBLK): Likewise.
10482 [POSIX || POSIX2008] (PENDIN): Likewise.
10483 [POSIX || POSIX2008] (SWTCH): Likewise.
10484 [POSIX || POSIX2008] (VDISCARD): Likewise.
10485 [POSIX || POSIX2008] (VDSUSP): Likewise.
10486 [POSIX || POSIX2008] (VLNEXT): Likewise.
10487 [POSIX || POSIX2008] (VREPRINT): Likewise.
10488 [POSIX || POSIX2008] (VSTATUS): Likewise.
10489 [POSIX || POSIX2008] (VWERASE): Likewise.
10490 (B*): Change to B[0123456789]*.
10491 * conform/data/time.h-data [POSIX || UNIX98]
10492 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10493 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10494 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10495 [POSIX] (tm_*): Do not allow.
10496
686554bf
JM
104972014-06-07 Joseph Myers <joseph@codesourcery.com>
10498
10499 * Makefile (install): Don't set LANGUAGE.
10500 * Makefile.in (install): Likewise.
10501 * assert/Makefile (test-assert-ENV): Remove variable.
10502 (test-assert-perr-ENV): Likewise.
10503 * elf/Makefile (neededtest4-ENV): Likewise.
10504 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10505 [$(cross-compiling) = no]: Don't set LANGUAGE.
10506 * io/ftwtest-sh (LANG): Remove variable.
10507 * libio/Makefile (tst-widetext-ENV): Likewise.
10508 * manual/install.texi (Running make install): Don't refer to
10509 environment settings for make install.
10510 * INSTALL: Regenerated.
10511 * nptl/tst-tls6.sh: Don't set LANG.
10512 * posix/globtest.sh (LANG): Remove variable.
10513 * string/Makefile (tester-ENV): Likewise.
10514 (inl-tester-ENV): Likewise.
10515 (noinl-tester-ENV): Likewise.
10516 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10517 [$(cross-compiling) = no]: Don't set LANGUAGE.
10518 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10519 without explicit environment settings.
10520
68e6b6b1
RM
105212014-06-06 Roland McGrath <roland@hack.frob.com>
10522
10523 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10524 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10525 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10526 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10527
4d3ae034
CM
105282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10529
10530 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10531 other files in the crypt directory.
10532 * crypt/crypt.c: Remove duplicate includes.
10533 * crypt/crypt-entry.c: Likewise.
10534 * crypt/crypt_util.c: Likewise.
10535
8540f6d2
JM
105362014-06-06 Joseph Myers <joseph@codesourcery.com>
10537
10538 * Makeconfig (run-program-env): New variable.
10539 (run-program-prefix-before-env): Likewise.
10540 (run-program-prefix-after-env): Likewise.
10541 (run-program-prefix): Define in terms of new variables.
10542 (built-program-cmd-before-env): New variable.
10543 (built-program-cmd-after-env): Likewise.
10544 (built-program-cmd): Define in terms of new variables.
10545 (test-program-prefix-before-env): New variable.
10546 (test-program-prefix-after-env): Likewise.
10547 (test-program-prefix): Define in terms of new variables.
10548 (test-program-cmd-before-env): New variable.
10549 (test-program-cmd-after-env): Likewise.
10550 (test-program-cmd): Define in terms of new variables.
10551 * Rules (make-test-out): Use $(run-program-env).
10552 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10553 (help): Do not mention environment variables. Mention
10554 --timeoutfactor option.
10555 (timeoutfactor): New variable.
10556 (blacklist_exports): Remove function.
10557 (exports): Remove variable.
10558 (command): Do not include ${exports}.
10559 * manual/install.texi (Configuring and compiling): Do not mention
10560 test wrappers preserving environment variables. Mention that last
10561 assignment to a variable must take precedence.
10562 * INSTALL: Regenerated.
10563 * benchtests/Makefile (run-bench): Use $(run-program-env).
10564 * catgets/Makefile ($(objpfx)test1.cat): Use
10565 $(built-program-cmd-before-env), $(run-program-env) and
10566 $(built-program-cmd-after-env).
10567 ($(objpfx)test2.cat): Do not specify environment variables
10568 explicitly.
10569 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10570 $(run-program-env) and $(built-program-cmd-after-env).
10571 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10572 $(run-program-env) and $(test-program-cmd-after-env).
10573 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10574 explicitly.
10575 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10576 run_program_env and test_program_cmd_after_env arguments.
10577 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10578 * elf/tst-pathopt.sh: Use run_program_env argument.
10579 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10580 $(test-wrapper-env) and $(run-program-env).
10581 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10582 run_program_env arguments.
10583 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10584 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10585 $(test-program-prefix-before-env), $(run-program-env) and
10586 $(test-program-prefix-after-env).
10587 ($(objpfx)tst-gettext2.out): Likewise.
10588 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10589 run_program_env and test_program_prefix_after_env arguments.
10590 * intl/tst-gettext2.sh: Likewise.
10591 * intl/tst-gettext4.sh: Do not set environment variables
10592 explicitly.
10593 * intl/tst-gettext6.sh: Likewise.
10594 * intl/tst-translit.sh: Likewise.
10595 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10596 $(test-program-prefix-before-env), $(run-program-env) and
10597 $(test-program-prefix-after-env).
10598 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10599 run_program_env and test_program_prefix_after_env arguments.
10600 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10601 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10602 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10603 explicitly with each use of ${test_wrapper_env}.
10604 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10605 $(test-program-prefix-before-env), $(run-program-env) and
10606 $(test-program-prefix-after-env).
10607 * posix/tst-getconf.sh: Do not set environment variables
10608 explicitly.
10609 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10610 run_program_env and test_program_prefix_after_env arguments.
10611 * stdio-common/tst-printf.sh: Do not set environment variables
10612 explicitly.
10613 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10614 $(test-program-prefix-before-env), $(run-program-env) and
10615 $(test-program-prefix-after-env).
10616 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10617 run_program_env and test_program_prefix_after_env arguments.
10618 Split $test calls into $test_pre and $test.
10619 * timezone/Makefile (build-testdata): Use
10620 $(built-program-cmd-before-env), $(run-program-env) and
10621 $(built-program-cmd-after-env).
10622
ed36bfa1
AZ
106232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10624
10625 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10626 strlen for non SHARED builds.
10627
fc75bf46
SP
106282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10629
10630 * nptl/allocatestack.c (check_list): Inlined function...
10631 (__reclaim_stacks): ... here.
10632
d89b3d80
OB
106332014-06-05 Ondřej Bílka <neleai@seznam.cz>
10634
10635 [BZ #15698]
10636 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10637 memory overrun.
10638
2bf18041
JM
106392014-06-05 Joseph Myers <joseph@codesourcery.com>
10640
10641 * Rules (make-test-out): Include
10642 LOCPATH=$(common-objpfx)localedata in default environment.
10643 * debug/Makefile (tst-chk1-ENV): Remove variable.
10644 (tst-chk2-ENV): Likewise.
10645 (tst-chk3-ENV): Likewise.
10646 (tst-chk4-ENV): Likewise.
10647 (tst-chk5-ENV): Likewise.
10648 (tst-chk6-ENV): Likewise.
10649 (tst-lfschk1-ENV): Likewise.
10650 (tst-lfschk2-ENV): Likewise.
10651 (tst-lfschk3-ENV): Likewise.
10652 (tst-lfschk4-ENV): Likewise.
10653 (tst-lfschk5-ENV): Likewise.
10654 (tst-lfschk6-ENV): Likewise.
10655 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10656 (tst-iconv7-ENV): Likewise.
10657 * intl/Makefile (LOCPATH-ENV): Likewise.
10658 (tst-codeset-ENV): Likewise.
10659 (tst-gettext3-ENV): Likewise.
10660 (tst-gettext5-ENV): Likewise.
10661 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10662 (tst-fopenloc-ENV): Likewise.
10663 (tst-fgetws-ENV): Remove variable.
10664 (tst-ungetwc1-ENV): Likewise.
10665 (tst-ungetwc2-ENV): Likewise.
10666 (bug-ungetwc2-ENV): Likewise.
10667 (tst-swscanf-ENV): Likewise.
10668 (bug-ftell-ENV): Likewise.
10669 (tst-fgetwc-ENV): Likewise.
10670 (tst-fseek-ENV): Likewise.
10671 (tst-ftell-partial-wide-ENV): Likewise.
10672 (tst-ftell-active-handler-ENV): Likewise.
10673 (tst-ftell-append-ENV): Likewise.
10674 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10675 (tst-regexloc-ENV): Likewise.
10676 (bug-regex1-ENV): Likewise.
10677 (tst-regex-ENV): Likewise.
10678 (tst-regex2-ENV): Likewise.
10679 (bug-regex5-ENV): Likewise.
10680 (bug-regex6-ENV): Likewise.
10681 (bug-regex17-ENV): Likewise.
10682 (bug-regex18-ENV): Likewise.
10683 (bug-regex19-ENV): Likewise.
10684 (bug-regex20-ENV): Likewise.
10685 (bug-regex22-ENV): Likewise.
10686 (bug-regex23-ENV): Likewise.
10687 (bug-regex25-ENV): Likewise.
10688 (bug-regex26-ENV): Likewise.
10689 (bug-regex30-ENV): Likewise.
10690 (bug-regex32-ENV): Likewise.
10691 (bug-regex33-ENV): Likewise.
10692 (bug-regex34-ENV): Likewise.
10693 (bug-regex35-ENV): Likewise.
10694 (tst-rxspencer-ENV): Likewise.
10695 (tst-rxspencer-no-utf8-ENV): Likewise.
10696 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10697 (tst-sscanf-ENV): Likewise.
10698 (tst-swprintf-ENV): Likewise.
10699 (tst-swscanf-ENV): Likewise.
10700 (test-vfprintf-ENV): Likewise.
10701 (scanf13-ENV): Likewise.
10702 (bug14-ENV): Likewise.
10703 (tst-grouping-ENV): Likewise.
10704 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10705 (tst-strtod3-ENV): Likewise.
10706 (tst-strtod4-ENV): Likewise.
10707 (tst-strtod5-ENV): Likewise.
10708 (testmb2-ENV): Likewise./
10709 * string/Makefile (tst-strxfrm-ENV): Likewise.
10710 (tst-strxfrm2-ENV): Likewise.
10711 (bug-strcoll1-ENV): Likewise.
10712 (test-strcasecmp-ENV): Likewise.
10713 (test-strncasecmp-ENV): Likewise.
10714 * time/Makefile (tst-strptime-ENV): Likewise.
10715 (tst-ftime_l-ENV): Likewise.
10716 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10717 (tst-mbrtowc-ENV): Likewise.
10718 (tst-wcrtomb-ENV): Likewise.
10719 (tst-mbrtowc2-ENV): Likewise.
10720 (tst-c16c32-1-ENV): Likewise.
10721 (tst-mbsnrtowcs-ENV): Likewise.
10722
cd1fb604
OB
107232014-06-05 Ondřej Bílka <neleai@seznam.cz>
10724
10725 * manual/resource.texi (How to get information about the memory
10726 subsystem?): Fix typo.
10727 Reported by Peon de la Parra Ivan <peon@keba.com>
10728
b42eca7d
GY
107292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10730
10731 [BZ #16882]
10732 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10733 (pthread_spin_lock): Branch out of spin loop to proper location.
10734 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10735 (pthread_spin_lock): Likewise.
10736
902b71f9
DM
10737 * nptl/tst-spin4.c: New test.
10738 * nptl/Makefile (tests): Add tst-spin4.
10739
f9d2d032
AS
107402014-06-03 Andreas Schwab <schwab@suse.de>
10741
10742 [BZ #15946]
10743 * resolv/res_send.c (send_dg): Reload file descriptor after
10744 calling reopen.
10745
cf7bfd28
SL
107462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10747
10748 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10749
111cc714
RH
107502014-06-03 Richard Henderson <rth@redhat.com>
10751
89b4bd6b
RH
10752 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10753 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10754 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10755 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10756 in the SAVE_PID block.
10757 (__libc_vfork): New alias.
71840409 10758 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10759
111cc714
RH
10760 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10761 child in registers, not on the stack. Remove RESET_PID conditionals.
10762 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10763
ccc39911
MS
107642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10765
10766 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10767
693096cc
W
107682014-06-03 Wilco <wdijkstr@arm.com>
10769
10770 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10771 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10772 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10773 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10774 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10775 Likewise.
10776
0b4366bc
W
107772014-06-03 Wilco <wdijkstr@arm.com>
10778
10779 * sysdeps/aarch64/fpu/math_private.h
10780 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10781 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10782 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10783 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10784 Fix declarations.
10785
8747cd03
KS
107862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10787
10788 * crypt/crypt-private.h: Include ufc-crypt.h.
10789 (__b64_from_24bit): Declare extern.
10790 * crypt/crypt_util.c(__b64_from_24bit): New function.
10791 (b64t): New static const variable.
10792 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10793 (b64t): Remove variable.
10794 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10795 * crypt/sha256-crypt.c: Include crypt-private.h.
10796 (b64t): Remove variable.
10797 (__sha256_crypt_r): Remove b64_from_24bit and replace
10798 with __b64_from_24bit.
10799 * crypt/sha512-crypt.c: Likewise.
10800
d936d379
RM
108012014-06-02 Roland McGrath <roland@hack.frob.com>
10802
10803 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10804 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10805 Label the code __libc_vfork rather than __vfork.
10806 [!NOT_IN_libc] (vfork): Define as weak alias.
10807 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10808 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10809 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10810
9fa76613
SP
108112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10812
10813 * malloc/malloc.c (malloc_info): Fix format specifier for
10814 n_mmaps.
10815
a88dadbe
W
108162014-06-02 Wilco <wdijkstr@arm.com>
10817
10818 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10819 FPCR write.
10820
c95b3011
W
108212014-06-02 Wilco <wdijkstr@arm.com>
10822
10823 [BZ #17009]
10824 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10825 Rewrite to reduce FPCR/FPSR accesses.
10826
6b4d7a90
DM
108272014-06-01 David S. Miller <davem@davemloft.net>
10828
10829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10830
30f3d07c
DM
108312014-05-31 David S. Miller <davem@davemloft.net>
10832
10833 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10834 to occur in round to nearest mode when |x| >= 2.0
10835
74f31c18
RH
108362014-05-30 Richard Henderson <rth@twiddle.net>
10837
f0712b54
RH
10838 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10839 (PSEUDO_RET_NOERRNO): Remove.
10840 (ret): Don't redefine.
10841 (ret_NOERRNO): Define in terms of ret.
10842 (ret_ERRVAL): Likewise.
10843
74f31c18
RH
10844 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10845 use of PSEUDO_RET; perform the error check directly.
10846
30477995
MM
108472014-05-30 Marko Myllynen <myllynen@redhat.com>
10848
10849 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10850 with __int128_t.
10851
62a58816
SP
108522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10853
10854 * malloc/malloc (malloc_info): Fix formatting.
10855
4d653a59
SP
108562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10857 Roland McGrath <roland@hack.frob.com>
10858
10859 * malloc/malloc (malloc_info): Also print mmapped statistics.
10860
5190c17f
RM
108612014-05-30 Roland McGrath <roland@hack.frob.com>
10862
10863 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10864 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10865
987c0269
OB
108662014-05-30 Ondřej Bílka <neleai@seznam.cz>
10867
10868 * malloc/malloc.c (malloc_info): Inline mi_arena.
10869
af4e8ef9
RH
108702014-05-29 Richard Henderson <rth@twiddle.net>
10871
1670e207
RH
10872 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10873 Remove comma before expanding ASM_ARGS_##nr.
10874 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10875 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10876 of ASM_ARGS_##nr.
10877 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10878 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10879 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10880 (ASM_ARGS_1): Add leading comma.
10881
11a28aee
RH
10882 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10883 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10884 to __errno_location.
10885 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10886 Remove the expected plt for __errno_location.
10887
a17e5ffb 10888 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10889 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10890 call to __read_tp.
10891
b5be4597
RH
10892 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10893 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10894 it and break it down.
10895 (DOCARGS_0, DOCARGS_1): Do nothing.
10896 (DOCARGS_2): Update to store into the new stack frame.
10897 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10898 (UNDOCARGS_1): Update to restore from the new stack frame.
10899 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10900 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10901
645d44ab
RH
10902 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10903 (SINGLE_THREAD_P): New parameter for result regno.
10904 (PSEUDO): Update to match; use cbz instead of beq.
10905
a8b4f04a
RH
10906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10907 Use ENTRY to define the _nocancel entry point. Share the syscall
10908 and syscall error check paths with the cancel path.
10909 (PSEUDO_END): New.
10910
af4e8ef9
RH
10911 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10912 whitespace; tabs before and after asm mnemonics.
10913
26b0d2e1
EW
109142014-05-29 Eric Wong <normalperson@yhbt.net>
10915
10916 [BZ #15132]
10917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10918 Call fstat64 or stat64 internally, depending on arguments passed.
10919 Replace stat buffer argument with file descriptor argument.
10920 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10921 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10922 Pass fd to __internal_statvfs instead of calling fstat64.
10923 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10924 Pass fd to __internal_statvfs64 instead of calling fstat64.
10925 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10926 Pass -1 to __internal_statvfs instead of calling stat64.
10927 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10928 Pass -1 to __internal_statvfs64 instead of calling stat64.
10929
1efe2bd9
RM
109302014-05-28 Roland McGrath <roland@hack.frob.com>
10931
0d3b7a19
RM
10932 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10933 that was previously under [RESET_PID].
10934 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10935
1efe2bd9
RM
10936 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10937 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10938
a6bea3ca
RM
109392014-05-27 Roland McGrath <roland@hack.frob.com>
10940
30b6629e
RM
10941 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10942
a6bea3ca
RM
10943 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10944 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10945
3dfb9a5c
OB
109462014-05-27 Ondřej Bílka <neleai@seznam.cz>
10947
10948 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10949
774f9285
AS
109502014-05-27 Andreas Schwab <schwab@suse.de>
10951
10952 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10953 TLS_INIT_TP macro.
10954 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10955 * elf/rtld.c (init_tls, dl_main): Likewise.
10956 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10957 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10958 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10959 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10960 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10961 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10962 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10963 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10964 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10965 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10966 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10967 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10968 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10969 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10970 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10971 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10972 * sysdeps/generic/tls.h: Update description.
10973
36ffe739
WN
109742014-05-27 Will Newton <will.newton@linaro.org>
10975
10976 [BZ #16990]
10977 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10978 and restore r2 rather than just restoring.
10979
2482ae43
SP
109802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10981
10982 [BZ #16724]
10983 * libio/tst-ftell-append.c: New test case.
10984 * libio/Makefile (tests): Add test case.
10985 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10986 append mode.
10987 * libio/wfileops.c (do_ftell_wide): Likewise.
10988
3d1024e8
AZ
109892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10990
bab90016
AZ
10991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10992
c7a8d667
AZ
10993 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10994 ...
10995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10997 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10998 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10999 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11000 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11001 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11002 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11003 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11004 Moved ...
11005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11006 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11007 Moved ...
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11009 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11010 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11011 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11012 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11013 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11014 ...
11015 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11016 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11019 here.
11020 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11021 ...
11022 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11023 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11024 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11025
daee7851
AZ
11026 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11027 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11028 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11029 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11030
50a40819
AZ
11031 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11032 merge into ...
11033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11034 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11035 ...
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11037 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11038 ...
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11041 Moved ...
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11043 here.
11044 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11045 Moved ...
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11048 Moved ...
11049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11050
8464c2a1
AZ
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11052 conditional [RESET_PID].
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11054 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11055 removed.
11056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11057 removed.
11058
3d1024e8
AZ
11059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11060 <tcb-offsets.h>.
11061 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11062 (__libc_vfork): New strong alias.
11063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11064 removed.
11065 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11066 Removed.
11067
11068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11069 <tcb-offsets.h>.
11070 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11071 (__libc_vfork): New strong alias.
11072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11073 removed.
11074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11075 removed.
11076
fdfd175d
CD
110772014-05-26 Carlos O'Donell <carlos@redhat.com>
11078
11079 * malloc/malloc.c (mi_arena): New function.
11080 (malloc_info): Remove nested function mi_arena. Call non-nosted
11081 function mi_arena.
11082
d298c416
AZ
110832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11084
11085 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11086 by insrwi.
11087 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11088 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11089 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11090 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11091 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11092 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11093 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11094
b60ea6ff
AS
110952014-05-26 Andreas Schwab <schwab@suse.de>
11096
11097 [BZ #16984]
11098 * locale/programs/repertoire.c (repertoire_read): Add slash
11099 between I18NPATH element and file name.
11100 * locale/programs/locfile.c (locfile_read): Likewise.
11101
67365926
SL
111022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11103
11104 * nptl/pthread_mutexattr_settype.c
11105 (__pthread_mutexattr_settype):
11106 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11107
f8bdf1f0
SL
111082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11109
11110 * nptl/tst-mutex5 (do_test):
11111 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11112
15eaf6ff
SP
111132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11114
11115 * benchtests/README: Document 'init' directive.
11116 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11117 BENCH_INIT.
11118 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11119 (parse_file): Recognize 'init' directive.
11120
75f11331
KM
111212014-05-26 Kyle McMartin <kyle@redhat.com>
11122
11123 [BZ #16796]
11124 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11125 alignment of struct pthread.
11126
c3ec475c
SP
111272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11128
11129 [BZ #16878]
11130 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11131 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11132 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11133 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11134
82aab97c
RH
111352014-05-25 Richard Henderson <rth@twiddle.net>
11136
aa2f176d
RH
11137 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11138 (SINGLE_THREAD_P_PIC): Remove.
11139 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11140 (SINGLE_THREAD_P_PIC): Remove.
11141
ca3cfa40
RH
11142 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11143 branch to syscall error ...
11144 (PSEUDO): ... here.
11145 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11146 from __local_syscall_error to .Lsyscall_error.
11147 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11148 (SYSCALL_ERROR): Update label name.
11149
6e6c2d01
RH
11150 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11151 Do not use DOARGS/UNDOARGS.
11152 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11153 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11154 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11155 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11156 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11157
c69abcee
RH
11158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11159 block comment.
11160
82aab97c
RH
11161 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11162 define if !NOT_IN_libc.
11163 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11164 define with non-default symbol versions.
11165
8820e3ac
RH
111662014-05-23 Richard Henderson <rth@twiddle.net>
11167
900e445f
RH
11168 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11169 (vfork, __vfork): Define via compat_symbol.
11170
8820e3ac
RH
11171 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11172 [!HAVE_IFUNC] (vfork_compat): Remove.
11173 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11174
e59252a5
JM
111752014-05-23 Joseph Myers <joseph@codesourcery.com>
11176
11177 [BZ #16978]
11178 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11179 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11180 variable.
11181
132c7f5f
RH
111822014-05-23 Richard Henderson <rth@twiddle.net>
11183
bc89e962
RH
11184 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11185 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11186 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11187 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11188
11189 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11190 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11191 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11192 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11193 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11194 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11195 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11196 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11197 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11198 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11199 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11200 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11201 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11202 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11203 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11204 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11205 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11206 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11207 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11208 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11209 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11210 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11211 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11212 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11213 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11215 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11216 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11217 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11218 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11219 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11220 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11221 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11222 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11223 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11224 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11225 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11226 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11227 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11228 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11229 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11230 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11231 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11232 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11233 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11234 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11235 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11236 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11237 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11238 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11239 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11240 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11241 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11242 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11243 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11244 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11245
e2fa4bc2
RH
11246 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11247 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11248 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11249 before exiting on error.
11250 (__libc_vfork): New strong alias.
11251 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11252 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11253
279b24e2
RH
11254 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11255 that was previously under [RESET_PID].
11256 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11257
132c7f5f
RH
11258 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11259
b72592e7
JM
112602014-05-23 Joseph Myers <joseph@codesourcery.com>
11261
11262 [BZ #16977]
11263 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11264 value when x - 1 is zero.
11265 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11266 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11267 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11268 0.0L for an argument of 1.0L.
11269 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11270 Likewise.
11271 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11272 value when x - 1 is zero.
11273 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11274 * sysdeps/i386/fpu/libm-test-ulps: Update.
11275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11276
2302d679
RV
112772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11278
11279 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11280 alphasort and versionsort.
11281
32999d63
AZ
112822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11283
11284 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11285 macro.
11286 [copysignf]: Likewise.
11287
019324d0
SP
112882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11289
11290 * crypt/md5-crypt.c: Fix formatting.
11291
34fff5c2
KS
112922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11293
11294 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11295 (b64_from_24bit): New function.
11296
3d2badac
AZ
112972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11298
11299 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11300 libc_hidden_builtin_def to ifunc.
11301 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11302 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11303
f7bb179f 113042014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11305
11306 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11307 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11308
4134b50d
JM
113092014-05-21 Joseph Myers <joseph@codesourcery.com>
11310
bb7d0337
JM
11311 * nscd/Depend (linuxthreads): Remove.
11312 (nptl): Add.
11313 * resolv/Depend (linuxthreads): Remove.
11314 * rt/Depend (linuxthreads): Remove.
11315
4134b50d
JM
11316 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11317 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11318 $(common-objpfx)elf/.
11319 (link-libc-before-gnulib): Likewise.
11320 (elfobjdir): Remove variable.
11321 * Makefile (install): Use $(elf-objpfx) instead of
11322 $(common-objpfx)elf/.
11323 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11324 $(elfobjdir)/.
11325 (link-libc-deps): Likewise.
11326 ($(common-objpfx)libc.so): Likewise.
11327 ($(common-objpfx)linkobj/libc.so): Likewise.
11328 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11329 instead of $(common-objpfx)elf/.
11330 (symbolic-link-list): Likewise.
11331 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11332 [$(cross-compiling) = no]: Likewise.
11333 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11334 $(elfobjdir)/.
11335 (static-gnulib-arch): Likewise.
11336 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11337 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11338 $(common-objpfx)elf/.
11339
3612eb8f
RH
113402014-05-21 Richard Henderson <rth@redhat.com>
11341
a6b3657b
RH
11342 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11343 (SINGLE_THREAD_P): Use the correct width load. Fold
11344 into the ldr offset.
11345
3612eb8f
RH
11346 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11347 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11348
175cef41
JM
113492014-05-20 Joseph Myers <joseph@codesourcery.com>
11350
11351 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11352 (libgcc_s_resume): Use __attribute_used__.
11353 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11354 Likewise.
11355
e13bccd3
AZ
113562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11357
11358 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11359 optimization when used with float constants.
11360
7c112a38
AZ
11361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11362
ae75a883
AJ
113632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11364
11365 [BZ #16915]
11366 * locale/nl_langinfo_l.c: Make direct reference to every
11367 _nl_current_CATEGORY symbol.
11368 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11369 (tests-static): Add tst-langinfo-static.
11370 (tests-special): Add tst-langinfo-static.out.
11371 ($(objpfx)tst-langinfo.out): Redirect output.
11372 ($(objpfx)tst-langinfo-static.out): New.
11373 * localedata/tst-langinfo.sh: Send output to stdout.
11374 * localedata/tst-langinfo-static.c: New file.
11375
4406c41c
AJ
11376 [BZ #16965]
11377 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11378 when the shift amount is modulo the limb size.
11379
4c0a1e63
RH
113802014-05-20 Richard Henderson <rth@redhat.com>
11381
de9d8f20
RH
11382 [BZ #16967]
11383 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11384 Change type of sa_flags from unsigned int to int.
11385
4c0a1e63
RH
11386 [BZ #16966]
11387 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11388
11389 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11390
a60339aa
WN
113912014-05-20 Will Newton <will.newton@linaro.org>
11392
11393 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11394 Test the return value of the system call in the nocancel case.
11395
7d05a816
YR
113962014-05-20 Will Newton <will.newton@linaro.org>
11397 Yvan Roux <yvan.roux@linaro.org>
11398
11399 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11400 #include of asm/ptrace.h.
11401 (PTRACE_GET_THREAD_AREA): Remove #undef.
11402 (PTRACE_GETHBPREGS): Likewise.
11403 (PTRACE_SETHBPREGS): Likewise.
11404 (struct user_regs_struct): New structure.
11405 (struct user_fpsimd_struct): New structure.
11406 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11407 #include of asm/ptrace.h and second #include of sys/user.h.
11408 (PTRACE_GET_THREAD_AREA): Remove #undef.
11409 (PTRACE_GETHBPREGS): Likewise.
11410 (PTRACE_SETHBPREGS): Likewise.
11411 (ELF_NGREG): Use new struct user_regs_struct.
11412 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11413
af121e37
AZ
114142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11415
11416 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11417 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11418
834caf06
JM
114192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11420
11421 [BZ #16958]
11422 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11423 membar to avoid block loads/stores to overlap previous stores.
11424
e184a918
RH
114252014-05-17 Richard Henderson <rth@redhat.com>
11426
11427 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11428 Create the __##syscall_name##_nocancel entry point.
11429 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11430 Remove; let the sysdep-cancel.h code create it.
11431
f56c7a6a
DM
114322014-05-17 David S. Miller <davem@davemloft.net>
11433
11434 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11435 Protect with __USE_GNU.
11436 (TIOCSET_TEMPT): Likewise.
11437 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11438 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11439 these are already provided in bits/ioctl-types.h
11440
f75616b2
RM
114412014-05-16 Roland McGrath <roland@hack.frob.com>
11442
3edeca86
RM
11443 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11444 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11445
f75616b2
RM
11446 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11447 Use wait4 regardless of [__NR_waitpid].
11448
deb0f7f6
MR
114492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11450
11451 PR libgcc/60166
11452 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11453 (_FP_NANSIGN_Q): Set the quiet bit.
11454
79520f4b
JM
114552014-05-16 Joseph Myers <joseph@codesourcery.com>
11456
11457 * benchtests/Makefile
11458 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11459 not $(common-objpfx)math/libm.so.
11460 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11461 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11462 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11463 $(common-objpfx)dlfcn/libdl.so.
11464 ($(objpfx)tst-audit8): Depend on $(libm), not
11465 $(common-objpfx)math/libm.so.
11466 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11467 not $(common-objpfx)dlfcn/libdl.so.
11468 * math/Makefile
11469 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11470 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11471 [$(build-shared) = yes].
11472 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11473 $(common-objpfx)nptl/libpthread.so.
11474 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11475 $(common-objpfx)math/libm.so$(libm.so-version) or
11476 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11477 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11478 $(common-objpfx)dlfcn/libdl.so.
11479 * setjmp/Makefile (link-libm): Remove variable.
11480 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11481 * stdio-common/Makefile (link-libm): Remove variable.
11482 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11483 * stdlib/Makefile (link-libm): Remove variable.
11484 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11485 ($(objpfx)tst-strtod-round): Likewise.
11486 ($(objpfx)tst-tininess): Likewise.
11487 ($(objpfx)tst-strtod-underflow): Likewise.
11488 ($(objpfx)tst-strtod6): Likewise.
11489 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11490 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11491 $(common-objpfx)dlfcn/libdl.so.
11492
026b0fe4
AZ
114932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11494
11495 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11496 BSD terminal modes definitions.
11497
def4bcb2
RM
114982014-05-16 Roland McGrath <roland@hack.frob.com>
11499
fe39b021
RM
11500 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11501 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11502
1d1fc46e 11503 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11504 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11505 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11506 Don't do #include_next.
11507 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11508 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11509 Don't do #include_next.
11510 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11511 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11512 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11513 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11514
c72399fb
AM
115152014-05-16 Allan McRae <allan@archlinux.org>
11516
d51d659d
AM
11517 * po/sv.po: Update Swedish translation from translation project.
11518
c72399fb
AM
11519 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11520 in sed expression.
11521
d0583c40
AJ
115222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11523
11524 [BZ #16917]
11525 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11526 errno if the TIOCGPTN ioctl fails with an error different than
11527 EINVAL.
11528 * login/tst-ptsname.c: New file.
11529 * login/Makefile (tests): Add tst-ptsname.
11530
d16e6ec7
AJ
11531 [BZ #16943]
11532 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11533 and prlimit64.
11534
cf26a0cb
SP
115352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11536
11537 [BZ #16849]
11538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11539 herrno to return EAI_AGAIN.
11540
5675da1e
RM
115412014-05-14 Roland McGrath <roland@hack.frob.com>
11542
a5d87b3d
RM
11543 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11544 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11545 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11546 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11547 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11548 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11550 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11551 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11552 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11553 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11554 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11555 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11556 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11558 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11559 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11560 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11561 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11563 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11564 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11565 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11566 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11568 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11570 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11571 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11572 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11574 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11576 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11578 Moved ...
11579 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11581 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11583 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11585 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11587 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11589 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11591 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11593 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11594 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11595 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11597 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11599 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11601 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11602 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11603 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11604 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11605 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11606 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11607 Moved ...
11608 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11610 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11616 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11618 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11620 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11628 Moved ...
11629 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11631 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11632
039890a6
RM
11633 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11634 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11635 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11636 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11637 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11638 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11639 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11640 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11641 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11642 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11643 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11644 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11645 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11646 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11647 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11648 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11649 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11650 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11651 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11652 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11653 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11654 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11655 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11656 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11657 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11658 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11659 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11660 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11661 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11662 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11663 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11664
65c89320
RM
11665 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11666 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11667
348f8e8c
RM
11668 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11669 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11670 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11671 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11672 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11673 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11674 Moved ...
11675 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11676 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11677 Moved ...
11678 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11679 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11680 Moved ...
11681 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11682 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11683 Moved ...
11684 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11685 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11686 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11687 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11688 Moved ...
11689 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11690 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11691 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11693 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11694 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11695 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11696 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11697 Moved ...
11698 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11699 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11700 Moved ...
11701 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11702 ... here.
11703 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11704 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11705 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11706 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11707 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11708 Moved ...
11709 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11710 ... here.
11711 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11712 Moved ...
11713 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11714 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11715 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11717 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11719 Moved ...
11720 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11721 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11722 Moved ...
11723 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11724 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11725 Moved ...
11726 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11727 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11728 Moved ...
11729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11730 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11731 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11733 Moved ...
11734 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11735 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11736 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11738 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11739 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11740 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11742 Moved ...
11743 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11744 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11745 Moved ...
11746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11747 ... here.
11748 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11749 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11750 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11751 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11752 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11753 Moved ...
11754 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11755 ... here.
11756 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11757 Moved ...
11758 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11759 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11760 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11762 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11764 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11765 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11766 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11767 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11768 Moved ...
11769 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11770 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11771 Moved ...
11772 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11773 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11774 Moved ...
11775 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11776 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11777 Moved ...
11778 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11779 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11780 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11781 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11782 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11784 Moved ...
11785 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11786 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11787 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11789 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11790 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11791 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11793 Moved ...
11794 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11796 Moved ...
11797 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11798 ... here.
11799 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11800 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11802 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11804 Moved ...
11805 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11806 ... here.
11807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11808 Moved ...
11809 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11810 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11811 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11812 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11813 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11815 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11816 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11817 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11819 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11820
5085af05
RM
11821 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11822 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11823
708f0813
RM
11824 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11825 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11826
c96067bc
RM
11827 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11828 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11829 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11830 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11831 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11833 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11834 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11835 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11836 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11837 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11838 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11839 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11840 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11841 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11843 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11844 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11845 Moved ...
11846 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11847 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11848 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11849 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11850 Moved ...
11851 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11852 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11853 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11854 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11855 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11857 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11859 Moved ...
11860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11861 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11862 Moved ...
11863 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11864 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11865 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11867 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11869 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11871 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11873 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11875 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11877 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11879 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11880
ec136444
RM
11881 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11882 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11883 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11884 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11885 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11886
2fbdf533
RM
11887 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11888 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11889 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11890 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11891 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11892 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11893 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11894 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11895 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11896 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11897
4c68138b
RM
11898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11899 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11900
4eaae765
RM
11901 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11902 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11903 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11904 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11906 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11907 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11908 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11909 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11910 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11911 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11912 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11913 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11914 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11915 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11916 Update #include.
11917 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11918 Likewise.
11919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11920 Likewise.
11921 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11922 Likewise.
11923 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11924 Likewise.
11925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11926 Likewise.
11927 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11928 Likewise.
11929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11930 Likewise.
11931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11932 Likewise.
11933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11934 Likewise.
4ef6befa
RM
11935 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11936 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11937 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11938 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11939 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11940 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11941 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11942 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11943 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11944 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11945 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11946 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11947 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11948 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11949 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 11950
941d7dfd
RM
11951 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11952 that was previously under [RESET_PID].
11953 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11954 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11955 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11956
1b731c35
RM
11957 * sysdeps/i386/nptl/Implies: New file.
11958 * sysdeps/x86_64/nptl/Implies: New file.
11959 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11960 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11961 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11962 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11963
e2787137
RM
11964 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11965 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11966 (__libc_vfork): New strong alias.
11967 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11968 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11969
11970 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11971 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11972 (__libc_vfork): New strong alias.
11973 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11974 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11975
5675da1e
RM
11976 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11978 (__libc_vfork): New strong alias.
11979 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11980 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11981 * nptl/pt-vfork.c: New file.
11982 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11983 (libpthread: GLIBC_2.20): New version set (empty).
11984
4f02e2b8
WN
119852014-05-14 Will Newton <will.newton@linaro.org>
11986
11987 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11988 rather than #if.
11989
0bf061d3
JM
119902014-05-14 Joseph Myers <joseph@codesourcery.com>
11991
1a84c3d6
JM
11992 [BZ #16564]
11993 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11994 arguments with exponent 65 or above.
11995 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11996 arguments 0x1p113L or above.
11997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11998 to arguments 0x1p107L or above.
11999 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12000 positive arguments with exponent 65 or above.
12001 * math/auto-libm-test-in: Add more tests of log1p.
12002 * math/auto-libm-test-out: Regenerated.
12003
01dbacd2
JM
12004 [BZ #16928]
12005 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12006 non-finite arguments is +0.
12007 * math/s_cacosf.c (__cacosf): Likewise.
12008 * math/s_cacosl.c (__cacosl): Likewise.
12009 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12010 * sysdeps/i386/fpu/libm-test-ulps: Update.
12011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12012
913d03c8
JM
12013 [BZ #16927]
12014 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12015 value.
12016 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12017 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12018 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12019 for explicit high bit of mantissa when testing for argument equal
12020 to 1.
12021 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12022 * sysdeps/i386/fpu/libm-test-ulps: Update.
12023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12024
0bf061d3
JM
12025 [BZ #16516]
12026 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12027 (__erf): Scale by 16 instead of 8 in potentially underflowing
12028 case. Ensure exception if result actually underflows.
12029 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12030 (__erff): Scale by 16 instead of 8 in potentially underflowing
12031 case. Ensure exception if result actually underflows.
12032 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12033 (efx8): Remove variable.
12034 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12035 case. Ensure exception if result actually underflows.
12036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12037 (efx8): Remove variable.
12038 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12039 case. Ensure exception if result actually underflows.
12040 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12041 (efx8): Remove variable.
12042 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12043 case. Ensure exception if result actually underflows.
12044 * math/auto-libm-test-in: Add more tests of erf.
12045 * math/auto-libm-test-out: Regenerated.
12046
73ba67cb
AS
120472014-05-14 Andreas Schwab <schwab@suse.de>
12048
3d8c8bff
AS
12049 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12050 Remove code conditionalized on USE___THREAD.
12051
73ba67cb
AS
12052 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12053 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12054 not definedness.
12055
5c521ecd
JM
120562014-05-14 Joseph Myers <joseph@codesourcery.com>
12057
5e7698c6
JM
12058 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12059 Define unconditionally.
12060 (__ASSUME_O_CLOEXEC): Likewise.
12061 (__ASSUME_SOCK_CLOEXEC): Likewise.
12062 (__ASSUME_IN_NONBLOCK): Likewise.
12063 (__ASSUME_PIPE2): Likewise.
12064 (__ASSUME_EVENTFD2): Likewise.
12065 (__ASSUME_SIGNALFD4): Likewise.
12066 (__ASSUME_DUP3): Likewise.
12067 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12068 (__ASSUME_DUP3): Do not define.
12069 (__ASSUME_EVENTFD2): Likewise.
12070 (__ASSUME_IN_NONBLOCK): Likewise.
12071 (__ASSUME_O_CLOEXEC): Likewise.
12072 (__ASSUME_PIPE2): Likewise.
12073 (__ASSUME_SIGNALFD4): Likewise.
12074 (__ASSUME_SOCK_CLOEXEC): Likewise.
12075 (__ASSUME_UTIMES): Undefine.
12076 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12077 (__ASSUME_UTIMES): Do not define.
12078 (__ASSUME_O_CLOEXEC): Likewise.
12079 (__ASSUME_SOCK_CLOEXEC): Likewise.
12080 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12081 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12082 0x020621].
12083 (__ASSUME_PIPE2): Likewise.
12084 (__ASSUME_EVENTFD2): Likewise.
12085 (__ASSUME_SIGNALFD4): Likewise.
12086 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12087 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12088 Do not define.
12089 (__ASSUME_EVENTFD2): Likewise.
12090 (__ASSUME_SIGNALFD4): Likewise.
12091 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12092 (__ASSUME_32BITUIDS): Likewise.
12093 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12094 (__ASSUME_IPC64): Likewise.
12095 (__ASSUME_ST_INO_64_BIT): Likewise.
12096 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12097 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12098 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12099 (__ASSUME_UTIMES): Do not define.
12100 (__ASSUME_PSELECT): Likewise.
12101 (__ASSUME_PPOLL): Likewise.
12102 (__ASSUME_O_CLOEXEC): Likewise.
12103 (__ASSUME_SOCK_CLOEXEC): Likewise.
12104 (__ASSUME_IN_NONBLOCK): Likewise.
12105 (__ASSUME_PIPE2): Likewise.
12106 (__ASSUME_EVENTFD2): Likewise.
12107 (__ASSUME_SIGNALFD4): Likewise.
12108 (__ASSUME_DUP3): Likewise.
12109 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12110 (__ASSUME_UTIMES): Likewise.
12111 (__ASSUME_O_CLOEXEC): Likewise.
12112 (__ASSUME_SOCK_CLOEXEC): Likewise.
12113 (__ASSUME_IN_NONBLOCK): Likewise.
12114 (__ASSUME_PIPE2): Likewise.
12115 (__ASSUME_EVENTFD2): Likewise.
12116 (__ASSUME_SIGNALFD4): Likewise.
12117 (__ASSUME_DUP3): Likewise.
12118 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12119 (__ASSUME_UTIMES): Likewise.
12120 (__ASSUME_O_CLOEXEC): Likewise.
12121 (__ASSUME_SOCK_CLOEXEC): Likewise.
12122 (__ASSUME_IN_NONBLOCK): Likewise.
12123 (__ASSUME_PIPE2): Likewise.
12124 (__ASSUME_EVENTFD2): Likewise.
12125 (__ASSUME_SIGNALFD4): Likewise.
12126 (__ASSUME_DUP3): Likewise.
12127 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12128 Likewise.
12129 (__ASSUME_UTIMES): Likewise.
12130 (__ASSUME_EVENTFD2): Likewise.
12131 (__ASSUME_SIGNALFD4): Likewise.
12132 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12133 (__ASSUME_O_CLOEXEC): Likewise.
12134 (__ASSUME_SOCK_CLOEXEC): Likewise.
12135 (__ASSUME_IN_NONBLOCK): Likewise.
12136 (__ASSUME_PIPE2): Likewise.
12137 (__ASSUME_EVENTFD2): Likewise.
12138 (__ASSUME_SIGNALFD4): Likewise.
12139 (__ASSUME_DUP3): Likewise.
12140 (__ASSUME_UTIMES): Undefine.
12141
5c521ecd
JM
12142 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12143 feclearexcept. Remove symbol versioning code.
12144 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12145 symbol versioning code.
12146 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12147 symbol versioning code.
12148 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12149 feupdateenv. Remove symbol versioning code.
12150 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12151 fegetexceptflag. Remove symbol versioning code.
12152 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12153 fesetexceptflag. Remove symbol versioning code.
12154 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12155 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12156 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12157 (__posix_fadvise64_l32): Remove prototype.
12158 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12159 code.
12160
5da9dfad
RM
121612014-05-13 Roland McGrath <roland@hack.frob.com>
12162
12163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12164 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12165 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12166 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12167
893b4f37
SK
121682014-05-13 Sami Kerola <kerolasa@iki.fi>
12169
12170 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12171 current working directory
12172
e0db6517
RM
121732014-05-13 Roland McGrath <roland@hack.frob.com>
12174
58aa195d
RM
12175 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12176 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12177 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12178 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12179 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12180 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12181 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12182 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12184 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12186 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12187 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12194 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12208 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12209 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12210 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12211 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12212 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12213 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12214 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12215 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12216 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12217
8c6d01f0
RM
12218 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12219 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12220
12221 * sysdeps/unix/sysv/linux/arm/Makefile
12222 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12223 Add rt-aeabi_unwind_cpp_pr1.
12224 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12225 Add nptl-aeabi_unwind_cpp_pr1.
12226 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12227 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12228 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12229 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12230 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12231 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12232
12233 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12234 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12235 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12236 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12237
bba6da4e
RM
12238 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12239 Deconditionalize the code that was previously under [RESET_PID].
12240 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12241
e0db6517
RM
12242 * sysdeps/generic/exit-thread.h: New file.
12243 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12244 * include/unistd.h (__exit_thread): Remove declaration.
12245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12246 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12247 * csu/libc-start.c: Include <exit-thread.h>.
12248 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12249 * nptl/pthread_create.c: Include <exit-thread.h>.
12250 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12251 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12252 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12253 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12254 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12255 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12256 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12257 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12258 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12259 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12260 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12261 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12262 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12263 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12264 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12265 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12266 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12267
01eb16fd
AS
122682014-05-13 Andreas Schwab <schwab@suse.de>
12269
12270 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12271
637461d9
JM
122722014-05-12 Joseph Myers <joseph@codesourcery.com>
12273
12274 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12275 (__ASSUME_UTIMES): Do not condition on kernel version.
12276 (__ASSUME_PSELECT): Define unconditionally.
12277 (__ASSUME_PPOLL): Likewise.
12278 (__ASSUME_ATFCTS): Likewise.
12279 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12280 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12281 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12282 (__ASSUME_UTIMENSAT): Define unconditionally.
12283 (__ASSUME_PRIVATE_FUTEX): Likewise.
12284 (__ASSUME_FALLOCATE): Likewise.
12285 (__ASSUME_O_CLOEXEC): Likewise.
12286 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12287 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12288 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12289 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12290 (__ASSUME_IN_NONBLOCK): Likewise.
12291 (__ASSUME_PIPE2): Likewise.
12292 (__ASSUME_EVENTFD2): Likewise.
12293 (__ASSUME_SIGNALFD4): Likewise.
12294 (__ASSUME_DUP3): Likewise.
12295 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12296 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12297 (__ASSUME_AT_RANDOM): Likewise.
12298 (__ASSUME_PREADV): Likewise.
12299 (__ASSUME_PWRITEV): Likewise.
12300 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12301 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12302 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12303 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12304 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12305 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12306 (__ASSUME_O_CLOEXEC): Define unconditionally.
12307 (__ASSUME_PSELECT): Do not undefine conditionally.
12308 (__ASSUME_PPOLL): Likewise.
12309 (__ASSUME_ATFCTS): Likewise.
12310 (__ASSUME_SET_ROBUST_LIST): Likewise.
12311 (__ASSUME_UTIMENSAT): Likewise.
12312 (__ASSUME_FDATASYNC): Define unconditionally.
12313 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12314 (__ASSUME_SIGFRAME_V2): Likewise.
12315 )__ASSUME_EVENTFD2): Likewise.
12316 (__ASSUME_SIGNALFD4): Likewise.
12317 (__ASSUME_PSELECT): Do not undefine conditionally.
12318 (__ASSUME_PPOLL): Likewise.
12319 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12320 (__ASSUME_PSELECT): Define unconditionally.
12321 (__ASSUME_PPOLL): Likewise.
12322 (__ASSUME_O_CLOEXEC): Likewise.
12323 (__ASSUME_SOCK_CLOEXEC): Likewise.
12324 (__ASSUME_IN_NONBLOCK): Likewise.
12325 (__ASSUME_PIPE2): Likewise.
12326 (__ASSUME_EVENTFD2): Likewise.
12327 (__ASSUME_SIGNALFD4): Likewise.
12328 (__ASSUME_DUP3): Likewise.
12329 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12330 (__ASSUME_O_CLOEXEC): Likewise.
12331 (__ASSUME_SOCK_CLOEXEC): Likewise.
12332 (__ASSUME_IN_NONBLOCK): Likewise.
12333 (__ASSUME_PIPE2): Likewise.
12334 (__ASSUME_EVENTFD2): Likewise.
12335 (__ASSUME_SIGNALFD4): Likewise.
12336 (__ASSUME_DUP3): Likewise.
12337 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12338 (__ASSUME_EVENTFD2): Likewise.
12339 (__ASSUME_SIGNALFD4): Likewise.
12340 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12341
315eb1d8
AS
123422014-05-12 Andreas Schwab <schwab@suse.de>
12343
12344 [BZ #16932]
12345 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12346 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12347 than maximum RPC packet size.
12348 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12349 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12350 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12351 (_nss_nis_getservbyport_r): Likewise.
12352
91df99f7
WN
123532014-05-12 Will Newton <will.newton@linaro.org>
12354
12355 * malloc/Makefile (tests): Add tst-mallopt.
12356 * malloc/tst-mallopt.c: New file.
12357
0a982a29
RM
123582014-05-09 Roland McGrath <roland@hack.frob.com>
12359
12360 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12361 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12362
0ded08a5
AZ
123632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12364
12365 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12366 (tst-tlsmod6.so): Likewise.
12367
55d4d550
RM
123682014-05-09 Roland McGrath <roland@hack.frob.com>
12369
12370 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12371
77d08aca
JM
123722014-05-09 Joseph Myers <joseph@codesourcery.com>
12373
12374 [BZ #16064]
12375 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12376 and <dl-procinfo.h>.
12377 (__fegetenv): Save SSE state in envp->__eip if supported.
12378 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12379 envp->__eip if supported.
12380 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12381 and <dl-procinfo.h>.
12382 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12383 __data_offset and __data_selector in environment to 0. Set SSE
12384 state if supported.
12385 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12386 test-fenv-sse.
12387 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12388 -mfpmath=sse.
12389 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12390
28162f4d
WN
123912014-05-09 Will Newton <will.newton@linaro.org>
12392
12393 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12394 and libc_relro_required for ARM.
12395 * sysdeps/arm/preconfigure: Regenerate.
12396
5a414ff7
DV
123972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12398 Stefan Liebler <stli@linux.vnet.ibm.com>
12399
12400 * config.make.in (enable-lock-elision): New Makefile variable.
12401 * configure.ac: Likewise.
12402 * configure: Regenerate.
12403 * sysdeps/s390/configure.ac:
12404 Add check for gcc transactions support.
12405 * sysdeps/s390/configure: Regenerate.
12406 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12407 Build elision files if enabled.
12408 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12409 Add lock elision support for s390.
12410 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12411 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12412 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12413 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12414 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12415 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12416 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12417 Likewise.
12418 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12419 Likewise.
12420 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12421 Likewise.
12422 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12423 Likewise.
12424 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12425 (__lll_timedlock_elision, __lll_lock_elision)
12426 (__lll_unlock_elision, __lll_trylock_elision)
12427 (lll_timedlock_elision, lll_lock_elision)
12428 (lll_unlock_elision, lll_trylock_elision): Add.
12429 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12430 (pthread_mutex_t): Add lock elision support for s390.
12431
1a2f40e5
W
124322014-05-14 Wilco <wdijkstr@arm.com>
12433
12434 * sysdeps/arm/fclrexcpt.c: Cleanup.
12435 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12436 * sysdeps/arm/feenablxcpt.c: Cleanup.
12437 * sysdeps/arm/fegetenv.c: Cleanup.
12438 * sysdeps/arm/fegetexcept.c: Cleanup.
12439 * sysdeps/arm/fegetround.c: Cleanup.
12440 * sysdeps/arm/feholdexcpt.c: Cleanup.
12441 * sysdeps/arm/fesetenv.c: Cleanup.
12442 * sysdeps/arm/fesetround.c: Cleanup.
12443 * sysdeps/arm/feupdateenv.c: Cleanup.
12444 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12445 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12446 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12447 * sysdeps/arm/ftestexcept.c: Cleanup.
12448 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12449 * sysdeps/arm/setfpucw.c: Cleanup.
12450
f63c86fe
WN
124512014-05-09 Will Newton <will.newton@linaro.org>
12452
12453 * sysdeps/arm/armv7/strcmp.S: New file.
12454 * NEWS: Mention addition of ARMv7 optimized strcmp.
12455
7a1a51b5
RM
124562014-05-08 Roland McGrath <roland@hack.frob.com>
12457
95afbbe5
RM
12458 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12459 look for %.ac rather than %.in.
12460
12461 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12462 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12463 * sysdeps/mach/hurd/configure: Regenerated.
12464 * sysdeps/unix/sysv/linux/configure: Regenerated.
12465
7a1a51b5
RM
12466 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12467
5057ad3b
SE
124682014-05-07 Steve Ellcey <sellcey@mips.com>
12469
12470 [BZ# 16922]
12471 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12472 (LONG_SUB): Ditto.
12473 (PTR_SUB): Ditto.
12474
8dc97517
AS
124752014-05-07 Andreas Schwab <schwab@suse.de>
12476
12477 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12478 when skipping over non-matching result from nscd.
12479
ce0c5b8f
OB
124802014-05-07 Ondřej Bílka <neleai@seznam.cz>
12481
12482 [BZ #16876]
12483 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12484
a1189263
OB
12485 [BZ #16877]
12486 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12487 nscd security class.
ce0c5b8f 12488
0f58d252
RM
124892014-05-06 Roland McGrath <roland@hack.frob.com>
12490
12491 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12492 * sysdeps/arm/unwind.h: ... here.
12493
83df9ad0
AJ
124942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12495
ce0c5b8f
OB
12496 [BZ# 16916]
12497 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12498 Define.
83df9ad0 12499
f360f94a
VR
125002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12501
12502 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12503 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12504 multiarch strncpy for PPC64.
12505 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12506 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12508 multiarch optimizations.
12509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12510 (__libc_ifunc_impl_list): Likewise.
12511 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12512 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12513 multiarch stpncpy for PPC64.
12514 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12515 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12516
978a41c3
AS
125172014-05-06 Andreas Schwab <schwab@suse.de>
12518
12519 [BZ #16912]
12520 * gmon/mcount.c (_MCOUNT_DECL): Use
12521 atomic_compare_and_exchange_bool_acq instead of
12522 catomic_compare_and_exchange_bool_acq.
12523
eb1ed03d
RM
125242014-05-05 Roland McGrath <roland@hack.frob.com>
12525
fe658845
RM
12526 * elf/Makefile (others, install-bin): Remove pldd.
12527 (pldd-modules): Variable removed.
12528 ($(objpfx)pldd): Target removed.
12529 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12530 (others, install-bin): Append pldd here.
12531 ($(objpfx)pldd): New target.
12532
eb1ed03d
RM
12533 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12534 to 0, so the first #if test emitted later doesn't see it undefined.
12535 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12536 * sysdeps/gnu/errlist.c: Regenerated.
12537
19c4bec0
AZ
125382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12539
12540 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12541 [libc_hidden_builtin_def]: Define to empty value.
12542 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12543 [libc_hidden_builtin_def]: Likewise.
12544 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12545 [libc_hidden_builtin_def]: Likewise.
12546 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12547 [libc_hidden_builtin_def]: Likewise.
12548 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12549 __redirect_memcpy and define ifunc as default hidden symbol.
12550 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12551 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12552
7776e669
AC
125532014-05-04 Adam Conrad <adconrad@0c3.net>
12554
12555 * locale/iso-4217.def: Reintroduce XDR currency.
12556
d69aeb12
AM
125572014-05-04 Allan McRae <allan@archlinux.org>
12558
12559 * po/eo.po: Update Esperanto translation from translation project.
12560
8f1df5cf
CD
125612014-05-02 Carlos O'Donell <carlos@redhat.com>
12562
12563 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12564 and FEATURE_INDEX_MAX to 1.
12565 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12566
13e402e7
SE
125672014-05-01 Steve Ellcey <sellcey@mips.com>
12568
12569 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12570 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12571 * iconvdata/big5.c (ONE_DIRECTION): Define.
12572 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12573 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12574 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12575 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12576 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12577 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12578 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12579 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12580 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12581 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12582 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12583 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12584 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12585 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12586 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12587 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12588 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12589 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12590 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12591 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12592 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12593 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12594 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12595 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12596 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12597 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12598 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12599 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12600 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12601 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12602 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12603 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12604 * iconvdata/johab.c (ONE_DIRECTION): Define.
12605 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12606 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12607 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12608 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12609 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12610 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12611 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12612 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12613 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12614 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12615
c727f032
RM
126162014-05-01 Roland McGrath <roland@hack.frob.com>
12617
8f2f08d0
RM
12618 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12619 (_IO_JUMPS_OFFSET): Define to 0.
12620
c727f032
RM
12621 * nptl/sysdeps/pthread/bits/libc-lock.h
12622 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12623 (__libc_lock_define_initialized_recursive): Always define using
12624 initializer. Modern compilers treat uninitialized (implicit zero) and
12625 explicit zero initializers the same (i.e. put the datum in bss).
12626
a849e800
AS
126272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12628
12629 * nscd/nscd-client.h: Include <string.h>.
12630
5331255b
DM
126312014-05-01 David S. Miller <davem@davemloft.net>
12632
12633 [BZ #16885]
12634 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12635 multiple zero bytes exist at the end of a string.
12636 Reported by Aurelien Jarno <aurelien@aurel32.net>
12637
12638 * string/test-strcmp.c (check): Add explicit test for situations where
12639 there are multiple zero bytes after the first.
12640
4fdfe821
AS
126412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12642
12643 [BZ #16890]
12644 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12645 when compiling wprintf.
12646 * stdio-common/tstdiomisc.c (t3): New function.
12647 (main): Call it.
12648
0cdddc25
SE
126492014-05-01 Steve Ellcey <sellcey@mips.com>
12650
12651 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12652 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12653 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12654 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12655
6426d77e
SE
126562014-05-01 Steve Ellcey <sellcey@mips.com>
12657
12658 * stdlib/longlong.h: Updated from GCC.
12659
6d96f5e4
WN
126602014-05-01 Will Newton <will.newton@linaro.org>
12661 Bernard Ogden <bernie.ogden@linaro.org>
12662
7470db0c
WN
12663 * NEWS: Update fixed bug list.
12664
6d96f5e4
WN
12665 [BZ #15119]
12666 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12667
211d653c
DM
126682014-04-30 David S. Miller <davem@davemloft.net>
12669
4fa262fa
DM
12670 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12671 (libc_feholdexcept_setround_sparc_ctx): New function.
12672 (libc_fesetenv_sparc_ctx): Likewise.
12673 (libc_feupdateenv_sparc_ctx): Likewise.
12674 (libc_feholdsetround_sparc_ctx): Likewise.
12675 (libc_feholdexcept_setround_ctx): Define.
12676 (libc_feholdexcept_setroundf_ctx): Likewise.
12677 (libc_feholdexcept_setroundl_ctx): Likewise.
12678 (libc_fesetenv_ctx): Likewise.
12679 (libc_fesetenvf_ctx): Likewise.
12680 (libc_fesetenvl_ctx): Likewise.
12681 (libc_feupdateenv_ctx): Likewise.
12682 (libc_feupdateenvf_ctx): Likewise.
12683 (libc_feupdateenvl_ctx): Likewise.
12684 (libc_feresetround_ctx): Likewise.
12685 (libc_feresetroundf_ctx): Likewise.
12686 (libc_feresetroundl_ctx): Likewise.
12687 (libc_feholdsetround_ctx): Likewise.
12688 (libc_feholdsetroundf_ctx): Likewise.
12689 (libc_feholdsetroundl_ctx): Likewise.
12690
1d3d93ef
DM
12691 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12692 with __USE_GNU instead of XOPEN cpp guards.
12693
8aa583c3
DM
12694 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12695 0.
12696
211d653c
DM
12697 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12698 with XOPEN cpp guards.
12699
60c8f1f6
JB
127002014-04-30 Julian Brown <julian@codesourcery.com>
12701
12702 [BZ #16888]
12703 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12704 handling.
12705
9a461d46
JM
127062014-04-30 Joseph Myers <joseph@codesourcery.com>
12707
d0f5b3f8
JM
12708 [BZ #9894]
12709 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12710 Change to 2.6.32.
12711 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12712 * sysdeps/unix/sysv/linux/configure: Regenerated.
12713 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12714 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12715 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12716 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12717 * README: Update reference to required Linux kernel version.
12718 * manual/install.texi (Linux): Update reference to required Linux
12719 kernel headers version.
12720 * INSTALL: Regenerated.
12721
9a461d46
JM
12722 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12723 header inclusion.
12724 [POSIX] (limits.h): Likewise.
12725 [POSIX] (math.h): Likewise.
12726 [POSIX] (sys/wait.h): Likewise.
12727 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12728 function.
12729 [POSIX] (stddef.h): Do not allow header inclusion.
12730
1775babf
AZ
127312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12732
57f41c40 12733 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12734
8f630cca
YY
127352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12736
12737 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12738 Return immediately after lll_futex_wake.
12739
1cdeb237
SP
127402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12741
bc8f194c
SP
12742 [BZ #16791]
12743 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12744 structure.
12745 (datahead_init_pos): Call datahead_init_common early.
12746 (datahead_init_neg): Likewise.
12747
1cdeb237
SP
12748 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12749 datahead_init_neg): New functions.
12750 * nscd/aicache.c (addhstaiX): Use them.
12751 * nscd/grpcache.c (cache_addgr): Likewise.
12752 * nscd/hstcache.c (cache_addhst): Likewise.
12753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12754 * nscd/netgroupcache.c (do_notfound): Likewise.
12755 (addgetnetgrentX): Likewise.
12756 (addinnetgrX): Likewise.
12757 * nscd/pwdcache.c (cache_addpw): Likewise.
12758 * nscd/servicescache.c (cache_addserv): Likewise.
12759
16b293a7
SP
127602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12761 Atsushi Onoe <atsushi@onoe.org>
12762
12763 [BZ #14308]
12764 [BZ #12994]
12765 [BZ #13651]
12766 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12767 one response is valid.
12768 * resolv/res_send.c (send_dg): Check for validity of other
12769 response if the current response is a referral.
12770
a28a9b94
SE
127712014-04-29 Steve Ellcey <sellcey@mips.com>
12772
12773 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12774
2ca180e9
SL
127752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12776
12777 [BZ #16823]
12778 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12779 Always divide by positive zero when computing -Inf result.
12780 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12781 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12782
18f2945a
AZ
127832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12784
12785 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12786 FPSCR if value do not change.
12787 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12788 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12789 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12790 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12791 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12792 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12793 function.
12794
5abebba4
CD
127952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12796
12797 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12798 * sysdeps/unix/sysv/linux/hppa: Move directory from
12799 ports/systeps/unix/sysv/linux/hppa.
12800 * README: Update listing for hppa-*-linux-gnu.
12801
f7ed60c2
OB
128022014-04-28 Ondřej Bílka <neleai@seznam.cz>
12803
fff763a5
OB
12804 [BZ #16754]
12805 * manual/stdio.texi (Hook functions): Fix types of stream hook
12806 functions.
f7ed60c2
OB
12807 [BZ #16854]
12808 * socket/sys/socket.h: Fix typo in comment.
12809
df639d73
WD
128102014-04-28 Wilco <wdijkstr@arm.com>
12811
f7ed60c2 12812 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12813 * sysdeps/arm/math_private.h: New file.
12814 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12815
48332d82
L
128162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12817
12818 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12819 with __int128_t.
12820 (La_x86_64_retval): Likewise.
12821
e5e0d9a4
IB
128222014-04-24 Ian Bolton <ian.bolton@arm.com>
12823
12824 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12825 fpsr if value didn't change.
12826 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12827 to fpcr if value didn't change.
12828 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12829 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12830 fpsr or fpcr if value didn't change.
12831 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12832 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12833 fpcr if value didn't change.
12834 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12835 to fpsr if value didn't change.
12836
bacc75f7
SP
128372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12838
12839 * nptl/tst-sem3.c: Use test-skeleton.c
12840 (main): Rename to do_test. Use return instead of
12841 exit.
12842 * nptl/tst-sem4.c: Use test-skeleton.c
12843 (main): Rename to do_test.
12844
a059d359
DM
128452014-04-22 David S. Miller <davem@davemloft.net>
12846
12847 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12848 (struct sigaction): New struct member __glibc_reserved0, change
12849 type of sa_flags to int.
12850
ea6c92f3
YZ
128512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12852
12853 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12854 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12855
766c4a36
SP
128562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12857
12858 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12859 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12860
140cc7ab
VK
128612014-04-22 Will Newton <will.newton@linaro.org>
12862 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12863
12864 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12865 (__longjmp): Add longjmp and longjmp_target SystemTap
12866 probes.
12867 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12868 (__sigsetjmp): Add setjmp SystemTap probe.
12869
c54e5cf7
CD
128702014-04-17 Carlos O'Donell <carlos@redhat.com>
12871
12872 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12873 match manual order.
12874
75ffb047
AZ
128752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12876
12877 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12878
2cd925f7
AZ
12879 * sysdeps/powerpc/fpu/fenv_private.h
12880 (libc_feholdexcept_setroundl_ctx): Define to
12881 libc_feholdexcept_setround_ppc_ctx.
12882 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12883 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12884 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12885 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12886
39e6cd8d
IB
128872014-04-17 Ian Bolton <ian.bolton@arm.com>
12888
12889 * sysdeps/aarch64/math-tests.h: New file.
12890
f9281df9
SY
128912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12892
12893 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12894 New.
12895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12896 Check and set bit_AVX2_Usable.
12897 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12898 macro.
12899 (bit_AVX2): Likewise.
12900 (index_AVX2_Usable): Likewise.
12901 (CPUID_AVX2): Likewise.
12902 (HAS_AVX2): Likewise.
12903
37d35007
WN
129042014-04-17 Will Newton <will.newton@linaro.org>
12905
7c677662
WN
12906 * manual/setjmp.texi (System V contexts): Add note that
12907 calling setcontext on a context created by a call to a
12908 signal handler is undefined. Update text to note that
12909 setcontext from a signal handler is possible but not
12910 recommended.
12911
37d35007 12912 [BZ #16629]
e04a4e9d
WN
12913 * stdlib/tst-setcontext.c: Include signal.h.
12914 (main): Check that the signal stack before and
12915 after swapcontext is the same.
12916
37d35007
WN
12917 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12918 Re-implement to restore registers in user code and avoid
12919 rt_sigreturn system call.
12920
423a7160
W
129212014-04-17 Wilco <wdijkstr@arm.com>
12922
12923 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12924 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12925 * math/test-fenv.c: Skip exception trap tests on targets which only
12926 support non-stop mode.
12927
bc93ab29
IB
129282014-04-17 Ian Bolton <ian.bolton@arm.com>
12929 Wilco Dijkstra <wilco.dijkstra@arm.com>
12930
12931 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12932 (libc_feholdsetround_aarch64_ctx)
12933 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12934 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12935 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12936 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12937 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12938 (libc_feresetround_noexl_ctx): Define.
12939
95fc5fa3
RH
129402014-04-16 Richard Henderson <rth@redhat.com>
12941
ddb04724
RH
12942 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12943
d77c0899
RH
12944 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12945 unwind tables.
12946
a3df56fc
RH
12947 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12948 const from the non-libc, non-ldso copy.
12949
95fc5fa3
RH
12950 * sysdeps/alpha/libm-test-ulps: Regenerate.
12951
7e0b6763
IB
129522014-04-16 Ian Bolton <ian.bolton@arm.com>
12953 Wilco Dijkstra <wilco.dijkstra@arm.com>
12954
12955 * sysdeps/aarch64/fpu/math_private.h: New file.
12956
a9ea2e0c
MS
129572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12958
12959 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12960
ea8ba7cd
IZ
129612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12962
7e54fd04 12963 [BZ #16275]
ea8ba7cd
IZ
12964 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12965 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12966 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12967 Intel MPX bound registers before _dl_profile_fixup.
12968 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12969 registers after _dl_profile_fixup. Save and restore bound
12970 registers bnd0/bnd1 when calling _dl_call_pltexit.
12971 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12972 (LR_BND_OFFSET): Likewise.
12973 (LRV_BND0_OFFSET): Likewise.
12974 (LRV_BND1_OFFSET): Likewise.
12975
9f2a4fbc
ST
129762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12977
12978 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12979 to...
12980 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
12981 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12982 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12983 fields.
9f2a4fbc 12984
fd15a59b
ST
129852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12986
12987 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12988
f19dfa0a
SL
129892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12990
12991 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12992
4fa8bc3b
SL
129932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12994
12995 [BZ #14770]
12996 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12997 * sysdeps/s390/configure: Regenerate.
12998
8ea587db
SL
12999 [BZ #16824]
13000 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13001 Set round-to-nearest internally to reduce error accumulation.
13002
aa5f0ff1
AM
130032014-04-16 Alan Modra <amodra@gmail.com>
13004
13005 [BZ #16740]
13006 [BZ #16619]
13007 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13008 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13009 * NEWS: Update fixed bug list.
aa5f0ff1 13010
bb9c256f
SP
130112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13012
13013 * benchtests/Makefile: Depend on libraries in build directory.
13014 (bench-math): Separate out math tests.
13015 (bench-pthread): Separate out pthread tests.
13016 (bench): Include math and pthread tests.
13017
f737dfd0
CD
130182014-04-14 Carlos O'Donell <carlos@redhat.com>
13019
13020 [BZ #16831]
13021 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13022 _dl_debug_initialize.
13023
0699f766
CD
13024 * configure.ac: Remove SELinux header check.
13025 * configure: Regenerate.
13026 * nscd/selinux.c (perms): Array of const char* to permission names.
13027 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13028 default policy. Call string_to_security_class and string_to_av_perm to
13029 translate strings. Enforce default policy and call avs_has_perm with
13030 results of translated strings.
13031
809bd45f
DM
130322014-04-13 David S. Miller <davem@davemloft.net>
13033
13034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13035
89e691f2
AM
130362014-04-12 Allan McRae <allan@archlinux.org>
13037
13038 [BZ #16838]
13039 * manual/string.texi (Collation Functions): Fix qsort argument
13040 order in example.
13041 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13042
9c9daaeb
CM
130432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13044
13045 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13046 Make the test a no-op if there are no exceptions defined.
13047
95561fb9
PP
130482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13049
fe8d072c 13050 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13051 enable-hardcoded-path-in-tests
13052
970c602a
WN
130532014-04-11 Will Newton <will.newton@linaro.org>
13054
13055 * benchtests/Makefile (extra-objs): Add json-lib.o.
13056 (bench-func): Tidy up JSON output.
13057 * benchtests/bench-skeleton.c: Include json-lib.h.
13058 (main): Use JSON library functions to do output of
13059 benchmark results.
13060 * benchtests/bench-timing-type.c (main): Output the
13061 timing type simply, leaving formatting to the user.
13062 * benchtests/json-lib.c: New file.
13063 * benchtests/json-lib.h: Likewise.
13064
36875b06
TR
130652014-04-11 Torvald Riegel <triegel@redhat.com>
13066
13067 [BZ #15215]
13068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13069 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13070 memory barriers. Add comments.
13071 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13072 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13073 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13074 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13075 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13076 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13077
579db35a
SL
130782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13079
13080 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13081 * sysdeps/s390/s390-64/configure.ac: ... this ...
13082 * sysdeps/s390/configure.ac: ... to here.
13083 * sysdeps/s390/s390-32/configure: Delete file.
13084 * sysdeps/s390/s390-64/configure: Delete file.
13085 * sysdeps/s390/configure: Regenerate.
13086
c12e9f37
JAPH
130872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13088
13089 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13090
439bda32
WN
130912014-04-11 Will Newton <will.newton@linaro.org>
13092
13093 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13094 to zero if it is not defined elsewhere. (mtrim): Test
13095 the value of MALLOC_DEBUG with #if rather than #ifdef.
13096
6a5d6ea1
TR
130972014-04-10 Torvald Riegel <triegel@redhat.com>
13098
13099 * benchtests/pthread_once-inputs: New file.
13100 * benchtests/pthread_once-source.c: New file.
13101 * benchtests/README: Update documentation.
13102
a4c75cfd
IZ
131032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13104 H.J. Lu <hongjiu.lu@intel.com>
13105
7e54fd04 13106 [BZ #16275]
a4c75cfd
IZ
13107 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13108 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13109 * sysdeps/x86_64/configure: Regenerated.
13110 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13111 macro.
13112 (REGISTER_SAVE_RAX): Likewise.
13113 (REGISTER_SAVE_RCX): Likewise.
13114 (REGISTER_SAVE_RDX): Likewise.
13115 (REGISTER_SAVE_RSI): Likewise.
13116 (REGISTER_SAVE_RDI): Likewise.
13117 (REGISTER_SAVE_R8): Likewise.
13118 (REGISTER_SAVE_R9): Likewise.
13119 (REGISTER_SAVE_BND0): Likewise.
13120 (REGISTER_SAVE_BND1): Likewise.
13121 (REGISTER_SAVE_BND2): Likewise.
13122 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13123 bound registers when calling _dl_fixup.
13124
27822ce6
AZ
131252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13126
13127 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13128 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13129 of its definition.
27822ce6
AZ
13130 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13131 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13132 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13133 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13134 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13135 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13136 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13137
a88ddc90
PTB
131382014-04-09 Peter Brett <peter@peter-b.co.uk>
13139
13140 [BZ #15514]
13141 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13142 pathconf(_PC_NAME_MAX).
13143
01f8eac2
AZ
131442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13145
13146 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13147 Remove macro usage.
13148 (__PTHREAD_SPINS): Move definition to ...
13149 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13150 (__PTHREAD_SPINS): ... here.
13151 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13152 (__PTHREAD_SPIN): Likewise.
13153 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13154 (__PTHREAD_SPIN): Likewise.
13155 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13156 (__PTHREAD_SPIN): Likewise.
13157 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13158 (__PTHREAD_SPIN): Likewise.
13159 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13160 (__PTHREAD_SPIN): Likewise.
13161 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13162 (__PTHREAD_SPIN): Likewise.
13163 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13164 (__PTHREAD_SPIN): Likewise.
13165 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13166 (__PTHREAD_SPIN): Likewise.
13167 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13168 (__PTHREAD_SPIN): Likewise.
13169 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13170 (__PTHREAD_SPIN): Likewise.
13171 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13172 (__PTHREAD_SPIN): Likewise.
13173 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13174 (__PTHREAD_SPIN): Likewise.
13175
de21c33c
AZ
13176 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13177 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13178 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13179 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13180 imply folder.
13181 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13182 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13183 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13184 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13185 correct imply path.
13186 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13187 strlen symbol for non multi-arch builds.
13188 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13189 missing hidden_def and weak_alias.
13190
862c472e
CD
131912014-04-08 Carlos O'Donell <carlos@redhat.com>
13192
13193 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13194
8667f90e
WN
131952014-04-07 Will Newton <will.newton@linaro.org>
13196
13197 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13198 and contents. [!_LIBC] Remove #ifndef and contents.
13199 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13200 * string/memccpy.c (__memccpy): Use ANSI prototype.
13201 * string/memfrob.c (memfrob): Likewise.
13202 * string/strcoll.c (STRCOLL): Likewise.
13203 * string/strlen.c (strlen): Likewise.
13204 * string/strtok.c (STRTOK): Likewise.
13205 * string/strcat.c: Remove unused #include of memcopy.h.
13206 (strcat): Use ANSI prototype.
13207 * string/strchr.c: Remove unused #include of memcopy.h.
13208 (strchr): Use ANSI prototype.
13209 * string/strcmp.c: Remove unused #include of memcopy.h.
13210 (strcmp): Use ANSI prototype.
13211 * string/strcpy.c: Remove unused #include of memcopy.h.
13212 (strcpy): Use ANSI prototype.
13213
7ffa9423
AZ
132142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13215
13216 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13217 * config.make.in (config-extra-cppflags): Set it from
13218 libc_extra_cppflags.
13219 * configure.ac (libc_extra_cflags): Make it accumulate over
13220 configure fragments.
13221 (libc_extra_cppflags): New flag.
13222 * configure. Regenerate.
13223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13224 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13225 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13227
8bd70862
AZ
13228 [BZ #16815]
13229 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13230 result for FE_DOWNWARD rounding mode.
13231 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13232 Likewise.
13233 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13234
d42f3448
CM
132352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13236
13237 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13238 in function argument name.
13239
1c21d115
DS
132402014-04-03 David Svoboda <svoboda@cert.org>
13241
13242 [BZ #5666]
13243 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13244 explicitly.
13245
fcccd512
RM
132462014-04-03 Roland McGrath <roland@hack.frob.com>
13247
13248 * elf/dl-unmap-segments.h: New file.
13249 * sysdeps/generic/ldsodefs.h
13250 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13251 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13252 * elf/dl-fptr.c: Likewise.
13253 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13254 * sysdeps/aarch64/tlsdesc.c: Likewise.
13255 * sysdeps/arm/tlsdesc.c: Likewise.
13256 * sysdeps/i386/tlsdesc.c: Likewise.
13257 * sysdeps/tile/dl-runtime.c: Likewise.
13258 * sysdeps/x86_64/tlsdesc.c: Likewise.
13259 * elf/dl-load.h: New file.
13260 * elf/dl-load.c: Include it.
13261 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13262 Macros moved to dl-load.h.
13263 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13264 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13265 Use _dl_unmap_segments in place of __munmap.
13266 Break out segment-mapping loop into ...
13267 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13268
f6488e2b
WN
132692014-04-03 Will Newton <will.newton@linaro.org>
13270
13271 * elf/dl-lookup.c (do_lookup_x): Remove comment
13272 referring to nested function and move variable
13273 declarations down to before first use.
13274
6f05bafe
JM
132752014-04-02 Joseph Myers <joseph@codesourcery.com>
13276
a84e78c8
JM
13277 [BZ #16799]
13278 [BZ #16800]
13279 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13280 with 0 numerator.
13281 * math/s_catanf.c (__catanf): Likewise.
13282 * math/s_catanh.c (__catanh): Likewise.
13283 * math/s_catanhf.c (__catanhf): Likewise.
13284 * math/s_catanhl.c (__catanhl): Likewise.
13285 * math/s_catanl.c (__catanl): Likewise.
13286 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13287 by positive zero when computing -Inf result.
13288 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13289 (catanh_test): Likewise.
13290 * sysdeps/i386/fpu/libm-test-ulps: Update.
13291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13292
6f05bafe
JM
13293 [BZ #16789]
13294 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13295 instead of using underflowing value in computing result.
13296 * math/s_clog10.c (__clog10): Likewise.
13297 * math/s_clog10f.c (__clog10f): Likewise.
13298 * math/s_clog10l.c (__clog10l): Likewise.
13299 * math/s_clogf.c (__clogf): Likewise.
13300 * math/s_clogl.c (__clogl): Likewise.
13301 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13302 (clog10_test): Likewise.
13303 * sysdeps/i386/fpu/libm-test-ulps: Update.
13304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13305
b0abbc21
AM
133062014-04-02 Alan Modra <amodra@gmail.com>
13307
13308 [BZ #16739]
13309 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13310 output when value is near a power of two. Use int64_t for lx and
13311 remove casts. Use decimal rather than hex exponent constants.
13312 Don't use long double multiplication when double will suffice.
13313 * math/libm-test.inc (nextafter_test_data): Add tests.
13314 * NEWS: Add 16739 and 16786 to bug list.
13315
af6b1797
AM
13316 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13317
483818d7
AM
13318 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13319
f6c55796
WN
133202014-04-01 Will Newton <will.newton@linaro.org>
13321
13322 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13323 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13324
13f7fe35
FW
133252014-04-01 Florian Weimer <fweimer@redhat.com>
13326
13327 [BZ #13347]
13328 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13329 * nptl/tst-setuid2.c: New file.
13330 * nptl/Makefile (xtests): Add tst-setuid2.
13331
c859b32e
AM
133322014-04-01 Alan Modra <amodra@gmail.com>
13333
13334 [BZ #16786]
13335 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13336
54fa2475
JM
133372014-03-31 Joseph Myers <joseph@codesourcery.com>
13338
8795b4a4
JM
13339 [BZ #6803]
13340 [BZ #6804]
13341 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13342 set errno as appropriate.
13343 * math/w_scalbf.c (__scalbf): Likewise.
13344 * math/w_scalbl.c (__scalbl): Likewise.
13345 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13346 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13347 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13348 Add more NaN tests.
13349
54fa2475
JM
13350 [BZ #16349]
13351 * math/w_atan2.c: Include <errno.h>.
13352 (__atan2): Set errno for result underflowing to zero.
13353 * math/w_atan2f.c: Include <errno.h>.
13354 (__atan2f): Set errno for result underflowing to zero.
13355 * math/w_atan2l.c: Include <errno.h>.
13356 (__atan2l): Set errno for result underflowing to zero.
13357 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13358 tests.
13359 * math/auto-libm-test-out: Regenerated.
13360
757d9dd5
AZ
133612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13362
13363 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13364 Encode instruction correctly in little endian.
13365 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13366 Likewise.
13367 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13368 Likewise.
13369 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13370 Likewise.
13371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13372 Likewise.
13373
d7a68734
JM
133742014-03-31 Joseph Myers <joseph@codesourcery.com>
13375
47c5adeb
JM
13376 [BZ #9894]
13377 * sysdeps/unix/sysv/linux/kernel-features.h
13378 [__sparc__ && !__arch64__ && !__sparc_v9__]
13379 (__ASSUME_SET_ROBUST_LIST): Do not define.
13380 [__sparc__ && !__arch64__ && !__sparc_v9__]
13381 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13382 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13383 Likewise.
13384 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13385 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13386 (__ASSUME_REQUEUE_PI): Likewise.
13387 (__ASSUME_SET_ROBUST_LIST): Likewise.
13388 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13389 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13390 Undefine.
13391 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13392 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13393 Likewise.
13394 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13395 Likewise.
13396 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13397 Likewise.
13398 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13399 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13400 Undefine.
13401 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13402 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13403 Likewise.
13404
d7a68734
JM
13405 [BZ #16648]
13406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13407 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13408 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13409
c760f5c2
WN
134102014-03-31 Will Newton <will.newton@linaro.org>
13411
13412 * benchtests/Makefile (bench): Add ffs and ffsll to list
13413 of tests.
13414 * benchtests/ffs-inputs: New file.
13415 * benchtests/ffsll-inputs: Likewise.
13416
ea6029b1
JM
134172014-03-29 Joseph Myers <joseph@codesourcery.com>
13418
13419 [BZ #16770]
13420 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13421 too large before casting to int.
13422 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13423 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13424 * math/libm-test.inc (scalb_test_data): Add more tests.
13425
cf806aff
SP
134262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13427
56737508
SP
13428 * benchtests/Makefile (DETAILED_OPT): New make option.
13429 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13430 set.
13431 * benchtests/bench-skeleton.c: Include stdbool.h.
13432 (main): Store and print timings per input.
13433 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13434 member to each argument value.
13435 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13436 (_print_arg_data): Initialize per-input timing to 0.
13437
cb5e4aad
SP
13438 * benchtests/Makefile (timing-type): New binary.
13439 (bench-clean): Also remove bench-timing-type.
13440 (bench): New target for timing-type.
13441 (bench-func): Print output in JSON format.
13442 * benchtests/bench-skeleton.c (main): Print output in JSON
13443 format.
13444 * benchtests/bench-timing-type.c: New file.
13445 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13446 (TIMING_PRINT_STATS): Remove.
13447 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13448 name separately.
13449
cf806aff
SP
13450 * benchtests/bench-modf.c: Remove.
13451 * benchtests/modf-inputs: New inputs file.
13452
289e0779
JM
134532014-03-28 Joseph Myers <joseph@codesourcery.com>
13454
13455 [BZ #16362]
13456 * math/s_clog10.c (M_PI_LOG10E): New macro.
13457 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13458 imaginary parts are 0.
13459 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13460 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13461 imaginary parts are 0.
13462 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13463 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13464 imaginary parts are 0.
13465 * math/libm-test.inc (clog10_test_data): Update expected results
13466 for when real and imaginary parts are 0.
13467
277ae3f1
PP
134682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13469
13470 * elf/dl-load.c: Finish conversion of __builtin_expect into
13471 __glibc_{un}likely.
13472
03a7091f
JM
134732014-03-27 Joseph Myers <joseph@codesourcery.com>
13474
13475 [BZ #16348]
13476 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13477 1+x for argument with exponent below -67.
13478 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13479 Likewise.
13480 * math/auto-libm-test-in: Add more tests of exp.
13481 * math/auto-libm-test-out: Regenerated.
13482
ea7d8b95
SP
134832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13484
dd3022d7
SP
13485 [BZ #16759]
13486 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13487 (nscd_getnetgrent): Use it.
13488
ea7d8b95
SP
13489 [BZ #16760]
13490 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13491 of stpcpy.
13492
df5b85da
AK
134932014-03-27 Andi Kleen <ak@linux.intel.com>
13494
57f41c40
AS
13495 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13496 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13497 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13498 (lll_robust_unlock): Remove out of line section. Use cfi
13499 intrinsics.
df5b85da 13500 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13501 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13502 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13503 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13504 (lll_robust_unlock): Remove out of line section. Use cfi
13505 intrinsics.
df5b85da
AK
13506 (LLL_STUB_UNWIND_INFO*): Remove.
13507
fbd6b5a4
SP
135082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13509
13510 [BZ #16758]
13511 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13512 blank values.
13513
1b26b855
PP
135142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13515
13516 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13517
9be36fb8
JM
135182014-03-26 Joseph Myers <joseph@codesourcery.com>
13519
13520 [BZ #16198]
13521 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13522 fnstenv.
13523 * math/test-fenv-preserve.c: New file.
13524 * math/Makefile (tests): Add test-fenv-preserve.
13525
60a2f3c1
WN
135262014-03-26 Will Newton <will.newton@linaro.org>
13527
13528 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13529
a5e5f1e2
RM
135302014-03-25 Roland McGrath <roland@hack.frob.com>
13531
13532 * scripts/versionlist.awk: Partition the version sets and emit all
13533 GLIBC_* (sorted) before all others (sorted).
13534
00f4012a
JM
135352014-03-25 Joseph Myers <joseph@codesourcery.com>
13536
13537 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13538 GLIBC_2.2.5 version.
13539
7bc5a741
AZ
135402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13541
13542 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13543 calls.
13544
7578473b
AZ
13545 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13546 previous change.
13547
f3f1dab3
AZ
13548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13549
6da36183
AS
135502014-03-25 Andreas Schwab <schwab@suse.de>
13551
13552 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13553 label to be used after in6ailist is initialized.
13554
f3f1dab3 135552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13556
7578473b 13557 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13558 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13559
046651c1
JM
135602014-03-25 Joseph Myers <joseph@codesourcery.com>
13561
13562 [BZ #16357]
13563 [BZ #16599]
13564 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13565 min_plus_half.
13566 (fp_formats): Update initializers.
13567 (init_fp_formats): Initialize new field.
13568 (output_for_one_input_case): Allow underflow for results up to
13569 min_plus_half.
13570 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13571 * math/auto-libm-test-in: Don't mark some underflows from asin and
13572 atanh as spurious.
13573 * math/auto-libm-test-out: Regenerated.
13574 * sysdeps/i386/fpu/libm-test-ulps: Update.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13576
003e49ed
AS
135772014-03-25 Andreas Schwab <schwab@suse.de>
13578
13579 * libio/Makefile (tst-ftell-partial-wide-ENV)
13580 (tst-ftell-active-handler-ENV): Define.
13581
de031874
SL
135822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13583
13584 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13585
55a81e3b
PP
135862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13587
13588 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13589
f3426898
JM
135902014-03-24 Joseph Myers <joseph@codesourcery.com>
13591
13592 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13593 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13594 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13595
a42faf59
PP
135962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13597
13598 [BZ #16634]
a42faf59 13599 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13600 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13601 (open_path): Change from boolean 'secure' to complete flag 'mode'
13602 (_dl_map_object): Adjust.
a42faf59
PP
13603 * elf/Makefile (tests): Add tst-dlopen-aout.
13604 * elf/tst-dlopen-aout.c: New test.
13605
50936127
SL
136062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13607
13608 [BZ #16714]
13609 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13610 (struct stat): Rename member pad0 to __glibc_reserved0.
13611
26011b5c
SL
13612 [BZ #16712]
13613 * sysdeps/s390/s390-32/bits/wordsize.h
13614 (__WORDSIZE32_SIZE_ULONG): New define.
13615 * sysdeps/s390/s390-64/bits/wordsize.h
13616 (__WORDSIZE32_SIZE_ULONG): Likewise.
13617 * sysdeps/generic/stdint.h (SIZE_MAX):
13618 Define as UL if __WORDSIZE32_SIZE_ULONG.
13619
a2d86bf1
SL
13620 [BZ #16713]
13621 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13622 (__glibc_reserved0): New variable.
13623 (sa_flags): Change type to int.
13624
78b6eebc
SL
13625 * posix/Makefile (before-compile): Use += before-compile instead
13626 of a :=.
13627
f1399b5a
SL
13628 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13629 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13630
a071766e
AS
136312014-03-20 Andreas Schwab <schwab@suse.de>
13632
13633 [BZ #16743]
13634 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13635 non-matching result from nscd.
13636
27c673b8
SP
136372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13638
13639 * scripts/bench.py: Moved to ...
13640 * benchtests/scripts/bench.py: ... here.
13641 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13642
44152e4b
AS
136432014-03-24 Andreas Schwab <schwab@suse.de>
13644
13645 [BZ #16002]
13646 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13647 alloca_account and account alloca use for struct in6ailist.
13648
b376a11a
JM
136492014-03-24 Joseph Myers <joseph@codesourcery.com>
13650
13651 [BZ #16284]
13652 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13653 rounding mode to recompute results that overflow to infinity or
13654 underflow to zero.
13655 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13656 bug 16284.
13657 * math/auto-libm-test-out: Regenerated.
13658 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13659 (ccosh_test): Likewise.
13660 (csin_test_data): Use plus_oflow.
13661 (csin_test): Use ALL_RM_TEST.
13662 (csinh_test_data): Use plus_oflow.
13663 (csinh_test): Use ALL_RM_TEST.
13664 * sysdeps/i386/fpu/libm-test-ulps: Update.
13665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13666
f7be7376
JM
136672014-03-21 Joseph Myers <joseph@codesourcery.com>
13668
1ca2d03e
JM
13669 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13670 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13671 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13672
f7be7376
JM
13673 [BZ #16731]
13674 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13675 when x - 1 is zero.
13676 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13677 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13678 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13679 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13680 argument is 1.
13681 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13682 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13683 zero.
13684 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13685 * sysdeps/i386/fpu/libm-test-ulps: Update.
13686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13687
fdf4534d
SP
136882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13689
df26ea53
SP
13690 * scripts/bench.pl: Remove file.
13691 * scripts/bench.py: New benchmark script.
13692 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13693 * benchtests/README: Mention python dependency.
13694 * scripts/pylintrc: New file.
13695 * scripts/pylint: New file.
13696
fdf4534d
SP
13697 * bits/mathdef.h: Use #ifdef instead of #if.
13698 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13699 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13700 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13701 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13702 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13703 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13704
6f23d093
AZ
137052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13706 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13707
13708 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13709 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13710 and strpbrk-ppc64 objects.
13711 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13712 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13713 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13714 multiarch strpbrk for POWER7.
13715 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13716 multiarch strpbrk for PPC64.
13717 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13718 ifunc selector.
13719 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13720 strpbrk for POWER7.
13721
8c92dfff
JM
137222014-03-20 Joseph Myers <joseph@codesourcery.com>
13723
13724 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13725 (atan_test): Likewise.
13726 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13727 (atanh_test): Use ALL_RM_TEST.
13728 (atan2_test_data): Likewise.
13729 (cabs_test): Likewise.
13730 (cacosh_test): Likewise.
13731 (carg_test): Likewise.
13732 (casin_test): Likewise.
13733 (casinh_test): Likewise.
13734 (cbrt_test): Likewise.
13735 (csqrt_test): Likewise.
13736 (erf_test): Likewise.
13737 (erfc_test): Likewise.
13738 (pow10_test): Likewise.
13739 (exp2_test): Likewise.
13740 (hypot_test): Likewise.
13741 (j0_test): Likewise.
13742 (j1_test): Likewise.
13743 (lgamma_test): Likewise.
13744 (gamma_test): Likewise.
13745 (sincos_test): Likewise.
13746 (tanh_test): Likewise.
13747 (y0_test): Likewise.
13748 (y1_test): Likewise.
13749 * sysdeps/i386/fpu/libm-test-ulps: Update.
13750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13751
6eaf95cb
AZ
137522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13753
a387428c
SP
13754 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13755 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13756 and strcspn-ppc64 objects.
13757 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13758 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13759 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13760 multiarch strcspn for POWER7.
13761 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13762 multiarch strcspn for PPC64.
13763 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13764 ifunc selector.
13765 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13766 strcspn for POWER7.
13767
ae3a5dff
JM
137682014-03-20 Joseph Myers <joseph@codesourcery.com>
13769
13770 * math/gen-libm-test.pl (generate_testfile): Expect only function
13771 name as argument to AUTO_TESTS_* and pass results for all rounding
13772 modes to parse_args.
13773 (parse_auto_input): Separate inputs of automatic tests from
13774 outputs before storing in %auto_tests.
13775 * math/libm-test.inc (acos_test_data): Update call to
13776 AUTO_TESTS_f_f.
13777 (acos_test): Use ALL_RM_TEST.
13778 (acos_tonearest_test_data): Remove.
13779 (acos_test_tonearest): Likewise.
13780 (acos_towardzero_test_data): Likewise.
13781 (acos_test_towardzero): Likewise.
13782 (acos_downward_test_data): Likewise.
13783 (acos_test_downward): Likewise.
13784 (acos_upward_test_data): Likewise.
13785 (acos_test_upward): Likewise.
13786 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13787 (asin_test_data): Likewise.
13788 (asin_test): Use ALL_RM_TEST.
13789 (asin_tonearest_test_data): Remove.
13790 (asin_test_tonearest): Likewise.
13791 (asin_towardzero_test_data): Likewise.
13792 (asin_test_towardzero): Likewise.
13793 (asin_downward_test_data): Likewise.
13794 (asin_test_downward): Likewise.
13795 (asin_upward_test_data): Likewise.
13796 (asin_test_upward): Likewise.
13797 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13798 (atan_test_data): Likewise.
13799 (atanh_test_data): Likewise.
13800 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13801 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13802 (carg_test_data): Likewise.
13803 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13804 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13805 (ccosh_test_data): Likewise.
13806 (cexp_test_data): Likewise.
13807 (clog_test_data): Likewise.
13808 (clog10_test_data): Likewise.
13809 (cos_test_data): Update call to AUTO_TESTS_f_f.
13810 (cos_test): Use ALL_RM_TEST.
13811 (cos_tonearest_test_data): Remove.
13812 (cos_test_tonearest): Likewise.
13813 (cos_towardzero_test_data): Likewise.
13814 (cos_test_towardzero): Likewise.
13815 (cos_downward_test_data): Likewise.
13816 (cos_test_downward): Likewise.
13817 (cos_upward_test_data): Likewise.
13818 (cos_test_upward): Likewise.
13819 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13820 (cosh_test): Use ALL_RM_TEST.
13821 (cosh_tonearest_test_data): Remove.
13822 (cosh_test_tonearest): Likewise.
13823 (cosh_towardzero_test_data): Likewise.
13824 (cosh_test_towardzero): Likewise.
13825 (cosh_downward_test_data): Likewise.
13826 (cosh_test_downward): Likewise.
13827 (cosh_upward_test_data): Likewise.
13828 (cosh_test_upward): Likewise.
13829 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13830 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13831 (ctan_test_data): Likewise.
13832 (ctan_test): Use ALL_RM_TEST.
13833 (ctan_tonearest_test_data): Remove.
13834 (ctan_test_tonearest): Likewise.
13835 (ctan_towardzero_test_data): Likewise.
13836 (ctan_test_towardzero): Likewise.
13837 (ctan_downward_test_data): Likewise.
13838 (ctan_test_downward): Likewise.
13839 (ctan_upward_test_data): Likewise.
13840 (ctan_test_upward): Likewise.
13841 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13842 (ctanh_test): Use ALL_RM_TEST.
13843 (ctanh_tonearest_test_data): Remove.
13844 (ctanh_test_tonearest): Likewise.
13845 (ctanh_towardzero_test_data): Likewise.
13846 (ctanh_test_towardzero): Likewise.
13847 (ctanh_downward_test_data): Likewise.
13848 (ctanh_test_downward): Likewise.
13849 (ctanh_upward_test_data): Likewise.
13850 (ctanh_test_upward): Likewise.
13851 (erf_test_data): Update call to AUTO_TESTS_f_f.
13852 (erfc_test_data): Likewise.
13853 (exp_test_data): Likewise.
13854 (exp_test): Use ALL_RM_TEST.
13855 (exp_tonearest_test_data): Remove.
13856 (exp_test_tonearest): Likewise.
13857 (exp_towardzero_test_data): Likewise.
13858 (exp_test_towardzero): Likewise.
13859 (exp_downward_test_data): Likewise.
13860 (exp_test_downward): Likewise.
13861 (exp_upward_test_data): Likewise.
13862 (exp_test_upward): Likewise.
13863 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13864 (exp10_test): Use ALL_RM_TEST.
13865 (exp10_tonearest_test_data): Remove.
13866 (exp10_test_tonearest): Likewise.
13867 (exp10_towardzero_test_data): Likewise.
13868 (exp10_test_towardzero): Likewise.
13869 (exp10_downward_test_data): Likewise.
13870 (exp10_test_downward): Likewise.
13871 (exp10_upward_test_data): Likewise.
13872 (exp10_test_upward): Likewise.
13873 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13874 (expm1_test_data): Likewise.
13875 (expm1_test): Use ALL_RM_TEST.
13876 (expm1_tonearest_test_data): Remove.
13877 (expm1_test_tonearest): Likewise.
13878 (expm1_towardzero_test_data): Likewise.
13879 (expm1_test_towardzero): Likewise.
13880 (expm1_downward_test_data): Likewise.
13881 (expm1_test_downward): Likewise.
13882 (expm1_upward_test_data): Likewise.
13883 (expm1_test_upward): Likewise.
13884 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13885 (fma_test): Use ALL_RM_TEST.
13886 (fma_towardzero_test_data): Remove.
13887 (fma_test_towardzero): Likewise.
13888 (fma_downward_test_data): Likewise.
13889 (fma_test_downward): Likewise.
13890 (fma_upward_test_data): Likewise.
13891 (fma_test_upward): Likewise.
13892 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13893 (j0_test_data): Update call to AUTO_TESTS_f_f.
13894 (j1_test_data): Likewise.
13895 (jn_test_data): Update call to AUTO_TESTS_if_f.
13896 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13897 (log_test_data): Update call to AUTO_TESTS_f_f.
13898 (log10_test_data): Likewise.
13899 (log1p_test_data): Likewise.
13900 (log2_test_data): Likewise.
13901 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13902 (pow_tonearest_test_data): Likewise.
13903 (sin_test_data): Update call to AUTO_TESTS_f_f.
13904 (sin_test): Use ALL_RM_TEST.
13905 (sin_tonearest_test_data): Remove.
13906 (sin_test_tonearest): Likewise.
13907 (sin_towardzero_test_data): Likewise.
13908 (sin_test_towardzero): Likewise.
13909 (sin_downward_test_data): Likewise.
13910 (sin_test_downward): Likewise.
13911 (sin_upward_test_data): Likewise.
13912 (sin_test_upward): Likewise.
13913 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13914 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13915 (sinh_test): Use ALL_RM_TEST.
13916 (sinh_tonearest_test_data): Remove.
13917 (sinh_test_tonearest): Likewise.
13918 (sinh_towardzero_test_data): Likewise.
13919 (sinh_test_towardzero): Likewise.
13920 (sinh_downward_test_data): Likewise.
13921 (sinh_test_downward): Likewise.
13922 (sinh_upward_test_data): Likewise.
13923 (sinh_test_upward): Likewise.
13924 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13925 (sqrt_test): Use ALL_RM_TEST.
13926 (sqrt_tonearest_test_data): Remove.
13927 (sqrt_test_tonearest): Likewise.
13928 (sqrt_towardzero_test_data): Likewise.
13929 (sqrt_test_towardzero): Likewise.
13930 (sqrt_downward_test_data): Likewise.
13931 (sqrt_test_downward): Likewise.
13932 (sqrt_upward_test_data): Likewise.
13933 (sqrt_test_upward): Likewise.
13934 (tan_test_data): Update call to AUTO_TESTS_f_f.
13935 (tan_test): Use ALL_RM_TEST.
13936 (tan_tonearest_test_data): Remove.
13937 (tan_test_tonearest): Likewise.
13938 (tan_towardzero_test_data): Likewise.
13939 (tan_test_towardzero): Likewise.
13940 (tan_downward_test_data): Likewise.
13941 (tan_test_downward): Likewise.
13942 (tan_upward_test_data): Likewise.
13943 (tan_test_upward): Likewise.
13944 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13945 (tgamma_test_data): Likewise.
13946 (y0_test_data): Likewise.
13947 (y1_test_data): Likewise.
13948 (yn_test_data): Update call to AUTO_TESTS_if_f.
13949 (main): Do not call removed functions.
13950
d71aeee8
JM
139512014-03-19 Joseph Myers <joseph@codesourcery.com>
13952
13953 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13954 (ldexp_test_data): Remove.
13955 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13956 scalbn_test_data.
13957 (scalb_test): Use ALL_RM_TEST.
13958
baaf1ded
AS
139592014-03-19 Andreas Schwab <schwab@suse.de>
13960
13961 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13962
b1115e91
JM
139632014-03-19 Joseph Myers <joseph@codesourcery.com>
13964
13965 [BZ #16649]
13966 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13967 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13968 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13969 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13970 (__ASSUME_PREADV): Undefine.
13971 (__ASSUME_PWRITEV): Likewise.
13972
0283ecca
RM
139732014-03-18 Roland McGrath <roland@hack.frob.com>
13974
7d375303
RM
13975 * bits/mman-linux.h: Add comment about non-Linux use.
13976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13977 bits/mman-linux.h resting place.
13978
0283ecca
RM
13979 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13980 * bits/mman-linux.h: ... here.
13981
aebe1003
AZ
139822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13983
13984 * conform/conformtest.pl: Add standard definition when calling C
13985 preprocessor on data files.
13986 (checknamespace): Remove unused variable.
13987
b29b6bb8
JM
139882014-03-18 Joseph Myers <joseph@codesourcery.com>
13989
13990 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13991 minus_oflow, plus_uflow and minus_uflow in expected results.
13992 * math/libm-test.inc (scalbn_test_data): Add more tests of
13993 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13994 minus_uflow.
13995 (scalbn_test): Use ALL_RM_TEST.
13996 (scalbln_test_data): Add more tests of negative arguments. Use
13997 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13998 (scalbln_test): Use ALL_RM_TEST.
13999
c8f8fa15
RM
140002014-03-18 Roland McGrath <roland@hack.frob.com>
14001
14002 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14003
fede7a5f
WN
140042014-03-18 Will Newton <will.newton@linaro.org>
14005
14006 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14007 inaccurate comment.
14008
80cf0a58
JM
140092014-03-18 Joseph Myers <joseph@codesourcery.com>
14010
14011 * Makerules [!subdir] (check-abi): Exit with error status if a
14012 test failed.
14013
b3620862
JM
140142014-03-17 Joseph Myers <joseph@codesourcery.com>
14015
14016 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14017 for rint. Include results for all rounding modes.
14018 (nearbyint_test): Use ALL_RM_TEST.
14019 (rint_test_data): Include all tests used for nearbyint.
14020
788bba36
WN
140212014-03-17 Will Newton <will.newton@linaro.org>
14022
04ec140a
WN
14023 * nptl/sysdeps/pthread/pthread.h: Revert previous
14024 change.
14025
7579d8d5
WN
14026 * sysdeps/generic/ldsodefs.h: Revert previous
14027 change.
14028
c15cf13a
WN
14029 * libio/genops.c: Revert previous change.
14030 * libio/libioP.h: Likewise.
14031 * stdio-common/vfprintf.c: Likewise.
14032
d0ac1324
WN
14033 * sysdeps/generic/math_private.h: Revert previous
14034 change.
14035
9290130a
WN
14036 * sysdeps/generic/math_private.h: Check whether
14037 HAVE_RM_CTX is defined with #ifdef rather
14038 than #if.
14039
afb466fc
WN
14040 * argp/argp-fmtstream.h: Check whether
14041 __STRICT_ANSI__ is defined with #ifdef rather
14042 than #if.
14043 * argp/argp.h: Likewise.
14044
f7efd7c3
WN
14045 * libio/genops.c: Check whether
14046 _IO_JUMPS_OFFSET is defined with #ifdef rather
14047 than #if.
14048 * libio/libioP.h: Likewise.
14049 * stdio-common/vfprintf.c: Likewise.
14050
53f1bed3
WN
14051 * sysdeps/generic/ldsodefs.h: Check whether
14052 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14053 than #if.
14054
788bba36
WN
14055 * nptl/sysdeps/pthread/pthread.h: Check
14056 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14057 its value.
14058
fcd89ebe
SP
140592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14060
ae42bbc5
SP
14061 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14062 setting O_APPEND.
14063 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14064 test case.
14065
ea33158c
SP
14066 [BZ #16680]
14067 * libio/fileops.c (_IO_file_open): Seek to end of file but
14068 don't cache the offset.
14069 (get_file_offset): Remove function.
14070 (do_ftell): Use cached offset when available.
14071 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14072 don't cache the offset.
14073 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14074 case.
14075 (do_one_test): Call it.
14076 (do_ftell_test): Fix up expected old offset for a+ mode.
14077 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14078 available.
14079
b1dbb426
SP
14080 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14081 up test status with function return status.
14082 (do_write_test): Likewise.
14083 (do_append_test): Likewise.
14084
fcd89ebe
SP
14085 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14086 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14087 Remove.
14088
9962a2d3
JM
140892014-03-17 Joseph Myers <joseph@codesourcery.com>
14090
14091 * math/gen-libm-test.pl (parse_args): Handle results specified for
14092 each rounding mode separately.
14093 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14094 tests and results from lrint_tonearest_test_data,
14095 lrint_towardzero_test_data, lrint_downward_test_data and
14096 lrint_upward_test_data.
14097 (lrint_test): Use ALL_RM_TEST.
14098 (lrint_tonearest_test_data): Remove.
14099 (lrint_test_tonearest): Likewise.
14100 (lrint_towardzero_test_data): Likewise.
14101 (lrint_test_towardzero): Likewise.
14102 (lrint_downward_test_data): Likewise.
14103 (lrint_test_downward): Likewise.
14104 (lrint_upward_test_data): Likewise.
14105 (lrint_test_upward): Likewise.
14106 (llrint_test_data): Merge in per-rounding-mode tests and results
14107 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14108 llrint_downward_test_data and llrint_upward_test_data.
14109 (llrint_test): Use ALL_RM_TEST.
14110 (llrint_tonearest_test_data): Remove.
14111 (llrint_test_tonearest): Likewise.
14112 (llrint_towardzero_test_data): Likewise.
14113 (llrint_test_towardzero): Likewise.
14114 (llrint_downward_test_data): Likewise.
14115 (llrint_test_downward): Likewise.
14116 (llrint_upward_test_data): Likewise.
14117 (llrint_test_upward): Likewise.
14118 (rint_test_data): Merge in per-rounding-mode tests and results
14119 from rint_tonearest_test_data, rint_towardzero_test_data,
14120 rint_downward_test_data and rint_upward_test_data. Add
14121 per-rounding-mode results for tests not in those arrays.
14122 (rint_test): Use ALL_RM_TEST.
14123 (rint_tonearest_test_data): Remove.
14124 (rint_test_tonearest): Likewise.
14125 (rint_towardzero_test_data): Likewise.
14126 (rint_test_towardzero): Likewise.
14127 (rint_downward_test_data): Likewise.
14128 (rint_test_downward): Likewise.
14129 (rint_upward_test_data): Likewise.
14130 (rint_test_upward): Likewise.
14131 (main): Don't call removed functions.
14132
5006148e
RM
141332014-03-14 Roland McGrath <roland@hack.frob.com>
14134
14135 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14136 "Compiled on ..." crapola. It is anti-useful.
14137
d6fe5e58
JM
141382014-03-14 Joseph Myers <joseph@codesourcery.com>
14139
14140 * scripts/evaluate-test.sh: Handle fourth argument to determine
14141 whether test run should stop on failure.
14142 * Makeconfig (stop-on-test-failure): New variable.
14143 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14144 $(stop-on-test-failure).
14145 * Makefile (tests): Give a summary of results from testing and
14146 exit with failure status if they include an ERROR or FAIL.
14147 (xtests): Likewise.
14148 * manual/install.texi (Configuring and compiling): Mention
14149 stop-on-test-failure=y.
14150 * INSTALL: Regenerated.
14151
498a2233
RM
141522014-03-14 Roland McGrath <roland@hack.frob.com>
14153
22dbc19d
RM
14154 * scripts/versionlist.awk: New file.
14155 * Makerules [$(build-shared) = yes]
14156 (postclean-generated): Add Versions.def, not Versions.def.v and
14157 Versions.def.v.i.
14158 ($(common-objpfx)Versions.def.v.i): Target removed.
14159 ($(common-objpfx)Versions.def): New target.
14160 ($(common-objpfx)Versions.all): Depend on that rather that
14161 $(common-objpfx)Versions.def.v.
14162 * Versions.def: File removed.
14163
498a2233
RM
14164 * Makeconfig (+gccwarn): Add -Wundef.
14165 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14166 a dl-sysdep.h breaking its contract.
14167 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14168 * include/stackinfo.h: New file.
14169 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14170 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14171 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14172 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14173 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14174 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14175 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14176 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14177 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14178 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14179 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14180 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14181 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14182 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14183 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14184
c7de5025
AZ
141852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14186
14187 [BZ #16707]
14188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14189 implementation.
14190 * math/libm-test.inc (round_test_data): Add more tests.
14191
98fb27a3
AZ
14192 [BZ #16706]
14193 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14194 implementation.
14195 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14196
374f7f61
AZ
14197 [BZ #16701]
14198 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14199 implementation.
14200 * math/libm-test.inc (ceil_test_data): Add more tests.
14201
4655c291
AZ
14202 * math/libm-test.inc (trunc_test_data): Add more tests related to
14203 BZ#16414.
14204
d7329d4b
RM
142052014-03-14 Roland McGrath <roland@hack.frob.com>
14206
14207 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14208 with #if rather than #ifdef.
14209 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14210
aa4de9ce
L
142112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14212
14213 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14214 first. Disable AVX-512 GCC support if assembler doesn't support
14215 it.
14216 * sysdeps/x86_64/configure: Regenerated.
14217
2e03fae7
CD
142182014-03-13 Carlos O'Donell <carlos@redhat.com>
14219
14220 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14221 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14222 (__old_pthread_attr_setstack): Likewise.
14223 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14224 [!_STACK_GROWS_DOWN]: Likewise.
14225
43ca83ec
MF
142262014-03-13 Mike Frysinger <vapier@gentoo.org>
14227
14228 * config.make.in (have-bash2): Delete.
14229 * configure.ac (libc_cv_have_bash2): Delete.
14230 * configure: Regenerate.
14231 * elf/Makefile (common-ldd-rewrite): Rename to ...
14232 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14233 (sh-ldd-rewrite): Delete.
14234 (bash-ldd-rewrite): Delete.
14235 (have-bash2): Delete checks.
57f41c40
AS
14236 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14237 ldd-rewrite.
c66e48b4
MF
14238
14239 * config.make.in (have-ksh): Delete.
14240 (KSH): Delete.
14241 * configure.ac (libc_cv_have_ksh): Delete.
14242 * configure: Regenerate.
14243
b93834ef
MF
14244 * elf/Makefile: Delete $(have-ksh) check.
14245 ($(objpfx)sotruss): Change KSH to BASH.
14246 * elf/sotruss.ksh: Rename to ...
14247 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14248 function style to match POSIX. Drop ksh vim mode setting.
14249
f3a4632a
MF
14250 * manual/time.texi (Specifying the Time Zone with TZ): Change
14251 Tuesday to Thursday.
14252
5896c8bd
MF
14253 * debug/tst-longjmp_chk2.c: Update header comment.
14254 (stackoverflow_handler): Add comment. Call assert on pass value.
14255
2d63a517
IZ
142562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14257
7e54fd04 14258 [BZ #16194]
2d63a517
IZ
14259 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14260 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14261 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14262 (La_x86_64_vector): Add zmm.
14263 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14264 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14265 ($(objpfx)tst-audit10): New target.
14266 ($(objpfx)tst-audit10.out): Likewise.
14267 (tst-audit10-ENV): New.
14268 (AVX512-CFLAGS): Likewise.
14269 (CFLAGS-tst-audit10.c): Likewise.
14270 (CFLAGS-tst-auditmod10a.c): Likewise.
14271 (CFLAGS-tst-auditmod10b.c): Likewise.
14272 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14273 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14274 * sysdeps/x86_64/configure: Regenerated.
14275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14276 AVX-512 zmm register support.
14277 (_dl_x86_64_save_sse): Likewise.
14278 (_dl_x86_64_restore_sse): Likewise.
14279 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14280 size vector registers.
14281 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14282 (ZMM_SIZE): Likewise.
14283 * sysdeps/x86_64/tst-audit10.c: New file.
14284 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14285 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14286
44c4e5d5
RM
142872014-03-13 Roland McGrath <roland@hack.frob.com>
14288
14289 * configure.ac (HAVE_EHDR_START): New check.
14290 * configure: Regenerated.
14291 * config.h.in (HAVE_EHDR_START): New #undef.
14292 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14293 assuming the lowest-addressed segment maps the start of the file.
14294
acd6e389
JM
142952014-03-13 Joseph Myers <joseph@codesourcery.com>
14296
14297 * INSTALL: Regenerated.
14298
6f918f36
WN
142992014-03-13 Will Newton <will.newton@linaro.org>
14300
14301 * manual/setjmp.texi (System V contexts): Improve
14302 clarity and grammar of documentation.
14303
798212a0
PP
143042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14305
14306 [BZ #16381]
798212a0 14307 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14308 (tests-pie): Add tst-pie2.
798212a0
PP
14309 * elf/tst-pie2.c: New file.
14310 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14311 for ET_EXEC.
14312 * elf/rtld.c (map_doit): Load executable as lt_executable.
14313 (dl_main): Likewise.
14314
abe6d90c
JM
143152014-03-12 Joseph Myers <joseph@codesourcery.com>
14316
14317 [BZ #16642]
14318 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14319 (__ASSUME_PSELECT): Undefine.
14320
dd3946c6
AZ
143212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14322
14323 [BZ #16689]
14324 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14325 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14326 static build.
14327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14328 selector for static builds.
14329
c44496df
SP
143302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14331
14332 [BZ #16695]
14333 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14334 key in the buffer.
14335
27c7220a
AZ
143362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14337
57f41c40
AS
14338 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14339 IFUNC selector for static builds.
27c7220a 14340
600fa361
JM
143412014-03-11 Joseph Myers <joseph@codesourcery.com>
14342
76c96cf7
JM
14343 * sysdeps/mips/math_private.h [__mips_hard_float]
14344 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14345 libc_feresetround_mips_ctx.
14346 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14347 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14348 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14349
600fa361
JM
14350 [BZ #16677]
14351 * math/s_nextafter.c (__nextafter): Do not return value from
14352 overflowing computation.
14353 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14354 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14355 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14356 Likewise.
14357 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14358 Likewise.
14359 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14360 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14361
d7706c32
RM
143622014-03-11 Roland McGrath <roland@hack.frob.com>
14363
14364 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14365 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14366 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14367 the new mov targetting sp.
14368
4facea47
AZ
143692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14370
14371 [BZ #16683]
14372 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14373 Define it for static builds as well.
14374 (NO_BZERO_IMPL): Likewise.
14375
e65caf1f
VR
143762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14377
14378 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14379 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14380 multiarch strspn for PPC64.
14381 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14382 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14383 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14384 (__libc_ifunc_impl_list): Likewise.
14385 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14386 multiarch optimizations
14387 * string/strspn.c (strspn): Using macro to redefine symbol name.
14388
ba9cc071
AZ
143892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14390 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14391
14392 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14393 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14394 multiarch strncat for PPC64.
14395 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14396 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14397 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14398 (__libc_ifunc_impl_list): Likewise.
14399 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14400 multiarch optimizations
14401
8b4ff974
SP
144022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14403
14404 [BZ #16639]
14405 * nscd/nscd.service: Make service type forking.
14406
54b46a4b
AZ
144072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14408
14409 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14410 sign in non default rounding modes.
14411 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14412
e9996ef7
JM
144132014-03-08 Joseph Myers <joseph@codesourcery.com>
14414
14415 * math/libm-test.inc (ALL_RM_TEST): New macro.
14416 (ceil_test): Use ALL_RM_TEST.
14417 (cimag_test): Likewise.
14418 (conj_test): Likewise.
14419 (copysign_test): Likewise.
14420 (cproj_test): Likewise.
14421 (creal_test): Likewise.
14422 (fabs_test): Likewise.
14423 (floor_test): Likewise.
14424 (fmax_test): Likewise.
14425 (fmin_test): Likewise.
14426 (fmod_test): Likewise.
14427 (fpclassify_test): Likewise.
14428 (frexp_test): Likewise.
14429 (ilogb_test): Likewise.
14430 (isfinite_test): Likewise.
14431 (finite_test): Likewise.
14432 (isgreater_test): Likewise.
14433 (isgreaterequal_test): Likewise.
14434 (isinf_test): Likewise.
14435 (isless_test): Likewise.
14436 (islessequal_test): Likewise.
14437 (islessgreater_test): Likewise.
14438 (isnan_test): Likewise.
14439 (isnormal_test): Likewise.
14440 (issignaling_test): Likewise.
14441 (isunordered_test): Likewise.
14442 (logb_test): Likewise.
14443 (logb_downward_test_data): Remove.
14444 (logb_test_downward): Likewise.
14445 (lround_test): Use ALL_RM_TEST.
14446 (llround_test): Likewise.
14447 (modf_test): Likewise.
14448 (nexttoward_test): Likewise.
14449 (remainder_test): Likewise.
14450 (drem_test): Likewise.
14451 (remainder_tonearest_test_data): Likewise.
14452 (remainder_test_tonearest): Likewise.
14453 (drem_test_tonearest): Likewise.
14454 (remainder_towardzero_test_data): Likewise.
14455 (remainder_test_towardzero): Likewise.
14456 (drem_test_towardzero): Likewise.
14457 (remainder_downward_test_data): Likewise.
14458 (remainder_test_downward): Likewise.
14459 (drem_test_downward): Likewise.
14460 (remainder_upward_test_data): Likewise.
14461 (remainder_test_upward): Likewise.
14462 (drem_test_upward): Likewise.
14463 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14464 (round_test): Use ALL_RM_TEST.
14465 (signbit_test): Likewise.
14466 (trunc_test): Likewise.
14467 (significand_test): Likewise.
14468 (main): Don't call removed functions.
14469
bc61d27c
JM
144702014-03-07 Joseph Myers <joseph@codesourcery.com>
14471
5c780849
JM
14472 [BZ #16674]
14473 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14474 || __USE_XOPEN2K8].
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 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14496 (TRAP_TRACE): Likewise.
14497 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14498 __USE_XOPEN2K8].
14499 (CLD_KILLED): Likewise.
14500 (CLD_DUMPED): Likewise.
14501 (CLD_TRAPPED): Likewise.
14502 (CLD_STOPPED): Likewise.
14503 (CLD_CONTINUED): Likewise.
14504 (POLL_IN): Likewise.
14505 (POLL_OUT): Likewise.
14506 (POLL_MSG): Likewise.
14507 (POLL_ERR): Likewise.
14508 (POLL_PRI): Likewise.
14509 (POLL_HUP): Likewise.
14510 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14511 Likewise.
14512 (ILL_ILLOPN): Likewise.
14513 (ILL_ILLADR): Likewise.
14514 (ILL_ILLTRP): Likewise.
14515 (ILL_PRVOPC): Likewise.
14516 (ILL_PRVREG): Likewise.
14517 (ILL_COPROC): Likewise.
14518 (ILL_BADSTK): Likewise.
14519 (FPE_INTDIV): Likewise.
14520 (FPE_INTOVF): Likewise.
14521 (FPE_FLTDIV): Likewise.
14522 (FPE_FLTOVF): Likewise.
14523 (FPE_FLTUND): Likewise.
14524 (FPE_FLTRES): Likewise.
14525 (FPE_FLTINV): Likewise.
14526 (FPE_FLTSUB): Likewise.
14527 (SEGV_MAPERR): Likewise.
14528 (SEGV_ACCERR): Likewise.
14529 (BUS_ADRALN): Likewise.
14530 (BUS_ADRERR): Likewise.
14531 (BUS_OBJERR): Likewise.
14532 (BUS_MCEERR_AR): Likewise.
14533 (BUS_MCEERR_AO): Likewise.
14534 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14535 (TRAP_TRACE): Likewise.
14536 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14537 __USE_XOPEN2K8].
14538 (CLD_KILLED): Likewise.
14539 (CLD_DUMPED): Likewise.
14540 (CLD_TRAPPED): Likewise.
14541 (CLD_STOPPED): Likewise.
14542 (CLD_CONTINUED): Likewise.
14543 (POLL_IN): Likewise.
14544 (POLL_OUT): Likewise.
14545 (POLL_MSG): Likewise.
14546 (POLL_ERR): Likewise.
14547 (POLL_PRI): Likewise.
14548 (POLL_HUP): Likewise.
14549 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14550 (ILL_ILLOPN): Likewise.
14551 (ILL_ILLADR): Likewise.
14552 (ILL_ILLTRP): Likewise.
14553 (ILL_PRVOPC): Likewise.
14554 (ILL_PRVREG): Likewise.
14555 (ILL_COPROC): Likewise.
14556 (ILL_BADSTK): Likewise.
14557 (FPE_INTDIV): Likewise.
14558 (FPE_INTOVF): Likewise.
14559 (FPE_FLTDIV): Likewise.
14560 (FPE_FLTOVF): Likewise.
14561 (FPE_FLTUND): Likewise.
14562 (FPE_FLTRES): Likewise.
14563 (FPE_FLTINV): Likewise.
14564 (FPE_FLTSUB): Likewise.
14565 (SEGV_MAPERR): Likewise.
14566 (SEGV_ACCERR): Likewise.
14567 (BUS_ADRALN): Likewise.
14568 (BUS_ADRERR): Likewise.
14569 (BUS_OBJERR): Likewise.
14570 (BUS_MCEERR_AR): Likewise.
14571 (BUS_MCEERR_AO): Likewise.
14572 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14573 (TRAP_TRACE): Likewise.
14574 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14575 __USE_XOPEN2K8].
14576 (CLD_KILLED): Likewise.
14577 (CLD_DUMPED): Likewise.
14578 (CLD_TRAPPED): Likewise.
14579 (CLD_STOPPED): Likewise.
14580 (CLD_CONTINUED): Likewise.
14581 (POLL_IN): Likewise.
14582 (POLL_OUT): Likewise.
14583 (POLL_MSG): Likewise.
14584 (POLL_ERR): Likewise.
14585 (POLL_PRI): Likewise.
14586 (POLL_HUP): Likewise.
14587 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14588 Likewise.
14589 (ILL_ILLOPN): Likewise.
14590 (ILL_ILLADR): Likewise.
14591 (ILL_ILLTRP): Likewise.
14592 (ILL_PRVOPC): Likewise.
14593 (ILL_PRVREG): Likewise.
14594 (ILL_COPROC): Likewise.
14595 (ILL_BADSTK): Likewise.
14596 (ILL_BADIADDR): Likewise.
14597 (ILL_BREAK): Likewise.
14598 (FPE_INTDIV): Likewise.
14599 (FPE_INTOVF): Likewise.
14600 (FPE_FLTDIV): Likewise.
14601 (FPE_FLTOVF): Likewise.
14602 (FPE_FLTUND): Likewise.
14603 (FPE_FLTRES): Likewise.
14604 (FPE_FLTINV): Likewise.
14605 (FPE_FLTSUB): Likewise.
14606 (FPE_DECOVF): Likewise.
14607 (FPE_DECDIV): Likewise.
14608 (FPE_DECERR): Likewise.
14609 (FPE_INVASC): Likewise.
14610 (FPE_INVDEC): Likewise.
14611 (SEGV_MAPERR): Likewise.
14612 (SEGV_ACCERR): Likewise.
14613 (SEGV_PSTKOVF): Likewise.
14614 (BUS_ADRALN): Likewise.
14615 (BUS_ADRERR): Likewise.
14616 (BUS_OBJERR): Likewise.
14617 (BUS_MCEERR_AR): Likewise.
14618 (BUS_MCEERR_AO): Likewise.
14619 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14620 (TRAP_TRACE): Likewise.
14621 (TRAP_BRANCH): Likewise.
14622 (TRAP_HWBKPT): Likewise.
14623 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14624 __USE_XOPEN2K8].
14625 (CLD_KILLED): Likewise.
14626 (CLD_DUMPED): Likewise.
14627 (CLD_TRAPPED): Likewise.
14628 (CLD_STOPPED): Likewise.
14629 (CLD_CONTINUED): Likewise.
14630 (POLL_IN): Likewise.
14631 (POLL_OUT): Likewise.
14632 (POLL_MSG): Likewise.
14633 (POLL_ERR): Likewise.
14634 (POLL_PRI): Likewise.
14635 (POLL_HUP): Likewise.
14636 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14637 (ILL_ILLOPN): Likewise.
14638 (ILL_ILLADR): Likewise.
14639 (ILL_ILLTRP): Likewise.
14640 (ILL_PRVOPC): Likewise.
14641 (ILL_PRVREG): Likewise.
14642 (ILL_COPROC): Likewise.
14643 (ILL_BADSTK): Likewise.
14644 (FPE_INTDIV): Likewise.
14645 (FPE_INTOVF): Likewise.
14646 (FPE_FLTDIV): Likewise.
14647 (FPE_FLTOVF): Likewise.
14648 (FPE_FLTUND): Likewise.
14649 (FPE_FLTRES): Likewise.
14650 (FPE_FLTINV): Likewise.
14651 (FPE_FLTSUB): Likewise.
14652 (SEGV_MAPERR): Likewise.
14653 (SEGV_ACCERR): Likewise.
14654 (BUS_ADRALN): Likewise.
14655 (BUS_ADRERR): Likewise.
14656 (BUS_OBJERR): Likewise.
14657 (BUS_MCEERR_AR): Likewise.
14658 (BUS_MCEERR_AO): Likewise.
14659 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14660 (TRAP_TRACE): Likewise.
14661 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14662 __USE_XOPEN2K8].
14663 (CLD_KILLED): Likewise.
14664 (CLD_DUMPED): Likewise.
14665 (CLD_TRAPPED): Likewise.
14666 (CLD_STOPPED): Likewise.
14667 (CLD_CONTINUED): Likewise.
14668 (POLL_IN): Likewise.
14669 (POLL_OUT): Likewise.
14670 (POLL_MSG): Likewise.
14671 (POLL_ERR): Likewise.
14672 (POLL_PRI): Likewise.
14673 (POLL_HUP): Likewise.
14674 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14675 (ILL_ILLOPN): Likewise.
14676 (ILL_ILLADR): Likewise.
14677 (ILL_ILLTRP): Likewise.
14678 (ILL_PRVOPC): Likewise.
14679 (ILL_PRVREG): Likewise.
14680 (ILL_COPROC): Likewise.
14681 (ILL_BADSTK): Likewise.
14682 (FPE_INTDIV): Likewise.
14683 (FPE_INTOVF): Likewise.
14684 (FPE_FLTDIV): Likewise.
14685 (FPE_FLTOVF): Likewise.
14686 (FPE_FLTUND): Likewise.
14687 (FPE_FLTRES): Likewise.
14688 (FPE_FLTINV): Likewise.
14689 (FPE_FLTSUB): Likewise.
14690 (SEGV_MAPERR): Likewise.
14691 (SEGV_ACCERR): Likewise.
14692 (BUS_ADRALN): Likewise.
14693 (BUS_ADRERR): Likewise.
14694 (BUS_OBJERR): Likewise.
14695 (BUS_MCEERR_AR): Likewise.
14696 (BUS_MCEERR_AO): Likewise.
14697 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14698 (TRAP_TRACE): Likewise.
14699 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14700 __USE_XOPEN2K8].
14701 (CLD_KILLED): Likewise.
14702 (CLD_DUMPED): Likewise.
14703 (CLD_TRAPPED): Likewise.
14704 (CLD_STOPPED): Likewise.
14705 (CLD_CONTINUED): Likewise.
14706 (POLL_IN): Likewise.
14707 (POLL_OUT): Likewise.
14708 (POLL_MSG): Likewise.
14709 (POLL_ERR): Likewise.
14710 (POLL_PRI): Likewise.
14711 (POLL_HUP): Likewise.
14712 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14713 (ILL_ILLOPN): Likewise.
14714 (ILL_ILLADR): Likewise.
14715 (ILL_ILLTRP): Likewise.
14716 (ILL_PRVOPC): Likewise.
14717 (ILL_PRVREG): Likewise.
14718 (ILL_COPROC): Likewise.
14719 (ILL_BADSTK): Likewise.
14720 (FPE_INTDIV): Likewise.
14721 (FPE_INTOVF): Likewise.
14722 (FPE_FLTDIV): Likewise.
14723 (FPE_FLTOVF): Likewise.
14724 (FPE_FLTUND): Likewise.
14725 (FPE_FLTRES): Likewise.
14726 (FPE_FLTINV): Likewise.
14727 (FPE_FLTSUB): Likewise.
14728 (SEGV_MAPERR): Likewise.
14729 (SEGV_ACCERR): Likewise.
14730 (BUS_ADRALN): Likewise.
14731 (BUS_ADRERR): Likewise.
14732 (BUS_OBJERR): Likewise.
14733 (BUS_MCEERR_AR): Likewise.
14734 (BUS_MCEERR_AO): Likewise.
14735 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14736 (TRAP_TRACE): Likewise.
14737 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14738 __USE_XOPEN2K8].
14739 (CLD_KILLED): Likewise.
14740 (CLD_DUMPED): Likewise.
14741 (CLD_TRAPPED): Likewise.
14742 (CLD_STOPPED): Likewise.
14743 (CLD_CONTINUED): Likewise.
14744 (POLL_IN): Likewise.
14745 (POLL_OUT): Likewise.
14746 (POLL_MSG): Likewise.
14747 (POLL_ERR): Likewise.
14748 (POLL_PRI): Likewise.
14749 (POLL_HUP): Likewise.
14750 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14751 (ILL_ILLOPN): Likewise.
14752 (ILL_ILLADR): Likewise.
14753 (ILL_ILLTRP): Likewise.
14754 (ILL_PRVOPC): Likewise.
14755 (ILL_PRVREG): Likewise.
14756 (ILL_COPROC): Likewise.
14757 (ILL_BADSTK): Likewise.
14758 (ILL_DBLFLT): Likewise.
14759 (ILL_HARDWALL): Likewise.
14760 (FPE_INTDIV): Likewise.
14761 (FPE_INTOVF): Likewise.
14762 (FPE_FLTDIV): Likewise.
14763 (FPE_FLTOVF): Likewise.
14764 (FPE_FLTUND): Likewise.
14765 (FPE_FLTRES): Likewise.
14766 (FPE_FLTINV): Likewise.
14767 (FPE_FLTSUB): Likewise.
14768 (SEGV_MAPERR): Likewise.
14769 (SEGV_ACCERR): Likewise.
14770 (BUS_ADRALN): Likewise.
14771 (BUS_ADRERR): Likewise.
14772 (BUS_OBJERR): Likewise.
14773 (BUS_MCEERR_AR): Likewise.
14774 (BUS_MCEERR_AO): Likewise.
14775 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14776 (TRAP_TRACE): Likewise.
14777 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14778 __USE_XOPEN2K8].
14779 (CLD_KILLED): Likewise.
14780 (CLD_DUMPED): Likewise.
14781 (CLD_TRAPPED): Likewise.
14782 (CLD_STOPPED): Likewise.
14783 (CLD_CONTINUED): Likewise.
14784 (POLL_IN): Likewise.
14785 (POLL_OUT): Likewise.
14786 (POLL_MSG): Likewise.
14787 (POLL_ERR): Likewise.
14788 (POLL_PRI): Likewise.
14789 (POLL_HUP): Likewise.
14790 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14791 (ILL_ILLOPN): Likewise.
14792 (ILL_ILLADR): Likewise.
14793 (ILL_ILLTRP): Likewise.
14794 (ILL_PRVOPC): Likewise.
14795 (ILL_PRVREG): Likewise.
14796 (ILL_COPROC): Likewise.
14797 (ILL_BADSTK): Likewise.
14798 (FPE_INTDIV): Likewise.
14799 (FPE_INTOVF): Likewise.
14800 (FPE_FLTDIV): Likewise.
14801 (FPE_FLTOVF): Likewise.
14802 (FPE_FLTUND): Likewise.
14803 (FPE_FLTRES): Likewise.
14804 (FPE_FLTINV): Likewise.
14805 (FPE_FLTSUB): Likewise.
14806 (SEGV_MAPERR): Likewise.
14807 (SEGV_ACCERR): Likewise.
14808 (BUS_ADRALN): Likewise.
14809 (BUS_ADRERR): Likewise.
14810 (BUS_OBJERR): Likewise.
14811 (BUS_MCEERR_AR): Likewise.
14812 (BUS_MCEERR_AO): Likewise.
14813 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14814 (TRAP_TRACE): Likewise.
14815 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14816 __USE_XOPEN2K8].
14817 (CLD_KILLED): Likewise.
14818 (CLD_DUMPED): Likewise.
14819 (CLD_TRAPPED): Likewise.
14820 (CLD_STOPPED): Likewise.
14821 (CLD_CONTINUED): Likewise.
14822 (POLL_IN): Likewise.
14823 (POLL_OUT): Likewise.
14824 (POLL_MSG): Likewise.
14825 (POLL_ERR): Likewise.
14826 (POLL_PRI): Likewise.
14827 (POLL_HUP): Likewise.
14828 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14829 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14830
bc61d27c
JM
14831 [BZ #16670]
14832 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14833 before #include of <time.h>.
14834 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14835 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14836 (test-xfail-UNIX98/sched.h/conform): Likewise.
14837
302949e2
MS
148382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14839
14840 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14841 error absence of trapping exception support.
14842 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14843
a00f522a
JM
148442014-03-07 Joseph Myers <joseph@codesourcery.com>
14845
6f99f280
JM
14846 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14847 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14848 * timezone/Makefile (testdata): Move definition above include of
14849 Rules.
14850 (test-zones): New variable.
14851 (tests-special): Add zone files.
14852 (build-testdata): Use $(evaluate-test).
14853
0b20a9e8
JM
14854 * elf/Makefile (tests-special): Rename tests to end with .out.
14855 ($(objpfx)noload-mem): Likewise.
14856 ($(objpfx)tst-leaks1-mem): Likewise.
14857 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14858 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14859 $(objpfx)test-iconvconfig.out.
14860 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14861 set -e inside subshell and redirect output to file.
14862 * iconvdata/Makefile (generated): Rename tests to end with .out.
14863 Correct type.
14864 (tests-special): Rename tests to end with .out.
14865 ($(objpfx)mtrace-tst-loading): Likewise.
14866 * intl/Makefile (generated): Likewise.
14867 (tests-special): Likewise.
14868 ($(objpfx)mtrace-tst-gettext): Likewise.
14869 * misc/Makefile (generated): Likewise.
14870 (tests-special): Likewise.
14871 ($(objpfx)tst-error1-mem): Likewise.
14872 * nptl/Makefile (tests-special): Likewise.
14873 ($(objpfx)tst-stack3-mem): Likewise.
14874 (generated): Likewise.
14875 * posix/Makefile (generated): Likewise.
14876 (tests-special): Likewise.
14877 (xtests-special): Likewise.
14878 ($(objpfx)tst-fnmatch-mem): Likewise.
14879 ($(objpfx)bug-regex2-mem): Likewise.
14880 ($(objpfx)bug-regex14-mem): Likewise.
14881 ($(objpfx)bug-regex21-mem): Likewise.
14882 ($(objpfx)bug-regex31-mem): Likewise.
14883 ($(objpfx)tst-vfork3-mem): Likewise.
14884 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14885 ($(objpfx)tst-pcre-mem): Likewise.
14886 ($(objpfx)tst-boost-mem): Likewise.
14887 ($(objpfx)bug-ga2-mem): Likewise.
14888 ($(objpfx)bug-glob2-mem): Likewise.
14889 * resolv/Makefile (generate): Likewise.
14890 (tests-special): Likewise.
14891 (xtests-special): Likewise.
14892 (generated): Likewise.
14893 ($(objpfx)mtrace-tst-leaks): Likewise.
14894 ($(objpfx)mtrace-tst-leaks2): Likewise.
14895
265d52ab
JM
14896 * scripts/merge-test-results.sh: New file.
14897 * Makefile (tests-special-notdir): New variable.
14898 (tests): Run merge-test-results.sh.
14899 (xtests): Likewise.
14900 * Rules (tests-special-notdir): New variable.
14901 (xtests-special-notdir): Likewise.
14902 (tests): Run merge-test-results.sh
14903 (xtests): Likewise.
14904
54ee292d
JM
14905 * Makeconfig (test-xfail-name): New variable.
14906 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14907 compute variable name for expected failures.
14908 * conform/Makefile (conformtest-headers-data): New variable.
14909 (conformtest-standards): Likewise.
14910 (conformtest-headers-ISO): Likewise.
14911 (conformtest-headers-ISO99): Likewise.
14912 (conformtest-headers-ISO11): Likewise.
14913 (conformtest-headers-POSIX): Likewise.
14914 (conformtest-headers-XPG3): Likewise.
14915 (conformtest-headers-XPG4): Likewise.
14916 (conformtest-headers-UNIX98): Likewise.
14917 (conformtest-headers-XOPEN2K): Likewise.
14918 (conformtest-headers-POSIX2008): Likewise.
14919 (conformtest-headers-XOPEN2K8): Likewise.
14920 (conformtest-header-list-base): Likewise.
14921 (conformtest-header-list-tests): Likewise.
14922 (conformtest-header-base): Likewise.
14923 (conformtest-header-tests): Likewise.
14924 (tests-special): Add $(conformtest-header-list-tests). If
14925 [$(fast-check) && !$(cross-compiling)], add
14926 $(conformtest-header-tests) instead of
14927 $(objpfx)run-conformtest.out.
14928 (generated): Add $(conformtest-header-list-base). If
14929 [$(fast-check) && !$(cross-compiling)], add
14930 $(conformtest-header-base). Remove previous setting.
14931 ($(conformtest-header-list-tests)): New target.
14932 (test-xfail-run-conformtest): Remove variable.
14933 ($(objpfx)run-conformtest.out): Remove target.
14934 (test-xfail-ISO11/complex.h/conform): New variable.
14935 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14936 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14937 (test-xfail-XPG3/varargs.h/conform): Likewise.
14938 (test-xfail-XPG4/varargs.h/conform): Likewise.
14939 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14940 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14941 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14942 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14943 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14944 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14945 (test-xfail-XPG3/ftw.h/conform): Likewise.
14946 (test-xfail-XPG3/grp.h/conform): Likewise.
14947 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14948 (test-xfail-XPG3/limits.h/conform): Likewise.
14949 (test-xfail-XPG3/pwd.h/conform): Likewise.
14950 (test-xfail-XPG3/search.h/conform): Likewise.
14951 (test-xfail-XPG3/signal.h/conform): Likewise.
14952 (test-xfail-XPG3/stdio.h/conform): Likewise.
14953 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14954 (test-xfail-XPG3/string.h/conform): Likewise.
14955 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14956 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14957 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14958 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14959 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14960 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14961 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14962 (test-xfail-XPG3/termios.h/conform): Likewise.
14963 (test-xfail-XPG3/time.h/conform): Likewise.
14964 (test-xfail-XPG3/unistd.h/conform): Likewise.
14965 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14966 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14967 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14968 (test-xfail-XPG4/netdb.h/conform): Likewise.
14969 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14970 (test-xfail-XPG4/signal.h/conform): Likewise.
14971 (test-xfail-XPG4/stdio.h/conform): Likewise.
14972 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14973 (test-xfail-XPG4/stropts.h/conform): Likewise.
14974 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14975 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14976 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14977 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14978 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14979 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14980 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14981 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14982 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14983 (test-xfail-XPG4/termios.h/conform): Likewise.
14984 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14985 (test-xfail-XPG4/unistd.h/conform): Likewise.
14986 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14987 (test-xfail-POSIX/sched.h/conform): Likewise.
14988 (test-xfail-POSIX/signal.h/conform): Likewise.
14989 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14990 (test-xfail-POSIX/tar.h/conform): Likewise.
14991 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14992 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14993 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14994 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14995 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14996 (test-xfail-UNIX98/sched.h/conform): Likewise.
14997 (test-xfail-UNIX98/signal.h/conform): Likewise.
14998 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14999 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15000 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15001 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15002 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15003 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15004 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15005 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15006 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15007 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15008 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15009 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15010 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15011 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15012 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15013 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15014 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15015 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15016 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15017 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15018 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15019 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15020 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15021 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15022 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15023 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15024 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15025 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15026 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15027 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15028 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15029 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15030 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15031 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15032 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15033 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15034 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15035 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15036 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15037 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15038 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15039 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15040 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15041 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15042 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15043 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15044 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15045 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15046 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15047 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15048 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15049 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15050 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15051 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15052 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15053 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15054 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15055 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15056 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15057 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15058 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15059 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15060 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15061 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15062 (conformtest-cc-flags): Likewise.
15063 ($(conformtest-header-tests): New target.
15064 * conform/check-header-lists.sh: New file.
15065 * conform/run-conformtest.sh: Remove.
15066
a00f522a
JM
15067 * conform/conformtest.pl: Allow ' and \ in values given for
15068 constants.
15069 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15070 inclusion.
15071 [POSIX] (sys/types.h): Likewise.
15072 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15073 inclusion.
15074 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15075 inclusion.
15076 * conform/data/signal.h-data (SIGIO): Remove expectation.
15077 [XPG3] (SIGBUS): Do not expect.
15078 [POSIX || XPG3] (SIGPOLL): Likewise.
15079 [POSIX || XPG3] (SIGPROF): Likewise.
15080 [POSIX || XPG3] (SIGSYS): Likewise.
15081 [XPG3] (SIGTRAP): Likewise.
15082 [POSIX || XPG3] (SIGURG): Likewise.
15083 [POSIX || XPG3] (SIGVTALRM): Likewise.
15084 [POSIX || XPG3] (SIGXCPU): Likewise.
15085 [POSIX || XPG3] (SIGXFSZ): Likewise.
15086 [POSIX] (SA_SIGINFO): Expect.
15087 [XPG3] (siginfo_t): Do not expect type or contents.
15088 [POSIX] (si_pid): Do not expect element.
15089 [POSIX] (si_uid): Likewise.
15090 [POSIX] (si_addr): Likewise.
15091 [POSIX] (si_status): Likewise.
15092 [POSIX] (si_band): Likewise.
15093 [XPG4] (si_value): Likewise.
15094 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15095 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15096 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15097 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15098 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15099 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15100 [POSIX || XPG3] (ILL_COPROC): Likewise.
15101 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15102 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15103 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15104 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15105 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15106 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15107 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15108 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15109 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15110 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15111 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15112 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15113 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15114 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15115 [POSIX || XPG3] (CLD_EXITED): Likewise.
15116 [POSIX || XPG3] (CLD_KILLED): Likewise.
15117 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15118 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15119 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15120 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15121 [POSIX || XPG3] (POLL_IN): Likewise.
15122 [POSIX || XPG3] (POLL_OUT): Likewise.
15123 [POSIX || XPG3] (POLL_MSG): Likewise.
15124 [POSIX || XPG3] (POLL_ERR): Likewise.
15125 [POSIX || XPG3] (POLL_PRI): Likewise.
15126 [POSIX || XPG3] (POLL_HUP): Likewise.
15127 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15128 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15129 (SIG*): Do not allow.
15130 [XPG3] (si_*): Likewise.
15131 [XPG3] (SI_*): Likewise.
15132 [XPG3 || XPG4] (sigev_*): Likewise.
15133 [XPG3 || XPG4] (SIGEV_*): Likewise.
15134 [XPG3 || XPG4] (sival_*): Likewise.
15135 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15136 [POSIX || XPG3] (BUS_*): Likewise.
15137 [POSIX || XPG3] (CLD_*): Likewise.
15138 [POSIX || XPG3] (FPE_*): Likewise.
15139 [POSIX || XPG3] (ILL_*): Likewise.
15140 [POSIX || XPG3] (POLL_*): Likewise.
15141 [POSIX || XPG3] (SEGV_*): Likewise.
15142 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15143 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15144 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15145 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15146 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15147 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15148 Specify type and value.
15149 (TVERSLEN): Likewise.
15150 (REGTYPE): Likewise.
15151 (AREGTYPE): Likewise.
15152 (LNKTYPE): Likewise.
15153 (SYMTYPE): Likewise.
15154 (CHRTYPE): Likewise.
15155 (BLKTYPE): Likewise.
15156 (DIRTYPE): Likewise.
15157 (FIFOTYPE): Likewise.
15158 (CONTTYPE): Likewise.
15159 (TSUID): Likewise.
15160 (TSGID): Likewise.
15161 (TSVTX): Likewise.
15162 (TUREAD): Likewise.
15163 (TUWRITE): Likewise.
15164 (TUEXEC): Likewise.
15165 (TGREAD): Likewise.
15166 (TGWRITE): Likewise.
15167 (TGEXEC): Likewise.
15168 (TOREAD): Likewise.
15169 (TOWRITE): Likewise.
15170 (TOEXEC): Likewise.
15171 [POSIX] (TSVTX): Expect constant.
15172
aa97dee1
JM
151732014-03-06 Joseph Myers <joseph@codesourcery.com>
15174
f214606a
JM
15175 * Makefile (tests): Change dependencies to ....
15176 (tests-special): ... additions to this variable.
15177 (tests): Depend on $(tests-special).
15178 * Makerules (check-abi-list): New variable.
15179 (check-abi): Depend on $(check-abi-list).
15180 [$(subdir) = elf] (tests-special): Add
15181 $(objpfx)check-abi-libc.out.
15182 [$(build-shared) = yes && subdir] (tests-special): Add
15183 $(check-abi-list).
15184 [$(build-shared) = yes && subdir] (tests): Do not depend on
15185 check-abi.
15186 * Rules (tests): Depend on $(tests-special).
15187 (xtests): Depend on $(xtests-special).
15188 * catgets/Makefile (tests): Change dependencies to ....
15189 (tests-special): ... additions to this variable.
15190 * conform/Makefile (tests): Change dependencies to ....
15191 (tests-special): ... additions to this variable.
15192 * elf/Makefile (tests): Change dependencies to ....
15193 (tests-special): ... additions to this variable.
15194 * grp/Makefile (tests): Change dependencies to ....
15195 (tests-special): ... additions to this variable.
15196 * iconv/Makefile (xtests): Change dependencies to ....
15197 (xtests-special): ... additions to this variable.
15198 * iconvdata/Makefile (tests): Change dependencies to ....
15199 (tests-special): ... additions to this variable.
15200 * intl/Makefile (tests): Change dependencies to ....
15201 (tests-special): ... additions to this variable. Also add
15202 $(objpfx)tst-gettext.out.
15203 * io/Makefile (tests): Change dependencies to ....
15204 (tests-special): ... additions to this variable.
15205 * libio/Makefile (tests): Change dependencies to ....
15206 (tests-special): ... additions to this variable.
15207 * malloc/Makefile (tests): Change dependencies to ....
15208 (tests-special): ... additions to this variable.
15209 * misc/Makefile (tests): Change dependencies to ....
15210 (tests-special): ... additions to this variable.
15211 * nptl/Makefile (tests): Change dependencies to ....
15212 (tests-special): ... additions to this variable.
15213 * nptl_db/Makefile (tests): Change dependencies to ....
15214 (tests-special): ... additions to this variable.
15215 * posix/Makefile (tests): Change dependencies to ....
15216 (tests-special): ... additions to this variable.
15217 (xtests): Change dependencies to ....
15218 (xtests-special): ... additions to this variable.
15219 * resolv/Makefile (tests): Change dependencies to ....
15220 (tests-special): ... additions to this variable.
15221 (xtests): Change dependencies to ....
15222 (xtests-special): ... additions to this variable.
15223 * stdio-common/Makefile (tests): Change dependencies to ....
15224 (tests-special): ... additions to this variable.
15225 (do-tst-unbputc): Remove target.
15226 (do-tst-printf): Likewise.
15227 * stdlib/Makefile (tests): Change dependencies to ....
15228 (tests-special): ... additions to this variable.
15229 * string/Makefile (tests): Change dependencies to ....
15230 (tests-special): ... additions to this variable.
15231 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15232 (tests-special): ... additions to this variable.
15233
81700b53
JM
15234 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15235 whole file.
15236 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15237 whole file.
15238 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15239 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15240
2ea18461
JM
15241 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15242 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15243 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15244 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15245 * conform/data/libgen.h-data [XPG3]: Likewise.
15246 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15247 * conform/data/ndbm.h-data [XPG3]: Likewise.
15248 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15249 * conform/data/netdb.h-data [XPG3]: Likewise.
15250 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15251 * conform/data/poll.h-data [XPG3]: Likewise.
15252 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15253 * conform/data/strings.h-data [XPG3]: Likewise.
15254 * conform/data/stropts.h-data [XPG3]: Likewise.
15255 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15256 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15257 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15258 Likewise.
15259 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15260 * conform/data/sys/time.h-data [XPG3]: Likewise.
15261 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15262 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15263 * conform/data/sys/un.h-data [XPG3]: Likewise.
15264 * conform/data/syslog.h-data [XPG3]: Likewise.
15265 * conform/data/ucontext.h-data [XPG3]: Likewise.
15266 * conform/data/utmpx.h-data [XPG3]: Likewise.
15267 * conform/data/varargs.h-data [UNIX98]: Enable file.
15268
355bc986
JM
15269 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15270
215db402
JM
15271 * math/libm-test.inc (struct test_f_f_data): Move expected results
15272 into structure for each rounding mode.
15273 (struct test_ff_f_data): Likewise.
15274 (struct test_ff_f_data_nexttoward): Likewise.
15275 (struct test_fi_f_data): Likewise.
15276 (struct test_fl_f_data): Likewise.
15277 (struct test_if_f_data): Likewise.
15278 (struct test_fff_f_data): Likewise.
15279 (struct test_c_f_data): Likewise.
15280 (struct test_f_f1_data): Likewise.
15281 (struct test_fF_f1_data): Likewise.
15282 (struct test_ffI_f1_data): Likewise.
15283 (struct test_c_c_data): Likewise.
15284 (struct test_cc_c_data): Likewise.
15285 (struct test_f_i_data): Likewise.
15286 (struct test_ff_i_data): Likewise.
15287 (struct test_f_l_data): Likewise.
15288 (struct test_f_L_data): Likewise.
15289 (struct test_fFF_11_data): Likewise.
15290 (RM_): New macro.
15291 (RM_FE_DOWNWARD): Likewise.
15292 (RM_FE_TONEAREST): Likewise.
15293 (RM_FE_TOWARDZERO): Likewise.
15294 (RM_FE_UPWARD): Likewise.
15295 (RUN_TEST_LOOP_f_f): Update references to expected results.
15296 (RUN_TEST_LOOP_2_f): Likewise.
15297 (RUN_TEST_LOOP_fff_f): Likewise.
15298 (RUN_TEST_LOOP_c_f): Likewise.
15299 (RUN_TEST_LOOP_f_f1): Likewise.
15300 (RUN_TEST_LOOP_fF_f1): Likewise.
15301 (RUN_TEST_LOOP_fI_f1): Likewise.
15302 (RUN_TEST_LOOP_ffI_f1): Likewise.
15303 (RUN_TEST_LOOP_c_c): Likewise.
15304 (RUN_TEST_LOOP_cc_c): Likewise.
15305 (RUN_TEST_LOOP_f_i): Likewise.
15306 (RUN_TEST_LOOP_f_i_tg): Likewise.
15307 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15308 (RUN_TEST_LOOP_f_b): Likewise.
15309 (RUN_TEST_LOOP_f_b_tg): Likewise.
15310 (RUN_TEST_LOOP_f_l): Likewise.
15311 (RUN_TEST_LOOP_f_L): Likewise.
15312 (RUN_TEST_LOOP_fFF_11): Likewise.
15313 * math/gen-libm-test.pl (parse_args): Output four copies of
15314 expected results for each test.
15315
67737b8f
JM
15316 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15317 (__ASSUME_UTIMES): Remove.
15318 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15319 (__ASSUME_UTIMES): Likewise.
15320
aa97dee1
JM
15321 * math/gen-auto-libm-tests.c: Update comment on output format.
15322 (output_for_one_input_case): Generate before-rounding and
15323 after-rounding information as conditions on output flags not
15324 floating-point format.
15325 * math/auto-libm-test-out: Regenerated.
15326 * math/gen-libm-test.pl (cond_value): New function.
15327 (or_cond_value): Use cond_value.
15328 (generate_testfile): Handle conditional exceptions.
15329
e6b6a857
JM
153302014-03-05 Joseph Myers <joseph@codesourcery.com>
15331
2f0a0f44
JM
15332 * math/libm-test.inc (max_valid_error): New variable.
15333 (init_max_error): Take new argument specifying whether function
15334 results are exactly determined. Set max_valid_error and bound
15335 other variables for errors based on this argument.
15336 (set_max_error): Do not record results above max_valid_error.
15337 (check_float_internal): Only accept errors of up to 0.5ulps if
15338 also at most max_valid_error.
15339 (START): Take new argument EXACT and pass it to init_max_error.
15340 (acos_test): Update call to START.
15341 (acos_test_tonearest): Likewise.
15342 (acos_test_towardzero): Likewise.
15343 (acos_test_downward): Likewise.
15344 (acos_test_upward): Likewise.
15345 (acosh_test): Likewise.
15346 (asin_test): Likewise.
15347 (asin_test_tonearest): Likewise.
15348 (asin_test_towardzero): Likewise.
15349 (asin_test_downward): Likewise.
15350 (asin_test_upward): Likewise.
15351 (asinh_test): Likewise.
15352 (atan_test): Likewise.
15353 (atanh_test): Likewise.
15354 (atan2_test): Likewise.
15355 (cabs_test): Likewise.
15356 (cacos_test): Likewise.
15357 (cacosh_test): Likewise.
15358 (carg_test): Likewise.
15359 (casin_test): Likewise.
15360 (casinh_test): Likewise.
15361 (catan_test): Likewise.
15362 (catanh_test): Likewise.
15363 (cbrt_test): Likewise.
15364 (ccos_test): Likewise.
15365 (ccosh_test): Likewise.
15366 (ceil_test): Likewise.
15367 (cexp_test): Likewise.
15368 (cimag_test): Likewise.
15369 (clog_test): Likewise.
15370 (clog10_test): Likewise.
15371 (conj_test): Likewise.
15372 (copysign_test): Likewise.
15373 (cos_test): Likewise.
15374 (cos_test_tonearest): Likewise.
15375 (cos_test_towardzero): Likewise.
15376 (cos_test_downward): Likewise.
15377 (cos_test_upward): Likewise.
15378 (cosh_test): Likewise.
15379 (cosh_test_tonearest): Likewise.
15380 (cosh_test_towardzero): Likewise.
15381 (cosh_test_downward): Likewise.
15382 (cosh_test_upward): Likewise.
15383 (cpow_test): Likewise.
15384 (cproj_test): Likewise.
15385 (creal_test): Likewise.
15386 (csin_test): Likewise.
15387 (csinh_test): Likewise.
15388 (csqrt_test): Likewise.
15389 (ctan_test): Likewise.
15390 (ctan_test_tonearest): Likewise.
15391 (ctan_test_towardzero): Likewise.
15392 (ctan_test_downward): Likewise.
15393 (ctan_test_upward): Likewise.
15394 (ctanh_test): Likewise.
15395 (ctanh_test_tonearest): Likewise.
15396 (ctanh_test_towardzero): Likewise.
15397 (ctanh_test_downward): Likewise.
15398 (ctanh_test_upward): Likewise.
15399 (erf_test): Likewise.
15400 (erfc_test): Likewise.
15401 (exp_test): Likewise.
15402 (exp_test_tonearest): Likewise.
15403 (exp_test_towardzero): Likewise.
15404 (exp_test_downward): Likewise.
15405 (exp_test_upward): Likewise.
15406 (exp10_test): Likewise.
15407 (exp10_test_tonearest): Likewise.
15408 (exp10_test_towardzero): Likewise.
15409 (exp10_test_downward): Likewise.
15410 (exp10_test_upward): Likewise.
15411 (pow10_test): Likewise.
15412 (exp2_test): Likewise.
15413 (expm1_test): Likewise.
15414 (expm1_test_tonearest): Likewise.
15415 (expm1_test_towardzero): Likewise.
15416 (expm1_test_downward): Likewise.
15417 (expm1_test_upward): Likewise.
15418 (fabs_test): Likewise.
15419 (fdim_test): Likewise.
15420 (floor_test): Likewise.
15421 (fma_test): Likewise.
15422 (fma_test_towardzero): Likewise.
15423 (fma_test_downward): Likewise.
15424 (fma_test_upward): Likewise.
15425 (fmax_test): Likewise.
15426 (fmin_test): Likewise.
15427 (fmod_test): Likewise.
15428 (fpclassify_test): Likewise.
15429 (frexp_test): Likewise.
15430 (hypot_test): Likewise.
15431 (ilogb_test): Likewise.
15432 (isfinite_test): Likewise.
15433 (finite_test): Likewise.
15434 (isgreater_test): Likewise.
15435 (isgreaterequal_test): Likewise.
15436 (isinf_test): Likewise.
15437 (isless_test): Likewise.
15438 (islessequal_test): Likewise.
15439 (islessgreater_test): Likewise.
15440 (isnan_test): Likewise.
15441 (isnormal_test): Likewise.
15442 (issignaling_test): Likewise.
15443 (isunordered_test): Likewise.
15444 (j0_test): Likewise.
15445 (j1_test): Likewise.
15446 (jn_test): Likewise.
15447 (ldexp_test): Likewise.
15448 (lgamma_test): Likewise.
15449 (gamma_test): Likewise.
15450 (lrint_test): Likewise.
15451 (lrint_test_tonearest): Likewise.
15452 (lrint_test_towardzero): Likewise.
15453 (lrint_test_downward): Likewise.
15454 (lrint_test_upward): Likewise.
15455 (llrint_test): Likewise.
15456 (llrint_test_tonearest): Likewise.
15457 (llrint_test_towardzero): Likewise.
15458 (llrint_test_downward): Likewise.
15459 (llrint_test_upward): Likewise.
15460 (log_test): Likewise.
15461 (log10_test): Likewise.
15462 (log1p_test): Likewise.
15463 (log2_test): Likewise.
15464 (logb_test): Likewise.
15465 (logb_test_downward): Likewise.
15466 (lround_test): Likewise.
15467 (llround_test): Likewise.
15468 (modf_test): Likewise.
15469 (nearbyint_test): Likewise.
15470 (nextafter_test): Likewise.
15471 (nexttoward_test): Likewise.
15472 (pow_test): Likewise.
15473 (pow_test_tonearest): Likewise.
15474 (pow_test_towardzero): Likewise.
15475 (pow_test_downward): Likewise.
15476 (pow_test_upward): Likewise.
15477 (remainder_test): Likewise.
15478 (drem_test): Likewise.
15479 (remainder_test_tonearest): Likewise.
15480 (drem_test_tonearest): Likewise.
15481 (remainder_test_towardzero): Likewise.
15482 (drem_test_towardzero): Likewise.
15483 (remainder_test_downward): Likewise.
15484 (drem_test_downward): Likewise.
15485 (remainder_test_upward): Likewise.
15486 (drem_test_upward): Likewise.
15487 (remquo_test): Likewise.
15488 (rint_test): Likewise.
15489 (rint_test_tonearest): Likewise.
15490 (rint_test_towardzero): Likewise.
15491 (rint_test_downward): Likewise.
15492 (rint_test_upward): Likewise.
15493 (round_test): Likewise.
15494 (scalb_test): Likewise.
15495 (scalbn_test): Likewise.
15496 (scalbln_test): Likewise.
15497 (signbit_test): Likewise.
15498 (sin_test): Likewise.
15499 (sin_test_tonearest): Likewise.
15500 (sin_test_towardzero): Likewise.
15501 (sin_test_downward): Likewise.
15502 (sin_test_upward): Likewise.
15503 (sincos_test): Likewise.
15504 (sinh_test): Likewise.
15505 (sinh_test_tonearest): Likewise.
15506 (sinh_test_towardzero): Likewise.
15507 (sinh_test_downward): Likewise.
15508 (sinh_test_upward): Likewise.
15509 (sqrt_test): Likewise.
15510 (sqrt_test_tonearest): Likewise.
15511 (sqrt_test_towardzero): Likewise.
15512 (sqrt_test_downward): Likewise.
15513 (sqrt_test_upward): Likewise.
15514 (tan_test): Likewise.
15515 (tan_test_tonearest): Likewise.
15516 (tan_test_towardzero): Likewise.
15517 (tan_test_downward): Likewise.
15518 (tan_test_upward): Likewise.
15519 (tanh_test): Likewise.
15520 (tgamma_test): Likewise.
15521 (trunc_test): Likewise.
15522 (y0_test): Likewise.
15523 (y1_test): Likewise.
15524 (yn_test): Likewise.
15525 (significand_test): Likewise.
15526
e6b6a857
JM
15527 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15528 individual tests in comment.
15529 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15530 (prev_max_error): New variable.
15531 (prev_real_max_error): Likewise.
15532 (prev_imag_max_error): Likewise.
15533 (compare_ulp_data): Don't refer to test names in comment.
15534 (find_test_ulps): Remove function.
15535 (find_function_ulps): Likewise.
15536 (find_complex_function_ulps): Likewise.
15537 (init_max_error): Take function name as argument. Look up ulps
15538 for that function.
15539 (print_ulps): Remove function.
15540 (print_max_error): Use prev_max_error instead of calling
15541 find_function_ulps.
15542 (print_complex_max_error): Use prev_real_max_error and
15543 prev_imag_max_error instead of calling find_complex_function_ulps.
15544 (check_float_internal): Take max_ulp parameter instead of calling
15545 find_test_ulps. Don't call print_ulps.
15546 (check_float): Update call to check_float_internal.
15547 (check_complex): Update calls to check_float_internal.
15548 (START): Pass argument to init_max_error.
15549 * math/gen-libm-test.pl (%results): Don't include "kind"
15550 information.
15551 (parse_ulps): Don't handle ulps of individual tests.
15552 (print_ulps_file): Likewise.
15553 (output_ulps): Likewise.
15554 * math/README.libm-test: Update.
15555 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15556 individual tests.
15557 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15558 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15559 * sysdeps/arm/libm-test-ulps: Likewise.
15560 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15561 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15562 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15563 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15564 * sysdeps/microblaze/libm-test-ulps: Likewise.
15565 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15566 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15568 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15570 * sysdeps/sh/libm-test-ulps: Likewise.
15571 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15572 * sysdeps/tile/libm-test-ulps: Likewise.
15573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15574
45adef3c
JM
155752014-03-04 Joseph Myers <joseph@codesourcery.com>
15576
15577 * math/libm-test.inc (print_complex_max_error): Check separately
15578 whether real and imaginary errors are within allowed range and
15579 pass 0 to print_complex_function_ulps instead of value within
15580 allowed range.
15581
000232b9
SP
155822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15583
d4b17258
SP
15584 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15585 formatting.
15586 (get_handles_fopen): Likewise.
15587 (do_write_test): Likewise.
15588
091eff71
SP
15589 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15590
fa3cd248
SP
15591 * libio/fileops.c (do_ftell): Use cached offset when
15592 available.
15593 * libio/iofwide.c (do_ftell_wide): Likewise.
15594 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15595 _IO_file_attach.
15596 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15597
000232b9
SP
15598 [BZ #16532]
15599 * libio/libioP.h (get_file_offset): New function.
15600 * libio/fileops.c (get_file_offset): Likewise.
15601 (do_ftell): Likewise.
15602 (_IO_new_file_seekoff): Split out ftell logic.
15603 * libio/wfileops.c (do_ftell_wide): Likewise.
15604 (_IO_wfile_seekoff): Split out ftell logic.
15605 * libio/tst-ftell-active-handler.c: New test case.
15606 * libio/Makefile (tests): Add it.
15607
116f4d1a
RM
156082014-03-03 Roland McGrath <roland@hack.frob.com>
15609
15610 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15611 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15612
532a6035
SP
156132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15614
15615 [BZ #16639]
15616 * nscd/connections.c (nscd_init): Call do_exit.
15617 (start_threads): Call do_exit and notify_parent.
15618 (begin_drop_privileges): Call do_exit.
15619 (finish_drop_privileges): Likewise.
15620 * nscd/selinux.c (preserve_capabilities): Likewise.
15621 (install_real_capabilities): Likewise.
15622 (nscd_selinux_enabled): Likewise.
15623 (avc_create_thread): Likewise.
15624 (avc_alloc_lock): Likewise.
15625 (nscd_avc_init): Likewise.
15626 * nscd/nscd.c (parent_fd): New static variable.
15627 (main): Create a pipe between parent and child processes.
15628 Skip closing parent_fd.
15629 (monitor_child): New function.
15630 (do_exit): Likewise.
15631 (notify_parent): Likewise.
15632 * nscd/nscd.h (notify_parent): Likewise.
15633 (do_exit): Likewise.
15634
d6285c9f
CD
156352014-03-03 Carlos O'Donell <carlos@redhat.com>
15636
15637 * malloc/malloc.c (__libc_calloc): Revert last change.
15638
2b85d2a0
AZ
156392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15640
15641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15642
c7debbdf
RS
156432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15644
15645 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15647 implementation.
15648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15649 (__libc_ifunc_impl_list): Likewise.
15650 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15651 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15652 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15653 * string/strrchr.c: Define STRRCHR.
15654
235eed86
OB
156552014-02-28 Ondřej Bílka <neleai@seznam.cz>
15656
15657 * benchtest/bench-strtok.c (simple_strtok): Delete.
15658 (strtok_string): Use as benchmark.
15659 * string/strtok (STRTOK): New macro.
15660
8e25d1e7
CD
156612014-02-28 Carlos O'Donell <carlos@redhat.com>
15662
ef563f92
CD
15663 * manual/threads.texi: Add header and standard comments to all
15664 functions.
15665
8e25d1e7
CD
15666 * elf/dl-lookup.c (check_match): New function.
15667 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15668 (do_lookup_x): Remove nested function check_match. Use non-nested
15669 function check_match.
15670
ff71cc37
RM
156712014-02-28 Roland McGrath <roland@hack.frob.com>
15672
f08e9a26
RM
15673 * csu/Makefile (generated, before-compile): Use += rather than =.
15674 * catgets/Makefile (generated, generated-dirs): Likewise.
15675 * debug/Makefile (generated): Likewise.
15676 * dlfcn/Makefile (generated): Likewise.
15677 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15678 * iconvdata/Makefile (before-compile, generated): Likewise.
15679 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15680 * libio/Makefile (generated): Likewise.
15681 * malloc/Makefile (generated): Likewise.
15682 * manual/Makefile (generated, generated-dirs): Likewise.
15683 * misc/Makefile (generated): Likewise.
15684 * posix/Makefile (generated): Likewise.
15685 * resolv/Makefile (generated): Likewise.
15686 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15687 * timezone/Makefile (generated, generated-dirs): Likewise.
15688
ff71cc37
RM
15689 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15690
fe13a20c
AZ
156912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15692
57f41c40
AS
15693 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15694 power8 implementation.
15695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15696 file: POWER8 llround ifunc implementation.
15697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15698 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15699 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15700 POWER8 llround implementation.
15701
57f41c40
AS
15702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15703 power8 implementation.
15704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15705 file: POWER8 llrint ifunc implementation.
15706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15707 Add POWER8 implementation.
1ad8950a
AZ
15708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15709 POWER8 llrint implementation.
15710
57f41c40
AS
15711 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15712 power8 implementation.
15713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15714 file: POWER8 finite ifunc implementation.
15715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15716 Add POWER8 implementation.
cac626d6
AZ
15717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15718 Likewise.
15719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15720 POWER8 finite implementation.
15721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15722
57f41c40
AS
15723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15724 power8 implementation.
15725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15726 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15728 POWER8 implementation.
15729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15730 Likewise.
57f41c40
AS
15731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15732 isinf implementation.
4393fc11
AZ
15733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15734
57f41c40
AS
15735 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15736 (INIT_ARCH): Add hwcap2 initialization.
15737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15738 power8 implementation.
15739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15740 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15742 POWER8 implementation.
15743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15744 Likewise.
57f41c40
AS
15745 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15746 isnan implementation.
487972ae
AZ
15747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15748
7d92b787
JY
157492014-02-27 Joey Ye <joey.ye@arm.com>
15750
15751 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15752 (_FP_NANFRAC_Q): Set to zero.
15753
1cadc858
SP
157542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15755
15756 [BZ #16623]
15757 * math/auto-libm-test-in: New test inputs.
15758 * math/auto-libm-test-out: Regenerate.
15759 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15760 and DA.
15761 (__cos): Likewise.
15762 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15763
f8c17e79
JM
157642014-02-27 Joseph Myers <joseph@codesourcery.com>
15765
15766 * scripts/evaluate-test.sh: Take new argument indicating whether
15767 failure is expected.
15768 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15769 indicating whether failure is expected.
15770 * conform/Makefile (test-xfail-run-conformtest): New variable.
15771 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15772 level.
15773 * posix/Makefile (test-xfail-annexc): New variable.
15774 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15775
a5f891ac
JM
157762014-02-26 Joseph Myers <joseph@codesourcery.com>
15777
15778 * argp/Makefile: Include Makeconfig immediately after defining
15779 subdir.
15780 * assert/Makefile: Likewise.
15781 * benchtests/Makefile: Likewise.
15782 * catgets/Makefile: Likewise.
15783 * conform/Makefile: Likewise.
15784 * crypt/Makefile: Likewise.
15785 * csu/Makefile: Likewise.
15786 (all): Remove target.
15787 * ctype/Makefile: Include Makeconfig immediately after defining
15788 subdir.
15789 * debug/Makefile: Likewise.
15790 * dirent/Makefile: Likewise.
15791 * dlfcn/Makefile: Likewise.
15792 * gmon/Makefile: Likewise.
15793 * gnulib/Makefile: Likewise.
15794 * grp/Makefile: Likewise.
15795 * gshadow/Makefile: Likewise.
15796 * hesiod/Makefile: Likewise.
15797 * hurd/Makefile: Likewise.
15798 (all): Remove target.
15799 * iconvdata/Makefile: Include Makeconfig immediately after
15800 defining subdir.
15801 * inet/Makefile: Likewise.
15802 * intl/Makefile: Likewise.
15803 * io/Makefile: Likewise.
15804 * libio/Makefile: Likewise.
15805 (all): Remove target.
15806 * locale/Makefile: Include Makeconfig immediately after defining
15807 subdir.
15808 * login/Makefile: Likewise.
15809 * mach/Makefile: Likewise.
15810 (all): Remove target.
15811 * malloc/Makefile: Include Makeconfig immediately after defining
15812 subdir.
15813 (all): Remove target.
15814 * manual/Makefile: Include Makeconfig immediately after defining
15815 subdir.
15816 * math/Makefile: Likewise.
15817 * misc/Makefile: Likewise.
15818 * nis/Makefile: Likewise.
15819 * nss/Makefile: Likewise.
15820 * po/Makefile: Likewise.
15821 (all): Remove target.
15822 * posix/Makefile: Include Makeconfig immediately after defining
15823 subdir.
15824 * pwd/Makefile: Likewise.
15825 * resolv/Makefile: Likewise.
15826 * resource/Makefile: Likewise.
15827 * rt/Makefile: Likewise.
15828 * setjmp/Makefile: Likewise.
15829 * shadow/Makefile: Likewise.
15830 * signal/Makefile: Likewise.
15831 * socket/Makefile: Likewise.
15832 * soft-fp/Makefile: Likewise.
15833 * stdio-common/Makefile: Likewise.
15834 * stdlib/Makefile: Likewise.
15835 * streams/Makefile: Likewise.
15836 * string/Makefile: Likewise.
15837 * sunrpc/Makefile: Likewise.
15838 (all): Remove target.
15839 * sysvipc/Makefile: Include Makeconfig immediately after defining
15840 subdir.
15841 * termios/Makefile: Likewise.
15842 * time/Makefile: Likewise.
15843 * timezone/Makefile: Likewise.
15844 (all): Remove target.
15845 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15846 subdir.
15847 * wctype/Makefile: Likewise.
15848
5b456e9d
SE
158492014-02-26 Steve Ellcey <sellcey@mips.com>
15850
15851 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15852 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15853 (libc_feholdexcept_setround_mips): Ditto.
15854 (libc_feholdsetround): New.
15855 (libc_feholdsetroundf): New.
15856 (libc_feholdsetroundl): New.
15857 (libc_feupdateenv_test_mips): New.
15858 (libc_feupdateenv_test): New.
15859 (libc_feupdateenv_testf): New.
15860 (libc_feupdateenv_testl): New.
15861 (libc_feresetround): New.
15862 (libc_feresetroundf): New.
15863 (libc_feresetroundl): New.
15864 (libc_fetestexcept_mips): New.
15865 (libc_fetestexcept): New.
15866 (libc_fetestexceptf): New.
15867 (libc_fetestexceptl): New.
15868 (HAVE_RM_CTX): New.
15869 (libc_feholdexcept_setround_mips_ctx): New.
15870 (libc_feholdexcept_setround_ctx): New.
15871 (libc_feholdexcept_setroundf_ctx): New.
15872 (libc_feholdexcept_setroundl_ctx): New.
15873 (libc_fesetenv_mips_ctx): New.
15874 (libc_fesetenv_ctx): New.
15875 (libc_fesetenv_ctxf): New.
15876 (libc_fesetenv_ctxl): New.
15877 (libc_feupdateenv_mips_ctx): New.
15878 (libc_feupdateenv_ctx): New.
15879 (libc_feupdateenvf_ctx): New.
15880 (libc_feupdateenvl_ctx): New.
15881 (libc_feholdsetround_mips_ctx): New.
15882 (libc_feholdsetround_ctx): New.
15883 (libc_feholdsetroundf_ctx): New.
15884 (libc_feholdsetroundl_ctx): New.
15885 (libc_feresetround_mips_ctx): New.
15886 (libc_feresetround_ctx): New.
15887 (libc_feresetroundf_ctx): New.
15888 (libc_feresetroundl_ctx): New.
15889
085d0e35
CD
158902014-02-26 Carlos O'Donell <carlos@redhat.com>
15891
f067bf1f
CD
15892 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15893
085d0e35
CD
15894 * manual/ipc.texi: New file.
15895 * manual/Makefile (chapters): Add ipc.
15896 * manual/job.texi: Add "Inter-Process Communication" to next.
15897 * manual/process.texi: Add "Inter-Process Communication" to prev.
15898
86e58c08
AZ
158992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15900
15901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15902
4248f0da
OB
159032014-02-26 Ondřej Bílka <neleai@seznam.cz>
15904
15905 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15906
cf822e3c
OB
15907 * manual/arith.texi: Fix spaces after sentences.
15908 * manual/charset.texi: Likewise.
15909 * manual/errno.texi: Likewise.
15910 * manual/install.texi: Likewise.
15911 * manual/llio.texi: Likewise.
15912 * manual/locale.texi: Likewise.
15913 * manual/maint.texi: Likewise.
15914 * manual/math.texi: Likewise.
15915 * manual/memory.texi: Likewise.
15916 * manual/message.texi: Likewise.
15917 * manual/probes.texi: Likewise.
15918 * manual/resource.texi: Likewise.
15919 * manual/signal.texi: Likewise.
15920 * manual/socket.texi: Likewise.
15921 * manual/stdio.texi: Likewise.
15922 * manual/string.texi: Likewise.
15923 * manual/time.texi: Likewise.
15924 * manual/users.texi: Likewise.
15925
ade40b10
CD
159262014-02-25 Carlos O'Donell <carlos@redhat.com>
15927
15928 [BZ #16632]
15929 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15930 _DEFAULT_SOURCE is defined.
15931
d0503676
CD
159322014-02-25 Ulrich Drepper <drepper@gmail.com>
15933 Carlos O'Donell <carlos@redhat.com>
15934
15935 [BZ #16613]
15936 * elf/dl-tls.c (_dl_count_modids): New function.
15937 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15938 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15939 audit library and increment generation counter.
15940 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15941 * elf/tst-audit9.c: New file.
15942 * elf/tst-auditmod9a.c: New file.
15943 * elf/tst-auditmod9b.c: New file.
15944 * elf/Makefile: Add rules to build and run tst-audit9.
15945
4cbf380c
FW
159462014-02-25 Florian Weimer <fweimer@redhat.com>
15947
15948 [BZ #15347]
15949 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15950
80a56cc3
WN
159512014-02-25 Will Newton <will.newton@linaro.org>
15952
15953 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15954 (__longjmp): Restore sp and lr before restoring callee
15955 saved registers. Add longjmp and longjmp_target
15956 SystemTap probe point.
15957 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15958 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15959 Define to zero to match jmpbuf layout.
15960 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15961 (__sigsetjmp): Save sp and lr before saving callee
15962 saved registers. Add setjmp SystemTap probe point.
15963
3ea0f74e
SL
159642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15965
15966 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15967
b04acb26
AS
159682014-02-24 Andreas Schwab <schwab@suse.de>
15969
15970 [BZ #15804]
15971 * elf/pldd.c (wait_for_ptrace_stop): New function.
15972 (main): Call it after attaching.
15973
098ad55c
RM
159742014-02-22 Roland McGrath <roland@hack.frob.com>
15975
d4ec6ae1
RM
15976 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15977 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15978 Versions files is now verboten.
15979 * hurd/Versions (libc: GLIBC_2.0):
15980 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15981 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15982 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15983 * mach/Versions: Likewise.
15984
098ad55c
RM
15985 * csu/Versions: Remove unused %include.
15986 * resolv/Versions: Likewise.
15987
acd7f096
JM
159882014-02-21 Joseph Myers <joseph@codesourcery.com>
15989
f0881698
JM
15990 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15991 ($(objpfx)check-local-headers.out): Likewise.
15992 ($(objpfx)begin-end-check.out): Likewise.
15993 * Makerules (check-abi-%.out): Likewise.
15994 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15995 ($(objpfx)test2.cat): Likewise.
15996 ($(objpfx)de/libc.cat): Likewise.
15997 ($(objpfx)test-gencat.out): Likewise.
15998 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15999 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16000 ($(objpfx)noload-mem): Likewise.
16001 ($(objpfx)tst-pathopt.out): Likewise.
16002 ($(objpfx)tst-rtld-load-self.out): Likewise.
16003 ($(objpfx)tst-array1-cmp.out): Likewise.
16004 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16005 ($(objpfx)tst-array2-cmp.out): Likewise.
16006 ($(objpfx)tst-array3-cmp.out): Likewise.
16007 ($(objpfx)tst-array4-cmp.out): Likewise.
16008 ($(objpfx)tst-array5-cmp.out): Likewise.
16009 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16010 ($(objpfx)check-textrel.out): Likewise.
16011 ($(objpfx)check-execstack.out): Likewise.
16012 ($(objpfx)check-localplt.out): Likewise.
16013 ($(objpfx)order2-cmp.out): Likewise.
16014 ($(objpfx)tst-leaks1-mem): Likewise.
16015 ($(objpfx)tst-leaks1-static-mem): Likewise.
16016 ($(objpfx)tst-initorder-cmp.out): Likewise.
16017 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16018 ($(objpfx)tst-unused-dep.out): Likewise.
16019 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16020 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16021 * iconv/Makefile (test-iconvconfig): Likewise.
16022 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16023 ($(objpfx)iconv-test.out): Likewise.
16024 ($(objpfx)tst-tables.out): Likewise.
16025 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16026 ($(objpfx)tst-gettext.out): Likewise.
16027 ($(objpfx)tst-translit.out): Likewise.
16028 ($(objpfx)tst-gettext2.out): Likewise.
16029 ($(objpfx)tst-gettext4.out): Likewise.
16030 ($(objpfx)tst-gettext6.out): Likewise.
16031 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16032 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16033 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16034 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16035 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16036 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16037 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16038 ($(objpfx)wordexp-tst.out): Likewise.
16039 ($(objpfx)annexc.out): Likewise.
16040 ($(objpfx)tst-fnmatch-mem): Likewise.
16041 ($(objpfx)bug-regex2-mem): Likewise.
16042 ($(objpfx)bug-regex14-mem): Likewise.
16043 ($(objpfx)bug-regex21-mem): Likewise.
16044 ($(objpfx)bug-regex31-mem): Likewise.
16045 ($(objpfx)tst-vfork3-mem): Likewise.
16046 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16047 ($(objpfx)tst-pcre-mem): Likewise.
16048 ($(objpfx)tst-boost-mem): Likewise.
16049 ($(objpfx)tst-getconf.out): Likewise.
16050 ($(objpfx)bug-ga2-mem): Likewise.
16051 ($(objpfx)bug-glob2-mem): Likewise.
16052 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16053 ($(objpfx)mtrace-tst-leaks2): Likewise.
16054 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16055 ($(objpfx)tst-printf.out): Likewise.
16056 ($(objpfx)tst-setvbuf1.out): Likewise.
16057 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16058 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16059 ($(objpfx)tst-fmtmsg.out): Likewise.
16060 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16061 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16062
acd7f096
JM
16063 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16064 * bits/sigaction.h [__USE_MISC]: Likewise.
16065 * bits/waitstatus.h: Update #endif comments.
16066 * ctype/ctype.h: Likewise.
16067 * dirent/dirent.h: Likewise.
16068 [__USE_MISC]: Remove redundant conditionals.
16069 * grp/grp.h: Update #endif comments.
16070 [__USE_GNU]: Remove redundant conditionals.
16071 [__USE_MISC]: Likewise.
16072 * inet/netinet/in.h [__USE_GNU]: Likewise.
16073 * io/sys/stat.h [__USE_MISC]: Likewise.
16074 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16075 * libio/bits/stdio.h: Update #endif comments.
16076 [__USE_MISC]: Remove redundant conditionals.
16077 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16078 * libio/stdio.h: Update #endif comments.
16079 [__USE_MISC]: Remove redundant conditionals.
16080 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16081 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16082 * math/math.h: Update #else and #endif comments.
16083 [__USE_MISC]: Remove redundant conditionals.
16084 * misc/sys/uio.h: Update #endif comments.
16085 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16086 * posix/glob.h [__USE_MISC]: Likewise.
16087 * posix/sys/types.h: Update #endif comments.
16088 [__USE_MISC]: Remove redundant conditionals.
16089 * posix/sys/wait.h: Update #endif comments.
16090 [__USE_MISC]: Remove redundant conditionals.
16091 * posix/unistd.h: Update #endif comments.
16092 [__USE_MISC]: Remove redundant conditionals.
16093 * pwd/pwd.h [__USE_GNU]: Likewise.
16094 [__USE_MISC]: Likewise.
16095 * resolv/netdb.h [__USE_GNU]: Likewise.
16096 * signal/signal.h: Update #endif comments.
16097 [__USE_MISC]: Remove redundant conditionals.
16098 * stdlib/stdlib.h: Update #else and #endif comments.
16099 [__USE_MISC]: Remove redundant conditionals.
16100 [__USE_GNU]: Likewise.
16101 * string/bits/string2.h [__USE_MISC]: Likewise.
16102 * string/string.h: Update #endif comments.
16103 [__USE_MISC]: Remove redundant conditionals.
16104 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16105 Likewise.
16106 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16107 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16108 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16109 Likewise.
16110 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16111 Likewise.
16112 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16113 comments.
16114 [__USE_MISC]: Remove redundant conditionals.
16115 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16116 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16117 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16118 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16119 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16120 Likewise.
16121 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16122 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16123 Likewise.
16124 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16125 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16126 Likewise.
16127 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16128 Likewise.
16129 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16130 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16131 Likewise.
16132 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16133 Likewise.
16134 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16135 * sysdeps/x86/bits/string.h: Update #endif comments.
16136 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16137 conditionals.
16138 * time/sys/time.h: Update #endif comments.
16139 * time/time.h: Likewise.
16140 [__USE_MISC]: Remove redundant conditionals.
16141
a5d82e4e
YG
161422014-02-21 Yury Gribov <y.gribov@samsung.com>
16143
16144 [BZ #16600]
16145 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16146
9a80491d
AS
161472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16148
16149 * Versions.def (librt): Add GLIBC_2.17.
16150
105fa381
AC
161512014-02-21 Adam Conrad <adconrad@0c3.net>
16152
16153 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16154 synonym for _SYS_AUXV_H to allow direct inclusion.
16155 * sysdeps/sparc/bits/hwcap.h: Likewise.
16156 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16157 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16158 * sysdeps/sparc/sysdep.h: Likewise.
16159
b8cd1c4e
SP
161602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16161
16162 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16163
bd939d23
RS
161642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16165
16166 * benchtests/bench-strrchr.c: Print length instead of position.
16167
5d7b57ca
JM
161682014-02-20 Joseph Myers <joseph@codesourcery.com>
16169
bc688c10
JM
16170 [BZ #16611]
16171 * sysdeps/unix/sysv/linux/kernel-features.h
16172 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16173 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16174 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16175 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16176 Likewise.
16177 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16178 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16179 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16180 (__ASSUME_SENDMMSG): Define instead of using previous
16181 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16182 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16183 (__ASSUME_SENDMMSG_SYSCALL): Define.
16184 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16185 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16186 Likewise.
16187 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16188 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16189 Likewise.
16190 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16191 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16192 Likewise.
16193 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16194 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16195 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16196 [__ASSUME_SENDMMSG]: Change conditionals to
16197 [__ASSUME_SENDMMSG_SOCKETCALL].
16198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16199 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16200 Define.
16201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16202 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16203 Likewise.
16204 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16205 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16206 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16207 [!__ASSUME_SENDMMSG]: Change conditional to
16208 [!__ASSUME_SENDMMSG_SOCKETCALL].
16209 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16210 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16211 Define.
16212
0e31b18c
JM
16213 [BZ #16610]
16214 * sysdeps/unix/sysv/linux/kernel-features.h
16215 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16216 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16217 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16218 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16219 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16220 [__i386__ || __sparc__]
16221 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16222 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16223 (__ASSUME_RECVMMSG): Define instead of using previous
16224 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16225 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16226 (__ASSUME_RECVMMSG_SYSCALL): Define.
16227 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16228 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16229 Likewise.
16230 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16232 Likewise.
16233 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16235 Likewise.
16236 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16237 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16238 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16239 [__ASSUME_RECVMMSG]: Change condition to
16240 [__ASSUME_RECVMMSG_SOCKETCALL].
16241 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16242 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16243 Define.
16244 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16245 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16246 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16247 Likewise.
16248 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16249 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16250 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16251 [!__ASSUME_RECVMMSG]: Change condition to
16252 [!__ASSUME_RECVMMSG_SOCKETCALL].
16253 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16254 (__ASSUME_RECVMMSG_SYSCALL): Define.
16255
dd481ccf
JM
16256 [BZ #16609]
16257 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16258 __powerpc__ || __s390__ || __sh__ || __sparc__]
16259 (__ASSUME_SOCKETCALL): Define.
16260 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16261 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16262 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16263 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16264 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16265 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16266 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16267 (__ASSUME_ACCEPT4): Define instead of using previous
16268 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16269 __powerpc__ || __sparc__ || __s390__)] condition.
16270 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16271 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16272 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16273 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16274 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16275 [!__ASSUME_ACCEPT4]: Change condition to
16276 [!__ASSUME_ACCEPT4_SOCKETCALL].
16277 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16278 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16279 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16280 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16281 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16282 __ASSUME_ACCEPT4_SYSCALL.
16283 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16284 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16285 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16286 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16287 __ASSUME_ACCEPT4_SYSCALL.
16288 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16289 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16290 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16291 [__ASSUME_ACCEPT4]: Change condition to
16292 [__ASSUME_ACCEPT4_SOCKETCALL].
16293 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16294 (__ASSUME_SOCKETCALL): Define.
16295 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16296 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16297 (__ASSUME_SOCKETCALL): Define.
16298 (__ASSUME_ACCEPT4): Remove.
16299 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16300 Define.
16301 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16302 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16303 Likewise.
16304 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16305 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16306
5d7b57ca
JM
16307 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16308 macro.
16309 (HWCAP_ARM_LPAE): Likewise.
16310 (HWCAP_ARM_EVTSTRM): Likewise.
16311 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16312 Add vpfd32, lpae and evtstrm.
16313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16314 Increase to 22.
16315
63689d61
JM
163162014-02-19 Joseph Myers <joseph@codesourcery.com>
16317
16318 * math/auto-libm-test-in: Add tests of clog10.
16319 * math/auto-libm-test-out: Regenerated.
16320 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16321 * sysdeps/i386/fpu/libm-test-ulps: Update.
16322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16323
ab09bf61
AS
163242014-02-18 Andreas Schwab <schwab@suse.de>
16325
16326 [BZ #16574]
16327 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16328 Store non-zero if the second buffer was newly allocated.
16329 (send_dg): Likewise.
16330 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16331 to send_vc and send_dg.
16332 (res_nsend): Pass NULL for ansp2_malloced.
16333 * resolv/res_query.c (__libc_res_nquery): Add parameter
16334 answerp2_malloced and pass it down to __libc_res_nsend.
16335 (res_nquery): Pass additional NULL to __libc_res_nquery.
16336 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16337 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16338 second answer buffer if answerp2_malloced was set.
16339 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16340 (__libc_res_nquerydomain): Add parameter
16341 answerp2_malloced and pass it down to __libc_res_nquery.
16342 (res_nquerydomain): Pass additional NULL to
16343 __libc_res_nquerydomain.
16344 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16345 additional NULL to __libc_res_nsend and __libc_res_nquery.
16346 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16347 additional NULL to __libc_res_nsearch.
16348 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16349 parameter of __libc_res_nsearch to check for separately allocated
16350 second buffer.
16351 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16352 __libc_res_nquery.
16353 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16354 additional NULL to __libc_res_nquery.
16355 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16356 __libc_res_nsearch.
16357 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16358 * include/resolv.h: Update prototypes of __libc_res_nquery,
16359 __libc_res_nsearch, __libc_res_nsend.
16360
a4fb7861
JM
163612014-02-18 Joseph Myers <joseph@codesourcery.com>
16362
c6af2d89
JM
16363 * math/auto-libm-test-in: Add tests of fma.
16364 * math/auto-libm-test-out: Regenerated.
16365 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16366 (fma_towardzero_test_data): Likewise.
16367 (fma_downward_test_data): Likewise.
16368 (fma_upward_test_data): Likewise.
16369 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16370 mpc_mode.
16371 (rounding_modes): Add values for new field.
16372 (func_calc_method): Add value mpfr_fff_f.
16373 (func_calc_desc): Add mpfr_fff_f union field.
16374 (test_function): Add field exact_args.
16375 (FUNC): Add macro argument EXACT_ARGS.
16376 (FUNC_mpfr_f_f): Update call to FUNC.
16377 (FUNC_mpfr_f_f): Likewise.
16378 (FUNC_mpfr_ff_f): Likewise.
16379 (FUNC_mpfr_if_f): Likewise.
16380 (FUNC_mpc_c_f): Likewise.
16381 (FUNC_mpc_c_c): Likewise.
16382 (test_functions): Add fma. Update calls to FUNC.
16383 (handle_input_arg): Add argument exact_args.
16384 (add_test): Update call to handle_input_arg.
16385 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16386 (output_for_one_input_case): Update call to calc_generic_results.
16387 Recalculate exact zero results in each rounding mode.
16388
a4fb7861
JM
16389 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16390 non-negative before setting low bit.
16391 * math/auto-libm-test-in: Mark one asin test possibly having
16392 spurious underflow.
16393 * math/auto-libm-test-out: Regenerated.
16394 * sysdeps/i386/fpu/libm-test-ulps: Update.
16395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16396
ef114eaf
DH
163972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16398
2b7f4f2c
SP
16399 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16400 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16401 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16402 * README: Add missing listing for microblaze*-*-linux-gnu.
16403
8125aedc
AM
164042014-02-16 Ondřej Bílka <neleai@seznam.cz>
16405
16406 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16407 duplicate code
16408
c70a4b1d
MF
164092014-02-16 Mike Frysinger <vapier@gentoo.org>
16410
16411 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16412 * sysdeps/unix/sysv/linux/ia64: Move directory from
16413 ports/sysdeps/unix/sysv/linux/ia64.
16414 * README: Update listing for ia64-*-linux-gnu.
16415
591aeaf7
TD
164162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16417 Joseph Myers <joseph@codesourcery.com>
16418
16419 * Makeconfig (test-name): New variable.
16420 (evaluate-test): Likewise.
16421 * Makerules (do-test-clean): Remove .test-result files.
16422 (common-mostlyclean): Likewise.
16423 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16424 * scripts/evaluate-test.sh: New file.
16425
6e89caf1
JM
164262014-02-14 Joseph Myers <joseph@codesourcery.com>
16427
7f98f180
JM
16428 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16429 separate $(objpfx)tst-fopenloc-cmp.out and
16430 $(objpfx)tst-fopenloc-mem.out targets.
16431 (tests): Update dependencies.
16432 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16433 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16434 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16435 (tst-rxspencer-no-utf8-ARGS): New variable.
16436 (tst-rxspencer-no-utf8-ENV): Likewise.
16437 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16438 instead of $(objpfx)tst-rxspencer-mem.
16439 ($(objpfx)tst-rxspencer-mem): Change target to
16440 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16441 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16442 * posix/tst-rxspencer-no-utf8.c: New file.
16443
6e89caf1
JM
16444 * elf/Makefile ($(objpfx)order.out): Remove rule.
16445 [$(run-built-tests) = yes] (tests): Depend on
16446 $(objpfx)order-cmp.out.
16447 ($(objpfx)order-cmp.out): New rule.
16448 [$(run-built-tests) = yes] (tests): Depend on
16449 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16450 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16451 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16452 $(objpfx)tst-array5-static-cmp.out.
16453 ($(objpfx)tst-array1.out): Remove rule.
16454 ($(objpfx)tst-array1-cmp.out): New rule.
16455 ($(objpfx)tst-array1-static.out): Remove rule.
16456 ($(objpfx)tst-array1-static-cmp.out): New rule.
16457 ($(objpfx)tst-array2.out): Remove rule.
16458 ($(objpfx)tst-array2-cmp.out): New rule.
16459 ($(objpfx)tst-array3.out): Remove rule.
16460 ($(objpfx)tst-array3-cmp.out): New rule.
16461 ($(objpfx)tst-array4.out): Remove rule.
16462 ($(objpfx)tst-array4-cmp.out): New rule.
16463 ($(objpfx)tst-array5.out): Remove rule.
16464 ($(objpfx)tst-array5-cmp.out): New rule.
16465 ($(objpfx)tst-array5-static.out): Remove rule.
16466 ($(objpfx)tst-array5-static-cmp.out): New rule.
16467 [$(run-built-tests) = yes] (tests): Depend on
16468 $(objpfx)order2-cmp.out.
16469 ($(objpfx)order2.out): Remove rule.
16470 ($(objpfx)order2-cmp.out): New rule.
16471 ($(objpfx)tst-initorder.out): Remove rule.
16472 [$(run-built-tests) = yes] (tests): Depend on
16473 $(objpfx)tst-initorder-cmp.out.
16474 ($(objpfx)tst-initorder-cmp.out): New rule.
16475 ($(objpfx)tst-initorder2.out): Remove rule.
16476 [$(run-built-tests) = yes] (tests): Depend on
16477 $(objpfx)tst-initorder2-cmp.out.
16478 ($(objpfx)tst-initorder2-cmp.out): New rule.
16479 [$(run-built-tests) = yes] (tests): Depend on
16480 $(objpfx)tst-unused-dep-cmp.out.
16481 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16482 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16483 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16484 on $(objpfx)tst-setvbuf1-cmp.out.
16485 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16486 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16487 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16488 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16489 ($(objpfx)tst-svc.out): Remove rule.
16490 ($(objpfx)tst-svc-cmp.out): New rule.
16491
ed9a38e2
JM
164922014-02-13 Joseph Myers <joseph@codesourcery.com>
16493
16494 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16495 * ctype/ctype.h [__USE_MISC]: Likewise.
16496 * dirent/dirent.h [__USE_MISC]: Likewise.
16497 * grp/grp.h [__USE_MISC]: Likewise.
16498 * io/fcntl.h [__USE_MISC]: Likewise.
16499 * io/sys/stat.h [__USE_MISC]: Likewise.
16500 * libio/stdio.h [__USE_MISC]: Likewise.
16501 * posix/unistd.h [__USE_MISC]: Likewise.
16502 * pwd/pwd.h [__USE_MISC]: Likewise.
16503 * stdlib.h [__USE_MISC]: Likewise.
16504 * string/bits/string2.h [__USE_MISC]: Likewise.
16505 * string/string.h [__USE_MISC]: Likewise.
16506 * time/time.h [__USE_MISC]: Likewise.
16507
d6680619
AS
165082014-02-13 Andreas Schwab <schwab@suse.de>
16509
16510 [BZ #16574]
16511 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16512 second answer buffer if it was separately allocated.
16513
ace614b8
JM
165142014-02-12 Joseph Myers <joseph@codesourcery.com>
16515
743151ae
JM
16516 * sysdeps/mips/math-tests.h: Include <features.h>.
16517 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16518 (ROUNDING_TESTS_long_double): Do not define.
16519 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16520 (EXCEPTION_TESTS_long_double): Likewise.
16521 * sysdeps/mips/mips64/libm-test-ulps: Update.
16522
498afc54
JM
16523 * include/features.h (__USE_BSD): Remove macro definitions.
16524 (__USE_SVID): Likewise.
16525 (_BSD_SOURCE): Likewise.
16526 (_SVID_SOURCE): Likewise.
16527 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16528 from definition of _DEFAULT_SOURCE.
16529 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16530 [_DEFAULT_SOURCE].
16531 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16532 * bits/mman.h [__USE_BSD]: Likewise.
16533 * bits/termios.h [__USE_BSD]: Likewise.
16534 * bits/waitstatus.h [__USE_BSD]: Likewise.
16535 * ctype/ctype.h [__USE_SVID]: Likewise.
16536 * dirent/dirent.h [__USE_BSD]: Likewise.
16537 * grp/grp.h [__USE_SVID]: Likewise.
16538 [__USE_BSD]: Likewise.
16539 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16540 * io/fcntl.h [__USE_BSD]: Likewise.
16541 * io/ftw.h [__USE_BSD]: Likewise.
16542 * io/sys/stat.h [__USE_BSD]: Likewise.
16543 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16544 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16545 * libio/stdio.h [__USE_SVID]: Likewise.
16546 [__USE_BSD]: Likewise.
16547 * math/math.h [__USE_SVID]: Likewise.
16548 [__USE_BSD]: Likewise.
16549 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16550 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16551 * misc/search.h [__USE_SVID]: Likewise.
16552 * misc/sys/mman.h [__USE_BSD]: Likewise.
16553 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16554 * misc/sys/uio.h [__USE_BSD]: Likewise.
16555 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16556 * posix/glob.h [__USE_BSD]: Likewise.
16557 * posix/regex.h [__USE_BSD]: Likewise.
16558 * posix/sys/types.h [__USE_BSD]: Likewise.
16559 [__USE_SVID]: Likewise.
16560 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16561 * posix/sys/wait.h [__USE_BSD]: Likewise.
16562 [__USE_SVID]: Likewise.
16563 * posix/unistd.h [__USE_BSD]: Likewise.
16564 [__USE_SVID]: Likewise.
16565 * pwd/pwd.h [__USE_SVID]: Likewise.
16566 * resolv/netdb.h [__USE_BSD]: Likewise.
16567 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16568 * signal/signal.h [__USE_BSD]: Likewise.
16569 [__USE_SVID]: Likewise.
16570 * socket/sys/socket.h [__USE_BSD]: Likewise.
16571 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16572 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16573 [__USE_SVID]: Likewise.
16574 * string/bits/string2.h [__USE_BSD]: Likewise.
16575 [__USE_SVID]: Likewise.
16576 * string/bits/string3.h [__USE_BSD]: Likewise.
16577 * string/endian.h [__USE_BSD]: Likewise.
16578 * string/string.h [__USE_SVID]: Likewise.
16579 [__USE_BSD]: Likewise.
16580 * string/strings.h [__USE_BSD]: Likewise.
16581 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16582 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16583 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16584 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16585 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16587 Likewise.
16588 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16589 Likewise.
16590 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16591 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16592 Likewise.
16593 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16594 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16595 Likewise.
16596 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16597 Likewise.
16598 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16599 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16600 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16601 Likewise.
16602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16603 Likewise.
16604 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16605 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16606 * termios/termios.h [__USE_BSD]: Likewise.
16607 * time/sys/time.h [__USE_BSD]: Likewise.
16608 * time/time.h [__USE_BSD]: Likewise.
16609 [__USE_SVID]: Likewise.
16610
dd7b064c
JM
16611 * Makefile (subdir_targets): Remove subdir_lint.out.
16612
a2c4c199
JM
16613 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16614 (do-tst-printf): Likewise.
16615 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16616 $(objpfx)tst-printf.out.
16617
8756f740
JM
16618 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16619
1b6dd3f1
JM
16620 * Makerules (check-abi-%): Change target to
16621 $(objpfx)check-abi-%.out.
16622 (check-abi target): Update dependencies.
16623 (check-abi-pattern variable): Redirect output of diff to $@.
16624 (check-abi variable): Likewise.
16625 * elf/Makefile (check-abi): Update dependencies.
16626
ace614b8
JM
16627 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16628 unused.
16629 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16630 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16631 subnormal range.
16632 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16633 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16634 value has largest subnormal exponent.
16635 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16636 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16637 * sysdeps/aarch64/soft-fp/sfp-machine.h
16638 (_FP_TININESS_AFTER_ROUNDING): New macro.
16639 * sysdeps/alpha/soft-fp/sfp-machine.h
16640 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16641 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16642 Likewise.
16643 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16644 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16645 * sysdeps/mips/soft-fp/sfp-machine.h
16646 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16647 * sysdeps/powerpc/soft-fp/sfp-machine.h
16648 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16649 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16650 Likewise.
16651 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16652 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16653 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16654 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16655 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16656 Likewise.
16657
fbfdf9cb
DAS
166582014-02-12 Dylan Alex Simon <dylan@dylex.net>
16659
16660 [BZ #16545]
16661 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16662 model 1.
16663
68b7efaa
RH
166642014-02-12 Richard Henderson <rth@redhat.com>
16665
c70a4b1d 16666 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16667 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16668 * sysdeps/unix/sysv/linux/alpha: Move directory from
16669 ports/sysdeps/unix/sysv/linux/alpha.
16670 * README: Update listing for alpha-*-linux-gnu.
16671
cb4a2928
JM
166722014-02-11 Joseph Myers <joseph@codesourcery.com>
16673
c941736c
JM
16674 * include/features.h: Update comment documenting feature test
16675 macros.
16676 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16677 _DEFAULT_SOURCE.
16678 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16679 (_SVID_SOURCE): Likewise.
16680 (_DEFAULT_SOURCE): Update description of default features.
16681 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16682 with _GNU_SOURCE.
16683 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16684 (S_ISVTX): Likewise.
16685 * manual/math.texi (Mathematical Constants): Likewise.
16686 * manual/signal.texi (Interrupted Primitives): Likewise.
16687 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16688 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16689 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16690 Don't refer to _SVID_SOURCE in warning text.
16691
e8d8d7ec
JM
16692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16693
cb4a2928
JM
16694 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16695 already defined.
16696 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16697 * sysdeps/mips/dl-lookup.c: Remove.
16698 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16699
7e6424e3
AK
167002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16701
16702 [BZ #16447]
16703 * math/auto-libm-test-in: Add testcase for expl.
16704 * math/auto-libm-test-out: Regenerate.
16705 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16706 calculation of unsafe.
16707 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16708
75eff3fe
MS
167092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16710
16711 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16712 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16713 ports/sysdeps/unix/sysv/linux/aarch64.
16714 * README: Update listing for aarch64*-*-linux-gnu.
16715
d35f1e80
WN
167162014-02-11 Will Newton <will.newton@linaro.org>
16717
16718 * manual/probes.texi (Mathematical Function Probes): Use
16719 "triggered" instead of "hit".
16720
7b3436d4
WN
16721 * manual/probes.texi (Internal Probes): Add documentation
16722 of setjmp, longjmp and longjmp_target probes.
16723
b4f12ca3
WN
16724 * include/stap-probe.h: Add comment about probe argument
16725 format.
16726
c13a72b7
WN
16727 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16728 definition. (tr_where, tr_freehook, tr_mallochook,
16729 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16730
195b8165
DM
167312014-02-11 David S. Miller <davem@davemloft.net>
16732
16733 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16734 processing int_tests.
16735
2ad7600b
JM
167362014-02-10 Joseph Myers <joseph@codesourcery.com>
16737
16738 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16739 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16740 * sysdeps/unix/sysv/linux/mips: Move directory from
16741 ports/sysdeps/unix/sysv/linux/mips.
16742 * README: Update listing for mips-*-linux-gnu and
16743 mips64-*-linux-gnu.
16744
73588a72
AS
167452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16746
16747 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16748 * sysdeps/unix/sysv/linux/m68k: Move directory from
16749 ports/sysdeps/unix/sysv/linux/m68k.
16750 * README: Update listing for m68k-*-linux-gnu.
16751
4372980f
CM
167522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16753
16754 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16755 * sysdeps/unix/sysv/linux/generic: Move directory from
16756 ports/sysdeps/unix/sysv/linux/generic.
16757 * sysdeps/unix/sysv/linux/tile: Move directory from
16758 ports/sysdeps/unix/sysv/linux/tile.
16759 * README: Update listing for tile*-*-linux-gnu.
16760
a1ffb40e
OB
167612014-02-10 Ondřej Bílka <neleai@seznam.cz>
16762
57f41c40
AS
16763 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16764 __builtin_expect.
a1ffb40e
OB
16765 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16766 * catgets/open_catalog.c (__open_catalog): Likewise.
16767 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16768 * debug/confstr_chk.c: Likewise.
16769 * debug/fread_chk.c (__fread_chk): Likewise.
16770 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16771 * debug/getgroups_chk.c: Likewise.
16772 * debug/mbsnrtowcs_chk.c: Likewise.
16773 * debug/mbsrtowcs_chk.c: Likewise.
16774 * debug/mbstowcs_chk.c: Likewise.
16775 * debug/memcpy_chk.c: Likewise.
16776 * debug/memmove_chk.c: Likewise.
16777 * debug/mempcpy_chk.c: Likewise.
16778 * debug/memset_chk.c: Likewise.
16779 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16780 * debug/strcat_chk.c (__strcat_chk): Likewise.
16781 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16782 * debug/strncat_chk.c (__strncat_chk): Likewise.
16783 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16784 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16785 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16786 * debug/wcpncpy_chk.c: Likewise.
16787 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16788 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16789 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16790 * debug/wcsncpy_chk.c: Likewise.
16791 * debug/wcsnrtombs_chk.c: Likewise.
16792 * debug/wcsrtombs_chk.c: Likewise.
16793 * debug/wcstombs_chk.c: Likewise.
16794 * debug/wmemcpy_chk.c: Likewise.
16795 * debug/wmemmove_chk.c: Likewise.
16796 * debug/wmempcpy_chk.c: Likewise.
16797 * debug/wmemset_chk.c: Likewise.
16798 * dirent/scandirat.c (SCANDIRAT): Likewise.
16799 * dlfcn/dladdr1.c (dladdr1): Likewise.
16800 * dlfcn/dladdr.c (dladdr): Likewise.
16801 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16802 * dlfcn/dlerror.c (__dlerror): Likewise.
16803 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16804 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16805 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16806 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16807 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16808 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16809 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16810 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16811 Likewise.
16812 * elf/dl-conflict.c: Likewise.
16813 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16814 * elf/dl-dst.h: Likewise.
16815 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16816 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16817 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16818 * elf/dl-init.c (call_init, _dl_init): Likewise.
16819 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16820 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16821 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16822 Likewise.
a1ffb40e
OB
16823 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16824 Likewise.
16825 * elf/dl-minimal.c (__libc_memalign): Likewise.
16826 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16827 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16828 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16829 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16830 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16831 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16832 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16833 * elf/dl-writev.h (_dl_writev): Likewise.
16834 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16835 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16836 (dl_main): Likewise.
a1ffb40e
OB
16837 * elf/setup-vdso.h (setup_vdso): Likewise.
16838 * grp/compat-initgroups.c (compat_call): Likewise.
16839 * grp/fgetgrent.c (fgetgrent): Likewise.
16840 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16841 * grp/putgrent.c (putgrent): Likewise.
16842 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16843 Likewise.
16844 * hurd/hurdinit.c: Likewise.
16845 * iconvdata/8bit-gap.c (struct): Likewise.
16846 * iconvdata/ansi_x3.110.c : Likewise.
16847 * iconvdata/big5.c : Likewise.
16848 * iconvdata/big5hkscs.c : Likewise.
16849 * iconvdata/cp1255.c: Likewise.
16850 * iconvdata/cp1258.c : Likewise.
16851 * iconvdata/cp932.c : Likewise.
16852 * iconvdata/euc-cn.c: Likewise.
16853 * iconvdata/euc-jisx0213.c : Likewise.
16854 * iconvdata/euc-jp.c: Likewise.
16855 * iconvdata/euc-jp-ms.c : Likewise.
16856 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16857 * iconvdata/gb18030.c : Likewise.
16858 * iconvdata/gbbig5.c (const): Likewise.
16859 * iconvdata/gbgbk.c: Likewise.
16860 * iconvdata/gbk.c : Likewise.
16861 * iconvdata/ibm1364.c : Likewise.
16862 * iconvdata/ibm930.c : Likewise.
16863 * iconvdata/ibm932.c: Likewise.
16864 * iconvdata/ibm933.c : Likewise.
16865 * iconvdata/ibm935.c : Likewise.
16866 * iconvdata/ibm937.c : Likewise.
16867 * iconvdata/ibm939.c : Likewise.
16868 * iconvdata/ibm943.c: Likewise.
16869 * iconvdata/iso_11548-1.c: Likewise.
16870 * iconvdata/iso-2022-cn.c : Likewise.
16871 * iconvdata/iso-2022-cn-ext.c : Likewise.
16872 * iconvdata/iso-2022-jp-3.c: Likewise.
16873 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16874 * iconvdata/iso-2022-kr.c : Likewise.
16875 * iconvdata/iso646.c (gconv_end): Likewise.
16876 * iconvdata/iso_6937-2.c : Likewise.
16877 * iconvdata/iso_6937.c : Likewise.
16878 * iconvdata/iso8859-1.c: Likewise.
16879 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16880 * iconvdata/shift_jisx0213.c : Likewise.
16881 * iconvdata/sjis.c : Likewise.
16882 * iconvdata/t.61.c : Likewise.
16883 * iconvdata/tcvn5712-1.c : Likewise.
16884 * iconvdata/tscii.c: Likewise.
16885 * iconvdata/uhc.c : Likewise.
16886 * iconvdata/unicode.c (gconv_end): Likewise.
16887 * iconvdata/utf-16.c (gconv_end): Likewise.
16888 * iconvdata/utf-32.c (gconv_end): Likewise.
16889 * iconvdata/utf-7.c (base64): Likewise.
16890 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16891 * iconv/gconv_close.c (__gconv_close): Likewise.
16892 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16893 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16894 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16895 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16896 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16897 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16898 * iconv/iconv.c (iconv): Likewise.
16899 * iconv/iconv_close.c: Likewise.
16900 * iconv/loop.c (SINGLE): Likewise.
16901 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16902 * include/atomic.h: Likewise.
16903 * inet/inet6_option.c (option_alloc): Likewise.
16904 * intl/bindtextdom.c (set_binding_values): Likewise.
16905 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16906 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16907 * intl/localealias.c (read_alias_file): Likewise.
16908 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16909 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16910 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16911 * libio/fmemopen.c (fmemopen): Likewise.
16912 * libio/iofgets.c (_IO_fgets): Likewise.
16913 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16914 * libio/iofgetws.c (fgetws): Likewise.
16915 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16916 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16917 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16918 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16919 * locale/findlocale.c (_nl_find_locale): Likewise.
16920 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16921 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16922 Likewise.
16923 * locale/setlocale.c (setlocale): Likewise.
16924 * login/programs/pt_chown.c (main): Likewise.
16925 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16926 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16927 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16928 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16929 * math/e_exp2l.c: Likewise.
16930 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16931 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16932 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16933 * math/s_catan.c (__catan): Likewise.
16934 * math/s_catanf.c (__catanf): Likewise.
16935 * math/s_catanh.c (__catanh): Likewise.
16936 * math/s_catanhf.c (__catanhf): Likewise.
16937 * math/s_catanhl.c (__catanhl): Likewise.
16938 * math/s_catanl.c (__catanl): Likewise.
16939 * math/s_ccosh.c (__ccosh): Likewise.
16940 * math/s_ccoshf.c (__ccoshf): Likewise.
16941 * math/s_ccoshl.c (__ccoshl): Likewise.
16942 * math/s_cexp.c (__cexp): Likewise.
16943 * math/s_cexpf.c (__cexpf): Likewise.
16944 * math/s_cexpl.c (__cexpl): Likewise.
16945 * math/s_clog10.c (__clog10): Likewise.
16946 * math/s_clog10f.c (__clog10f): Likewise.
16947 * math/s_clog10l.c (__clog10l): Likewise.
16948 * math/s_clog.c (__clog): Likewise.
16949 * math/s_clogf.c (__clogf): Likewise.
16950 * math/s_clogl.c (__clogl): Likewise.
16951 * math/s_csin.c (__csin): Likewise.
16952 * math/s_csinf.c (__csinf): Likewise.
16953 * math/s_csinh.c (__csinh): Likewise.
16954 * math/s_csinhf.c (__csinhf): Likewise.
16955 * math/s_csinhl.c (__csinhl): Likewise.
16956 * math/s_csinl.c (__csinl): Likewise.
16957 * math/s_csqrt.c (__csqrt): Likewise.
16958 * math/s_csqrtf.c (__csqrtf): Likewise.
16959 * math/s_csqrtl.c (__csqrtl): Likewise.
16960 * math/s_ctan.c (__ctan): Likewise.
16961 * math/s_ctanf.c (__ctanf): Likewise.
16962 * math/s_ctanh.c (__ctanh): Likewise.
16963 * math/s_ctanhf.c (__ctanhf): Likewise.
16964 * math/s_ctanhl.c (__ctanhl): Likewise.
16965 * math/s_ctanl.c (__ctanl): Likewise.
16966 * math/w_pow.c: Likewise.
16967 * math/w_powf.c: Likewise.
16968 * math/w_powl.c: Likewise.
16969 * math/w_scalb.c (sysv_scalb): Likewise.
16970 * math/w_scalbf.c (sysv_scalbf): Likewise.
16971 * math/w_scalbl.c (sysv_scalbl): Likewise.
16972 * misc/error.c (error_tail): Likewise.
16973 * misc/pselect.c (__pselect): Likewise.
16974 * nis/nis_callback.c (__nis_create_callback): Likewise.
16975 * nis/nis_call.c (__nisfind_server): Likewise.
16976 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16977 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16978 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16979 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16980 * nis/nis_lookup.c (nis_lookup): Likewise.
16981 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
16982 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16983 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 16984 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
16985 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16986 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16987 * nis/nss_compat/compat-initgroups.c (add_group)
16988 (internal_getgrent_r): Likewise.
16989 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16990 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16991 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16992 (internal_getspnam_r): Likewise.
16993 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16994 (_nss_nis_getaliasbyname_r): Likewise.
16995 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16996 (_nss_nis_getntohost_r): Likewise.
16997 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16998 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16999 (_nss_nis_getgrgid_r): Likewise.
17000 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17001 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17002 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17003 (_nss_nis_gethostbyname4_r): Likewise.
17004 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17005 (initgroups_netid): Likewise.
a1ffb40e 17006 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17007 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17008 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17009 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17010 (_nss_nis_getprotobynumber_r): Likewise.
17011 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17012 (_nss_nis_getsecretkey): Likewise.
17013 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17014 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17015 (_nss_nis_getpwuid_r): Likewise.
17016 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17017 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17018 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17019 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17020 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17021 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17022 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17023 Likewise.
57f41c40
AS
17024 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17025 (_nss_nisplus_getntohost_r): Likewise.
17026 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17027 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17028 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17029 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17030 Likewise.
57f41c40
AS
17031 * nis/nss_nisplus/nisplus-initgroups.c
17032 (_nss_nisplus_initgroups_dyn): Likewise.
17033 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17034 (_nss_nisplus_getnetbyaddr_r): Likewise.
17035 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17036 (_nss_nisplus_getprotobynumber_r): Likewise.
17037 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17038 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17039 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17040 Likewise.
57f41c40
AS
17041 * nis/nss_nisplus/nisplus-service.c
17042 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17043 (_nss_nisplus_getservbyport_r): Likewise.
17044 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17045 (_nss_nisplus_getspnam_r): Likewise.
17046 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17047 Likewise.
a1ffb40e
OB
17048 * nscd/aicache.c (addhstaiX): Likewise.
17049 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17050 * nscd/connections.c (register_traced_file, send_ro_fd)
17051 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17052 (main_loop_epoll): Likewise.
a1ffb40e
OB
17053 * nscd/grpcache.c (addgrbyX): Likewise.
17054 * nscd/hstcache.c (addhstbyX): Likewise.
17055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17056 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17057 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17058 (addinnetgrX): Likewise.
17059 * nscd/nscd-client.h (__nscd_acquire_maplock)
17060 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17061 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17062 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17063 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17064 Likewise.
17065 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17067 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17068 (__nscd_get_map_ref): Likewise.
a1ffb40e 17069 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17070 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17071 Likewise.
a1ffb40e
OB
17072 * nscd/pwdcache.c (addpwbyX): Likewise.
17073 * nscd/selinux.c (preserve_capabilities): Likewise.
17074 * nscd/servicescache.c (addservbyX): Likewise.
17075 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17076 * posix/fnmatch.c (fnmatch): Likewise.
17077 * posix/getopt.c (_getopt_internal_r): Likewise.
17078 * posix/glob.c (glob, glob_in_dir): Likewise.
17079 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17081 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17082 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17083 * resolv/res_init.c: Likewise.
17084 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17085 * resolv/res_query.c (__libc_res_nquery): Likewise.
17086 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17087 Likewise.
17088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17089 * stdio-common/perror.c (perror): Likewise.
17090 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17091 * stdio-common/tmpnam.c (tmpnam): Likewise.
17092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17093 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17094 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17095 Likewise.
a1ffb40e
OB
17096 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17097 * stdlib/putenv.c (putenv): Likewise.
17098 * stdlib/setenv.c (__add_to_environ): Likewise.
17099 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17100 * stdlib/strtol_l.c (INTERNAL): Likewise.
17101 * string/memmem.c (memmem): Likewise.
17102 * string/strerror.c (strerror): Likewise.
17103 * string/strnlen.c (__strnlen): Likewise.
17104 * string/test-memmem.c (simple_memmem): Likewise.
17105 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17106 * sunrpc/pm_getport.c (__get_socket): Likewise.
17107 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17108 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17109 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17110 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17111 Likewise.
17112 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17113 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17115 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17116 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17117 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17118 Likewise.
17119 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17120 Likewise.
a1ffb40e
OB
17121 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17122 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17123 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17124 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17125 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17127 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17128 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17129 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17130 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17131 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17132 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17133 Likewise.
17134 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17135 Likewise.
17136 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17137 Likewise.
17138 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17139 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17140 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17141 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17142 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17143 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17144 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17146 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17147 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17148 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17153 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17154 Likewise.
a1ffb40e
OB
17155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17156 Likewise.
17157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17158 Likewise.
17159 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17160 Likewise.
17161 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17162 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17163 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17164 Likewise.
17165 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17166 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17167 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17168 * sysdeps/posix/sleep.c: Likewise.
17169 * sysdeps/posix/tempname.c: Likewise.
17170 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17171 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17172 Likewise.
57f41c40
AS
17173 * sysdeps/powerpc/powerpc32/dl-machine.h
17174 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17175 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17176 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17177 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17178 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17179 Likewise.
17180 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17181 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17182 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17183 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17184 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17185 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17186 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17187 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17188 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17189 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17191 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17192 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17193 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17194 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17195 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17196 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17197 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17198 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17199 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17200 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17201 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17202 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17203 Likewise.
17204 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17205 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17206 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17207 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17208 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17209 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17210 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17211 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17212 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17213 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17214 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17215 Likewise.
17216 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17217 (__posix_fallocate64_l64): Likewise.
17218 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17219 (posix_fallocate): Likewise.
57f41c40
AS
17220 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17221 Likewise.
a1ffb40e 17222 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17223 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17224 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17225 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17226 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17227 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17228 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17229 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17230 (__posix_fallocate64_l64): Likewise.
17231 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17232 Likewise.
17233 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17234 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17235 (__get_clockfreq): Likewise.
a1ffb40e
OB
17236 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17237 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17238 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17239 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17240 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17241 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17242 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17243 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17244 Likewise.
17245 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17246 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17247 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17250 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17251 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17252 Likewise.
17253 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17254 (posix_fallocate): Likewise.
17255 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17256 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17257 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17258 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17259 (elf_machine_rela, elf_machine_rela_relative)
17260 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17261 * time/asctime.c (asctime_internal): Likewise.
17262 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17263 * time/tzset.c (__tzset_parse_tz): Likewise.
17264 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17265 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17266 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17267 * wcsmbs/wcsmbsload.h: Likewise.
17268
f3d338c9
OB
17269 [BZ #15894]
17270 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17271
57f41c40
AS
17272 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17273 (arena_get2): Remove THREAD_STATS conditionals.
17274 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17275 (__malloc_stats, int): Likewise.
bdfe308a 17276
d674667c
MF
172772014-02-08 Mike Frysinger <vapier@gentoo.org>
17278
17279 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17280 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17281
6349768c
MF
17282 * manual/setjmp.texi: Fix typos/grammar errors.
17283
0b7c7473
MF
17284 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17285 Only return early when n is <= 0. Delete unused return statement.
17286
ac8cc9e3
MF
17287 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17288 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17289 * debug/tst-longjmp_chk3.c: New file.
17290
c5bb8e23
MF
17291 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17292 (test_main): Replace code with set_fortify_handler call.
17293 * debug/test-strcpy_chk.c: Likewise.
17294 * debug/tst-chk1.c: Likewise.
17295 * debug/tst-longjmp_chk.c: Likewise.
17296 * test-skeleton.c: Include fcntl.h & paths.h
17297 (set_fortify_handler): Define.
17298
10444e42
MF
17299 * debug/tst-longjmp_chk.c: Add header comment and include
17300 ../test-skeleton.c.
17301 (do_test): Mark static.
17302 (TEST_FUNCTION): Define.
17303
1e805e8d
MF
17304 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17305 (IP_PMTUDISC_INTERFACE): Likewise.
17306 (IP_MULTICAST_IF): Likewise.
17307 (IP_MULTICAST_TTL): Likewise.
17308 (IP_MULTICAST_LOOP): Likewise.
17309 (IP_ADD_MEMBERSHIP): Likewise.
17310 (IP_DROP_MEMBERSHIP): Likewise.
17311 (IP_UNBLOCK_SOURCE): Likewise.
17312 (IP_BLOCK_SOURCE): Likewise.
17313 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17314 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17315 (IP_MSFILTER): Likewise.
17316 (MCAST_JOIN_GROUP): Likewise.
17317 (MCAST_BLOCK_SOURCE): Likewise.
17318 (MCAST_UNBLOCK_SOURCE): Likewise.
17319 (MCAST_LEAVE_GROUP): Likewise.
17320 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17321 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17322 (MCAST_MSFILTER): Likewise.
17323 (IP_MULTICAST_ALL): Likewise.
17324 (IP_UNICAST_IF): Likewise.
17325
73f79bb7
MF
17326 * timezone/Makefile: Delete $(have-ksh) check.
17327 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17328 * timezone/tzselect.ksh: Add +x mode bits.
17329
8da79b60
MF
17330 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17331 (ANON_INODE_FS_MAGIC): Likewise.
17332 (BDEVFS_MAGIC): Likewise.
17333 (BINFMTFS_MAGIC): Likewise.
17334 (BTRFS_TEST_MAGIC): Likewise.
17335 (CRAMFS_MAGIC_WEND): Likewise.
17336 (DEBUGFS_MAGIC): Likewise.
17337 (ECRYPTFS_SUPER_MAGIC): Likewise.
17338 (EXT3_SUPER_MAGIC): Likewise.
17339 (EXT4_SUPER_MAGIC): Likewise.
17340 (FUTEXFS_SUPER_MAGIC): Likewise.
17341 (HOSTFS_SUPER_MAGIC): Likewise.
17342 (HUGETLBFS_MAGIC): Likewise.
17343 (MINIX3_SUPER_MAGIC): Likewise.
17344 (MTD_INODE_FS_MAGIC): Likewise.
17345 (NILFS_SUPER_MAGIC): Likewise.
17346 (OPENPROM_SUPER_MAGIC): Likewise.
17347 (PIPEFS_MAGIC): Likewise.
17348 (PSTOREFS_MAGIC): Likewise.
17349 (QNX6_SUPER_MAGIC): Likewise.
17350 (RAMFS_MAGIC): Likewise.
17351 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17352 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17353 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17354 (SECURITYFS_MAGIC): Likewise.
17355 (SELINUX_MAGIC): Likewise.
17356 (SMACK_MAGIC): Likewise.
17357 (SOCKFS_MAGIC): Likewise.
17358 (SQUASHFS_MAGIC): Likewise.
17359 (STACK_END_MAGIC): Likewise.
17360 (TMPFS_MAGIC): Likewise.
17361 (USBDEVICE_SUPER_MAGIC): Likewise.
17362 (V9FS_MAGIC): Likewise.
17363 (XENFS_SUPER_MAGIC): Likewise.
17364 (CRAMFS_MAGIC): Fix typo in comment.
17365 (EXT2_SUPER_MAGIC): Update comment.
17366 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17367
464263cc
JM
173682014-02-08 Joseph Myers <joseph@codesourcery.com>
17369
c6bfe5c4
JM
17370 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17371 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17372 * sysdeps/unix/sysv/linux/arm: Move directory from
17373 ports/sysdeps/unix/sysv/linux/arm.
17374 * README: Update listing for arm-*-linux-gnueabi.
17375
464263cc
JM
17376 * README: Remove mention of am33.
17377
32749f6c
RM
173782014-02-07 Roland McGrath <roland@hack.frob.com>
17379
17380 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17381 than the comma operator, to avoid "rhs of comma has no effect"
17382 compiler warnings.
17383 (__sigfillset, __sigandset, __sigorset): Likewise.
17384 * include/signal.h (__sigemptyset): Likewise.
17385 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17386
d5b396c1
AM
173872014-02-07 Allan McRae <allan@archlinux.org>
17388
17389 * version.h (RELEASE): Set to "development".
17390 (VERSION): Set to "2.19.90"
17391 * NEWS: Add 2.20 section.
17392
3bfff2ed
CD
173932014-02-06 Carlos O'Donell <carlos@redhat.com>
17394
17395 [BZ #16529]
17396 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17397
ee7cc385
SP
173982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17399
17400 * manual/contrib.texi: Update entry for Carlos O'Donell,
17401 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17402
f877c4f2
CD
174032014-02-05 Carlos O'Donell <carlos@rehdat.com>
17404
27e839f6
CD
17405 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17406
f877c4f2
CD
17407 * sysdeps/unix/sysv/linux/kernel-features.h
17408 [__LINUX_KERNEL_VERSION >= 0x020621]
17409 (__ASSUME_PROC_PID_TASK_COMM): Define.
17410
68159946
SP
174112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17412
ba17cdbd
SP
17413 [BZ #16398]
17414 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17415 conversion when destination buffer does not have enough space.
17416 * libio/tst-ftell-partial-wide.c: New test case.
17417 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17418
68159946
SP
17419 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17420 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17421 Leonard and Allan McRae.
17422
2b528732
DM
174232014-02-04 David S. Miller <davem@davemloft.net>
17424
17425 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17426 32-bit.
17427
0ff82463
AZ
174282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17429
57f41c40
AS
17430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17431 New file
c01603f7
AZ
17432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17433 New file
57f41c40
AS
17434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17435 New file.
17436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17437 New file.
c01603f7
AZ
17438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17439 New file.
57f41c40
AS
17440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17441 New file.
17442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17443 New file.
c01603f7
AZ
17444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17445 New file.
17446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17447 New file.
17448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17449 New file.
17450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17451 New file.
17452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17453 New file.
17454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17455 New file.
17456
174572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17458
0ff82463
AZ
17459 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17460 * shlib-versions: Likewise.
17461
1695c773
AZ
174622014-02-04 Roland McGrath <roland@hack.frob.com>
17463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17464
17465 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17466 (abilist-pattern): New variable, set to %-le.abilist.
17467
17468 * Makerules (abilist-pattern): New variable.
17469 (vpath): Use $(abilist-pattern) in place of %.abilist.
17470 (check-abi-% pattern rule): Likewise.
17471 (check-abi, update-abi): Likewise.
17472
6c0ce4b4
EW
174732014-02-04 Eric Wong <normalperson@yhbt.net>
17474
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17476
481e3524
CD
174772014-02-03 Carlos O'Donell <carlos@redhat.com>
17478
17479 * manual/startup.texi: Add next, previous, and top entries for
17480 the `Program Arguments' and `Environment Variables' nodes.
17481
375592d3
AO
174822014-02-03 Alexandre Oliva <aoliva@redhat.com>
17483
17484 * manual/macros.texi: Add comments before MTASC-safety macros.
17485
f54838ba
AO
17486 * manual/users.texi: Document MTASC-safety properties.
17487
57f41c40
AS
17488 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17489 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17490 @deftypefun, and add @safety note.
17491 * manual/signal.texi: Move comments that analyze the above
17492 functions to their home place.
17493
fd3daba4
AM
174942014-02-03 Allan McRae <allan@archlinux.org>
17495
17496 * po/sl.po: Update Slovenian translation from translation project.
17497
597636d7
AO
174982014-02-02 Alexandre Oliva <aoliva@redhat.com>
17499
17500 * manual/time.texi (timegm): Add missing blank after @c.
17501 Reported by Joseph Myers <joseph@codesourcery.com>.
17502
ee196e3c
AO
175032014-02-01 Alexandre Oliva <aoliva@redhat.com>
17504
17505 * manual/check-safety.sh: New.
17506 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17507
f8d529d5
AO
17508 * manual/terminal.texi: Document MTASC-safety properties.
17509
de55fdf4
AO
17510 * manual/filesys.texi: Document MTASC-safety properties.
17511
c3299c08
AO
17512 * manual/errno.texi: Document MTASC-safety properties.
17513
06e90b14
AO
17514 * manual/intro.texi: Document safety identifiers and
17515 conditionals.
17516
1acd4371
AO
17517 * manual/string.texi (wcstok): Fix prototype.
17518 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17519
23e5b8cb
AO
17520 * manual/time.texi: Document MTASC-safety properties.
17521
11087373
AO
17522 * manual/string.texi: Document MTASC-safety properties.
17523
5da2c93d
AO
17524 * manual/threads.texi: Document MTASC-safety properties.
17525
171e9210
AO
17526 * manual/stdio.texi: Document MTASC-safety properties.
17527
d9e02532
AO
17528 * manual/syslog.texi: Document MTASC-safety properties.
17529
6af8bab7
AO
17530 * manual/sysinfo.texi: Document MTASC-safety properties.
17531
663b02d7
AO
17532 * manual/startup.texi: Document MTASC-safety properties.
17533
973f180b
AO
17534 * manual/socket.texi: Document MTASC-safety properties.
17535
8f3c25c8
AO
17536 * manual/signal.texi: Document MTASC-safety properties.
17537
542210fb
AO
175382014-01-31 Alexandre Oliva <aoliva@redhat.com>
17539
17540 * manual/setjmp.texi: Document MTASC-safety properties.
17541
433c45a2
AO
17542 * manual/search.texi: Document MTASC-safety properties.
17543
c8ce789c
AO
17544 * manual/resource.texi: Document MTASC-safety properties.
17545
19f5d29c
AO
17546 * manual/process.texi: Document MTASC-safety properties.
17547
e2dfb7f4
AO
17548 * manual/platform.texi: Document MTASC-safety properties.
17549
8c1413f5
AO
17550 * manual/pipe.texi: Document MTASC-safety properties.
17551
03483ada
AO
17552 * manual/pattern.texi: Document MTASC-safety properties.
17553
29e7e2df
AO
17554 * manual/message.texi: Document MTASC-safety properties.
17555
9f529d7c
AO
17556 [BZ #12751]
17557 * manual/memory.texi: Document MTASC-safety properties.
17558
27aaa791
AO
17559 * manual/math.texi: Document MTASC-safety properties.
17560
f2d58726
AO
17561 * manual/locale.texi: Document MTASC-safety properties.
17562
2cc3615c
AO
17563 * manual/llio.texi: Document MTASC-safety properties.
17564
d9f0ec97
AO
17565 * manual/libdl.texi: New.
17566
e7c4409a
AO
17567 * manual/lang.texi: Document MTASC-safety properties.
17568
27bdc63c
AO
17569 * manual/job.texi: Document MTASC-safety properties.
17570
a7b90ea9
AO
17571 * manual/getopt.texi: Document MTASC-safety properties.
17572
c49130e3
AO
17573 * manual/ctype.texi: Document MTASC-safety properties.
17574
0d23a5c1
MR
175752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17576
17577 [BZ #16046]
17578 * csu/libc-tls.c (static_map): Remove variable.
17579 (__libc_setup_tls): Use main executable's link map for TLS data.
17580 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17581 casing for LM_ID_BASE and GL(dl_nns).
17582 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17583 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17584 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17585 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17586 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17587 member.
17588 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17589 l_phnum members.
17590
0037bb60
AO
175912014-01-30 Alexandre Oliva <aoliva@redhat.com>
17592
17593 * manual/debug.texi: Document MTASC-safety properties.
17594
409e00bd
L
175952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17596
17597 [BZ #16510]
17598 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17599 of __x86_64__ when disabling x87 inline functions.
17600
86e60666
AO
176012014-01-29 Alexandre Oliva <aoliva@redhat.com>
17602
17603 * manual/charset.texi: Document MTASC-safety properties.
17604
76167637
AO
17605 * manual/crypt.texi: Document MTASC-safety properties.
17606
e567f2a0
AO
17607 * manual/conf.texi: Document MTASC-safety properties.
17608
b719dafd
AO
17609 * manual/arith.texi: Document MTASC-safety properties.
17610
4a16c662
AO
17611 * manual/argp.texi: Document MTASC-safety properties.
17612
0a57b83e
AO
17613 * manual/macros.texi: Introduce macros to document multi
17614 thread, asynchronous signal and asynchronous cancellation
17615 safety properties.
17616 * manual/intro.texi: Introduce the properties themselves.
17617
feab2397
KK
176182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17619
17620 * sysdeps/sh/sh4/Makefile: New file.
17621
1c0d11bc
AS
176222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17623
17624 * math/gen-libm-test.pl ($srcdir): New variable.
17625 ($auto_input): Use it.
17626
af37a8a3
SP
176272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17628
d7b00f98
SP
17629 [BZ #16506]
17630 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17631 access beyond array bounds when parsing netgroups file.
17632
af37a8a3
SP
17633 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17634 the old buffer before realloc.
17635
0c00f062
AM
176362014-01-27 Allan McRae <allan@archlinux.org>
17637
17638 * po/fr.po: Update French translation from translation project.
17639
7d69a1b0
KK
176402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17641
17642 * sysdeps/sh/libm-test-ulps: Regenerate.
17643
6e697ff7
DM
176442014-01-24 David S. Miller <davem@davemloft.net>
17645
17646 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17647
9cadb35c
KK
176482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17649
17650 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17651 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17652
5d41dadf
SP
176532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17654
17655 [BZ #16474]
17656 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17657 string pointers after reallocation.
17658
0bad441c
KK
176592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17660
17661 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17662 __SH4A__ instead of __SH_FPU_ANY__.
17663
7007c661
KK
176642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17665
17666 * sysdeps/sh/fpu_control.h: New file.
17667 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17668 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17669 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17670 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17671 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17672 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17673 * sysdeps/sh/sys/ucontext.h: Remove.
17674 * sysdeps/sh/sys: Remove directory.
17675
0f0c35e4
AK
176762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17677
17678 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17679 s390/sys/ucontext.h.
17680 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17681 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17682
4959e284
L
176832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17684
17685 [BZ #15605]
17686 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17687
d98720e0
AZ
176882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17689
17690 [BZ#16431]
17691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17692 Adjust the vDSO correctly for internal calls.
17693 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17694
91cbd0bc
AM
176952014-01-20 Allan McRae <allan@archlinux.org>
17696
17697 * po/ca.po: Update Catalan translation from translation project.
17698
7a02cfad
MF
176992014-01-16 Mike Frysinger <vapier@gentoo.org>
17700
17701 * sysdeps/s390/sotruss-lib.c: New file.
17702
736c304a
AZ
177032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17704
17705 [BZ#16430]
6e077ee5 17706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17707 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17708 local calls issues by not having a PLT stub required for IFUNC calls.
17709 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17710
94d0cea0
JM
177112014-01-16 Joseph Myers <joseph@codesourcery.com>
17712
17713 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17714 * math/test-fpucw-static.c: Likewise.
17715
980cb518
SP
177162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17717
17718 [BZ #16453]
17719 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17720
2393fc01
AZ
177212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17722
17723 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17724 implementation for powerpc.
17725
d359bcc2
OB
177262014-01-15 Ondřej Bílka <neleai@seznam.cz>
17727
17728 [BZ #14782]
17729 * sysdeps/posix/system.c (__libc_system): Do not enable
17730 asynchronous cancellation.
17731
7beb48cb
AK
177322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17733
17734 [BZ #16427]
17735 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17736 handling only for numbers special also in the IEEE case.
17737
c20d5bf5
AK
177382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17739
17740 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17741
e83bd4ee
AM
177422014-01-11 Allan McRae <allan@archlinux.org>
17743
76d0ea69
AM
17744 * po/bg.po: Update Bulgarian translation from translation project.
17745
e83bd4ee
AM
17746 * po/de.po: Update German translation from translation project.
17747
bc2ba20a
RM
177482014-01-10 Roland McGrath <roland@hack.frob.com>
17749
17750 * sysdeps/generic/gcc-compat.h: New file.
17751
649ecea2
SP
177522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17753
17754 * benchtests/asin-inputs: Correct slow inputs.
17755 * benchtests/acos-inputs: Likewise.
17756
1b19c006
AM
177572014-01-10 Allan McRae <allan@archlinux.org>
17758
a46dab08
AM
17759 * po:sv.po: Update Swedish translation from translation project.
17760
421df74a
AM
17761 * po/vi.po: Update Vietnamese translation from translation project.
17762
d61c51a7
AM
17763 * po/eo.po: Update Esperanto translation from translation project.
17764
0339a319
AM
17765 * po/cs.po: Update Czech translation from translation project.
17766
94ad3e99
AM
17767 * po/nl.po: Update Dutch translation from translation project.
17768
e349ca71
AM
17769 * po/pl.po: Update Polish translation from translation project.
17770
ddf930c1
AM
17771 * po/ru.po: Update Russian translation from translation project.
17772
1b19c006
AM
17773 * po/uk.po: Update Ukrainian translation from translation project.
17774
9f236c49
BM
177752014-01-08 Brooks Moses <bmoses@google.com>
17776
17777 * elf/dl-load.c: Fix comment typo.
17778
cd6701cf
CD
177792014-01-08 Carlos O'Donell <carlos@redhat.com>
17780
17781 * po/header.pot: Rename to...
17782 * po/pot.header: ... this.
17783 * po/Makefile: Use pot.header.
17784
66671c84
YK
177852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17786 Maxim Kuvyrkov <maxim@kugelworks.com>
17787
17788 [BZ #16394]
cd6701cf
CD
17789 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17790 SRC and DEST against LEN.
66671c84 17791
38f34581
AZ
177922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17793
17794 [BZ #16414]
17795 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17796 implementation.
17797 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17798
177992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17800
17801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17802
4c327f2a
JM
178032014-01-08 Joseph Myers <joseph@codesourcery.com>
17804
17805 [BZ #16408]
17806 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17807 for large positive arguments.
17808
b821f414
JM
178092014-01-07 Joseph Myers <joseph@codesourcery.com>
17810
1f0f2067
JM
17811 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17812
a5a326f6
JM
17813 * math/auto-libm-test-in: Mark various tests with
17814 xfail-rounding:ldbl-128ibm.
17815 * math/auto-libm-test-out: Regenerated.
17816
b821f414
JM
17817 [BZ #16407]
17818 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17819 Increase overflow threshold.
17820
94c8a4bc
OB
178212014-01-07 Ondřej Bílka <neleai@seznam.cz>
17822
17823 [BZ #14286]
17824 * stdio-common/vfprintf.c: Check for integer overflow.
17825
87ded0c3
AK
178262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17827
17828 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17829 the first argument and return value of __tls_get_addr_internal.
17830
c5eebdd0
AK
178312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17832
17833 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17834 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17835
05d138ef
AK
178362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17837
17838 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17839 * sysdeps/s390/rtld-global-offsets.sym: New file.
17840 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17841 GLIBC_2.19 symbol.
17842 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17844 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17845 ... this.
17846 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17847 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17848 ... this.
17849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17850 Regenerate.
17851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17852 Regenerate.
17853 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17854 halfs of GPRs for high_gprs contexts.
17855 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17856 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17857 field.
17858 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17859 uc_flags field.
17860 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17861 64 bit versions:
17862 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17863 for high GPRs (uc_high_gprs) and for future extensions
17864 (__reserved).
17865 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17866 for future extensions (__reserved).
17867 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17868 64 bit versions:
17869 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17870 SC_HIGHGPRS offset definition.
17871 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17872 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17873
93a45ff1
AK
17874 * Versions.def: Add GLIBC_2.19 for libpthread.
17875 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17876 siglongjmp for libpthread with GLIBC_2.19 symver.
17877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17878 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17879 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17880 * sysdeps/s390/__longjmp.c: New file.
17881 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17882 * sysdeps/s390/longjmp.c: New file.
17883 * sysdeps/s390/setjmp.S: New file.
17884 * sysdeps/s390/sigjmp.S: New file.
17885 * sysdeps/s390/v1-longjmp.c: New file.
17886 * sysdeps/s390/v1-setjmp.h: New file.
17887 * sysdeps/s390/v1-sigjmp.c: New file.
17888 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17889 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17890 GLIBC_2.19 version.
17891 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17893 versioned symbols for ____longjmp_chk.
17894 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17895 Likewise.
17896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17897 Regenerate.
17898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17899 Regenerate.
17900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17901 Regenerate.
17902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17903 Regenerate.
17904 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17905 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17906 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17907 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17908 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17909 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17910 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17911 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17912 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17913 * sysdeps/s390/rtld-__longjmp.c: New file.
17914 * sysdeps/s390/rtld-setjmp.S: New file.
17915
eb3fc44b
JM
179162014-01-06 Joseph Myers <joseph@codesourcery.com>
17917
17918 [BZ #16400]
17919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17920 Return -__logl (x) for small positive arguments without evaluating
17921 a polynomial.
17922
9341dde4
MF
179232014-01-06 Mike Frysinger <vapier@gentoo.org>
17924
17925 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17926 Rename to ...
17927 (__ptrace_peeksiginfo_args): ... this.
17928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17931
4cff0293
AM
179322014-01-06 Allan McRae <allan@archlinux.org>
17933
17934 * inet/netinet/in.h: Fix typo in comment.
17935
75595dcf
AJ
179362014-01-05 Andreas Jaeger <aj@suse.de>
17937
17938 * sysdeps/i386/fpu/libm-test-ulps: Update.
17939
79c1e109
AM
179402014-01-05 Allan McRae <allan@archlinux.org>
17941
dd804818
AM
17942 * po/libc.pot: Regenerated.
17943
79c1e109
AM
17944 * malloc/memusagestat.c: Fix gettext call formatting.
17945
0c813d1f
SK
179462014-01-04 Sami Kerola <kerolasa@iki.fi>
17947
17948 * nscd/nscd.c: Improve usage() output.
17949
20f4a8d9
MF
179502014-01-04 Mike Frysinger <vapier@gentoo.org>
17951
17952 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17953 * sysdeps/unix/sysv/linux/configure: Regenerated.
17954 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17955 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17956
22562bb2
JM
179572014-01-03 Joseph Myers <joseph@codesourcery.com>
17958
17959 [BZ #16390]
17960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17961 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17962
d7ad2d9b
AZ
179632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17964
17965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17966 extra tokens at end of #undef directive.
17967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17970
7dd009d8
JM
179712014-01-03 Joseph Myers <joseph@codesourcery.com>
17972
24db925a
JM
17973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17974
7dd009d8
JM
17975 * math/auto-libm-test-in: Mark various tests with
17976 xfail-rounding:ldbl-128ibm.
17977 * math/auto-libm-test-out: Regenerated.
17978
396e3ecf
JM
179792014-01-02 Joseph Myers <joseph@codesourcery.com>
17980
819e5d50
JM
17981 [BZ #16386]
17982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17983 numbers with subnormal high part when calculating exponent.
17984
90b6a1e5
JM
17985 [BZ #16385]
17986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17987 fabs.
17988
396e3ecf
JM
17989 [BZ #16384]
17990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17991 M_LN2l.
17992 (__ieee754_acoshl): Use __log1pl not __log1p.
17993
6c8dbf00
OB
179942013-01-02 Ondřej Bílka <neleai@seznam.cz>
17995
57f41c40
AS
17996 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17997 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17998 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17999 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18000 (reused_arena, arena_get2): Convert to GNU style.
18001 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18002 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18003 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18004 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18005 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18006 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18007 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18008 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18009 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18010 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18011 * malloc/malloc.h: Likewise.
57f41c40
AS
18012 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18013 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18014 * malloc/mcheck.h: Likewise.
57f41c40
AS
18015 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18016 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18017 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18018 * malloc/morecore.c (__default_morecore): Likewise.
18019 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18020 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18021 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18022 (print_and_abort): Likewise.
6c8dbf00
OB
18023 * malloc/obstack.h: Likewise.
18024 * malloc/set-freeres.c (__libc_freeres): Likewise.
18025 * malloc/tst-mallocstate.c (main): Likewise.
18026 * malloc/tst-mtrace.c (main): Likewise.
18027 * malloc/tst-realloc.c (do_test): Likewise.
18028
d4124212
SP
180292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18030
9a3c6a6f
SP
18031 [BZ #16366]
18032 * nscd/netgroupcache.c (do_notfound): New function.
18033 (addgetnetgrentX): Use it.
18034
d4124212
SP
18035 [BZ # 16365]
18036 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18037 NSS_STATUS_NOTFOUND.
18038
97b9a009
JM
180392014-01-01 Joseph Myers <joseph@codesourcery.com>
18040
18041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043
d4697bc9
AM
180442014-01-01 Allan McRae <allan@archlinux.org>
18045
ddb3687f
AM
18046 * scripts/update-copyrights: Update configure input file suffix.
18047
88726d48
AM
18048 * NEWS: Update copyright year.
18049 * catgets/gencat.c: Likewise.
18050 * csu/version.c: Likewise.
18051 * debug/catchsegv.sh: Likewise.
18052 * debug/pcprofiledump.c: Likewise.
18053 * debug/xtrace.sh: Likewise.
18054 * elf/ldconfig.c: Likewise.
18055 * elf/ldd.bash.in: Likewise.
18056 * elf/pldd.c: Likewise.
18057 * elf/sotruss.ksh: Likewise.
18058 * elf/sprof.c: Likewise.
18059 * iconv/iconv_prog.c: Likewise.
18060 * iconv/iconvconfig.c: Likewise.
18061 * locale/programs/locale.c: Likewise.
18062 * locale/programs/localedef.c: Likewise.
18063 * login/programs/pt_chown.c: Likewise.
18064 * malloc/memusage.sh: Likewise.
18065 * malloc/memusagestat.c: Likewise.
18066 * malloc/mtrace.pl: Likewise.
18067 * manual/libc.texinfo: Likewise.
18068 * nscd/nscd.c: Likewise.
18069 * nss/getent.c: Likewise.
18070 * nss/makedb.c: Likewise.
18071 * posix/getconf.c: Likewise.
18072 * scripts/test-installation.pl: Likewise.
18073
d4697bc9
AM
18074 * All files with FSF copyright notices: Update copyright dates
18075 using scripts/update-copyrights.
18076 * intl/plural.c: Regenerated.
18077 * locale/programs/charmap-kw.h: Likewise.
18078 * locale/programs/locfile-kw.h: Likewise.
18079
c8590f9d
MF
180802013-12-31 Mike Frysinger <vapier@gentoo.org>
18081
18082 * sysdeps/unix/sysv/linux/configure: Regenerated.
18083 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18084 the linux/fanotify.h header.
18085 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18086 HAVE_LINUX_FANOTIFY_H is defined.
18087
b19221b9
SP
180882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18089
dd1d85e5
SP
18090 * benchtests/cos-inputs: New inputs.
18091 * benchtests/sin-inputs: Likewise.
18092
1acbb90f
SP
18093 * benchtests/atan-inputs: New inputs. Fix name of multiple
18094 precision fallback inputs.
18095
4c012ed3
SP
18096 * benchtests/atanh-inputs: New inputs.
18097 * benchtests/tanh-inputs: Likewise.
18098
eff98324
SP
18099 * benchtests/acosh-inputs: New inputs.
18100 * benchtests/asinh-inputs: Likewise.
18101
ce641152
SP
18102 * benchtests/cosh-inputs: New inputs.
18103 * benchtests/sinh-inputs: Likewise.
18104
b19221b9
SP
18105 * benchtests/acos-inputs: Add more inputs.
18106 * benchtests/asin-inputs: Likewise.
18107
030a4976 181082013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18109
030a4976 18110 [BZ #16375]
9dcc8f11
VS
18111 * manual/arith.texi: Fix spelling.
18112 * manual/charset.texi: Likewise.
18113 * manual/errno.texi: Likewise.
18114 * manual/filesys.texi: Likewise.
18115 * manual/lang.texi: Likewise.
18116 * manual/llio.texi: Likewise.
18117 * manual/locale.texi: Likewise.
18118 * manual/message.texi: Likewise.
18119 * manual/resource.texi: Likewise.
18120 * manual/search.texi: Likewise.
18121 * manual/setjmp.texi: Likewise.
18122 * manual/stdio.texi: Likewise.
18123 * manual/string.texi: Likewise.
18124 * manual/sysinfo.texi: Likewise.
18125 * manual/time.texi: Likewise.
18126
11520a57
CD
181272013-12-27 Carlos O'Donell <carlos@redhat.com>
18128
18129 * po/sl.po: New file.
18130
471103ae
MF
181312013-12-27 Mike Frysinger <vapier@gentoo.org>
18132
18133 * .gitignore: Add core/.gdbinit/.gdb_history.
18134
6c9642ed
AM
181352013-12-27 Allan McRae <allan@archlinux.org>
18136
18137 [BZ #16369]
18138 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18139 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18140
3f637079
BM
181412013-12-24 Brooks Moses <bmoses@google.com>
18142
18143 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18144 all compilers that claim C++98 compliance, not just GCC.
18145 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18146 Likewise.
18147
abc26e99
MK
181482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18149
18150 * NEWS: Restore accidentally deleted bug-fix entries.
18151
362b47fe
MK
181522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18153 Ondřej Bílka <neleai@seznam.cz>
18154
18155 [BZ #15073]
18156 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18157 have_lock.
362b47fe 18158
b9bcbbcb
OB
181592013-12-23 Ondřej Bílka <neleai@seznam.cz>
18160
18161 [BZ #12986]
18162 * manual/stdio.texi (String Input Conversions): Clarify that character
18163 classes are not supported.
18164
fb55fcd2
AZ
181652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18166
18167 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18168
ef7344f0
JM
181692013-12-22 Joseph Myers <joseph@codesourcery.com>
18170
4f40e4b3
JM
18171 [BZ #16337]
18172 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18173 Calculate results for small negative arguments directly rather
18174 than using reflection formula with special underflow handling.
18175
ef7344f0
JM
18176 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18177 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18178 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18179 (fchflags): Likewise.
18180 (revoke): Likewise.
18181 (setlogin): Likewise.
18182 (sigaltstack): Likewise.
18183 (wait4): Likewise.
18184 (sigblock): Remove.
18185 (sigsetmask): Likewise.
18186 (wait3): Likewise.
18187 (waitpid): Likewise.
18188 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18189 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18190 file.
18191 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18192 * sysdeps/unix/bsd/Makefile: ... here.
18193 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18194 * sysdeps/unix/bsd/Versions: ... here.
18195 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18196 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18197 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18198 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18199 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18200 * sysdeps/unix/bsd/sigblock.c: ... here.
18201 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18202 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18203 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18204 * sysdeps/unix/bsd/sigvec.c: ... here.
18205 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18206 * sysdeps/unix/bsd/tcdrain.c: ... here.
18207 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18208 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18209 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18210 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18211 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18212 * sysdeps/unix/bsd/wait.c: ... here.
18213 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18214 * sysdeps/unix/bsd/wait3.c: ... here.
18215 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18216 * sysdeps/unix/bsd/waitpid.c: ... here.
18217
5b0626b9
JM
182182013-12-21 Joseph Myers <joseph@codesourcery.com>
18219
18220 [BZ #16356]
18221 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18222 round-to-nearest for [!USE_AS_EXPM1L].
18223 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18224 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18225 more tests of exp and exp10. Expect some exp10 tests to miss
18226 exceptions or fail in directed rounding modes.
18227 * math/auto-libm-test-out: Regenerated.
18228 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18229 (exp10_test_tonearest): New function.
18230 (exp10_towardzero_test_data): New array.
18231 (exp10_test_towardzero): New function.
18232 (exp10_downward_test_data): New array.
18233 (exp10_test_downward): New function.
18234 (exp10_upward_test_data): New array.
18235 (exp10_test_upward): New function.
18236 (main): Call the new functions.
18237 * sysdeps/i386/fpu/libm-test-ulps: Update.
18238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18239
7fda5682
JM
182402013-12-20 Joseph Myers <joseph@codesourcery.com>
18241
31e3a405
JM
18242 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18243 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18244 * math/auto-libm-test-out: Regenerated.
18245 * math/libm-test.inc (acosh_test_data): Add more tests.
18246 (atanh_test_data): Likewise.
18247 (ceil_test_data): Likewise.
18248 (copysign_test_data): Likewise.
18249 * sysdeps/i386/fpu/libm-test-ulps: Update.
18250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18251
85bff96a
JM
18252 * timezone/checktab.awk: Update from tzcode 2013i.
18253 * timezone/private.h: Likewise.
18254 * timezone/scheck.c: Likewise.
18255 * timezone/tzfile.h: Likewise.
18256 * timezone/tzselect.ksh: Likewise.
18257 * timezone/zdump.c: Likewise.
18258 * timezone/zic.c: Likewise.
18259
b7867a3b
JM
18260 * math/auto-libm-test-in: Add tests of cpow.
18261 * math/auto-libm-test-out: Regenerated.
18262 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18263 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18264 mpc_cc_c.
18265 (func_calc_desc): Add mpc_cc_c union field.
18266 (test_functions): Add cpow.
18267 (special_fill_2pi): New function.
18268 (special_real_inputs): Add 2pi.
18269 (calc_generic_results): Handle mpc_cc_c.
18270 * sysdeps/i386/fpu/libm-test-ulps: Update.
18271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18272
7fda5682
JM
18273 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18274 csqrt, ctan and ctanh.
18275 * math/auto-libm-test-out: Regenerated.
18276 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18277 (TEST_COND_x86): Likewise.
18278 (ccos_test_data): Use AUTO_TESTS_c_c.
18279 (ccosh_test_data): Likewise.
18280 (cexp_test_data): Likewise.
18281 (clog_test_data): Likewise.
18282 (csqrt_test_data): Likewise.
18283 (ctan_test_data): Likewise.
18284 (ctan_tonearest_test_data): Likewise.
18285 (ctan_towardzero_test_data): Likewise.
18286 (ctan_downward_test_data): Likewise.
18287 (ctan_upward_test_data): Likewise.
18288 (ctanh_test_data): Likewise.
18289 (ctanh_tonearest_test_data): Likewise.
18290 (ctanh_towardzero_test_data): Likewise.
18291 (ctanh_downward_test_data): Likewise.
18292 (ctanh_upward_test_data): Likewise.
18293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18294 mpc_c_c.
18295 (func_calc_desc): Add mpc_c_c union field.
18296 (FUNC_mpc_c_c): New macro.
18297 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18298 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18299 ctanh.
18300 (special_fill_min_subnorm_p120): New function.
18301 (special_real_inputs): Add min_subnorm_p120.
18302 (calc_generic_results): Handle mpc_c_c.
18303 * sysdeps/i386/fpu/libm-test-ulps: Update.
18304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18305
5ff8d60e
SP
183062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18307
57f41c40
AS
18308 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18309 (do_sin_slow): New functions.
18310 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18311 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18312
84ba214c
SP
18313 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18314 Use M to change sign of result instead of X. Assume X is
18315 positive.
18316 (csloww1): Likewise.
18317 (__sin): Adjust.
18318 (__cos): Adjust.
18319
975195e4
SP
18320 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18321 arguments A and DA.
18322 (__sin): Adjust.
18323 (__cos): Likewise.
18324
5ff8d60e
SP
18325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18326 (__cos): Likewise.
18327 (sloww1): Don't adjust sign of DX.
18328 (csloww1): Likewise.
18329 (sloww2): Use X directly and don't adjust sign of DX.
18330 (csloww2): Likewise.
18331
eb983568
JM
183322013-12-19 Joseph Myers <joseph@codesourcery.com>
18333
64a17f1a
JM
18334 * math/auto-libm-test-in: Add tests of cabs and carg.
18335 * math/auto-libm-test-out: Regenerated.
18336 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18337 (carg_test_data): Likewise.
18338 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18339 mpc_c_f.
18340 (func_calc_desc): Add mpc_c_f union field.
18341 (test_functions): Add cabs and carg.
18342 (calc_generic_results): Handle mpc_c_f.
18343
eb983568
JM
18344 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18345 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18346 as a macro and a compat symbol.
18347 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18348 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18349 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18350 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18351 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18352 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18353 not use .hidden.
18354 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18355 Likewise.
18356 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18357 Likewise.
18358 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18359 Likewise.
18360 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18361 Likewise.
18362 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18363 Likewise.
18364 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18365 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18366 from GLIBC_2.3.2.
18367
6eeb678a
AZ
183682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18369
18370 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18371
6f6fc482
JM
183722013-12-19 Joseph Myers <joseph@codesourcery.com>
18373
21fea2e2
JM
18374 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18375 trailing whitespace removed.
18376 * scripts/config.guess: Update to version 2013-11-29.
18377 * scripts/config.sub: Update to version 2013-10-01.
18378
6f6fc482
JM
18379 * math/auto-libm-test-in: Add tests of sincos.
18380 * math/auto-libm-test-out: Regenerated.
18381 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18382 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18383 mpfr_f_11.
18384 (func_calc_desc): Add mpfr_f_11 union field.
18385 (test_functions): Add sincos.
18386 (calc_generic_results): Handle mpfr_f_11.
18387 * sysdeps/i386/fpu/libm-test-ulps: Update.
18388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18389
83f5c32d
AS
183902013-12-19 Andreas Schwab <schwab@suse.de>
18391
18392 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18393 CALL_MCOUNT.
18394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18395 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18396 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18397
c688b419
JM
183982013-12-19 Joseph Myers <joseph@codesourcery.com>
18399
335ee092
JM
18400 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18401 * sysdeps/i386/fpu/libm-test-ulps: Update.
18402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403
f88acd39
JM
18404 [BZ #16293]
18405 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18406 round-to-nearest mode when using frndint.
18407 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18408 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18409 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18410 Likewise.
18411 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18412 sinh test to fail.
18413 * math/auto-libm-test-out: Regenerated.
18414 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18415 (TEST_COND_x86): Likewise.
18416 (expm1_tonearest_test_data): New array.
18417 (expm1_test_tonearest): New function.
18418 (expm1_towardzero_test_data): New array.
18419 (expm1_test_towardzero): New function.
18420 (expm1_downward_test_data): New array.
18421 (expm1_test_downward): New function.
18422 (expm1_upward_test_data): New array.
18423 (expm1_test_upward): New function.
18424 (main): Run the new test functions.
18425 * sysdeps/i386/fpu/libm-test-ulps: Update.
18426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18427
c688b419
JM
18428 * include/features.h: Update comment documenting feature test
18429 macros. Mention _DEFAULT_SOURCE in comment.
18430 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18431 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18432 _BSD_SOURCE and _SVID_SOURCE.
18433 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18434 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18435 !_SVID_SOURCE]: Likewise.
18436 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18437 (__USE_POSIX_IMPLICITLY): Define.
18438 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18439 (_POSIX_SOURCE): Undefine and redefine.
18440 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18441 (_POSIX_C_SOURCE): Likewise.
18442 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18443 (Feature Test Macros): Update documentation of default features.
18444
9f6e964c
RS
184452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18446
18447 * benchtests/Makefile: Add bench-strtok.
18448 * benchtests/bench-strtok.c: New file: strtok benchtest.
18449
ee0a148a
AM
184502013-12-19 Allan McRae <allan@archlinux.org>
18451
18452 * manual/install.texi: Suppress menu for plain text output.
18453 * INSTALL: Regenerated.
18454
b9ab448f
BM
184552013-12-18 Brooks Moses <bmoses@google.com>
18456
18457 [BZ #15846]
18458 * misc/getauxval.c: Include errno.h.
18459 (__getauxval): Set errno to ENOENT if the requested type is not
18460 found.
18461 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18462 don't declare with __attribute_const__.
18463 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18464 * manual/startup.texi: Document that getauxval sets errno.
18465
23776487
JM
184662013-12-18 Joseph Myers <joseph@codesourcery.com>
18467
f889953b
JM
18468 * math/auto-libm-test-in: Add tests of jn and yn.
18469 * math/auto-libm-test-out: Regenerated.
18470 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18471 (yn_test_data): Likewise.
18472 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18473 mpfr_if_f.
18474 (func_calc_desc): Add mpfr_if_f union field.
18475 (FUNC_mpfr_if_f): New macro.
18476 (test_functions): Add jn and yn.
18477 (calc_generic_results): Assert type of second input for
18478 mpfr_ff_f. Handle mpfr_if_f.
18479 (output_for_one_input_case): Disable all checking for arguments
18480 fitting floating-point types in case of an integer argument.
18481 * sysdeps/i386/fpu/libm-test-ulps: Update.
18482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483
23776487
JM
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18485 Don't expect fegetround reference in libm.so.
18486
cb756c6d
MS
184872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18488
18489 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18490 $(config-cflags-nofma).
18491
2dec468f
JM
184922013-12-18 Joseph Myers <joseph@codesourcery.com>
18493
5953eb3a
JM
18494 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18495 * math/auto-libm-test-out: Regenerated.
18496
2dec468f
JM
18497 [BZ #16338]
18498 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18499 to determine exponent and adjust argument to have exponent of -1.
18500 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18501 log2.
18502 * math/auto-libm-test-out: Regenerated.
18503 * sysdeps/i386/fpu/libm-test-ulps: Update.
18504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18505
4d84e6ad
OB
185062013-12-18 Ondřej Bílka <neleai@seznam.cz>
18507
18508 * manual/probes.texi: Remove cases when per-thread arenas are
18509 disabled.
18510
1818483b
AS
185112013-12-18 Andreas Schwab <schwab@suse.de>
18512
18513 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18514 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18515 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18516 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18517 * sysdeps/i386/i686/multiarch/Makefile: Update.
18518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18519
25de95bf
JM
185202013-12-17 Joseph Myers <joseph@codesourcery.com>
18521
18522 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18523 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18524
674762d9
PE
185252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18526
ed27ed83 18527 [BZ #15968]
0748546f
PE
18528 Support TZ transition times < 00:00:00.
18529 This is needed for version-3 tz-format files; it supports time
18530 stamps past 2037 for America/Godthab (the only entry in the tz
18531 database for which this change is relevant).
18532 * manual/time.texi (TZ Variable): Document transition times
18533 from -167:59:59 through -00:00:01.
18534 * time/tzset.c (tz_rule): Time of day is now signed.
18535 (__tzset_parse_tz): Parse negative time of day.
18536
4480e934
PE
18537 Document TZ transition times >= 25:00:00.
18538 * manual/time.texi (TZ Variable): Document transition times from
18539 25:00:00 through 167:59:59. These are already supported, and this
18540 support will help with version-3 tz-format files.
18541
69947401
PE
18542 * manual/time.texi (TZ Variable): Modernize North America example
18543 to reflect current (i.e., 2007-and-later) daylight saving rules.
18544
674762d9
PE
18545 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18546
7011c262
JM
185472013-12-17 Joseph Myers <joseph@codesourcery.com>
18548
2fc6557e
JM
18549 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18550 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18553 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18554 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18555 * sysdeps/unix/bsd/clock.c: Likewise.
18556 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18557 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18558 * sysdeps/unix/bsd/init-posix.c: Likewise.
18559 * sysdeps/unix/bsd/poll.c: Likewise.
18560 * sysdeps/unix/bsd/ptsname.c: Likewise.
18561 * sysdeps/unix/bsd/seekdir.c: Likewise.
18562 * sysdeps/unix/bsd/setegid.c: Likewise.
18563 * sysdeps/unix/bsd/seteuid.c: Likewise.
18564 * sysdeps/unix/bsd/setgid.c: Likewise.
18565 * sysdeps/unix/bsd/setrgid.c: Likewise.
18566 * sysdeps/unix/bsd/setruid.c: Likewise.
18567 * sysdeps/unix/bsd/setsid.c: Likewise.
18568 * sysdeps/unix/bsd/setuid.c: Likewise.
18569 * sysdeps/unix/bsd/sigaction.c: Likewise.
18570 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18571 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18572 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18573 * sysdeps/unix/bsd/telldir.c: Likewise.
18574 * sysdeps/unix/bsd/times.c: Likewise.
18575 * sysdeps/unix/bsd/usleep.c: Likewise.
18576
029c7b25
JM
18577 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18578 ($(objpfx)libbsd-compat.a): Remove rule.
18579
7011c262
JM
18580 * include/features.h (__FAVOR_BSD): Do not define.
18581 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18582 features conflicting with POSIX.
18583 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18584 (_BSD_SOURCE): Remove description of not being a subset of other
18585 feature test macros.
18586 * manual/job.texi (getpgrp): Do not document BSD version.
18587 (getpgid): Do not document by reference to BSD getpgrp.
18588 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18589 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18590 * signal/signal.h [__FAVOR_BSD]: Likewise.
18591 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18592 instead of making contents conditional on [__FAVOR_BSD].
18593 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18594
affb6f78
AZ
185952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18596
18597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18598
c88769dd
JM
185992013-12-17 Joseph Myers <joseph@codesourcery.com>
18600
6432a540
JM
18601 [BZ #16314]
18602 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18603 values below 2**-450, not 2**-500.
18604 * math/auto-libm-test-in: Don't allow spurious underflow from
18605 hypot.
18606 * math/auto-libm-test-out: Regenerated.
18607
c88769dd
JM
18608 [BZ #16316]
18609 [BZ #16330]
18610 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18611 values of ha and hb and sort them after adjusting subnormal
18612 arguments.
18613 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18614 Likewise.
18615 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18616 values of ea and eb and sort them after adjusting subnormal
18617 arguments.
18618 * math/auto-libm-test-in: Do not expect some hypot tests of
18619 subnormals to fail. Add more hypot tests.
18620 * math/auto-libm-test-out: Regenerated.
18621
29618f6b
KK
186222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18623
18624 [BZ #13304]
18625 * sysdeps/sh/s_fma.c: New file.
18626 * sysdeps/sh/s_fmaf.c: New file.
18627 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18628 version.
18629 * sysdeps/sh/Implies: Add sh/soft-fp.
18630
eacfdfbf
RM
186312013-12-16 Roland McGrath <roland@hack.frob.com>
18632
18633 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18634 level of indirection to members `objname', `errstring', `malloced'.
18635 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18636 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18637 it as the __longjmp argument (just pass 1 instead).
18638 (_dl_catch_error): Initialize C with argument pointers and address of
18639 volatile local ERRCODE rather than copying values out of C at return.
18640
ff362e5b
JM
186412013-12-16 Joseph Myers <joseph@codesourcery.com>
18642
18643 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18644 * math/auto-libm-test-out: Regenerated.
18645 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18646 (hypot_test_data): Likewise.
18647 (pow_test_data): Likewise.
18648 (pow_tonearest_test_data): Likewise.
18649 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18650 mpfr_ff_f.
18651 (func_calc_desc): Add mpfr_ff_f union field.
18652 (FUNC_mpfr_ff_f): New macro.
18653 (test_functions): Add atan2, hypot and pow.
18654 (special_fill_min): New function.
18655 (special_fill_minus_min): Likewise.
18656 (special_fill_min_subnorm): Likewise.
18657 (special_fill_minus_min_subnorm): Likewise.
18658 (special_real_inputs): Add min, -min, min_subnorm and
18659 -min_subnorm.
18660 (calc_generic_results): Handle mpfr_ff_f.
18661 * sysdeps/i386/fpu/libm-test-ulps: Update.
18662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18663
5764c27f
WN
186642013-12-16 Will Newton <will.newton@linaro.org>
18665
18666 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18667 (Aligned Memory Blocks): Add documentation for aligned_alloc
18668 and suggest it as an alternative to posix_memalign.
18669 (Hooks for Malloc): Document __memalign_hook is also called
18670 for aligned_alloc. (Summary of Malloc): Add summary for
18671 aligned alloc. Document __memalign_hook is also called
18672 for aligned_alloc.
18673
0a096e44
WN
186742013-12-16 Will Newton <will.newton@linaro.org>
18675
18676 * manual/memory.texi (Malloc Examples): Clarify default
18677 alignment documentation. Suggest posix_memalign rather
18678 than memalign or valloc.
18679 (Aligned Memory Blocks): Remove suggestion to use memalign
18680 or valloc. Remove obsolete comment about BSD.
18681 Document memalign errno values and mark the function obsolete.
18682 Document posix_memalign returned error codes. Mark valloc
18683 as obsolete. (Hooks for Malloc): __memalign_hook is also
18684 called for posix_memalign and valloc.
18685 (Summary of Malloc): Add posix_memalign to function summary.
18686 __memalign_hook is also called for posix_memalign and valloc.
18687
8d561986
SP
186882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18689
18690 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18691 TAYLOR_SIN.
18692 (__sin): Adjust.
18693 (__cos): Likewise.
18694 (sloww): Use mynumber union. Expand ternary operator into
18695 if-else statements.
18696 (cslow): use mynumber union.
18697
73616a74
AM
186982013-12-16 Allan McRae <allan@archlinux.org>
18699
9e8ac24b
AM
18700 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18701 * configure: Regenerated.
18702
6f8e37eb
AM
18703 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18704
8894bad3
AM
18705 [BZ #14120]
18706 * configure.ac: Added --enable-maintainer-mode. Check for
18707 autoconf when enabled.
18708 * configure: Regenerated.
18709
73616a74
AM
18710 * nscd/nscd.service: New file.
18711 * nscd/nscd.tmpfiles: New file.
18712
584b18eb
OB
187132013-12-14 Ondřej Bílka <neleai@seznam.cz>
18714
18715 [BZ #12100]
18716 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18717 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18718 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18719 (strstr): Add __strstr_sse2_unaligned ifunc.
18720 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18721 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18722 (strcasestr): Remove __strcasestr_sse42 ifunc.
18723 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18725 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18726
8a5c7897
KK
187272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18728
18729 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18730 * sysdeps/sh/bits/fenv.h: ... here.
18731 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18732
fd712ef3
AZ
187332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18734
18735 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18736
42fcb46c
AZ
18737 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18738 hypotf multiarch implementations.
18739 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18742 multiarch hypot for PPC64.
18743 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18746 multiarch hypotf for PPC64.
18747
83efded4
AZ
18748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18749 modff multiarch implementations.
18750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18753 multiarch modf for PPC64.
18754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18756 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18757 multiarch modff for PPC64.
18758
43e246d2
AZ
18759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18760 and logl multiarch implementations.
18761 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18763 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18764 multiarch logb for PPC64.
18765 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18768 multiarch logb for PPC64.
18769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18772 multiarch logb for PPC64.
18773
8fdad123
AZ
18774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18775 isinff multiarch implementation.
18776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18777 file.
18778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18780 multiarch isinf for PPC64.
18781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18782 file.
18783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18784 multiarch isinff for PPC64.
18785
1481d706
AZ
18786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18787 finitef multiarch implementation.
18788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18789 file.
18790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18792 multiarch finite for PPC64.
18793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18794 file.
18795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18796 multiarch finitef for PPC64.
18797
5ccd5fc8
AZ
18798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18799 lrint multiarch implementation.
18800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18801 file.
18802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18804 multiarch llrint for PPC64.
18805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18806 multiarch lrint for PPC64.
18807
2568f3fa
AZ
18808 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18809 copysignf multiarch implementation.
18810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18811 file.
18812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18813 file.
18814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18815 multiarch copysign for PPC64.
18816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18817 multiarch copysignf for PPC64.
18818
1cb341fd
AZ
18819 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18820 multiarch implementation.
18821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18822 file.
18823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18824 file.
18825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18826 file.
18827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18828 file.
18829 multiarch llround for PPC64.
18830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18831 multiarch trunc for PPC64.
18832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18833 multiarch truncf for PPC64.
18834
59a3e194
AZ
18835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18836 multiarch implementation.
18837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18838 file.
18839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18840 file.
18841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18842 file.
18843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18844 file.
18845 multiarch llround for PPC64.
18846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18847 multiarch round for PPC64.
18848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18849 multiarch roundf for PPC64.
18850
357fd3b4
AZ
18851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18852 multiarch implementation.
18853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18854 file.
18855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18856 file.
18857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18858 file.
18859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18860 file.
18861 multiarch llround for PPC64.
18862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18863 multiarch floor for PPC64.
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18865 multiarch floorf for PPC64.
18866
96770f12
AZ
18867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18868 multiarch implementation.
18869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18870 file.
18871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18872 file.
18873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18874 file.
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18876 file.
18877 multiarch llround for PPC64.
18878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18879 multiarch ceil for PPC64.
18880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18881 multiarch ceilf for PPC64.
18882
c3627f6e
AZ
18883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18884 multiarch implementation.
18885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18886 file.
18887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18888 file.
18889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18890 file.
18891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18892 multiarch llround for PPC64.
18893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18894 multiarch lround for PPC64.
18895
b2284ad7
AZ
18896 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18897 multiarch implementation.
18898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18901 file.
18902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18905 multiarch isnan for PPC64.
18906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18907 multiarch isnanf for PPC64.
18908
69bbc63d
AZ
18909 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18910 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18911 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18912 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18913 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18915
c24517c9
AZ
18916 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18917 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18918 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18919 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18920
a52374e8
AZ
18921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18922 multiarch implementations.
18923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18924 (__libc_ifunc_impl_list): Likewise.
18925 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18926 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18927 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18928 multiarch stpcpy for PPC64.
18929
7f5ec113
AZ
18930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18931 multiarch implementations.
18932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18933 (__libc_ifunc_impl_list): Likewise.
18934 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18935 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18936 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18937 multiarch strcpy for PPC64.
18938
e28bcd42
AZ
18939 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18940 redefine function name.
18941 (_wordcopy_fwd_dest_aligned): Likewise.
18942 (_wordcopy_bwd_aligned): Likewise.
18943 (_wordcopy_bwd_dest_aligned): Likewise.
18944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18945 multiarch implementations.
18946 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18947 (__libc_ifunc_impl_list): Likewise.
18948 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18949 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18950 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18951 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18952 multiarch wcscpy for PPC64.
18953
92cacfce
AZ
18954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18955 multiarch implementations.
18956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18957 (__libc_ifunc_impl_list): Likewise.
18958 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18959 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18960 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18961 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18962 multiarch wcscpy for PPC64.
18963
7b714620
AZ
18964 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18965 multiarch implementations.
18966 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18967 (__libc_ifunc_impl_list): Likewise.
18968 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18969 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18970 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18971 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18972 multiarch wcsrchr for PPC64.
18973
16fd2ae3
AZ
18974 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18975 multiarch implementations.
18976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18977 (__libc_ifunc_impl_list): Likewise.
18978 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18979 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18980 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18981 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18982 multiarch wcschr for PPC64.
18983
9ee2969b
AZ
18984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18985 multiarch implementations.
18986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18987 (__libc_ifunc_impl_list): Likewise.
18988 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18989 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18990 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18991 multiarch strchrnul for PPC64.
18992
372dc060
AZ
18993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18994 implementations.
18995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18996 (__libc_ifunc_impl_list): Likewise.
18997 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18998 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18999 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19000 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19001 strchr for PPC64.
19002
24c2c3b9
AZ
19003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19004 implementations.
19005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19006 (__libc_ifunc_impl_list): Likewise.
19007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19008 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19009 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19010 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19011 strncmp for PPC64.
19012
1c92d9a0
AZ
19013 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19014 multiarch implementations.
19015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19016 (__libc_ifunc_impl_list): Likewise.
19017 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19018 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19019 strncasecmp for PPC64.
19020 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19021 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19022 multiarch strncasecmp_l for PPC64.
19023
17de3ee3
AZ
19024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19025 multiarch implementations.
19026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19027 (__libc_ifunc_impl_list): Likewise.
19028 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19030 multiarch strcasecmp for PPC64.
19031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19032 file.
19033 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19034 multiarch strcasecmp_l for PPC64.
19035
62982bf9
AZ
19036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19037 implementations.
19038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19039 (__libc_ifunc_impl_list): Likewise.
19040 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19041 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19042 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19043 strnlen for PPC64.
19044
a65f4904
AZ
19045 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19046 implementations.
19047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19048 (__libc_ifunc_impl_list): Likewise.
19049 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19050 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19051 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19052 strlen for PPC64.
19053
1fd005ad
AZ
19054 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19055 implementations.
19056 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19057 (__libc_ifunc_impl_list): Likewise.
19058 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19059 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19060 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19061 rawmemrchr for PPC64.
19062
cd05ba91
AZ
19063 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19064 implementation.
19065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19066 (__libc_ifunc_impl_list): Likewise.
19067 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19068 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19069 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19070 memrchr for PPC64.
19071
870f8676
AZ
19072 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19073 implementation.
19074 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19075 (__libc_ifunc_impl_list): Likewise.
19076 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19077 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19078 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19079 memchr for PPC64.
19080
f00be62b
AZ
19081 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19082 implementation.
19083 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19084 (__libc_ifunc_impl_list): Likewise.
19085 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19086 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19087 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19088 mempcpy for PPC64.
19089
8a29a3d0
AZ
19090 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19091 avoid cretion of __bzero symbol.
19092 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19093 Likewise.
19094 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19095 Likewise.
19096 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19097 Likewise.
19098 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19099 multiarch implementations.
19100 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19101 (__libc_ifunc_impl_list): Likewise.
19102 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19103 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19104 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19105 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19106 bzero for PPC32.
19107 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19108 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19109 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19110 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19111 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19112 memset for PPC64.
19113 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19114
07253fcf
AZ
19115 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19116 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19117 implementations.
19118 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19119 (__libc_ifunc_impl_list): Likewise.
19120 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19121 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19122 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19123 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19124 memcmp for PPC64.
19125
b5beafbc
AZ
19126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19127 multiarch for POWER/PPC64.
19128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19129 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19130 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19131 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19133 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19134 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19135 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19136 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19137 memcpy for PPC64.
19138
5e6a4d4b
AZ
19139 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19140 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19141 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19142 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19143 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19144 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19145 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19146 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19147 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19148 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19149 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19150 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19151 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19152 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19153 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19161
ddfab6dc
KK
191622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19163
19164 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19165
19b5525e
SP
191662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19167
19168 * benchtests/Makefile (bench): Add exp2 and log2.
19169 (LDLIBS-bench-exp2): Add -lm.
19170 (LDLIBS-bench-log2): Likewise.
19171 * benchtests/exp2-inputs: New inputs file.
19172 * benchtests/log2-inputs: New inputs file.
19173 * benchtests/log-inputs: Add new inputs.
19174 * benchtests/tan-inputs: Likewise.
19175
196f7f5d
SP
191762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19177
7a74607f
SP
19178 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19179 definition...
57f41c40
AS
19180 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19181 (csloww2): ... from here.
7a74607f 19182
196f7f5d
SP
19183 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19184 instead of structures.
19185 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19186 (POLYNOMIAL): Likewise.
19187 (TAYLOR_SLOW): Likewise.
19188 (__sin): Likewise.
19189 (__cos): Likewise.
19190 (slow1): Likewise.
19191 (slow2): Likewise.
19192 (sloww): Likewise.
19193 (sloww1); Likewise.
19194 (sloww2): Likewise.
19195 (bsloww1): Likewise.
19196 (bsloww2): Likewise.
19197 (cslow2): Likewise.
19198 (csloww): Likewise.
19199 (csloww1): Likewise.
19200 (csloww2): Likewise.
19201
0dfa665c
OB
192022013-12-10 Ondřej Bílka <neleai@seznam.cz>
19203
19204 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19205 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19206 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19207 * malloc/hooks.c (realloc_check): Likewise.
19208
5782a80f
OB
19209 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19210 * malloc/arena.c: Remove PER_THREAD conditional.
19211 [!PER_THREAD]: Remove code.
19212 (ptmalloc_unlock_all2): Likewise.
19213 (ptmalloc_init): Likewise.
19214 (_int_new_arena): Likewise.
19215 (arena_get2): Likewise.
19216 * malloc/hooks.c (__malloc_get_state): Likewise.
19217 (__malloc_set_state): Likewise.
19218 * malloc/malloc.c: Likewise.
19219 (struct malloc_state): Likewise.
19220 (struct malloc_par): Likewise.
19221 (__libc_realloc): Likewise.
19222 (__libc_mallopt): Likewise.
19223
aeb95445
AZ
192242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19225
19226 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19227
e8349efd
OB
192282013-12-09 Ondřej Bílka <neleai@seznam.cz>
19229
19230 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19231 macro to a function. Check for zero perturb_byte.
19232 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19233
f3eeb3fc 19234 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19235 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19236 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19237 force_reg by atomic_forced_read.
19238 * malloc/arena.c (ptmalloc_init): Likewise.
19239 * malloc/hooks.c (top_check): Likewise.
19240
be2f9009
AZ
192412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19242
19243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19244
e7b914bd
MT
192452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19246
19247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19248
9f0be4f8
JM
192492013-12-08 Joseph Myers <joseph@codesourcery.com>
19250
19251 * math/auto-libm-test-in: Add tests of lgamma.
19252 * math/auto-libm-test-out: Regenerated.
19253 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19254 (M_LOG_2_SQRT_PIl): Likewise.
19255 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19256 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19257 mpfr_f_f1.
19258 (func_calc_desc): Add mpfr_f_f1 union field.
19259 (ARGS1): New macro.
19260 (ARGS2): Likewise.
19261 (ARGS3): Likewise.
19262 (ARGS4): Likewise.
19263 (RET1): Likewise.
19264 (RET2): Likewise.
19265 (CALC): Likewise.
19266 (FUNC): Likewise.
19267 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19268 (test_functions): Add lgamma.
19269 (calc_generic_results): Handle mpfr_f_f1.
19270 * sysdeps/i386/fpu/libm-test-ulps: Update.
19271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19272
24eeafdb
AZ
192732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19274
19275 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19276 __mpn_add_n for PowerPC64/POWER7.
19277 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19278 __mpn_sub_n for PowerPC64/POWER7.
19279
4a2c0fd4
AZ
19280 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19281 __mpn_addmul_1 for PowerPC64.
19282 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19283 __mpn_submul_1 for PowerPC64.
19284 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19285 for PowerPC64.
19286 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19287 for PowerPC64.
19288
4b5b548c
FS
192892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19290
19291 [BZ #15089]
19292 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19293
0a3ac0aa
AZ
192942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19295
19296 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19297
ccdc8438
AZ
19298 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19299 add multiarch folders.
19300 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19301 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19302 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19303 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19304 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19305 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19306 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19307 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19308 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19309 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19310 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19317
2e973d99
AZ
19318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19319 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19321 New file.
19322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19323 New file.
19324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19325 multiarch __ieee754_hypot for PowerPC32.
19326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19327 New file.
19328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19329 New file.
19330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19331 multiarch __ieee754_hypotf for PowerPC32.
19332
2d9470b2
AZ
19333 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19334 long_double_symbol only if __logbl is defined.
19335 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19336 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19337 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19338 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19340 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19341 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19342 path for implementation.
19343 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19344 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19346 logb, and logbl multiarch implementations for PowerPC32.
19347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19348 file.
19349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19350 file.
19351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19352 multiarch logb for PowerPC32.
19353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19354 file.
19355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19356 file.
19357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19358 multiarch logbf for PowerPC32.
19359 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19361 file.
19362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19363 multiarch logbl implementation for PowerPC32.
19364
5212ffce
AZ
19365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19366 and modff multiarch implementations.
19367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19368 New file.
19369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19370 New file.
19371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19372 multiarch modf for PowerPC32.
19373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19374 New file.
19375 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19376 New file.
19377 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19378 multiarch modff for PowerPC32.
19379
79dccf31
AZ
19380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19381 and lrintf multiarch implementations.
19382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19383 New file.
19384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19385 New file.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19387 multiarch lrint for PowerPC32.
19388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19389 file: multiarch lrintf for PowerPC32.
19390
deb66480
AZ
19391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19392 and lroundf multiarch implementations.
19393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19394 New file.
19395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19396 New file.
19397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19398 New file.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19400 multiarch lround for PowerPC32.
19401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19402 file: multiarch lroundf for PowerPC32.
19403
264b036b
AZ
19404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19405 copysign and copysignf multiarch implementations.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19407 New file.
19408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19409 New file.
19410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19411 file: multiarch copysign for PowerPC32.
19412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19413 file: multiarch copysignf for PowerPC32.
19414
d47db6c9
AZ
19415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19416 and truncf multiarch implementations.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19418 New file.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19420 file.
19421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19422 multiarch trunc for PowerPC32.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19424 New file.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19426 New file.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19428 multiarch truncf for PowerPC32.
19429
ddb60b5a
AZ
19430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19431 and roundf multiarch implementations.
19432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19433 New file.
19434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19435 file.
19436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19437 multiarch round for PowerPC32.
19438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19439 New file.
19440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19441 New file.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19443 multiarch roundf for PowerPC32.
19444
bedcf49b
AZ
19445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19446 and floorf multiarch implementations.
19447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19448 New file.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19450 file.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19452 multiarch floor for PowerPC32.
19453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19454 New file.
19455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19456 New file.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19458 multiarch floorf for PowerPC32.
19459
35ae5b40
AZ
19460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19461 and ceilf multiarch implementations.
19462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19463 New file.
19464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19465 file.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19467 multiarch ceil for PowerPC32.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19469 New file.
19470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19471 file.
19472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19473 multiarch ceilf for PowerPC32.
19474
ae1a4cd9
AZ
19475 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19476 is defined.
19477 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19478 FINITEF is defined.
19479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19480 and finitef multiarch implementations.
19481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19482 New file.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19484 file.
19485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19486 multiarch finite for PowerPC32.
19487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19488 New file.
19489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19490 file: multiarch finitef for PowerPC32.
19491
64fffd65
AZ
19492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19493 and isinff multiarch implementations.
19494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19495 file.
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19497 file.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19499 multiarch isinf for PowerPC32.
19500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19501 New file.
19502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19503 multiarch isinff for PowerPC32.
19504
8e4e7ba2
AZ
19505 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19506 alias when __isnan is defined.
19507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19508 and isnanf multiarch implementations.
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19510 file.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19512 file.
19513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19514 file.
19515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19516 file.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19518 multiarch isnan for PowerPC32.
19519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19520 New file.
19521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19522 New file.
19523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19524 multiarch isnanf for PowerPC32.
19525
ddba588e
AZ
19526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19527 and sqrtf multiarch implementations.
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19529 file.
19530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19531 file.
19532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19533 multiarch sqrt for PowerPC32.
19534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19535 file.
19536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19537 file.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19539 multiarch sqrtf for PowerPC32.
19540
0f96a2f0
AZ
19541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19542 and llroundf multiarch implementations.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19544 New file.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19546 New file.
19547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19548 New file.
19549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19550 file: multiarch llround for PowerPC32.
19551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19552 file: multiarch llroundf for PowerPC32.
19553
c9b5d79e
AZ
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19555 multiarch PowerPC32 fpu implementations.
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19557 New file.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19559 New file.
19560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19561 multiarch llrint for PowerPC32.
19562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19563 New file.
19564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19565 New file.
19566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19567 file.
19568
9cbb3aab
AZ
19569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19570
ea5a72f8
AZ
19571 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19572 file.
19573 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19574 file.
19575 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19576 file.
19577 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19578 multiarch wordcopy for PPC32.
19579 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19580 wordcopy objects.
19581 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19582 (__libc_ifunc_impl_list): Likewise.
19583 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19584 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19585 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19586 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19587 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19588 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19589
93be09e7
AZ
19590 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19591 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19592 file.
19593 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19594 file.
19595 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19596 file.
19597 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19598 multiarch wcscpy for PPC32.
19599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19600 multiarch objects.
19601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19602 (__libc_ifunc_impl_list): Likewise.
19603 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19604 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19605 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19606 sysdeps/powerpc/power6/wcscpy.c.
19607
bb04e529
AZ
19608 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19610 file.
19611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19612 file.
19613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19614 file.
19615 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19616 multiarch wcsrchr for PPC32.
19617 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19618 multiarch objects.
19619 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19620 (__libc_ifunc_impl_list): Likewise.
19621 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19622 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19623 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19624 sysdeps/powerpc/power6/wcsrchr.c.
19625
05b5cd1c
AZ
19626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19627 file.
19628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19629 file.
19630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19632 multiarch wcschr for PPc32.
19633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19634 multiarch objects.
19635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19636 (__libc_ifunc_impl_list): Likewise.
19637 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19638 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19639 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19640 sysdeps/powerpc/power6/wcschr.c.
19641
ba964147
AZ
19642 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19643 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19644 file.
19645 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19646 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19647 file: multiarch strchr for PPC32.
19648 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19649 multiarch objects.
19650 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19651 (__libc_ifunc_impl_list): Likewise.
19652
31c81aaa
AZ
19653 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19654 name.
19655 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19656 file.
19657 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19658 file.
19659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19660 multiarch strchrnul for PPC32.
19661 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19662 multiarch objects.
19663 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19664 (__libc_ifunc_impl_list): Likewise.
19665
0d0607d9
AZ
19666 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19667 file.
19668 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19669 multiarch strncasecmp for PPC32.
19670 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19671 file.
19672 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19673 multiarch strncasecmp_l for PPC32.
19674 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19675 strncasecmp multiarch objects.
19676 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19677 (__libc_ifunc_impl_list): Likewise.
19678
4dfd5c86
AZ
19679 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19680 file.
19681 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19682 multiarch strncasecmp for PPC32.
19683 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19684 New file.
19685 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19686 multiarch strcasecmp_l for PPC32.
19687 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19688 multiarch objects.
19689 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19690 (__libc_ifunc_impl_list): Likewise.
19691
a19e01a3
AZ
19692 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19693 file.
19694 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19695 file.
19696 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19697 multiarch strncmp for PPC32.
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19699 multiarch objects.
19700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19701 (__libc_ifunc_impl_list): Likewise.
19702
ae9cf7a2
AZ
19703 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19704 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19705 file.
19706 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19707 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19709 multiarch objects.
19710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19711 (__libc_ifunc_impl_list): Likewise.
19712
3148bb7d
AZ
19713 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19714 file.
19715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19716 file.
19717 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19718 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19719 multiarch objects.
19720 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19721 (__libc_ifunc_impl_list): Likewise.
19722
7af8b946
AZ
19723 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19724 file.
19725 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19726 file.
19727 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19728 multiarch rawmemchr for PPC32.
19729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19730 multiarch objects.
19731 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19732 (__libc_ifunc_impl_list): Likewise.
19733
03a6aa6a
AZ
19734 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19735 file.
19736 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19737 file.
19738 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19739 file: memrchr multiarch for PPC32.
19740 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19741 multiarch objects.
19742 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19743 (__libc_ifunc_impl_list): Likewise.
19744
1c62e6d9
AZ
19745 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19746 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19747 file.
19748 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19749 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19750 multiarch memchr for PPC32.
19751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19752 multiarch objects.
19753 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19754 (__libc_ifunc_impl_list): Likewise.
19755
87da8bdb
AZ
19756 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19757 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19758 file.
19759 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19760 file.
19761 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19762 file: multiarch mempcpy for PPC32.
19763 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19764 multiarch objects.
19765 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19766 (__libc_ifunc_impl_list): Likewise.
19767
20ed4714
AZ
19768 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19769 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19770 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19771 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19772 multiarch bzero for PPC32.
19773 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19774 file.
19775 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19776 file.
19777 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19778 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19779 file: multiarch memset for PPC32.
19780 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19782 memset multiarch objects.
19783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19784 (__libc_ifunc_impl_list): Likewise.
19785
ab3e3a46
AZ
19786 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19787 file.
19788 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19789 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19790 memcmp for PPC32.
19791 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19793 multiarch objects.
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19795 (__libc_ifunc_impl_list): Likewise.
19796
930de6f0
AZ
19797 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19798 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19799 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19800 file.
19801 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19802 file.
19803 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19804 file.
19805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19806 multiarch memcpy for PPC32.
19807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19808 multiarch objects.
19809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19810 (__libc_ifunc_impl_list): Likewise.
19811
4c628e00
AZ
19812 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19813 support multiarch for POWER/PPC32.
19814 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19815 Likewise.
19816 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19818 Implies file to make multiarch folder appers before the fpu and
19819 default folder for power4 configuration.
19820
f4479220
SP
198212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19822
19823 * scripts/bench.pl: Append volatile keyword to type.
19824
8517800f
KK
198252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19826
19827 * sysdeps/sh/sotruss-lib.c: New file.
19828 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19829
180138f1
AZ
198302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19831
19832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19833
bbf37bdc
JM
198342013-12-05 Joseph Myers <joseph@codesourcery.com>
19835
e47cc4e0
JM
19836 [BZ #6810]
19837 * math/w_tgamma.c: Include <errno.h>.
19838 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19839 * math/w_tgammaf.c: Include <errno.h>.
19840 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19841 * math/w_tgammal.c: Include <errno.h>.
19842 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19843 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19844 underflow. Add more tgamma tests.
19845 * math/auto-libm-test-out: Regenerated.
19846 * sysdeps/i386/fpu/libm-test-ulps: Update.
19847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19848
bbf37bdc
JM
19849 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19850 sin, sinh, tan, tanh, tgamma, y0 and y1.
19851 * math/auto-libm-test-out: Regenerated.
19852 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19853 (TEST_COND_x86): Likewise.
19854 (M_E2l): Remove macro.
19855 (M_E3l): Likewise.
19856 (M_2_SQRT_PIl): Likewise.
19857 (M_SQRT_PIl): Likewise.
19858 (M_1_DIV_El): Likewise.
19859 (log_test_data): Use AUTO_TESTS_f_f.
19860 (log10_test_data): Likewise.
19861 (log1p_test_data): Likewise.
19862 (log2_test_data): Likewise.
19863 (sin_test_data): Likewise.
19864 (sin_tonearest_test_data): Likewise.
19865 (sin_towardzero_test_data): Likewise.
19866 (sin_downward_test_data): Likewise.
19867 (sin_upward_test_data): Likewise.
19868 (sinh_test_data): Likewise.
19869 (sinh_tonearest_test_data): Likewise.
19870 (sinh_towardzero_test_data): Likewise.
19871 (sinh_downward_test_data): Likewise.
19872 (sinh_upward_test_data): Likewise.
19873 (tan_test_data): Likewise.
19874 (tan_tonearest_test_data): Likewise.
19875 (tan_towardzero_test_data): Likewise.
19876 (tan_downward_test_data): Likewise.
19877 (tan_upward_test_data): Likewise.
19878 (tanh_test_data): Likewise.
19879 (tgamma_test_data): Likewise.
19880 (y0_test_data): Likewise.
19881 (y1_test_data): Likewise.
19882 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19883 (special_real_inputs): Add pi/4.
19884 * sysdeps/i386/fpu/libm-test-ulps: Update.
19885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886
eb5ad6b9
AZ
198872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888
19889 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19890 "longjmp_target" static probes.
19891 (__longjmp): Rename to __longjmp_symbol.
19892 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19893 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19894 on which longjmp to generate.
19895 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19896 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19897 probe.
19898 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19899 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19900 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19901 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19902 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19903 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19905 __longjmp_symbol based on which __longjmp to generate.
19906 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19907 probe.
19908 (setjmp): Rename to setjmp_symbol.
19909 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19910 (_setjmp): Rename to _setjmp_symbol.
19911 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19912 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19913 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19914 which setjmp to generate.
19915 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19916 "longjmp_target" static probes.
19917
d136c6dc
SP
199182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19919
9298ecba
SP
19920 * benchtests/README: Add note about output arguments.
19921 * benchtests/bench-sincos.c: Remove file.
19922 * benchtests/sincos-inputs: New file.
19923 * scripts/bench.pl: Identify output arguments and define
19924 static variables for them.
19925
232983e9
SP
19926 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19927
d136c6dc
SP
19928 [BZ #15941]
19929 * Makefile (INSTALL): Add install-plain.texi as the primary
19930 dependency.
19931 * manual/install-plain.texi: New file.
19932 * manual/install.texi: Include node directive only for
19933 non-plaintext output.
19934
699ff837
JM
199352013-12-04 Joseph Myers <joseph@codesourcery.com>
19936
ab07cea8
JM
19937 * stdlib/longlong.h: Update from GCC.
19938
699ff837
JM
19939 [BZ #6807]
19940 [BZ #15901]
19941 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19942 * math/w_j0f.c (y0f): Likewise.
19943 * math/w_j0l.c (__y0l): Likewise.
19944 * math/w_j1.c (y1): Likewise.
19945 * math/w_j1f.c (y1f): Likewise.
19946 * math/w_j1l.c (__y1l): Likewise
19947 * math/w_jn.c (yn): Likewise.
19948 * math/w_jnf.c (ynf): Likewise.
19949 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19950 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19951 value for Bessel function domain errors outside _SVID_ mode.
19952 Adjust sign of return value for yn (negative integer, 0).
19953 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19954 by zero in return for negative x and set sign appropriately for
19955 negative n.
19956 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19957 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19958 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19959 expectations in error cases.
19960 (y1_test_data): Likewise.
19961 (yn_test_data): Likewise.
19962 * sysdeps/i386/fpu/libm-test-ulps: Update.
19963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964
5b118558
UW
199652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19966
19967 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19968 "64" to "64-v1". Add "64-v2".
19969 (abi-64-options): Rename to ...
19970 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19971 (abi-64-condition): Rename to ...
19972 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19973 (abi-64-ld-soname): Rename to ...
19974 (abi-64-v1-ld-soname): ... this.
19975 (abi-64-v2-options): Define.
19976 (abi-64-v2-condition): Likewise.
19977 (abi-64-v2-ld-soname): Likewise.
19978 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19979 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19983
61cd8fe4
UW
199842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19985 Alan Modra <amodra@gmail.com>
19986
19987 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19988 New versions for use with the ELFv2 ABI.
19989 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19990 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19991 declaration.
19992 (struct La_ppc64v2_retval): Likewise.
19993 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19994 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19995 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19996 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19997 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19998 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19999 Do not save or restore CR.
20000 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20001 (_dl_profile_resolve): Do no save or restore CR. Support extended
20002 return values for ELFv2 ABI. Fix location of FPR return registers.
20003 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20004 updated values for _CALL_ELF == 2.
20005 (La_regs, La_retval, int_retval): Likewise.
20006
8b8a692c
UW
200072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20008
20009 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20010 (FRAME_MIN_SIZE_PARM): Likewise.
20011 (FRAME_BACKCHAIN): Likewise.
20012 (FRAME_CR_SAVE): Likewise.
20013 (FRAME_LR_SAVE): Likewise.
20014 (FRAME_TOC_SAVE): Likewise.
20015 (FRAME_PARM_SAVE): Likewise.
20016 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20017 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20018 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20019 (call_mcount_parm_offset): New macro.
20020 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20021 (PROF): Use symbolic stack frame offsets.
20022 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20023 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20024 Redefine in terms of FRAME_MIN_SIZE.
20025 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20026 (_dl_profile_resolve): Likewise. Update comment.
20027 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20028 symbols stack frame offsets.
20029 (__sigsetjmp): Likewise.
20030 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20031 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20032 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20033 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20034
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20036 (FRAME_BACKCHAIN): Remove.
20037 (FRAME_CR_SAVE): Likewise.
20038 (FRAME_LR_SAVE): Likewise.
20039 (FRAME_COMPILER_DW): Likewise.
20040 (FRAME_LINKER_DW): Likewise.
20041 (FRAME_TOC_SAVE): Likewise.
20042 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20043 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20044 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20045 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20047 (CHECK_SP): Use symbolic stack frame offsets.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20049 zone" instead of caller's parameter save area for temp storage.
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20051 Likewise. Also, use symbolic stack frame offsets.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20053 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20054 our own stack frame instead of the caller's.
20055 (__socket): Use symbolic stack frame offsets.
20056
122b66de
UW
200572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20058 Alan Modra <amodra@gmail.com>
20059
20060 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20061 Define.
57f41c40
AS
20062 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20063 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20064 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20065 New function.
20066 (elf_machine_fixup_plt): Call it.
20067 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20068 reloc arguments.
20069 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20070 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20071 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20072 r2 before calling target.
20073
696caf1d
UW
200742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20075 Alan Modra <amodra@gmail.com>
20076
20077 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20078 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20079 versions of macros to support ELFv2 ABI.
20080 (LOCALENTRY): New macro.
20081 (ENTRY, EALIGN): Use it.
20082 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20083 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20084 fall through into ENTRY entry point.
20085 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20086 Only define if _CALL_ELF != 2.
20087
20088 (elf_machine_matches_host): Verify ABI version matches.
20089 (RTLD_START): Use LOCALENTRY.
20090 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20091 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20092 (PLT_ENTRY_WORDS): New macro.
20093 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20094 (elf_machine_runtime_setup): Support ELFv2 ABI.
20095 (elf_machine_fixup_plt): Likewise.
20096 (elf_machine_plt_conflict): Likewise.
20097 (resolve_ifunc): Likewise.
20098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20099 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20100 Likewise.
20101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20102 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20104 (makecontext): Support ELFv2 ABI.
20105 * elf/elf.h (EF_PPC64_ABI): Define.
20106
d31beafa
UW
201072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20108
57f41c40
AS
20109 * sysdeps/powerpc/powerpc64/sysdep.h
20110 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20111 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20112 (ENTRY) [ASSEMBLER]: ... but instead here ...
20113 (EALIGN) [ASSEMBLER]: ... and here.
20114 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20115 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20116 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20117 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20118 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20119 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20120 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20121 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20123 Use PPC64_LOAD_FUNCPTR.
20124
b525166b
UW
20125 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20126
7ec07d9a
AM
201272013-12-04 Alan Modra <amodra@gmail.com>
20128
20129 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20130 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20131 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20132 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20133
20134 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20135 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20136 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20137 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20138 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20139 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20140
5162e7dd
UW
201412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20142
20143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20144 (__makecontext): Fix incorrect CFI when backtracing out of
20145 context created via makecontext.
20146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20147 (__setcontext): Fix incorrect CFI during switch to new context.
20148 (__novec_setcontext): Likewise.
20149
19e3372b
OB
201502013-12-04 Ondřej Bílka <neleai@seznam.cz>
20151
20152 [BZ #4772]
20153 * time/strptime_l.c (__strptime_internal): Allow modifiers
20154 in strptime.
20155 * time/tst-strptime.c (day_tests): Add testcase.
20156
ecaf142d
SP
201572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20158
20159 * scripts/bench.pl: Skip over blank lines.
20160
fbf964ae
PE
201612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20162
20163 [BZ #926]
20164 * manual/time.texi (Calendar Time): Clarify what timezone functions
20165 use.
20166
fa60a674
AZ
201672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20168
20169 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20170
d674f0ef
OB
201712013-12-04 Ondřej Bílka <neleai@seznam.cz>
20172
20173 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20174 implementation.
20175 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20176 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20177 * debug/memset_chk.c (__memset_chk): Likewise.
20178 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20179 * debug/strncpy_chk.c: Likewise.
20180
17dea188
JM
201812013-12-03 Joseph Myers <joseph@codesourcery.com>
20182
749008ff
JM
20183 [BZ #15268]
20184 [BZ #15425]
20185 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20186 (__ieee754_exp): For possibly underflowing results, check size of
20187 result and force underflow exception if required.
20188 * math/auto-libm-test-in: Add more tests of exp.
20189 * math/auto-libm-test-out: Regenerated.
20190 * sysdeps/i386/fpu/libm-test-ulps: Update.
20191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192
17dea188
JM
20193 [BZ #16283]
20194 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20195 * math/w_exp2f.c (__exp2f): Likewise.
20196 * math/w_exp2l.c (__exp2l): Likewise.
20197 * math/auto-libm-test-in: Do not allow missing errno on exp2
20198 underflow.
20199 * math/auto-libm-test-out: Regenerated.
20200
b20de2c3
OB
202012013-12-03 Ondřej Bílka <neleai@seznam.cz>
20202
20203 [BZ #16274]
20204 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20205 handle filename validation.
20206 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20207 (do_open): Delete.
20208
d8e2dbe3
JM
202092013-12-03 Joseph Myers <joseph@codesourcery.com>
20210
34e16df5
JM
20211 [BZ #6786]
20212 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20213 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20214 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20215 <float.h>.
20216 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20217 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20218 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20220 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20222 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20223 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20224 Add more erfc tests.
20225 * math/auto-libm-test-out: Regenerated.
20226 * sysdeps/i386/fpu/libm-test-ulps: Update.
20227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20228
d8e2dbe3
JM
20229 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20230 exp2, expm1, j0 and j1.
20231 * math/auto-libm-test-out: Regenerated.
20232 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20233 (erfc_test_data): Likewise.
20234 (exp_test_data): Likewise.
20235 (exp_tonearest_test_data): Likewise.
20236 (exp_towardzero_test_data): Likewise.
20237 (exp_downward_test_data): Likewise.
20238 (exp_upward_test_data): Likewise.
20239 (exp10_test_data): Likewise.
20240 (exp2_test_data): Likewise.
20241 (expm1_test_data): Likewise.
20242 (j0_test_data): Likewise.
20243 (j1_test_data): Likewise.
20244 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20245 (input_flag_type): Add flag_xfail_rounding.
20246 (input_flags): Add xfail-rounding.
20247 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20248 (output_for_one_input_case): Handle flag_xfail_rounding.
20249 * sysdeps/i386/fpu/libm-test-ulps: Update.
20250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20251
18d14251
AJ
202522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20253
3d2e6075 20254 [BZ #16289]
18d14251
AJ
20255 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20256 division by 0.
20257
520d437b
SP
202582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20259
20260 [BZ #16195]
20261 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20262 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20263 (STAP_PROBE0): New macro.
20264 (STAP_PROBE1): Likewise.
20265 (STAP_PROBE2): Likewise.
20266 (STAP_PROBE3): Likewise.
20267 (STAP_PROBE4): Likewise.
20268
416e0145
OB
202692013-12-02 Ondřej Bílka <neleai@seznam.cz>
20270
20271 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20272
9d17796a
SE
202732013-12-02 Steve Ellcey <sellcey@mips.com>
20274
20275 * benchtests/Makefile (bench): Add sqrt.
20276 (LDLIBS-bench-sqrt): New.
20277 * benchtests/sqrt-input: New.
20278
f524d6a8
PS
202792013-12-02 Pavel Simerda <psimerda@redhat.com>
20280
639a0ef8
PS
20281 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20282 (GAIH_EAI): Likewise.
20283 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20284 (gaih_inet): Likewise.
20285 (getaddrinfo): Don't use GAIH_EAI.
20286
f524d6a8
PS
20287 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20288 (struct gaih): Remove definition.
20289
df3aedaf
SP
202902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20291
20292 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20293 Use HERRNOP directly.
20294
1ab19dec
AZ
202952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20296
b42ad38d 20297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20298
176b0c79
JM
202992013-11-30 Joseph Myers <joseph@codesourcery.com>
20300
20301 * math/gen-auto-libm-tests.c (test_functions): Add more
20302 single-argument functions.
20303 (special_fill_pi_2): New function.
20304 (special_fill_minus_pi_2): Likewise.
20305 (special_fill_pi_6): Likewise.
20306 (special_fill_minus_pi_6): Likewise.
20307 (special_fill_pi_3): Likewise.
20308 (special_fill_2pi_3): Likewise.
20309 (special_fill_e): Likewise.
20310 (special_fill_1_e): Likewise.
20311 (special_fill_e_minus_1): Likewise.
20312 (special_real_inputs): Add more special inputs.
20313 (output_for_one_input_case): Do not require ERANGE on underflow to
20314 zero if round-to-nearest result does not underflow to zero, unless
20315 exact results required.
20316 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20317 atan, atanh, cbrt, cos and cosh.
20318 * math/auto-libm-test-out: Regenerated.
20319 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20320 (acos_tonearest_test_data): Likewise.
20321 (acos_towardzero_test_data): Likewise.
20322 (acos_downward_test_data): Likewise.
20323 (acos_upward_test_data): Likewise.
20324 (acosh_test_data): Likewise.
20325 (asin_test_data): Likewise.
20326 (asin_tonearest_test_data): Likewise.
20327 (asin_towardzero_test_data): Likewise.
20328 (asin_upward_test_data): Likewise.
20329 (asinh_test_data): Likewise.
20330 (atan_test_data): Likewise.
20331 (atanh_test_data): Likewise.
20332 (cbrt_test_data): Likewise.
20333 (cos_test_data): Likewise.
20334 (cos_tonearest_test_data): Likewise.
20335 (cos_towardzero_test_data): Likewise.
20336 (cos_downward_test_data): Likewise.
20337 (cos_upward_test_data): Likewise.
20338 (cosh_test_data): Likewise.
20339 (cosh_tonearest_test_data): Likewise.
20340 (cosh_towardzero_test_data): Likewise.
20341 (cosh_downward_test_data): Likewise.
20342 (cosh_upward_test_data): Likewise.
20343 * sysdeps/i386/fpu/libm-test-ulps: Update.
20344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345
ffb536d0
JM
203462013-11-29 Joseph Myers <joseph@codesourcery.com>
20347
2a77a467
JM
20348 [BZ #6787]
20349 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20350 * math/w_exp10f.c (__exp10f): Likewise.
20351 * math/w_exp10l.c (__exp10l): Likewise.
20352 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20353 errno settings in existing tests.
20354
ea3bc4e8
JM
20355 [BZ #14032]
20356 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20357 precision control set to double precision.
20358 * sysdeps/i386/fpu/w_sqrt.c: New file.
20359 * math/auto-libm-test-in: Add more tests.
20360 * math/auto-libm-test-out: Update.
20361
0712c9d8
JM
20362 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20363 (sqrt_test_tonearest): New function.
20364 (sqrt_towardzero_test_data): New variable.
20365 (sqrt_test_towardzero): New function.
20366 (sqrt_downward_test_data): New variable.
20367 (sqrt_test_downward): New function.
20368 (sqrt_upward_test_data): New variable.
20369 (sqrt_test_upward): New function.
20370 (main): Call the new functions.
20371
ffb536d0
JM
20372 * math/gen-auto-libm-tests.c: New file.
20373 * math/auto-libm-test-in: Likewise.
20374 * math/auto-libm-test-out: New generated file.
20375 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20376 variables.
20377 (%beautify): Add generated representations of zero.
20378 (top level): Set $auto_input and call parse_auto_input.
20379 (beautify): Remove trailing "f" from hex float constants.
20380 (parse_args): Handle XFAIL_TEST.
20381 (convert_condition): New function.
20382 (or_value): Likewise.
20383 (or_cond_value): Likewise.
20384 (generate_testfile): Handle AUTO_TESTS_* lines.
20385 (parse_auto_input): New function.
20386 * math/libm-test.inc (XFAIL_TEST): New macro.
20387 (ERRNO_UNCHANGED): Update value.
20388 (ERRNO_EDOM): Likewise.
20389 (ERRNO_ERANGE): Likewise.
20390 (IGNORE_RESULT): Likewise.
20391 (TEST_COND_flt_32): New macro.
20392 (TEST_COND_dbl_64): Likewise.
20393 (TEST_COND_ldbl_96_intel): Likewise.
20394 (TEST_COND_ldbl_96_m68k): Likewise.
20395 (TEST_COND_ldbl_128): Likewise.
20396 (TEST_COND_ldbl_128ibm): Likewise.
20397 (TEST_COND_long32): Likewise.
20398 (TEST_COND_long64): Likewise.
20399 (TEST_COND_before_rounding): Likewise.
20400 (TEST_COND_after_rounding): Likewise.
20401 (enable_test): Handle XFAIL_TEST flag.
20402 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20403 with finite results.
20404 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20405 auto-libm-test-out.
20406
acd98a8e
AK
204072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20408 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20409
20410 [BZ #16214]
20411 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20412 __tls_get_addr_internal instead of __tls_get_offset in order to
20413 avoid GOT pointer dependency. Make rtld export
20414 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20415 __tls_get_addr since we are a __tls_get_offset platform.
20416 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20417 GOT pointer being set up before.
20418 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20419
3c1c46a6
JM
204202013-11-28 Joseph Myers <joseph@codesourcery.com>
20421
7475aef5
JM
20422 * manual/math.texi (Errors in Math Functions): Document accuracy
20423 goals.
20424
8bca7cd8
JM
20425 [BZ #15004]
20426 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20427 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20429 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20434 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20435 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20436 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20438 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20439 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20442
91a1f3fe
JM
20443 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20444 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20445 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20446 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20447 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20448 Likewise.
20449 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20450 Likewise.
20451 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20452 Likewise.
20453 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20454 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20455 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20456 atomic-feupdateenv and flt-rounds.
20457 * sysdeps/powerpc/nofpu/Versions (libc): Add
20458 __atomic_feholdexcept, __atomic_feclearexcept,
20459 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20460 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20461 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20462 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20463 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20464 here.
20465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20466 Update.
20467
c5df7609
JM
20468 * manual/arith.texi (FP Exceptions): Document that exceptions may
20469 not be raised when matherr is used.
20470 (Math Error Reporting): Document overflow in directed rounding
20471 modes. Document that errno may not be set when finite values are
20472 returned on overflow. Document intent to set errno on underflow
20473 only for underflow to zero.
20474
3c1c46a6
JM
20475 [BZ #16271]
20476 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20477 round-to-nearest then adjust result for other rounding modes.
20478 * include/fenv.h (fegetround): Use libm_hidden_proto.
20479 * math/fegetround.c (fegetround): Use libm_hidden_def.
20480 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20481 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20482 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20483 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20484 Likewise.
20485 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20486 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20487 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20488 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20489
5a4c6d53
SP
204902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20491
20492 [BZ #16077]
20493 * nss/Versions (libnss_files): Add
20494 _nss_files_gethostbyname3_r.
20495 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20496 New function.
20497 (HOST_DB_LOOKUP): Remove macro.
20498 (_nss_files_gethostbyname_r): Implement function without the
20499 HOST_DB_LOOKUP macro.
20500 (_nss_files_gethostbyname2_r): Likewise.
20501
897b98ba
OB
205022013-11-28 Ondřej Bílka <neleai@seznam.cz>
20503
20504 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20505
6f476861
UB
205062013-11-26 Uros Bizjak <ubizjak@gmail.com>
20507
20508 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20509 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20510 warning.
20511
bd12ab55
AZ
205122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20513
20514 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20515 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20516 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20517 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20518 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20519 __fe_nomask_env_priv and attribute_hidden.
20520 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20521 (libc_feupdateenv_test_ppc): Likewise.
20522 (libc_feresetround_ppc): Likewise.
20523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20524 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20525 compat_symbol macro.
20526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20527 (__fe_nomask_env): Likewise.
20528 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20529
52bb6543
OB
205302013-11-26 Ondřej Bílka <neleai@seznam.cz>
20531
20532 * string/Makefile: Remove ifunc tests.
20533 * string/test-string.h: Define TEST_IFUNC.
20534 * string/test-bcopy-ifunc.c: Remove.
20535 * string/test-bzero-ifunc.c: Likewise.
20536 * string/test-memccpy-ifunc.c: Likewise.
20537 * string/test-memchr-ifunc.c: Likewise.
20538 * string/test-memcmp-ifunc.c: Likewise.
20539 * string/test-memcpy-ifunc.c: Likewise.
20540 * string/test-memmem-ifunc.c: Likewise.
20541 * string/test-memmove-ifunc.c: Likewise.
20542 * string/test-mempcpy-ifunc.c: Likewise.
20543 * string/test-memrchr-ifunc.c: Likewise.
20544 * string/test-memset-ifunc.c: Likewise.
20545 * string/test-rawmemchr-ifunc.c: Likewise.
20546 * string/test-stpcpy-ifunc.c: Likewise.
20547 * string/test-stpncpy-ifunc.c: Likewise.
20548 * string/test-strcasecmp-ifunc.c: Likewise.
20549 * string/test-strcasestr-ifunc.c: Likewise.
20550 * string/test-strcat-ifunc.c: Likewise.
20551 * string/test-strchr-ifunc.c: Likewise.
20552 * string/test-strchrnul-ifunc.c: Likewise.
20553 * string/test-strcmp-ifunc.c: Likewise.
20554 * string/test-strcpy-ifunc.c: Likewise.
20555 * string/test-strcspn-ifunc.c: Likewise.
20556 * string/test-strlen-ifunc.c: Likewise.
20557 * string/test-strncasecmp-ifunc.c: Likewise.
20558 * string/test-strncat-ifunc.c: Likewise.
20559 * string/test-strncmp-ifunc.c: Likewise.
20560 * string/test-strncpy-ifunc.c: Likewise.
20561 * string/test-strnlen-ifunc.c: Likewise.
20562 * string/test-strpbrk-ifunc.c: Likewise.
20563 * string/test-strrchr-ifunc.c: Likewise.
20564 * string/test-strspn-ifunc.c: Likewise.
20565 * string/test-strstr-ifunc.c: Likewise.
20566
ab260039 205672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20568
20569 * benchtests/Makefile: Remove ifunc tests.
20570 * benchtests/bench-string.h: Define TEST_IFUNC.
20571 * benchtests/bench-bcopy-ifunc.c: Remove.
20572 * benchtests/bench-bzero-ifunc.c: Likewise.
20573 * benchtests/bench-memccpy-ifunc.c: Likewise.
20574 * benchtests/bench-memchr-ifunc.c: Likewise.
20575 * benchtests/bench-memcmp-ifunc.c: Likewise.
20576 * benchtests/bench-memcpy-ifunc.c: Likewise.
20577 * benchtests/bench-memmem-ifunc.c: Likewise.
20578 * benchtests/bench-memmove-ifunc.c: Likewise.
20579 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20580 * benchtests/bench-memrchr-ifunc.c: Likewise.
20581 * benchtests/bench-memset-ifunc.c: Likewise.
20582 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20583 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20584 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20585 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20586 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20587 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20588 * benchtests/bench-strcat-ifunc.c: Likewise.
20589 * benchtests/bench-strchr-ifunc.c: Likewise.
20590 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20591 * benchtests/bench-strcmp-ifunc.c: Likewise.
20592 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20593 * benchtests/bench-strcpy-ifunc.c: Likewise.
20594 * benchtests/bench-strcspn-ifunc.c: Likewise.
20595 * benchtests/bench-strlen-ifunc.c: Likewise.
20596 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20597 * benchtests/bench-strncat-ifunc.c: Likewise.
20598 * benchtests/bench-strncmp-ifunc.c: Likewise.
20599 * benchtests/bench-strncpy-ifunc.c: Likewise.
20600 * benchtests/bench-strnlen-ifunc.c: Likewise.
20601 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20602 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20603 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20604 * benchtests/bench-strspn-ifunc.c: Likewise.
20605 * benchtests/bench-strstr-ifunc.c: Likewise.
20606
206072013-11-26 Ondřej Bílka <neleai@seznam.cz>
20608
ab260039
OB
20609 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20610
d1d9eaf4 206112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20612
d1d9eaf4
OB
20613 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20614 * rt/aio.h: Likewise.
20615 * sysdeps/gnu/bits/utmp.h: Likewise.
20616 * sysdeps/gnu/bits/utmpx.h: Likewise.
20617 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20618 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20619 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20620 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20621 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20622 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20623 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20624 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20625 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20626 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20627 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20628 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20629 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20631 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20633 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20634 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20635 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20636 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20638 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20639 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20640 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20641 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20642 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20643 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20644 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20645 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20646 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20647 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20648 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20649 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20651 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20652 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20653 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20654 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20655 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20656 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20657 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20658 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20659
a7624ed9
CD
206602013-11-25 Carlos O'Donell <carlos@redhat.com>
20661
20662 [BZ #16245]
20663 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20664 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20665
63cfe52b
JM
206662013-11-25 Joseph Myers <joseph@codesourcery.com>
20667
20668 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20669 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20670 Likewise.
20671
41e8926a
AZ
206722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20673
20674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20675 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20676 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20677 (__fesetround): Remove define.
20678 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20679 rounding and exceptions handling.
20680 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20681 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20682 (__fe_nomask_env): Likewise.
20683 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20684 __fegetround instead of fegetround.
20685 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20686 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20687
6851bd4d
RM
206882013-11-21 Roland McGrath <roland@hack.frob.com>
20689
070906ff
RM
20690 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20691 it's there.
20692
6851bd4d
RM
20693 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20694
84ae135d
MI
206952013-11-21 Meador Inge <meadori@codesourcery.com>
20696
20697 [BZ #11157]
20698 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20699 (encrypt_r): Likewise.
20700 * malloc/obstack.h (obstack_free): Likewise.
20701 * posix/unistd.h (encrypt): Likewise.
20702
daf75146
GM
207032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20704
20705 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20706 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20707 DL_CALL_DT_FINI() that call the functions directly.
20708 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20709 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20710 * elf/dl-fini.c: Likewise.
20711
10ad46bc
OB
207122013-11-20 Ondřej Bílka <neleai@seznam.cz>
20713
20714 * malloc/hooks.c (memalign_check): Add alignment rounding.
20715 * malloc/malloc.c (_mid_memalign): New function.
20716 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20717 Implement by calling _mid_memalign.
20718 * manual/probes.texi (Memory Allocation Probes): Remove
20719 memory_valloc_retry and memory_pvalloc_retry.
20720
f3fd2628
SP
207212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20722
4712799f
SP
20723 * locale/programs/locarchive.c (open_archive): Add const
20724 qualifier to ARCHIVEFNAME and copy default fname to
20725 DEFAULT_FNAME.
20726
0417b20f
SP
20727 [BZ #15601]
20728 * libio/tst-widetext.input: Rename Oriya to Odia.
20729 * locale/iso-639.def: Likewise.
20730
f3fd2628
SP
20731 * manual/probes.texi (Mathematical Function Probes): Add
20732 documentation for sin, cos, asin and acos probes.
20733 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20734 (__sin32): Add slowasin probe.
20735 (__cos32): Add slowacos probe.
20736 (__mpsin): Add slowsin probe.
20737 (__mpcos): Add slowcos probe.
20738
73c1ce4f
JM
207392013-11-19 Joseph Myers <joseph@codesourcery.com>
20740
20741 [BZ #15483]
20742 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20743 thread-local __sim_exceptions_thread and global
20744 __sim_exceptions_global.
20745 (__sim_disabled_exceptions): Change to thread-local
20746 __sim_disabled_exceptions_thread and global
20747 __sim_disabled_exceptions_global.
20748 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20749 and global __sim_round_mode_global.
20750 (__simulate_exceptions): Use thread-local floating-point state and
20751 set global state from it as needed.
20752 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20753 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20754 __sim_round_mode_thread.
20755 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20756 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20757 and global __sim_exceptions_global.
20758 (__sim_disabled_exceptions): Change to thread-local
20759 __sim_disabled_exceptions_thread and global
20760 __sim_disabled_exceptions_global.
20761 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20762 and global __sim_round_mode_global.
20763 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20764 (SIM_SET_GLOBAL): Likewise.
20765 * sysdeps/powerpc/soft-fp/sfp-machine.h
20766 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20767 __sim_round_mode_thread.
20768 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20769 __sim_disabled_exceptions_thread.
20770 (__sim_exceptions): Change to __sim_exceptions_thread.
20771 (__sim_disabled_exceptions): Change to
20772 __sim_disabled_exceptions_thread.
20773 (__sim_round_mode): Change to __sim_round_mode_thread.
20774 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20775 thread-local floating-point state and set global state from it as
20776 needed.
20777 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20778 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20779 (__sim_disabled_exceptions): Remove extern declaration.
20780 (feenableexcept): Use thread-local floating-point state and set
20781 global state from it as needed.
20782 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20783 extern declaration.
20784 (__sim_disabled_exceptions): Likewise.
20785 (__sim_round_mode): Likewise.
20786 (__fegetenv): Use thread-local floating-point state.
20787 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20788 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20789 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20790 floating-point state and set global state from it as needed.
20791 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20792 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20793 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20794 Likewise.
20795 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20796 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20797 Likewise.
20798 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20799 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20800 Use __sim_round_mode_thread.
20801 * math/test-fenv-tls.c: New file.
20802 * math/Makefile (tests): Add test-fenv-tls.
20803 ($(objpfx)test-fenv-tls): Depend on
20804 $(common-objpfx)nptl/libpthread.so.
20805
b5449b12
AS
208062013-11-19 Andreas Schwab <schwab@suse.de>
20807
20808 * locale/programs/locale.c (show_info): Decode wordarray elements.
20809 * locale/categories.def (LC_MONETARY): Add element for
20810 _NL_MONETARY_CRNCYSTR.
20811 * locale/C-monetary.c (conversion_rate): New variable.
20812 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20813 element.
20814
e186536b
CM
208152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20816
20817 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20818 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20819
5c349950
PP
208202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20821
20822 * elf/Makefile (tst-auxv): New test.
20823 * elf/tst-auxv.c: New
20824 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20825
699df45b
JM
208262013-11-18 Joseph Myers <joseph@codesourcery.com>
20827
20828 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20829 (hidden_proto): Caller changed.
20830 (hidden_tls_proto): New macro.
20831 (libc_hidden_tls_proto): Likewise.
20832 (rtld_hidden_tls_proto): Likewise.
20833 (libm_hidden_tls_proto): Likewise.
20834 (libresolv_hidden_tls_proto): Likewise.
20835 (librt_hidden_tls_proto): Likewise.
20836 (libdl_hidden_tls_proto): Likewise.
20837 (libnss_files_hidden_tls_proto): Likewise.
20838 (libnsl_hidden_tls_proto): Likewise.
20839 (libnss_nisplus_hidden_tls_proto): Likewise.
20840 (libutil_hidden_tls_proto): Likewise.
20841
b7589107
OB
208422013-11-18 Ondřej Bílka <neleai@seznam.cz>
20843
20844 [BZ #10253]
20845 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20846 (decompose_rpath): Defer expansion to fillin_rpath.
20847 (_dl_init_paths): Pass linkmap to fillin_rpath.
20848
250c23bd
RS
208492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20850
20851 * benchtests/Makefile: Add strsep.
20852 * benchtests/bench-strsep.c: New file: strsep benchtest.
20853 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20854
a7931fcf
AS
208552013-11-18 Andreas Schwab <schwab@suse.de>
20856
20857 * locale/programs/locale.c (show_info) [case byte]: Check for
20858 '\377' instead of '\177'.
20859 * locale/C-monetary.c (not_available): Always use "\377".
20860 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20861 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20862 detect unavailable sign_posn locale elements.
20863 * locale/localeconv.c (__localeconv): For grouping and
20864 mon_grouping handle "\177" and "\377" like no grouping.
20865 (INT_ELEM): New macro. Use it to set all numeric members.
20866 * locale/programs/ld-monetary.c (monetary_read)
20867 <tok_mon_grouping>: Normalize single -1 to the empty string.
20868 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20869 Likewise.
20870
728dab0e
OB
208712013-11-07 Ondřej Bílka <neleai@seznam.cz>
20872
20873 [BZ #16055]
20874 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20875 when we match (nil).
20876 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20877
66294491
JM
208782013-11-16 Joseph Myers <joseph@codesourcery.com>
20879
ce665817
JM
20880 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20881 (NO_TEST_INLINE): Update value.
20882 (ERRNO_UNCHANGED): Likewise.
20883 (ERRNO_EDOM): Likewise.
20884 (ERRNO_ERANGE): Likewise.
20885 (IGNORE_RESULT): Likewise.
20886 (check_float_internal): Check signs of NaN results if
20887 TEST_NAN_SIGN used.
20888 (check_complex): Pass TEST_NAN_SIGN flag through to second
20889 check_float_internal call.
20890 (copysign_test_data): Add tests with quiet NaNs as second
20891 argument. Use TEST_NAN_SIGN.
20892 (fabs_test_data): Add test of negative quiet NaN argument. Use
20893 TEST_NAN_SIGN.
20894 (signbit_test_data): Add tests of quiet NaN argument.
20895 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20896
ee1466a9
JM
20897 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20898 $ignore_result.
20899 (parse_args): Handle function results specified as IGNORE.
20900 * math/libm-test.inc (IGNORE_RESULT): New macro.
20901 (check_float_internal): Do not check numerical result if flag
20902 IGNORE_RESULT set.
20903 (check_complex): Pass through IGNORE_RESULT to second
20904 check_float_internal call.
20905 (check_int): Do not check numerical result if flag IGNORE_RESULT
20906 set.
20907 (check_long): Likewise.
20908 (check_bool): Likewise.
20909 (check_longlong): Likewise.
20910 (lrint_test_data): Add tests of infinite and NaN arguments.
20911 (lrint_tonearest_test_data): Likewise.
20912 (lrint_towardzero_test_data): Likewise.
20913 (lrint_downward_test_data): Likewise.
20914 (lrint_upward_test_data): Likewise.
20915 (llrint_test_data): Likewise.
20916 (llrint_tonearest_test_data): Likewise.
20917 (llrint_towardzero_test_data): Likewise.
20918 (llrint_downward_test_data): Likewise.
20919 (llrint_upward_test_data): Likewise.
20920 (lround_test_data): Likewise.
20921 (llround_test_data): Likewise.
20922
14407b7e
JM
20923 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20924 (ERRNO_UNCHANGED): Update value.
20925 (ERRNO_EDOM): Likewise.
20926 (ERRNO_ERANGE): Likewise.
20927 (NO_TEST_INLINE_FLOAT): New macro.
20928 (NO_TEST_INLINE_DOUBLE): Likewise.
20929 (enable_test): New function.
20930 (RUN_TEST_f_f): Check enable_test before running test.
20931 (RUN_TEST_2_f): Likewise.
20932 (RUN_TEST_fff_f): Likewise.
20933 (RUN_TEST_c_f): Likewise.
20934 (RUN_TEST_f_f1): Likewise.
20935 (RUN_TEST_fF_f1): Likewise.
20936 (RUN_TEST_fI_f1): Likewise.
20937 (RUN_TEST_ffI_f1): Likewise.
20938 (RUN_TEST_c_c): Likewise.
20939 (RUN_TEST_cc_c): Likewise.
20940 (RUN_TEST_f_i): Likewise.
20941 (RUN_TEST_f_i_tg): Likewise.
20942 (RUN_TEST_ff_i_tg): Likewise.
20943 (RUN_TEST_f_b): Likewise.
20944 (RUN_TEST_f_b_tg): Likewise.
20945 (RUN_TEST_f_l): Likewise.
20946 (RUN_TEST_f_L): Likewise.
20947 (RUN_TEST_fFF_11): Likewise.
20948 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20949 conditionals.
20950 (cosh_test_data): Likewise.
20951 (exp_test_data): Likewise.
20952 (expm1_test_data): Likewise.
20953 (hypot_test_data): Likewise.
20954 (pow_test_data): Likewise.
20955 (sinh_test_data): Likewise.
20956 (tanh_test_data): Likewise.
20957 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20958 flags argument.
20959
ca07f197
JM
20960 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20961 tests with quiet NaN input and output.
20962 (acosh_test_data): Likewise.
20963 (asin_test_data): Likewise.
20964 (asinh_test_data): Likewise.
20965 (atan_test_data): Likewise.
20966 (atanh_test_data): Likewise.
20967 (atan2_test_data): Likewise.
20968 (cbrt_test_data): Likewise.
20969 (cos_test_data): Likewise.
20970 (cosh_test_data): Likewise.
20971 (erf_test_data): Likewise.
20972 (erfc_test_data): Likewise.
20973 (exp_test_data): Likewise.
20974 (exp10_test_data): Likewise.
20975 (exp2_test_data): Likewise.
20976 (expm1_test_data): Likewise.
20977 (hypot_test_data): Likewise.
20978 (j0_test_data): Likewise.
20979 (j1_test_data): Likewise.
20980 (jn_test_data): Likewise.
20981 (lgamma_test_data): Likewise.
20982 (log_test_data): Likewise.
20983 (log10_test_data): Likewise.
20984 (log1p_test_data): Likewise.
20985 (log2_test_data): Likewise.
20986 (pow_test_data): Likewise.
20987 (scalb_test_data): Likewise.
20988 (sin_test_data): Likewise.
20989 (sincos_test_data): Likewise.
20990 (sinh_test_data): Likewise.
20991 (tan_test_data): Likewise.
20992 (tanh_test_data): Likewise.
20993 (tgamma_test_data): Likewise.
20994 (y0_test_data): Likewise.
20995 (y1_test_data): Likewise.
20996 (yn_test_data): Likewise.
20997
66294491
JM
20998 [BZ #16167]
20999 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21000 argument being NaN and avoid computations with second argument in
21001 that case.
21002 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21003 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21004 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21005
1820b143
CL
210062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21007
21008 * locale/iso-639.def: Add Chitwani Tharu (the).
21009
714bd261
AS
210102013-11-14 Andreas Schwab <schwab@suse.de>
21011
21012 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21013 word instead of empty string.
21014
7ab44563
AZ
210152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21016
21017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21018 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21020 (__fe_nomask_env): Likewise.
21021
e8470ea2
SE
210222013-11-13 Steve Ellcey <sellcey@mips.com>
21023
21024 * benchtests/bench-timing.h: Include time.h.
21025
17c1d9f0
L
210262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21027
21028 [BZ #15997]
21029 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21030 to 3.4.0 for x32.
21031 * sysdeps/unix/sysv/linux/configure: Regenerated.
21032
9310c284
JM
210332013-11-13 Joseph Myers <joseph@codesourcery.com>
21034
21035 [BZ #16151]
21036 * stdlib/strtod_l.c (round_and_return): Do not consider
21037 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21038 exponent one less than half the least subnormal exponent.
21039 * stdlib/test-strtod-round-data: Add more tests.
21040 * stdlib/tst-strtod-round.c (tests): Regenerated.
21041
7a2ad8cf
AZ
210422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21043
21044 [BZ #14143]
21045 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21046 (__fe_mask_env): Likewise.
21047 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21048 libm_hidden_proto and add function prototype.
21049 (__fe_mask_env): Add function prototype.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21051 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21053 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21055 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21056
50727aa7
MS
210572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21058
b2f386c1 21059 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21060 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21061
a615be46
MS
210622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21063
21064 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21065 of htab_find_slot().
21066
7ddace62
DM
210672013-11-11 David S. Miller <davem@davemloft.net>
21068
21069 [BZ #16150]
21070 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21071 symbol in the non-vis3 case in static builds.
21072 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21073 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21074 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21075 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21076
9182aa67
JK
210772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21078
21079 [BZ #387]
21080 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21081 it is empty.
21082
450a2e2d
AZ
210832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21084
b2f386c1
SP
21085 * benchtests/Makefile: Add bench-strtod.
21086 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21087
8ec3f656
AS
210882013-11-11 Andreas Schwab <schwab@suse.de>
21089
21090 [BZ #16153]
21091 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21092 terminating NUL in key length.
21093
76a9b998
AZ
210942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21095
21096 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21097 Add artificial ODP entry for vDSO symbol for PPC64.
21098 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21099 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21100
e4368156
OB
211012013-11-07 Ondřej Bílka <neleai@seznam.cz>
21102
21103 [BZ #15374]
21104 * nss/getent.c (services_keys): Recognize services starting with digit.
21105
8d6bb57c
DM
211062013-11-06 David S. Miller <davem@davemloft.net>
21107
21108 [BZ #15985]
21109 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21110 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21111
e256c421
WN
211122013-11-06 Will Newton <will.newton@linaro.org>
21113
21114 * manual/memory.texi (Malloc Examples): Remove register
21115 keyword from examples.
21116
f6e12daa 211172013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21118
f6e12daa 21119 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21120
9d880655
AS
211212013-11-04 Joseph Myers <joseph@codesourcery.com>
21122
fd2f9486 21123 [BZ #6981]
9d880655
AS
21124 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21125 depending on [__GCC_IEC_559 > 0].
21126 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21127 depending on [__GCC_IEC_559_COMPLEX > 0].
21128
ae129d3c
CL
211292013-11-03 Chris Leonard <cjl@sugarlabs.org>
21130
21131 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21132 to iso-639.def.
21133
4a15c2a4 211342013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21135
21136 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21137
8b35e35d
OB
211382013-11-01 Ondřej Bílka <neleai@seznam.cz>
21139
21140 [BZ #16112]
21141 * malloc/malloc (malloc_info): Do not handle first bin as
21142 special case.
21143
1d70fd6c
CL
211442013-11-01 Chris Leonard <cjl@sugarlabs.org>
21145
21146 * locale/iso-639.def: Add Central Nahuatl (nhn).
21147
8c5c2600
BH
211482013-11-01 Bruno Haible <bruno@clisp.org>
21149
21150 [BZ #7003]
21151 * manual/math.texi (BSD Random): Specify range upper bound as
21152 in POSIX.
21153
da5579c2
CL
211542013-10-31 Chris Leonard <cjl@sugarlabs.org>
21155
21156 * locale/iso-639.def: Add Meadow Mari (mhr).
21157
5d30d853
OB
211582013-10-31 Ondřej Bílka <neleai@seznam.cz>
21159
21160 [BZ #14752], [BZ #15763]
21161 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21162 Validate name.
21163 * rt/tst_shm.c: Add test for escaping directory.
21164
a4966c61
AS
211652013-10-31 Andreas Schwab <schwab@suse.de>
21166
8a43e768 21167 [BZ #15917]
a4966c61
AS
21168 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21169 followed by 'x' as part of digit sequence.
21170 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21171
28d708c4
MAP
211722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21173
21174 [BZ #16037]
21175 * configure.ac: allow GNU Make 4.0 and greater.
21176 * configure: Regenerated.
21177
a56ee40b
WN
211782013-10-30 Will Newton <will.newton@linaro.org>
21179
21180 [BZ #16038]
21181 * malloc/hooks.c (memalign_check): Limit alignment to the
21182 maximum representable power of two.
21183 * malloc/malloc.c (__libc_memalign): Likewise.
21184 * malloc/tst-memalign.c (do_test): Add test for very
21185 large alignment values.
21186 * malloc/tst-posix_memalign.c (do_test): Likewise.
21187
c6e4925d
OB
211882013-10-30 Ondřej Bílka <neleai@seznam.cz>
21189
21190 [BZ #11087]
21191 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21192 (munmap_chunk): Likewise.
21193 (mremap_chunk): Likewise.
21194
211952013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21196
8a43e768 21197 [BZ #15799]
bbea82f7
OB
21198 * stdlib/div.c (div): Remove obsolete code.
21199 * stdlib/ldiv.c (ldiv): Likewise.
21200 * stdlib/lldiv.c (lldiv): Likewise.
21201
977f4b31
SP
212022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21203
21204 [BZ #16071]
21205 * nss/nss_files/files-XXX.c (get_contents_ret): New
21206 enumerator.
21207 (get_contents): New function.
21208 (internal_getent): Use it. Expand size of LINEBUFLEN.
21209
cb8a6dbd
MF
212102013-10-30 Mike Frysinger <vapier@gentoo.org>
21211
21212 * configure.in: Moved to ...
21213 * configure.ac: ... here. Change reference to configure.in
21214 to configure.ac.
21215 * sysdeps/arm/preconfigure.ac: ... here.
21216 configure.in to configure.ac.
21217 * sysdeps/gnu/configure.in: Moved to ...
21218 * sysdeps/gnu/configure.ac: ... here.
21219 * sysdeps/i386/configure.in: Moved to ...
21220 * sysdeps/i386/configure.ac: ... here.
21221 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21222 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21223 * sysdeps/mach/configure.in: Moved to ...
21224 * sysdeps/mach/configure.ac: ... here.
21225 * sysdeps/mach/hurd/configure.in: Moved to ...
21226 * sysdeps/mach/hurd/configure.ac: ... here.
21227 * sysdeps/powerpc/configure.in: Moved to ...
21228 * sysdeps/powerpc/configure.ac: ... here.
21229 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21230 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21231 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21232 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21233 * sysdeps/s390/s390-32/configure.in: Moved to ...
21234 * sysdeps/s390/s390-32/configure.ac: ... here.
21235 * sysdeps/s390/s390-64/configure.in: Moved to ...
21236 * sysdeps/s390/s390-64/configure.ac: ... here.
21237 * sysdeps/sh/configure.in: Moved to ...
21238 * sysdeps/sh/configure.ac: ... here.
21239 * sysdeps/sparc/configure.in: Moved to ...
21240 * sysdeps/sparc/configure.ac: ... here.
21241 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21242 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21243 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21244 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21245 * sysdeps/x86_64/configure.in: Moved to ...
21246 * sysdeps/x86_64/configure.ac: ... here.
21247 * sysdeps/x86_64/preconfigure.in: Moved to ...
21248 * sysdeps/x86_64/preconfigure.ac: ... here.
21249 * aclocal.m4: Change reference to configure.in to configure.ac.
21250 * config.h.in: Likewise.
21251 * manual/install.texi: Likewise.
21252 * manual/maint.texi: Likewise.
21253 * Makefile: Likewise.
21254 * malloc/Makefile: Likewise.
21255 * nscd/Makefile: Likewise.
21256 * Makeconfig: Change reference to configure.in and
21257 preconfigure.in to configure.ac and preconfigure.ac
21258 respectively.
21259 * INSTALL: Regenerated.
21260 * configure: Likewise.
21261 * sysdeps/gnu/configure: Likewise.
21262 * sysdeps/i386/configure: Likewise.
21263 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21264 * sysdeps/mach/configure: Likewise.
21265 * sysdeps/mach/hurd/configure: Likewise.
21266 * sysdeps/powerpc/configure: Likewise.
21267 * sysdeps/powerpc/powerpc32/configure: Likewise.
21268 * sysdeps/powerpc/powerpc64/configure: Likewise.
21269 * sysdeps/s390/s390-32/configure: Likewise.
21270 * sysdeps/s390/s390-64/configure: Likewise.
21271 * sysdeps/sh/configure: Likewise.
21272 * sysdeps/sparc/configure: Likewise.
21273 * sysdeps/unix/sysv/linux/configure: Likewise.
21274 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21275 * sysdeps/x86_64/configure: Likewise.
21276 * sysdeps/x86_64/preconfigure: Likewise.
21277
36a4953a
AS
212782013-10-29 Andreas Schwab <schwab@suse.de>
21279
21280 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21281
c79a1204
SP
212822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21283
dfa1b402
SP
21284 * benchtests/pow-inputs: Add new inputs.
21285
54f73d9c
SP
21286 * benchtests/exp-inputs: Add new inputs.
21287
c79a1204
SP
21288 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21289 conditional check for return value.
21290 (__cos32): Likewise.
21291
67beb545 212922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21293
21294 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21295 to provide a boost for large inputs with word alignment.
21296 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21297 implementation based on optimized PPC64 strcpy.
21298 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21299 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21300 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21301 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21302
151659f6
OB
213032013-10-25 Ondřej Bílka <neleai@seznam.cz>
21304
482a077e 21305 [BZ #2801]
151659f6
OB
21306 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21307
10b0f26b
OB
213082013-10-25 Ondřej Bílka <neleai@seznam.cz>
21309
21310 [BZ #14876]
21311 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21312 * time/tst-strptime.c (day_tests): Add testcase.
21313
ca42d35e
OB
213142013-10-25 Ondřej Bílka <neleai@seznam.cz>
21315
482a077e 21316 [BZ #14029]
ca42d35e
OB
21317 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21318
52e6d801
FB
213192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21320
21321 [BZ #16074]
21322 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21323 MAP_FAILED on error.
21324
7cbcdb36
SP
213252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21326
21327 [BZ #16072]
21328 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21329 heap for large requests.
21330
894f3f10
AM
213312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21332
21333 [BZ #9954]
21334 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21335 result if the result has no associated interface.
21336 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21337 interface for all 127.X.Y.Z addresses.
21338
b85545a6
CL
213392013-10-24 Chris Leonard <cjl@sugarlabs.org>
21340
21341 * locale/iso-639.def: Add Ligurian (lij)
21342
d1f23d46
OB
213432013-10-21 Ondřej Bílka <neleai@seznam.cz>
21344
21345 [BZ #15825]
21346 * sunrpc/rpc_main.c: Document rpcgen -5.
21347
4db5b08f
MS
213482013-10-19 Michael Stahl <mstahl@redhat.com>
21349
21350 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21351
a471e96a
OB
213522013-10-19 Ondřej Bílka <neleai@seznam.cz>
21353
d1f23d46 21354 [BZ #10278]
a471e96a
OB
21355 * posix/glob.c: Match only directories when trailing slash is present.
21356 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21357 (main): Add testcase.
21358
45c30c61
OB
213592013-10-19 Ondřej Bílka <neleai@seznam.cz>
21360
21361 [BZ #15670]
21362 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21363
484c12fb
CD
213642013-10-18 Carlos O'Donell <carlos@redhat.com>
21365
3d7dc513
CD
21366 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21367 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21368 AUTH_DES and cindex for FIPS 140-2.
21369 (DES Encryption): Add cindex FIPS 46-3.
21370
484c12fb
CD
21371 * locale/locarchive.h (struct locarhandle): Add fname.
21372 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21373 if an optional argument was specified to --list-archive,
21374 otherwise NULL.
21375 * locale/programs/locarchive.c (show_archive_content): Take new
21376 argument fname and pass it via ah.fname to open_archive.
21377 * locale/programs/localedef.h: Update decl.
21378 (open_archive): If AH->fname is non-null, open that file
21379 rather than the default file name, and don't ignore ENOENT.
21380 (create_archive): Set AH.fname to NULL.
21381 (delete_locales_from_archive): Likewise.
21382 (add_locales_to_archive): Likewise.
21383 * locale/programs/locfile.c (write_all_categories): Likewise.
21384
3c8325fb
JM
213852013-10-18 Joseph Myers <joseph@codesourcery.com>
21386 Aldy Hernandez <aldyh@redhat.com>
21387
21388 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21389 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21390 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21391 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21392 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21393 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21394 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21395 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21396 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21397 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21398 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21399 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21400 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21401 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21402 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21403 Likewise.
21404 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21405 Likewise.
21406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21407 Likewise.
21408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21409 Likewise.
21410 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21411 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21412 Likewise.
21413 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21414 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21415 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21416 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21417 Likewise.
21418 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21419 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21420 * sysdeps/powerpc/preconfigure: Likewise.
21421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21422 Likewise.
21423 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21424 Replace contents of file by #include of <fenv_libc.h>.
21425 * sysdeps/powerpc/soft-fp/sfp-machine.h
21426 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21427 and <sys/prctl.h>.
21428 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21429 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21430 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21431 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21432 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21438 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21441 Allow copysignl PLT reference to be missing.
21442
5abe0682
RS
214432013-10-18 Richard Sandiford <richard@codesourcery.com>
21444 Joseph Myers <joseph@codesourcery.com
21445
21446 [BZ #15948]
21447 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21448 single character.
21449 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21450
c7738d08
SP
214512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21452
21453 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21454 * elf/tst-tls1.c: Likewise.
21455 * elf/tst-tls10.h: Likewise.
21456 * elf/tst-tls14.c: Likewise.
21457 * elf/tst-tls2.c: Likewise.
21458 * elf/tst-tls3.c: Likewise.
21459 * elf/tst-tls4.c: Likewise.
21460 * elf/tst-tls5.c: Likewise.
21461 * elf/tst-tls6.c: Likewise.
21462 * elf/tst-tls7.c: Likewise.
21463 * elf/tst-tls8.c: Likewise.
21464 * elf/tst-tls9.c: Likewise.
21465 * elf/tst-tlsmod1.c: Likewise.
21466 * elf/tst-tlsmod13.c: Likewise.
21467 * elf/tst-tlsmod13a.c: Likewise.
21468 * elf/tst-tlsmod14a.c: Likewise.
21469 * elf/tst-tlsmod16a.c: Likewise.
21470 * elf/tst-tlsmod16b.c: Likewise.
21471 * elf/tst-tlsmod2.c: Likewise.
21472 * elf/tst-tlsmod3.c: Likewise.
21473 * elf/tst-tlsmod4.c: Likewise.
21474 * elf/tst-tlsmod5.c: Likewise.
21475 * elf/tst-tlsmod6.c: Likewise.
21476
0bfcf2c7
OB
214772013-10-18 Ondřej Bílka <neleai@seznam.cz>
21478
21479 [BZ #12486]
21480 * malloc/malloc.c: remove checks for statistics.
21481
264aad1e
OB
214822013-10-17 Ondřej Bílka <neleai@seznam.cz>
21483
21484 [BZ #15277]
21485 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21486 * inet/tst-network.c: Add testcase.
21487
b957ced8
AS
214882013-10-17 Andreas Schwab <schwab@suse.de>
21489
21490 [BZ #15218]
21491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21492 to determine canonical name.
21493
c5d5d574
OB
214942013-10-17 Ondřej Bílka <neleai@seznam.cz>
21495
21496 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21497 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21498 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21499 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21500 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21502 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21504 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21505 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21506 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21507 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21508 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21509 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21512 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21514 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21519 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21520 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21521 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21522 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21523 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21524 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21525 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21526 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21527 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21528 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21529 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21530 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21531 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21532 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21533 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21534 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21535 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21536 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21540 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21541 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21542 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21543 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21544 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21545 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21546 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21547 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21548 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21549 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21550 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21551 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21553 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21554
e5c2c2d0
JM
215552013-10-17 Joseph Myers <joseph@codesourcery.com>
21556
21557 [BZ #16041]
21558 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21559 make result into a quiet NaN.
21560
51ca9e29
JM
215612013-10-16 Joseph Myers <joseph@codesourcery.com>
21562
21563 * soft-fp/adddf3.c: Fix horizontal whitespace.
21564 * soft-fp/addsf3.c: Likewise.
21565 * soft-fp/addtf3.c: Likewise.
21566 * soft-fp/divdf3.c: Likewise.
21567 * soft-fp/divsf3.c: Likewise.
21568 * soft-fp/divtf3.c: Likewise.
21569 * soft-fp/double.h: Likewise.
21570 * soft-fp/eqdf2.c: Likewise.
21571 * soft-fp/eqsf2.c: Likewise.
21572 * soft-fp/eqtf2.c: Likewise.
21573 * soft-fp/extenddftf2.c: Likewise.
21574 * soft-fp/extended.h: Likewise.
21575 * soft-fp/extendsfdf2.c: Likewise.
21576 * soft-fp/extendsftf2.c: Likewise.
21577 * soft-fp/extendxftf2.c: Likewise.
21578 * soft-fp/fixdfdi.c: Likewise.
21579 * soft-fp/fixdfsi.c: Likewise.
21580 * soft-fp/fixdfti.c: Likewise.
21581 * soft-fp/fixsfdi.c: Likewise.
21582 * soft-fp/fixsfsi.c: Likewise.
21583 * soft-fp/fixsfti.c: Likewise.
21584 * soft-fp/fixtfdi.c: Likewise.
21585 * soft-fp/fixtfsi.c: Likewise.
21586 * soft-fp/fixtfti.c: Likewise.
21587 * soft-fp/fixunsdfdi.c: Likewise.
21588 * soft-fp/fixunsdfsi.c: Likewise.
21589 * soft-fp/fixunsdfti.c: Likewise.
21590 * soft-fp/fixunssfdi.c: Likewise.
21591 * soft-fp/fixunssfsi.c: Likewise.
21592 * soft-fp/fixunssfti.c: Likewise.
21593 * soft-fp/fixunstfdi.c: Likewise.
21594 * soft-fp/fixunstfsi.c: Likewise.
21595 * soft-fp/fixunstfti.c: Likewise.
21596 * soft-fp/floatdidf.c: Likewise.
21597 * soft-fp/floatdisf.c: Likewise.
21598 * soft-fp/floatditf.c: Likewise.
21599 * soft-fp/floatsidf.c: Likewise.
21600 * soft-fp/floatsisf.c: Likewise.
21601 * soft-fp/floatsitf.c: Likewise.
21602 * soft-fp/floattidf.c: Likewise.
21603 * soft-fp/floattisf.c: Likewise.
21604 * soft-fp/floattitf.c: Likewise.
21605 * soft-fp/floatundidf.c: Likewise.
21606 * soft-fp/floatundisf.c: Likewise.
21607 * soft-fp/floatunditf.c: Likewise.
21608 * soft-fp/floatunsidf.c: Likewise.
21609 * soft-fp/floatunsisf.c: Likewise.
21610 * soft-fp/floatunsitf.c: Likewise.
21611 * soft-fp/floatuntidf.c: Likewise.
21612 * soft-fp/floatuntisf.c: Likewise.
21613 * soft-fp/floatuntitf.c: Likewise.
21614 * soft-fp/fmadf4.c: Likewise.
21615 * soft-fp/fmasf4.c: Likewise.
21616 * soft-fp/fmatf4.c: Likewise.
21617 * soft-fp/gedf2.c: Likewise.
21618 * soft-fp/gesf2.c: Likewise.
21619 * soft-fp/getf2.c: Likewise.
21620 * soft-fp/ledf2.c: Likewise.
21621 * soft-fp/lesf2.c: Likewise.
21622 * soft-fp/letf2.c: Likewise.
21623 * soft-fp/muldf3.c: Likewise.
21624 * soft-fp/mulsf3.c: Likewise.
21625 * soft-fp/multf3.c: Likewise.
21626 * soft-fp/negdf2.c: Likewise.
21627 * soft-fp/negsf2.c: Likewise.
21628 * soft-fp/negtf2.c: Likewise.
21629 * soft-fp/op-1.h: Likewise.
21630 * soft-fp/op-2.h: Likewise.
21631 * soft-fp/op-4.h: Likewise.
21632 * soft-fp/op-8.h: Likewise.
21633 * soft-fp/op-common.h: Likewise.
21634 * soft-fp/quad.h: Likewise.
21635 * soft-fp/single.h: Likewise.
21636 * soft-fp/soft-fp.h: Likewise.
21637 * soft-fp/sqrtdf2.c: Likewise.
21638 * soft-fp/sqrtsf2.c: Likewise.
21639 * soft-fp/sqrttf2.c: Likewise.
21640 * soft-fp/subdf3.c: Likewise.
21641 * soft-fp/subsf3.c: Likewise.
21642 * soft-fp/subtf3.c: Likewise.
21643 * soft-fp/truncdfsf2.c: Likewise.
21644 * soft-fp/trunctfdf2.c: Likewise.
21645 * soft-fp/trunctfsf2.c: Likewise.
21646 * soft-fp/trunctfxf2.c: Likewise.
21647 * soft-fp/unorddf2.c: Likewise.
21648 * soft-fp/unordsf2.c: Likewise.
21649 * soft-fp/unordtf2.c: Likewise.
21650
9ebb0332
JM
216512013-10-15 Joseph Myers <joseph@codesourcery.com>
21652
21653 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21654 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21655
4b1a6d8b
OB
216562013-10-15 Ondřej Bílka <neleai@seznam.cz>
21657
21658 * elf/dl-libc.c: Clear initfini list after freeing.
21659
1e145589
JM
216602013-10-14 Joseph Myers <joseph@codesourcery.com>
21661
21662 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21663 * soft-fp/addsf3.c: Likewise.
21664 * soft-fp/addtf3.c: Likewise.
21665 * soft-fp/divdf3.c: Likewise.
21666 * soft-fp/divsf3.c: Likewise.
21667 * soft-fp/divtf3.c: Likewise.
21668 * soft-fp/double.h: Likewise.
21669 * soft-fp/eqdf2.c: Likewise.
21670 * soft-fp/eqsf2.c: Likewise.
21671 * soft-fp/eqtf2.c: Likewise.
21672 * soft-fp/extenddftf2.c: Likewise.
21673 * soft-fp/extended.h: Likewise.
21674 * soft-fp/extendsfdf2.c: Likewise.
21675 * soft-fp/extendsftf2.c: Likewise.
21676 * soft-fp/extendxftf2.c: Likewise.
21677 * soft-fp/fixdfdi.c: Likewise.
21678 * soft-fp/fixdfsi.c: Likewise.
21679 * soft-fp/fixdfti.c: Likewise.
21680 * soft-fp/fixsfdi.c: Likewise.
21681 * soft-fp/fixsfsi.c: Likewise.
21682 * soft-fp/fixsfti.c: Likewise.
21683 * soft-fp/fixtfdi.c: Likewise.
21684 * soft-fp/fixtfsi.c: Likewise.
21685 * soft-fp/fixtfti.c: Likewise.
21686 * soft-fp/fixunsdfdi.c: Likewise.
21687 * soft-fp/fixunsdfsi.c: Likewise.
21688 * soft-fp/fixunsdfti.c: Likewise.
21689 * soft-fp/fixunssfdi.c: Likewise.
21690 * soft-fp/fixunssfsi.c: Likewise.
21691 * soft-fp/fixunssfti.c: Likewise.
21692 * soft-fp/fixunstfdi.c: Likewise.
21693 * soft-fp/fixunstfsi.c: Likewise.
21694 * soft-fp/fixunstfti.c: Likewise.
21695 * soft-fp/floatdidf.c: Likewise.
21696 * soft-fp/floatdisf.c: Likewise.
21697 * soft-fp/floatditf.c: Likewise.
21698 * soft-fp/floatsidf.c: Likewise.
21699 * soft-fp/floatsisf.c: Likewise.
21700 * soft-fp/floatsitf.c: Likewise.
21701 * soft-fp/floattidf.c: Likewise.
21702 * soft-fp/floattisf.c: Likewise.
21703 * soft-fp/floattitf.c: Likewise.
21704 * soft-fp/floatundidf.c: Likewise.
21705 * soft-fp/floatundisf.c: Likewise.
21706 * soft-fp/floatunsidf.c: Likewise.
21707 * soft-fp/floatunsisf.c: Likewise.
21708 * soft-fp/floatuntidf.c: Likewise.
21709 * soft-fp/floatuntisf.c: Likewise.
21710 * soft-fp/floatuntitf.c: Likewise.
21711 * soft-fp/fmadf4.c: Likewise.
21712 * soft-fp/fmasf4.c: Likewise.
21713 * soft-fp/fmatf4.c: Likewise.
21714 * soft-fp/gedf2.c: Likewise.
21715 * soft-fp/gesf2.c: Likewise.
21716 * soft-fp/getf2.c: Likewise.
21717 * soft-fp/ledf2.c: Likewise.
21718 * soft-fp/lesf2.c: Likewise.
21719 * soft-fp/letf2.c: Likewise.
21720 * soft-fp/muldf3.c: Likewise.
21721 * soft-fp/mulsf3.c: Likewise.
21722 * soft-fp/multf3.c: Likewise.
21723 * soft-fp/negdf2.c: Likewise.
21724 * soft-fp/negsf2.c: Likewise.
21725 * soft-fp/negtf2.c: Likewise.
21726 * soft-fp/op-1.h: Likewise.
21727 * soft-fp/op-2.h: Likewise.
21728 * soft-fp/op-4.h: Likewise.
21729 * soft-fp/op-8.h: Likewise.
21730 * soft-fp/op-common.h: Likewise.
21731 * soft-fp/quad.h: Likewise.
21732 * soft-fp/single.h: Likewise.
21733 * soft-fp/soft-fp.h: Likewise.
21734 * soft-fp/sqrtdf2.c: Likewise.
21735 * soft-fp/sqrtsf2.c: Likewise.
21736 * soft-fp/sqrttf2.c: Likewise.
21737 * soft-fp/subdf3.c: Likewise.
21738 * soft-fp/subsf3.c: Likewise.
21739 * soft-fp/subtf3.c: Likewise.
21740 * soft-fp/truncdfsf2.c: Likewise.
21741 * soft-fp/trunctfdf2.c: Likewise.
21742 * soft-fp/trunctfsf2.c: Likewise.
21743 * soft-fp/trunctfxf2.c: Likewise.
21744 * soft-fp/unorddf2.c: Likewise.
21745 * soft-fp/unordsf2.c: Likewise.
21746 * soft-fp/unordtf2.c: Likewise.
21747
17c48a60
OB
217482013-10-14 Ondřej Bílka <neleai@seznam.cz>
21749
21750 [BZ #15672]
21751 * misc/error.c (error_tail): Fix possible buffer overflow.
21752
cabba934
OB
217532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21754
21755 [BZ #13028]
21756 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21757 address.
21758
94bf958a
PM
217592013-10-14 P. J. McDermott <pj@pehjota.net>
21760
21761 [BZ #832]
21762 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21763 testing pipefail option.
21764
71b4dea7
JM
217652013-10-12 Joseph Myers <joseph@codesourcery.com>
21766
21767 * soft-fp/double.h: Indent preprocessor directives inside #if.
21768 * soft-fp/extended.h: Likewise.
21769 * soft-fp/op-2.h: Likewise.
21770 * soft-fp/op-4.h: Likewise.
21771 * soft-fp/op-common.h: Likewise.
21772 * soft-fp/quad.h: Likewise.
21773 * soft-fp/single.h: Likewise.
21774 * soft-fp/soft-fp.h: Likewise.
21775
55602758
YC
217762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21777
21778 * iconv/iconv_prog.c: Fix typos.
21779 * stdio-common/psiginfo-data.h: Likewise.
21780
9cd83302
RT
217812013-10-12 Reuben Thomas <rrt@sc3d.org>
21782
21783 [BZ #15764]
21784 * locale/setlocale.c: Fix typo.
21785
99fd9f47
JM
217862013-10-12 Joseph Myers <joseph@codesourcery.com>
21787
b7ea74f0
JM
21788 [BZ #16036]
21789 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21790 signaling NaN arguments.
21791 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21792 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21793
8a509447
JM
21794 [BZ #14910]
21795 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21796 unordered operands.
21797 * soft-fp/gesf2.c (__gesf2): Likewise.
21798 * soft-fp/getf2.c (__getf2): Likewise.
21799 * soft-fp/ledf2.c (__ledf2): Likewise.
21800 * soft-fp/lesf2.c (__lesf2): Likewise.
21801 * soft-fp/letf2.c (__letf2): Likewise.
21802
98998e9f
JM
21803 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21804 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21805 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21806 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21807 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21808 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21809 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21810 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21811 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21812 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21813 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21814 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21815 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21816 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21817 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21818 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21819 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21820 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21821 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21822 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21823 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21824 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21825 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21826 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21827 * soft-fp/floattidf.c (__floattidf): Likewise.
21828 * soft-fp/floattisf.c (__floattisf): Likewise.
21829 * soft-fp/floattitf.c (__floattitf): Likewise.
21830 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21831 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21832 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21833 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21834 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21835 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21836 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21837 * soft-fp/gesf2.c (__gesf2): Likewise.
21838 * soft-fp/getf2.c (__getf2): Likewise.
21839 * soft-fp/ledf2.c (__ledf2): Likewise.
21840 * soft-fp/lesf2.c (__lesf2): Likewise.
21841 * soft-fp/letf2.c (__letf2): Likewise.
21842
8edc4a11
JM
21843 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21844 Undefine and redefine.
21845 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21846 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21847 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21848 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21849 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21850 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21851 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21852 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21853 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21854 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21855 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21856 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21857 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21858 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21859 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21860
8399acaf
JM
21861 [BZ #16032]
21862 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21863 without decrementing exponent if mantissa >= that for the
21864 denominator, not >.
21865 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21866 denominator, not >. Decrement exponent in < case instead of
21867 incrementing in >= case.
21868 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21869 without decrementing exponent if mantissa >= that for the
21870 denominator, not >.
21871
99fd9f47
JM
21872 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21873 computing saturated result for unsigned overflow.
21874
10e1cf6b
SP
218752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21876 Jeff Law <law@redhat.com>
21877
21878 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21879 (atan2Mp): Add systemtap probe marker.
21880 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21881 (__ieee754_log): Add systemtap probe marker.
21882 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21883 (atanMp): Add systemtap probe marker.
21884 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21885 (tanMp): Add systemtap probe marker.
21886 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21887 (__slowexp): Add systemtap probe marker.
21888 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21889 (__slowpow): Add systemtap probe marker.
21890 * manual/probes.texi: Document probes.
21891
3d110c7c
EB
218922013-10-11 Eric Biggers <ebiggers3@gmail.com>
21893
21894 [BZ #15362]
21895 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21896 written.
21897 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21898 written.
21899 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21900 written to buffer but not flushed.
21901 * libio/iofwrite_u.c: Likewise.
21902 * libio/iopadn.c: Return bytes returned even if EOF was
21903 encountered.
21904 * libio/iowpadn.c: Likewise.
21905 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21906 if _IO_padn does not write the whole buffer.
21907 [!COMPILE_WPRINTF] (PAD): Likewise.
21908
75b4202a
DM
219092013-10-10 David S. Miller <davem@davemloft.net>
21910
21911 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21912 directory block.
21913
6c6352e6
JM
219142013-10-10 Joseph Myers <joseph@codesourcery.com>
21915
33b853c3
JM
21916 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21917 instead of FSF address.
21918 * soft-fp/fixdfti.c: Likewise.
21919 * soft-fp/fixsfti.c: Likewise.
21920 * soft-fp/fixtfti.c: Likewise.
21921 * soft-fp/fixunsdfti.c: Likewise.
21922 * soft-fp/fixunssfti.c: Likewise.
21923 * soft-fp/fixunstfti.c: Likewise.
21924 * soft-fp/floattidf.c: Likewise.
21925 * soft-fp/floattisf.c: Likewise.
21926 * soft-fp/floattitf.c: Likewise.
21927 * soft-fp/floatuntidf.c: Likewise.
21928 * soft-fp/floatuntisf.c: Likewise.
21929 * soft-fp/floatuntitf.c: Likewise.
21930 * soft-fp/trunctfxf2.c: Likewise.
21931
6c6352e6
JM
21932 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21933 * soft-fp/fixdfti.c: Likewise.
21934 * soft-fp/fixsfti.c: Likewise.
21935 * soft-fp/fixtfti.c: Likewise.
21936 * soft-fp/fixunsdfti.c: Likewise.
21937 * soft-fp/fixunssfti.c: Likewise.
21938 * soft-fp/fixunstfti.c: Likewise.
21939 * soft-fp/floattidf.c: Likewise.
21940 * soft-fp/floattisf.c: Likewise.
21941 * soft-fp/floattitf.c: Likewise.
21942 * soft-fp/floatuntidf.c: Likewise.
21943 * soft-fp/floatuntisf.c: Likewise.
21944 * soft-fp/floatuntitf.c: Likewise.
21945 * soft-fp/trunctfxf2.c: Likewise.
21946
3bf78b71
DM
219472013-10-10 David S. Miller <davem@davemloft.net>
21948
21949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21950
6f10289e
JM
219512013-10-10 Joseph Myers <joseph@codsourcery.com>
21952
bd878fc0
JM
21953 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21954 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21955 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21956 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21957 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21958 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21959 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21960
6f10289e
JM
21961 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21962 for NaNs before doing comparisons on argument.
21963 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21964 Likewise.
21965
321e2684
WN
219662013-10-10 Will Newton <will.newton@linaro.org>
21967
21968 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21969 passed to _int_memalign does not overflow.
21970
40fefba1
TR
219712013-10-10 Torvald Riegel <triegel@redhat.com>
21972
21973 * scripts/bench.pl: Add include-sources directive.
21974 * benchtests/README: Update documentation.
21975
2ae21ed2
JM
219762013-10-10 Joseph Myers <joseph@codesourcery.com>
21977
dcc2dd3f
JM
21978 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21979 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21980 instead of FP_INIT_ROUNDMODE.
21981 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21982 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21983
2ae21ed2
JM
21984 [BZ #16034]
21985 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21986 copy class of input value.
21987 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21988 not handle exceptions.
21989 * soft-fp/negsf2.c (__negsf2): Likewise.
21990 * soft-fp/negtf2.c (__negtf2): Likewise.
21991 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21992
cb8f9562
JM
219932013-10-09 Joseph Myers <joseph@codesourcery.com>
21994
21995 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21996 semicolon. From Linux kernel.
21997
5b60c59d
AB
219982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21999
22000 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22001
b86835ca
YC
220022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22003
22004 [BZ #156]
22005 * manual/socket.texi: Added statement about buffer
22006 for gethostbyname2_r.
22007
e7044ea7
OB
220082013-10-08 Ondřej Bílka <neleai@seznam.cz>
22009
22010 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22011 Use .p2align directive instead, throughout.
22012 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22013 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22014 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22017 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22018 * sysdeps/x86_64/strchr.S: Likewise.
22019 * sysdeps/x86_64/strrchr.S: Likewise.
22020
09544cbc
SP
220212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22022
88576635
SP
22023 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22024
e7b2d1dd
SP
22025 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22026
09544cbc
SP
22027 * sysdeps/generic/math_private.h (__mpsin1): Remove
22028 declaration.
22029 (__mpcos1): Likewise.
22030 (__mpsin): New argument __range_reduce.
22031 (__mpcos): Likewise.
22032 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22033 (slow): Use __mpsin and __mpcos.
22034 (slow1): Likewise.
22035 (slow2): Likewise.
22036 (sloww): Likewise.
22037 (sloww1): Likewise.
22038 (sloww2): Likewise.
22039 (bsloww): Likewise.
22040 (bsloww1): Likewise.
22041 (bsloww2): Likewise.
22042 (cslow2): Likewise.
22043 (csloww): Likewise.
22044 (csloww1): Likewise.
22045 (csloww2): Likewise.
22046 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22047 range_reduce. Merge in __mpsin1.
22048 (__mpcos): Likewise.
22049 (__mpsin1): Remove.
22050 (__mpcos1): Likewise.
22051
7602d070
JM
220522013-10-07 Joseph Myers <joseph@codesourcery.com>
22053
22054 * locale/loadlocale.c (_nl_intern_locale_data): Use
22055 LOCFILE_ALIGNED_P.
22056 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22057 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22058 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22059 obstack data is appropriately aligned.
22060 (obstack_int32_grow_fast): Likewise.
22061 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22062 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22063 (add_locale_uint32_array): Likewise.
22064
a357259b
SP
220652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22066
22067 * benchtests/Makefile: Remove ARGLIST and RET variables.
22068 ($(objpfx)bench-%.c): Pass only function name to the script.
22069 * benchtests/README: Update documentation.
22070 * benchtests/acos-inputs: Add new directives.
22071 * benchtests/acosh-inputs: Likewise.
22072 * benchtests/asin-inputs: Likewise.
22073 * benchtests/asinh-inputs: Likewise.
22074 * benchtests/atan-inputs: Likewise.
22075 * benchtests/atanh-inputs: Likewise.
22076 * benchtests/cos-inputs: Likewise.
22077 * benchtests/cosh-inputs: Likewise.
22078 * benchtests/exp-inputs: Likewise.
22079 * benchtests/log-inputs: Likewise.
22080 * benchtests/pow-inputs: Likewise.
22081 * benchtests/rint-inputs: Likewise.
22082 * benchtests/sin-inputs: Likewise.
22083 * benchtests/sinh-inputs: Likewise.
22084 * benchtests/tan-inputs: Likewise.
22085 * benchtests/tanh-inputs: Likewise.
22086 * scripts/bench.pl: Add support for new directives.
22087
9ec1b13d
AM
220882013-10-07 Alan Modra <amodra@gmail.com>
22089
22090 * README: Fix careless merge.
22091
8b7d57cd
AM
220922013-10-05 Alan Modra <amodra@gmail.com>
22093
22094 * NEWS: Mention powerpc64le support and bugs fixed.
22095 * README: Both big-endian and little-endian powerpc64 supported.
22096
7b7bab13
ST
220972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22098
57f41c40
AS
22099 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22100 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22101 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22102 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22103
d39baad1
RA
221042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22105
22106 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22107 match prototype.
22108
cd78f7e7
JM
221092013-10-04 Joseph Myers <joseph@codesourcery.com>
22110
29d73d86
JM
22111 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22112 Move -mhard-float appending from
22113 ports/sysdeps/powerpc/powerpc32/Makefile.
22114 [$(with-fp) = yes] (ASFLAGS): Likewise.
22115 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22116 * sysdeps/powerpc/nofpu: Move directory from
22117 ports/sysdeps/powerpc/nofpu.
22118 * sysdeps/powerpc/soft-fp: Move directory from
22119 ports/sysdeps/powerpc/soft-fp.
22120 * sysdeps/powerpc/powerpc32/405: Move directory from
22121 ports/sysdeps/powerpc/powerpc32/405.
22122 * sysdeps/powerpc/powerpc32/440: Move directory from
22123 ports/sysdeps/powerpc/powerpc32/440.
22124 * sysdeps/powerpc/powerpc32/464: Move directory from
22125 ports/sysdeps/powerpc/powerpc32/464.
22126 * sysdeps/powerpc/powerpc32/476: Move directory from
22127 ports/sysdeps/powerpc/powerpc32/476.
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22129 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22131 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22138 * README: Update for powerpc-*-linux-gnu software floating point
22139 support in libc.
22140
e246b347
JM
22141 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22142 case to powerpc/powerpc32*.
22143 * sysdeps/unix/sysv/linux/configure: Regenerated.
22144
89c2003e
JM
22145 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22146 (_FPU_MASK_OM): Define as 0x04.
22147 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22148 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22149 0x00c10080.
22150 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22151 0x0000003c.
22152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22153
cd78f7e7
JM
22154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22155 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22156 getcontext_e500.
22157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22158 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22159 setcontext_e500.
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22161 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22162 and setcontext_e500.
22163
c755294d
CL
221642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22165
22166 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22167
e16d221c
SP
221682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22169
22170 * manual/threads.texi (Default Thread Attributes): Fix typo.
22171
215c7d43
WN
221722013-10-04 Will Newton <will.newton@linaro.org>
22173
22174 * malloc/Makefile: Add tst-memalign.
22175 * malloc/tst-memalign.c: New file.
22176
27d0461b
WN
22177 * malloc/tst-posix_memalign.c: Add comments.
22178 (do_test): Add comments and call free on all potentially
22179 allocated pointers. Add space after cast.
22180
1bc92709
WN
22181 * malloc/tst-pvalloc.c: Add comments.
22182 (do_test): Add comments and call free on all potentially
22183 allocated pointers. Remove duplicate check for NULL pointer.
22184 Add space after cast.
22185
66a9be9d
WN
22186 * malloc/tst-valloc.c: Add comments.
22187 (do_test): Add comments and call free on all potentially
22188 allocated pointers. Remove duplicate check for NULL pointer.
22189 Add space after cast.
22190
4cb81307
AM
221912013-10-04 Alan Modra <amodra@gmail.com>
22192
22193 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22194 Use stdint types in rather than __attribute__((mode())).
22195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22196
f8e3e9f3
AM
221972013-10-04 Alan Modra <amodra@gmail.com>
22198
22199 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22200 Correct handling of unaligned relocs for little-endian.
22201 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22202
8f9ebb08
AM
222032013-10-04 Alan Modra <amodra@gmail.com>
22204
22205 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22206 * configure: Regenerate.
22207 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22208 * shlib-versions: Likewise.
22209
0edf96c2
AM
222102013-10-04 Alan Modra <amodra@gmail.com>
22211
22212 * string/tester.c (test_memrchr): Increment reported test cycle.
22213
e0f7a380
AM
222142013-10-04 Alan Modra <amodra@gmail.com>
22215
22216 * string/test-memcpy.c (do_one_test): When reporting errors, print
22217 string address and don't overrun end of string.
22218
466b0393
AM
222192013-10-04 Alan Modra <amodra@gmail.com>
22220
22221 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22222 insrdi. Make better use of reg selection to speed exit slightly.
22223 Schedule entry path a little better. Remove useless "are we done"
22224 checks on entry to main loop. Handle wrapping around zero address.
22225 Correct main loop count. Handle single left-over word from main
22226 loop inline rather than by using loop_small. Remove extra word
22227 case in loop_small caused by wrong loop count. Add little-endian
22228 support.
22229 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22230 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22231 cache hint.
22232 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22233 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22234 support. Avoid rlwimi.
22235 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22236
3be87c77
AM
222372013-10-04 Alan Modra <amodra@gmail.com>
22238
22239 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22240 insrdi. Formatting.
3be87c77
AM
22241 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22242 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22243 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22244 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22245 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22246 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22247
759cfef3
AM
222482013-10-04 Alan Modra <amodra@gmail.com>
22249
22250 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22251 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22252 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22253 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22254 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22256 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22257 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22258 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22259 use of regs. Use power7 mtocrf. Tidy function tails.
22260
fe6e95d7
AM
222612013-10-04 Alan Modra <amodra@gmail.com>
22262
22263 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22264 Formatting. Consistently use rXXX register defines or rN defines.
22265 Use early exit labels that avoid restoring unused non-volatile regs.
22266 Make cr field use more consistent with rWORDn compares. Rename
22267 regs used as shift registers for unaligned loop, using rN defines
22268 for short lifetime/multiple use regs.
22269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22270 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22271 addi 1,1,64 to pop stack frame. Simplify return value code.
22272 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22273
664318c3
AM
222742013-10-04 Alan Modra <amodra@gmail.com>
22275
22276 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22277 support. Correct typos, formatting. Optimize tail. Use insrdi
22278 rather than rlwimi.
22279 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22280 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22281 little-endian support. Correct typos.
22282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22283 rather than rlwimi.
22284 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22285 in loop and entry code to keep "and." results.
22286 (strchr): Add little-endian support. Comment. Move cntlzd
22287 earlier in tail.
22288 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22289
43b84013
AM
222902013-10-04 Alan Modra <amodra@gmail.com>
22291
22292 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22293 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22294 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22295 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22296
8a7413f9
AM
222972013-10-04 Alan Modra <amodra@gmail.com>
22298
22299 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22300 (rTMP): Define as r11.
22301 (strcmp): Add little-endian support. Optimise tail.
22302 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22303 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22304 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22306 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22307 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22308 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22309
33ee81de
AM
223102013-10-04 Alan Modra <amodra@gmail.com>
22311
22312 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22313 little-endian support. Remove unnecessary "are we done" tests.
22314 Handle "s" wrapping around zero and extremely large "size".
22315 Correct main loop count. Handle single left-over word from main
22316 loop inline rather than by using small_loop. Correct comments.
22317 Delete "zero" tail, use "end_max" instead.
22318 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22319
db9b4570
AM
223202013-10-04 Alan Modra <amodra@gmail.com>
22321
22322 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22323 support. Don't branch over align.
22324 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22325 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22326 support. Rearrange tmp reg use to suit. Comment.
22327 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22328
f7c399cf
AM
223292013-10-04 Alan Modra <amodra@gmail.com>
22330
22331 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22332
0b2c2ace
AM
223332013-10-04 Alan Modra <amodra@gmail.com>
22334
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22336 conditional form of branch and link when obtaining pc.
22337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22338
02f04a6c
AM
223392013-10-04 Alan Modra <amodra@gmail.com>
22340
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22342 HIWORD/LOWORD.
22343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22345
9b874b2f
AM
223462013-10-04 Alan Modra <amodra@gmail.com>
22347
22348 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22349 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22350 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22351 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22352 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22353 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22354 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22355 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22356 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22357 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22358
be1e5d31
AB
223592013-10-04 Anton Blanchard <anton@au1.ibm.com>
22360 Alistair Popple <alistair@ozlabs.au.ibm.com>
22361 Alan Modra <amodra@gmail.com>
22362
22363 [BZ #15723]
22364 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22365 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22366 _dl_hwcap access for little-endian.
22367 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22368 destroy vmx regs when saving unaligned.
22369 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22370 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22371 destroy vmx regs when saving unaligned.
22372
fef13a78
AM
223732013-10-04 Alan Modra <amodra@gmail.com>
22374
22375 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22376 Don't use a union to pack hi/low value.
22377
76a66d51
AB
223782013-10-04 Anton Blanchard <anton@au1.ibm.com>
22379
22380 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22381 for little-endian.
22382 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22383 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22384 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22385 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22386 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22387
6a31fe7f
AM
223882013-10-04 Alan Modra <amodra@gmail.com>
22389
22390 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22391 constants to usual value for .cst8 section, and remove redundant
22392 high address load.
22393 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22394 constant for 0x1p52. Load little-endian words of double from
22395 correct stack offsets.
22396
7b88401f
AM
223972013-10-04 Alan Modra <amodra@gmail.com>
22398
22399 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22400 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22401 words of double from correct stack offsets.
22402 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22403 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22404 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22405 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22406 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22409 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22410 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22414 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22415 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22416 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22417 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22418 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22419
9c008155
AM
224202013-10-04 Alan Modra <amodra@gmail.com>
22421
22422 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22423 64-bit int/double union.
22424 (_FPU_SETCW): Likewise.
22425 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22426 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22427
da13146d
AM
224282013-10-04 Alan Modra <amodra@gmail.com>
22429
22430 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22431 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22432
603e8410
AM
224332013-10-04 Alan Modra <amodra@gmail.com>
22434
22435 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22436 use vector int constants.
22437 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22438
4a28b3ca
AB
224392013-10-04 Anton Blanchard <anton@au1.ibm.com>
22440
22441 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22442 array with long long.
22443 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22444 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22445 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22446 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22447 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22448 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22449 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22450 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22451 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22452 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22453 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22454 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22455 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22456
2ca85d2b
AB
224572013-10-04 Anton Blanchard <anton@au1.ibm.com>
22458
22459 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22460 (__signbit): Likewise. Correct for little-endian.
22461 (__signbitl): Call __signbit.
22462 (lrint): Correct for little-endian.
22463 (lrintf): Call lrint.
22464
62a728ae
AM
224652013-10-04 Alan Modra <amodra@gmail.com>
22466
22467 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22468 union 32-bit int array member with 64-bit int array.
22469 (t515, tm256): Double rather than long double.
22470 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22471
32c301df
AM
224722013-10-04 Alan Modra <amodra@gmail.com>
22473
22474 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22475 Delete.
22476 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22477 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22478 version of math_ldbl.h.
22479
650ef4bd
AM
224802013-10-04 Alan Modra <amodra@gmail.com>
22481
22482 [BZ #15734], [BZ #15735]
22483 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22484 all uses of ieee875 long double macros and unions. Simplify test
22485 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22486 ldbl_extract_mantissa value for ix,iy exponents. Properly
22487 normalize after ldbl_extract_mantissa, and don't add hidden bit
22488 already handled. Don't treat low word of ieee854 mantissa like
22489 low word of IBM long double and mask off bit when testing for
22490 zero.
22491 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22492 all uses of ieee875 long double macros and unions. Simplify tests
22493 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22494 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22495 two1022, instead use their values. Recognise that tests for large
22496 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22497 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22498 Rewrite all uses of ieee875 long double macros and unions. Simplify
22499 test for 0.0L and nan. Correct negation.
22500 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22501 ieee875 long double macros and unions. Correct output for large
22502 magnitude x. Correct absolute value calculation.
22503 (__erfcl): Likewise.
22504 * math/libm-test.inc: Add tests for errors discovered in IBM long
22505 double versions of fmodl, remainderl, erfl and erfcl.
22506
765714ca
AM
225072013-10-04 Alan Modra <amodra@gmail.com>
22508
22509 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22510 all uses of ieee854 long double macros and unions. Simplify tests
22511 for long doubles that are fully specified by the high double.
22512 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22513 Likewise.
22514 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22515 Remove dead code too.
22516 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22517 (__ieee754_ynl): Likewise.
22518 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22519 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22520 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22521 Remove dead code too.
22522 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22523 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22524 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22525 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22526 Simplify.
22527 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22528 Simplify.
22529 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22530 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22531 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22532 Comment on variable precision.
22533 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22534 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22535 Likewise.
22536 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22537 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22538 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22539 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22540 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22541
4ebd120c
AM
225422013-10-04 Alan Modra <amodra@gmail.com>
22543
22544 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22545 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22546 all uses of ieee854 long double macros and unions.
22547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22549 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22550 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22551 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22553 Likewise.
22554 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22555 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22556 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22557 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22558 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22559 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22560 Simplify sign and nan test too.
22561 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22562 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22563 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22564 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22565 Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22567 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22568 Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22573 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22574 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22575
1b6adf88
AM
225762013-10-04 Alan Modra <amodra@gmail.com>
22577
22578 * stdio-common/printf_size.c (__printf_size): Don't use
22579 union ieee854_long_double in fpnum union.
22580 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22581 signbit macro to retrieve sign from long double.
22582 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22583 retrieve sign from long double.
22584 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22585 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22586 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22587 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22588 * math/test-misc.c (main): Don't use union ieee854_long_double.
22589
4cf69995
AM
225902013-10-04 Alan Modra <amodra@gmail.com>
22591
22592 [BZ #15680]
22593 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22594 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22595 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22596 calculation. Remove unnecessary test for denormal exponent.
22597 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22598 Correct handling of denormals. Avoid undefined shift behaviour.
22599 Correct normalisation of low mantissa when low double is denormal.
22600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22601 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22602 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22603 Correct normalisation of low mantissa. Test for overflow of high
22604 mantissa and normalise.
22605 (ldbl_nearbyint): Use more readable constant for two52.
22606 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22607 (__mpn_construct_long_double): Fix test for overflow of high
22608 mantissa and correct normalisation. Avoid undefined shift.
22609
9605ca6c
AM
226102013-10-04 Alan Modra <amodra@gmail.com>
22611
22612 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22613 (union ibm_extended_long_double): Define as an array of ieee754_double.
22614 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22615 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22616 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22617 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22625
975569d0
JM
226262013-10-03 Joseph Myers <joseph@codesourcery.com>
22627
d3d23756
JM
22628 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22629 page size instead of calling getpagesize.
22630
975569d0
JM
22631 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22632 (LOCFILE_ALIGN_MASK): Likewise.
22633 (LOCFILE_ALIGN_UP): Likewise.
22634 (LOCFILE_ALIGNED_P): Likewise.
22635 * locale/programs/ld-collate.c (collate_output): Use the new
22636 macros instead of __alignof__ (int32_t).
22637 * locale/weight.h (findidx): Likewise.
22638
b1fe1f2b
OB
226392013-10-03 Ondřej Bílka <neleai@seznam.cz>
22640
22641 [BZ #431]
22642 * manual/string.texi: Fix strncat and wcsncat.
22643
5f855e35
BM
226442013-10-03 Brooks Moses <bmoses@google.com>
22645
22646 [BZ #15915]
22647 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22648 * Makerules: ...here, and adjust associated comments.
22649
3cef6009
WN
226502013-10-02 Will Newton <will.newton@linaro.org>
22651
22652 * malloc/Makefile: Add tst-pvalloc.
22653 * malloc/tst-pvalloc.c: New file.
22654
7815420b
WN
226552013-10-02 Will Newton <will.newton@linaro.org>
22656
22657 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22658 improve test coverage.
22659
4868b204
WN
226602013-10-02 Will Newton <will.newton@linaro.org>
22661
22662 * malloc/Makefile: Add tst-posix_memalign.
22663 * malloc/tst-posix_memalign.c: New file.
22664
29c793b3
EB
226652013-10-01 Eric Blake <eblake@redhat.com>
22666
22667 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22668 Use __THROWNL rather than __THROW on static functions.
22669
fd967522
PM
226702013-09-30 Petr Machata <pmachata@redhat.com>
22671
22672 * elf/elf.h (R_AARCH64_ABS16): New macro.
22673 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22674 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22675 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22676 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22677 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22678 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22679 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22680 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22681 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22682 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22683 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22684 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22685 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22686 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22687 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22688 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22689 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22690 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22691 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22692 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22693 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22694 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22695 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22696 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22697 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22698 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22699 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22700 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22701 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22702 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22703 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22704 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22705 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22706 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22707 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22708 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22709 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22710 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22711 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22712 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22713 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22714 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22715 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22716 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22717 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22718 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22719 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22720 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22721 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22722 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22723 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22724 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22725 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22726 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22727 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22728 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22729 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22730 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22731 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22732 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22733 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22734 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22735 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22736 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22737 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22738 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22739 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22740 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22741 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22742 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22743 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22744 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22745 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22746 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22747 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22748 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22749 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22750 (R_AARCH64_TLSDESC_LDR): Likewise.
22751 (R_AARCH64_TLSDESC_ADD): Likewise.
22752 (R_AARCH64_TLSDESC_CALL): Likewise.
22753
b2179107
AS
227542013-09-30 Andreas Schwab <schwab@suse.de>
22755
22756 [BZ #15048]
22757 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22758 the nss database lookup.
22759 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22761
47f28d0a
MF
227622013-09-28 Mike Frysinger <vapier@gentoo.org>
22763
22764 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22765
227662013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22767
22768 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22769 ${Bash-specific parameter/pattern/string} parameter expansion.
22770 * sysdeps/unix/make-syscalls.sh: Likewise.
22771
f4518a17
KK
227722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22773
22774 * sysdeps/sh/stackguard-macros.h: New file.
22775
dc1a95c7
OB
227762013-09-26 Ondřej Bílka <neleai@seznam.cz>
22777
22778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22779 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22780 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22781 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22782 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22783 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22784
5ebbff8f
AZ
227852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22786
22787 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22788 Fix thread ID register.
22789
4fd2cf9f
JM
227902013-09-25 Joseph Myers <joseph@codesourcery.com>
22791
22792 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22793 [POSIX || UNIX98]: Require rather than permitting all symbols from
22794 <time.h>.
22795 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22796 element of struct sched_param.
22797 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22798 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22799 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22800 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22801 constant.
22802
12c22bc4
OL
228032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22804
22805 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22806 argument calculation.
22807
a03d8ea7
JM
228082013-09-24 Joseph Myers <joseph@codesourcery.com>
22809
22810 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22811 Expect macro.
22812 [POSIX] (pthread_attr_t): Do not require type.
22813 [POSIX] (pthread_cond_t): Likewise.
22814 [POSIX] (pthread_condattr_t): Likewise.
22815 [POSIX] (pthread_key_t): Likewise.
22816 [POSIX] (pthread_mutex_t): Likewise.
22817 [POSIX] (pthread_mutexattr_t): Likewise.
22818 [POSIX] (pthread_once_t): Likewise.
22819 [POSIX] (pthread_t): Likewise.
22820 [POSIX-based standards] (pthread_atfork): Expect function.
22821
6055173a
JM
228222013-09-24 Joseph Myers <joseph@codesourcery.com>
22823 Richard Sandiford <richard@codesourcery.com>
22824
22825 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22826 (swap_endianness_p): New extern variable.
22827 (set_big_endian): New inline function.
22828 (maybe_swap_uint32): Likewise.
22829 (maybe_swap_uint32_array): Likewise.
22830 (maybe_swap_uint32_obstack): Likewise.
22831 * locale/programs/locfile.c: Include <stdbool.h>.
22832 (swap_endianness_p): New variable.
22833 (add_locale_uint32): Call maybe_swap_uint32.
22834 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22835 (write_locale_data): Call maybe_swap_uint32_array.
22836 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22837 maybe_swap_uint32.
22838 (obstack_int32_grow_fast): Likewise.
22839 (output_weightwc): Call maybe_swap_uint32_obstack.
22840 (collate_output): Likewise.
22841 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22842 (OPT_LITTLE_ENDIAN): Likewise.
22843 (options): Add --little-endian and --big-endian options.
22844 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22845 * locale/programs/locarchive.c: Include "locfile.h".
22846 (GET): New macro.
22847 (SET): Likewise.
22848 (INC): Likewise.
22849 (create_archive): Use the new macros to access fields of
22850 structures directly mapped from or written to locale archives.
22851 (oldlocrecentcmp): Likewise.
22852 (enlarge_archive): Likewise.
22853 (insert_name): Likewise.
22854 (add_alias): Likewise.
22855 (add_locale): Likewise.
22856 (delete_locales_from_archive): Likewise.
22857 (show_archive_content): Likewise.
22858 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22859 locale data.
22860
39bf0bb4
RM
228612013-09-24 Roland McGrath <roland@hack.frob.com>
22862
22863 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22864 http://www.gnu.org/doc/freemanuals.texi.
22865 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22866
f02eed10
WN
228672013-09-24 Will Newton <will.newton@linaro.org>
22868
22869 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22870 macro.
22871
a3a6c312
JM
228722013-09-23 Joseph Myers <joseph@codesourcery.com>
22873
22874 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22875 unsigned char.
22876
107375ac
MR
228772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22878
22879 * manual/threads.texi (POSIX Threads): Fix a typo.
22880
141f3a77
SP
228812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22882
303e567a
SP
22883 [BZ #14547]
22884 * string/tst-strcoll-overflow.c: New test case.
22885 * string/Makefile (xtests): Add tst-strcoll-overflow.
22886 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22887 cache if string sizes may cause integer overflow.
22888
141f3a77
SP
22889 [BZ #14547]
22890 * string/strcoll_l.c (coll_seq): New members rule, idx,
22891 save_idx and back_us.
22892 (get_next_seq_nocache): New function.
22893 (do_compare_nocache): New function.
22894 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22895 when malloc fails.
22896
c61b4d41
CD
228972013-09-23 Carlos O'Donell <carlos@redhat.com>
22898
0b1f8e35
CD
22899 [BZ #15754]
22900 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22901 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22902 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22903
c61b4d41
CD
22904 [BZ #15754]
22905 * elf/Makefile (tests): Add tst-ptrguard1.
22906 (tests-static): Add tst-ptrguard1-static.
22907 (tst-ptrguard1-ARGS): Define.
22908 (tst-ptrguard1-static-ARGS): Define.
22909 * elf/tst-ptrguard1.c: New file.
22910 * elf/tst-ptrguard1-static.c: New file.
22911 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22912 * sysdeps/i386/stackguard-macros.h: Likewise.
22913 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22914 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22915 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22916 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22917 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22918 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22919
229202013-09-23 Hector Marco <hecmargi@upv.es>
22921 Ismael Ripoll <iripoll@disca.upv.es>
22922 Carlos O'Donell <carlos@redhat.com>
22923
22924 [BZ #15754]
22925 * sysdeps/generic/stackguard-macros.h: Define
22926 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22927 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22928 Define __pointer_chk_guard_local.
22929 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22930 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22931
f5f4e7b4
VV
229322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22933
22934 [BZ #15859]
22935 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22936
5bb43a43
AS
229372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22938
22939 * include/string.h (__ffs): Declare as hidden.
22940 * string/ffs.c (__ffs): Define as hidden.
22941 * sysdeps/i386/ffs.c (__ffs): Likewise.
22942 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22943 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22944 * sysdeps/s390/ffs.c (__ffs): Likewise.
22945 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22946
3ea5be54
AO
229472013-09-20 Alexandre Oliva <aoliva@redhat.com>
22948
ffb89e53
AO
22949 * NEWS: Mention malloc probes.
22950
322dea08
AO
22951 * malloc/arena.c (new_heap): New memory_heap_new probe.
22952 (grow_heap): New memory_heap_more probe.
22953 (shrink_heap): New memory_heap_less probe.
22954 (heap_trim): New memory_heap_free probe.
22955 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22956 (systrim): New memory_sbrk_less probe.
22957 * manual/probes.texi: Document them.
22958
655673f3
AO
22959 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22960 * manual/probes.texi: Document it.
22961
35fed6f1
AO
22962 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22963 (__libc_realloc): Add memory_realloc_retry probe.
22964 (__libc_memalign): Add memory_memalign_retry probe.
22965 (__libc_valloc): Add memory_valloc_retry probe.
22966 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22967 (__libc_calloc): Add memory_calloc_retry probe.
22968 * manual/probes.texi: Document them.
22969
6999d38c
AO
22970 * malloc/arena.c (get_free_list): Add probe
22971 memory_arena_reuse_free_list.
22972 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22973 and memory_arena_reuse.
22974 (arena_get2) [!PER_THREAD]: Likewise.
22975 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22976 memory_arena_reuse_realloc.
22977 * manual/probes.texi: Document them.
22978
0653427f
AO
22979 * malloc/malloc.c (__libc_free): Add
22980 memory_mallopt_free_dyn_thresholds probe.
22981 (__libc_mallopt): Add multiple memory_mallopt probes.
22982 * manual/probes.texi: Document them.
22983
3ea5be54
AO
22984 * malloc/malloc.c: Include stap-probe.h.
22985 (__libc_mallopt): Add memory_mallopt probe.
22986 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22987 * manual/probes.texi: New.
22988 * manual/Makefile (chapters): Add probes.
22989 * manual/threads.texi: Set next node.
22990
e35696c3 229912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 22992
e35696c3
CL
22993 [BZ #15963, #13985]
22994 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22995 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22996 Add `Chinese' to `nan' entry name.
22997
4aafb73c
SP
229982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22999
23000 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23001 (POLYNOMIAL): Likewise.
23002 (TAYLOR_SINCOS): Likewise.
23003 (TAYLOR_SLOW): Likewise.
23004 (__sin): Use TAYLOR_SINCOS.
23005 (__cos): Likewise.
23006 (slow): Use TAYLOR_SLOW.
23007 (sloww): Likewise.
23008 (bsloww): Likewise.
23009 (csloww): Likewise.
23010
d84f25c7
LD
230112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23012
23013 * stdlib/strtod_l.c: Fix buffer overrun.
23014
5eea0404
SP
230152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23016
7849ff93
SP
23017 * benchtests/Makefile (bench): Add sincos.
23018 * benchtests/bench-sincos.c: New file.
23019
cfa3c886
SP
23020 * math/libm-test.inc (cos_test_data): New test inputs.
23021 (sin_test_data): Likewise.
23022
b348e1e3
SP
23023 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23024 macro.
23025 (__sin): Use it.
23026 (__cos): Likewise.
23027 (slow1): Likewise.
23028 (slow2): Likewise.
23029 (sloww1): Likewise.
23030 (sloww2): Likewise.
23031 (bsloww1): Likewise.
23032 (bsloww2): Likewise.
23033 (cslow2): Likewise.
23034 (csloww1): Likewise.
23035 (csloww2): Likewise.
23036
6cce25f8
SP
23037 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23038 function.
23039 (__sin): Use it.
23040 (__cos): Likewise.
23041
5eea0404
SP
23042 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23043 gotos.
23044 (__cos): Likewise.
23045
9c21573c
MR
230462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23047
23048 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23049 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23050 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23051 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23052 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23053 * elf/cache.c (print_entry): Handle the new cache flags.
23054
24d22e65
JM
230552013-09-18 Joseph Myers <joseph@codesourcery.com>
23056 Aldy Hernandez <aldyh@redhat.com>
23057
23058 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23059 Change condition to [_SOFT_FLOAT].
23060 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23061 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23062 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23072 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23075 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23076 declaration.
23077
d13ef066
JM
230782013-09-18 Joseph Myers <joseph@codesourcery.com>
23079
2e071de0
JM
23080 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23081 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23082 (__longjmp): Use LOAD_GP to load saved GPRs.
23083 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23084 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23085 (__sigsetjmp): Use SAVE_GP to save GPRs.
23086
d13ef066
JM
23087 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23088 Do not append -msoft-float.
23089 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23090
97a0650b
SP
230912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23092
23093 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23094
11ca09e9
JM
230952013-09-17 Joseph Myers <joseph@codesourcery.com>
23096
23097 [BZ #15966]
23098 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23099 (_FPU_GETCW): Use initial "__" on variable and field names but not
23100 on macro parameter name.
23101 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23102 parentheses around reference to macro parameter.
23103
08ffcf34
RS
231042013-09-13 Richard Sandiford <richard@codesourcery.com>
23105
23106 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23107 prototype.
23108 (ctype_startup): Use uint32_t in cast and sizeof for
23109 ctype->charnames.
23110
ae7080d3
JL
231112013-09-11 Jia Liu <proljc@gmail.com>
23112
23113 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23114 __daddr_t_defined.
23115 [__FreeBSD__]: Likewise.
23116
5905e7b3
OB
231172013-09-11 Ondřej Bílka <neleai@seznam.cz>
23118
23119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23120 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23121 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23122 (strchr): Remove __strchr_sse42 ifunc selection.
23123 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23124 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23125
b987c776
WN
231262013-09-11 Will Newton <will.newton@linaro.org>
23127
23128 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23129 parameter to RES. Remove hardcoded 1000 value.
23130 * benchtests/bench-skeleton.c (main): Pass RES parameter
23131 to TIMING_INIT and multiply result by 1000.
23132
ddf985af
AZ
231332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23134
23135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23136
ffdd3181
AS
231372013-09-11 Andreas Schwab <schwab@suse.de>
23138
23139 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23140 if not defined.
23141 (O_TMPFILE) [__USE_GNU]: Define.
23142 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23143 Define.
23144
b73ed247
WN
231452013-09-11 Will Newton <will.newton@linaro.org>
23146
23147 [BZ #15857]
23148 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23149 does not overflow.
23150
55e17aad
WN
231512013-09-11 Will Newton <will.newton@linaro.org>
23152
23153 [BZ #15856]
23154 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23155 does not overflow.
23156
1159a193
WN
231572013-09-11 Will Newton <will.newton@linaro.org>
23158
23159 [BZ #15855]
23160 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23161 does not overflow.
23162
5905e7b3 231632013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23164
23165 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23166 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23167 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23168 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23169 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23170
cdfc721b
AM
231712013-09-10 Allan McRae <allan@archlinux.org>
23172
aa04af00
AM
23173 [BZ #15748]
23174 * manual/arith.texi (Parsing of Floats): Clarify
23175 cross-reference.
23176
cdfc721b
AM
23177 [BZ #15849]
23178 * manual/install.texi (Running make install): Mention
23179 --enable-pt-chown.
23180 * INSTALL: Regenerated.
23181
95e7cf29
MR
231822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23183
23184 * csu/init-first.c (_init): Remove the !SHARED condition around
23185 FPU control word initialization.
23186 * elf/dl-support.c (_dl_fpu_control): New variable.
23187 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23188 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23189 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23190 * math/test-fpucw-static.c: New file.
23191 * math/test-fpucw-ieee.c: New file.
23192 * math/test-fpucw-ieee-static.c: New file.
23193 * math/Makefile (tests): Add `test-fpucw-ieee' and
23194 `$(tests-static)'.
23195 (tests-static): New variable.
23196 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23197 dependency to...
23198 [($(build-shared),yes)]
23199 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23200 ... this.
23201 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23202 New dependency.
23203
83e43bf0
AM
232042013-09-09 Allan McRae <allan@archlinux.org>
23205
a9f5ce09
AM
23206 [BZ #15939]
23207 * manual/string.texi (Collation Functions): Fix typo in
23208 strcoll example.
23209 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23210
34829bc2
AM
23211 [BZ #15893]
23212 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23213
3932737d
AM
23214 [BZ #15892]
23215 * libio/memstream.c (open_memstream): Fix memory leak.
23216 * libio/wmemstream.c (open_wmemstream): Likewise.
23217
83e43bf0
AM
23218 [BZ #15895]
23219 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23220
0c66b8e9
WN
232212013-09-09 Will Newton <will.newton@linaro.org>
23222
23223 * malloc/Makefile: Add tst-realloc to tests.
23224 * malloc/tst-realloc.c: New file.
23225
f6b00fd1
AM
232262013-09-09 Allan McRae <allan@archlinux.org>
23227
23228 [BZ #15844]
23229 * COPYING: Update from GNU website to fix FSF address.
23230 * COPYING.LIB: Likewise.
23231
eec55e16
DM
232322013-09-06 David S. Miller <davem@davemloft.net>
23233
23234 * po/zh_TW.po: Update Chinese (traditional) translation from
23235 translation project.
23236
1ecbb381
RS
232372013-09-06 Richard Sandiford <richard@codesourcery.com>
23238 Joseph Myers <joseph@codesourcery.com>
23239
23240 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23241 "localeinfo.h".
23242 (obstack_chunk_alloc): New macro.
23243 (obstack_chunk_free): Likewise.
23244 (record_offset): New function.
23245 (init_locale_data): Likewise.
23246 (align_locale_data): Likewise.
23247 (add_locale_empty): Likewise.
23248 (add_locale_raw_data): Likewise.
23249 (add_locale_raw_obstack): Likewise.
23250 (add_locale_string): Likewise.
23251 (add_locale_wstring): Likewise.
23252 (add_locale_uint32): Likewise.
23253 (add_locale_uint32_array): Likewise.
23254 (add_locale_char): Likewise.
23255 (start_locale_structure): Likewise.
23256 (end_locale_structure): Likewise.
23257 (start_locale_prelude): Likewise.
23258 (end_locale_prelude): Likewise.
23259 (write_locale_data): Take locale_file structure rather than an
23260 iovec.
23261 * locale/programs/locfile.h: Include "obstack.h".
23262 (struct locale_file): Change to store locale file contents instead
23263 of header.
23264 (init_locale_data): New prototype.
23265 (align_locale_data): Likewise.
23266 (add_locale_empty): Likewise.
23267 (add_locale_raw_data): Likewise.
23268 (add_locale_raw_obstack): Likewise.
23269 (add_locale_string): Likewise.
23270 (add_locale_wstring): Likewise.
23271 (add_locale_uint32): Likewise.
23272 (add_locale_uint32_array): Likewise.
23273 (add_locale_char): Likewise.
23274 (start_locale_structure): Likewise.
23275 (end_locale_structure): Likewise.
23276 (start_locale_prelude): Likewise.
23277 (end_locale_prelude): Likewise.
23278 (write_locale_data): Update prototype.
23279 * locale/programs/3level.h (struct TABLE): Remove result field.
23280 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23281 Use new locale_file interface.
23282 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23283 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23284 * locale/programs/ld-address.c (address_output): Use new
23285 locale_file interface.
23286 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23287 NO_ADD_LOCALE.
23288 (collate_finish): Don't call collseq_table_finalize.
23289 (collate_output): Use new locale_file interface.
23290 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23291 in file.
23292 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23293 (TABLE): Move defines earlier in file.
23294 (ELEMENT): Likewise.
23295 (DEFAULT): Likewise.
23296 (wctrans_table_add): Move macro and inline function earlier in
23297 file.
23298 (struct wctype_table): Move type earlier in file.
23299 (add_locale_wctype_table): New static prototype.
23300 (struct locale_ctype_t): Use logical types instead of struct iovec
23301 pointers for members.
23302 (ctype_output): Use new locale_file interface.
23303 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23304 new locale_file interface.
23305 (allocate_arrays): Update for use of new locale_file interface.
23306 * locale/programs/ld-identification.c (identification_output): Use
23307 new locale_file interface.
23308 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23309 * locale/programs/ld-messages.c (messages_output): Likewise.
23310 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23311 * locale/programs/ld-name.c (name_output): Likewise.
23312 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23313 * locale/programs/ld-paper.c (paper_output): Likewise.
23314 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23315 * locale/programs/ld-time.c (time_output): Likewise.
23316
e029e2e5
AZ
233172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23318
23319 * benchtests/Makefile: Add memrchr benchmark.
23320 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23321 benchmark as memrchr.
23322 * benchtests/bench-memrchr-ifunc.c: New file.
23323 * benchtests/bench-memrchr.c: New file.
23324
bbf6e8e4
WN
233252013-09-06 Will Newton <will.newton@linaro.org>
23326
23327 * benchtests/Makefile (string-bench): Add memcpy.
23328
6c82a2f8
CD
233292013-09-05 Carlos O'Donell <carlos@redhat.com>
23330 Cong Wang <amwang@redhat.com>
23331
e732c5f0 23332 [BZ #15850]
6c82a2f8
CD
23333 * sysdeps/unix/sysv/linux/bits/in.h
23334 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23335 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23336 before __USE_KERNEL_IPV6_DEFS uses.
23337 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23338 IPPROTO_BEETPH.
23339 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23340 sockaddr_in6, or ipv6_mreq.
23341
5430fc65
AZ
233422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23343
23344 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23345 memory access for final bytes in some large inputs.
23346 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23347
4660856c
AZ
233482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23349
23350 * string/test-memrchr.c: New file.
23351 * string/test-memrchr-ifunc.c: New file.
23352 * string/Makefile: Add new memrchr testcase.
23353
bb8ea713
MF
233542013-09-05 Mike Frysinger <vapier@gentoo.org>
23355
23356 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23357 fanotify_init returns EPERM.
23358
b92a20b5
JM
233592013-09-04 Joseph Myers <joseph@codesourcery.com>
23360
23361 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23362 errors.
23363 (top level): Treat second token from macro or constant entries for
23364 allowed headers as allowed.
23365 * include/complex.h: Condition internal declarations on
23366 [!_ISOMAC].
23367 * include/fenv.h: Condition include of <stdbool.h> and internal
23368 declarations on [!_ISOMAC].
7447ccd9
CL
23369
233702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23371
3e181dda 23372 [BZ #15923]
7447ccd9
CL
23373 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23374
3f2e46a4
JM
233752013-09-04 Joseph Myers <joseph@codesourcery.com>
23376
23377 * configure.in (--enable-versioning): Remove configure option.
23378 (libc_cv_asm_symver_directive): Remove configure test.
23379 (libc_cv_ld_version_script_option): Likewise.
23380 (VERSIONING): Remove variable and AC_SUBST.
23381 (DO_VERSIONING): Remove AC_DEFINE.
23382 * configure: Regenerated.
23383 * config.h.in (DO_VERSIONING): Remove macro.
23384 * Makerules [$(versioning) = yes]: Change conditionals to
23385 [$(build-shared) = yes].
23386 * config.make.in (versioning): Remove variable.
23387 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23388 [$(build-shared) = yes].
23389 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23390 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23391 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23392 [$(build-shared) = yes].
23393 * extra-lib.mk [$(versioning) = yes]: Likewise.
23394 * hurd/Makefile [$(versioning) = yes]: Likewise.
23395 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23396 [SHARED].
23397 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23398 [SHARED].
23399 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23400 [SHARED && !NO_HIDDEN].
23401 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23402 [SHARED].
23403 [SHARED && DO_VERSIONING]: Likewise..
23404 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23405 [$(build-shared) = yes].
23406 * manual/install.texi (--disable-versioning): Remove
23407 documentation.
23408 * INSTALL: Regenerated.
23409 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23410 to [SHARED].
23411 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23412 [$(build-shared) = yes].
23413 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23414 * sysdeps/i386/i686/multiarch/strstr-c.c
23415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23416 [SHARED && !NO_HIDDEN].
23417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23418 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23419 * sysdeps/powerpc/powerpc32/dl-machine.c
23420 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23421 * sysdeps/powerpc/powerpc32/sysdep.h
23422 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23423 to [SHARED && PIC && !NO_HIDDEN].
23424 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23425 conditional to [SHARED].
23426
44558701
WN
234272013-09-04 Will Newton <will.newton@linaro.org>
23428
23429 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23430 * benchtests/bench-string.h: Include bench-timing.h instead
23431 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23432 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23433 call to HP_TIMING_DIFF_INIT.
23434 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23435 instead of hp-timing.h macros.
23436 * benchtests/bench-memchr.c: Likewise.
23437 * benchtests/bench-memcmp.c: Likewise.
23438 * benchtests/bench-memcpy.c: Likewise.
23439 * benchtests/bench-memmem.c: Likewise.
23440 * benchtests/bench-memmove.c: Likewise.
23441 * benchtests/bench-memset.c: Likewise.
23442 * benchtests/bench-rawmemchr.c: Likewise.
23443 * benchtests/bench-strcasecmp.c: Likewise.
23444 * benchtests/bench-strcasestr.c: Likewise.
23445 * benchtests/bench-strcat.c: Likewise.
23446 * benchtests/bench-strchr.c: Likewise.
23447 * benchtests/bench-strcmp.c: Likewise.
23448 * benchtests/bench-strcpy.c: Likewise.
23449 * benchtests/bench-strcpy_chk.c: Likewise.
23450 * benchtests/bench-strlen.c: Likewise.
23451 * benchtests/bench-strncasecmp.c: Likewise.
23452 * benchtests/bench-strncat.c: Likewise.
23453 * benchtests/bench-strncmp.c: Likewise.
23454 * benchtests/bench-strncpy.c: Likewise.
23455 * benchtests/bench-strnlen.c: Likewise.
23456 * benchtests/bench-strpbrk.c: Likewise.
23457 * benchtests/bench-strrchr.c: Likewise.
23458 * benchtests/bench-strspn.c: Likewise.
23459 * benchtests/bench-strstr.c: Likewise.
23460
cae16d66
WN
234612013-09-04 Will Newton <will.newton@linaro.org>
23462
23463 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23464
ffa3cd7f
JM
234652013-09-03 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #15427]
23468 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23469 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23470 * math/libm-test.inc (lgamma_test_data): Add more tests.
23471 * sysdeps/i386/fpu/libm-test-ulps: Update.
23472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23473
8f02859f
OB
234742013-09-03 Ondřej Bílka <neleai@seznam.cz>
23475
23476 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23477 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23478 Add ifunc.
23479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23480 Add strcmp-sse2-unaligned
23481 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23482
18d43716
MF
234832013-09-02 Mike Frysinger <vapier@gentoo.org>
23484
23485 * Versions.def (libc): Add GLIBC_2.19.
23486
ac444012
MF
234872013-09-02 Mike Frysinger <vapier@gentoo.org>
23488
23489 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23490 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23491
b7835e32
JM
234922013-09-02 Joseph Myers <joseph@codesourcery.com>
23493
23494 [BZ #14155]
23495 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23496 intermediate calculations in recurrence.
23497 (__ieee754_ynf): Likewise.
23498 * math/libm-test.inc (jn_test_data): Do not allow spurious
23499 underflow exception. Add more tests.
23500 (yn_test_data): Add more tests.
23501 * sysdeps/i386/fpu/libm-test-ulps: Update.
23502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23503
8220f4f0
OB
235042013-09-02 Ondřej Bílka <neleai@seznam.cz>
23505
23506 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23507
f24a6d08
OB
235082013-08-30 Ondřej Bílka <neleai@seznam.cz>
23509
23510 * csu/init-first.c: Fix then/than typos.
23511 * locale/programs/ld-collate.c: Likewise.
23512 * locale/programs/linereader.h: Likewise.
23513 * manual/charset.texi: Likewise.
23514 * manual/filesys.texi: Likewise.
23515 * manual/stdio.texi: Likewise.
23516 * manual/string.texi: Likewise.
23517 * stdlib/fmtmsg.c: Likewise.
23518 * sysdeps/i386/stpncpy.S: Likewise.
23519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23520 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23521 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23522 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23523
382466e0
OB
235242013-08-30 Ondřej Bílka <neleai@seznam.cz>
23525
23526 * elf/dl-open.c: Fix typos.
23527 * iconvdata/gbbig5.c: Likewise.
23528 * iconvdata/iso-2022-jp.c: Likewise.
23529 * iconv/gconv_int.h: Likewise.
23530 * iconv/loop.c: Likewise.
23531 * nis/rpcsvc/nis.h: Likewise.
23532 * resolv/ns_name.c: Likewise.
23533 * stdio-common/vfscanf.c: Likewise.
23534 * streams/stropts.h: Likewise.
23535 * sunrpc/rpc_thread.c: Likewise.
23536 * sysdeps/i386/strpbrk.S: Likewise.
23537 * sysdeps/ieee754/k_standard.c: Likewise.
23538 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23539 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23540 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23541 * sysdeps/mach/hurd/profil.c: Likewise.
23542 * sysdeps/s390/dl-procinfo.h: Likewise.
23543 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23544 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23545 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23546 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23547 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23548
0186c6e9
OB
235492013-08-30 Ondřej Bílka <neleai@seznam.cz>
23550
23551 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23552 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23553
d4e16af1
OB
235542013-08-29 Ondřej Bílka <neleai@seznam.cz>
23555
23556 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23557 aix specific files.
23558 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23560 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23561 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23562 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23563 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23564 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23565 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23566
88335980
TS
235672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23568 Roland McGrath <roland@hack.frob.com>
23569
23570 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23571 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23572
ed479b02
ST
235732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23574
23575 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23576 __executable_start symbol instead of _start.
23577
f1cc4c86
TS
235782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23579
d821f07c
TS
23580 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23581 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23582 Move macros to...
23583 * sysdeps/gnu/ldsodefs.h: ... this new file.
23584
c54290cf
TS
23585 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23586 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23587 instead of ELFOSABI_LINUX.
23588
0007fc9b 23589 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23590 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23591 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23592 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23593 Likewise.
23594 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23595 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23596 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23597 Likewise.
23598 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23599 (ibm_extended_long_double): Add ieee_nan member.
23600 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23601 (do_test): New function.
23602
f1cc4c86
TS
23603 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23604 TEST_TRUNC.
23605 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23606 functions, renamed from truncdfsf_test, trunctfsf_test,
23607 trunctfdf_test.
23608 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23609 functions.
23610 (do_test): Run all these.
23611
6f65e668
OB
236122013-08-29 Ondřej Bílka <neleai@seznam.cz>
23613
23614 * argp/argp-help.c: Fix typos.
23615 * argp/argp-parse.c: Likewise.
23616 * debug/backtracesyms.c: Likewise.
23617 * elf/elf.h: Likewise.
23618 * malloc/malloc.c: Likewise.
23619 * nis/nis_print.c: Likewise.
23620 * resolv/res_comp.c: Likewise.
23621 * stdlib/stdlib.h: Likewise.
23622 * sunrpc/clnt_tcp.c: Likewise.
23623 * sunrpc/clnt_udp.c: Likewise.
23624 * sunrpc/clnt_unix.c: Likewise.
23625 * sysdeps/unix/bsd/ptsname.c: Likewise.
23626 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23627 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23629 Likewise.
23630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23631 Likewise.
23632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23633 Likewise.
6f65e668
OB
23634 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23635
3a309239
SP
236362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23637
23638 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23640
3b813b29
MF
236412013-08-27 Mike Frysinger <vapier@gentoo.org>
23642
23643 [BZ #15897]
23644 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23645 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23646 ($(objpfx)bug-dl-leaf): New rule.
23647 ($(objpfx)bug-dl-leaf.so): Likewise.
23648 ($(objpfx)bug-dl-leaf.out): Likewise.
23649 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23650 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23651 * dlfcn/bug-dl-leaf.c: New test.
23652 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23653 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23654 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23655 (dlclose): Likewise.
23656 (dlmopen): Likewise.
23657
8cc3269f
RM
236582013-08-27 Roland McGrath <roland@hack.frob.com>
23659
7f9d0034
RM
23660 * include/netdb.h [!_ISOMAC]:
23661 Don't include <tls.h>.
23662 (h_errno, __libc_h_errno): Move declaration and macros out of
23663 [_LIBC_REENTRANT].
23664
fb431262
RM
23665 * include/resolv.h [_RESOLV_H_]:
23666 Don't include <tls.h>.
23667 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23668 * resolv/res_libc.c: Don't include <tls.h>.
23669 (_res): Use __attribute__ ((nocommon)) in place of
23670 __attribute__ ((section (".bss"))).
23671
bd81123a
RM
23672 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23673 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23674
c4e42566
RM
23675 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23676
f890a59b
RM
23677 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23678 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23679
23680 * resolv/res_mkquery.c: Include <sys/time.h>.
23681
5d1f0a09
RM
23682 * inet/ifreq.c: Moved to ...
23683 * sysdeps/unix/ifreq.c: ... here.
23684 * inet/ifreq.c: New file, true stub version.
23685
6fcf28b3
RM
23686 * socket/sa_len.c: New file.
23687 * socket/Makefile (aux): Add it.
23688 * sysdeps/unix/sysv/linux/Makefile
23689 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23690 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23691 and #include <socket/sa_len.c>.
23692 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23693 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23694
e041fb8b
RM
23695 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23696 * bits/socket.h: ... here.
23697
8cc3269f
RM
23698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23699 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23700 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23701
5d228a43
AS
237022013-08-27 Andreas Schwab <schwab@suse.de>
23703
45b8accc
AS
23704 [BZ #15736]
23705 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23706 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23707 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23708 * string/test-strcasecmp.c (test_main): Run tests in several
23709 locales.
23710 * string/test-strncasecmp.c (test_main): Likewise.
23711
5d228a43
AS
23712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23713 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23714 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23715 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23716 (__strncasecmp_ssse3) [PIC]: Likewise.
23717
59d112a4
RM
237182013-08-26 Roland McGrath <roland@hack.frob.com>
23719
53234cc3
RM
23720 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23721
59d112a4
RM
23722 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23723 instead of explicitly declaring xdecrypt.
23724 * nis/nss_nis/nis-publickey.c: Likewise.
23725
595aba70
SP
237262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23727
23728 [BZ #15890]
23729 * nscd/aicache.c: Include res_hconf.h.
23730 (addhstaiX): Initialize res_hconf.
23731
ffabd393
AS
237322013-08-26 Andreas Schwab <schwab@suse.de>
23733
23734 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23735 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23736
e0a69f5c
SP
237372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23738
23739 * nscd/aicache.c (addhstaiX): Fix indentation.
23740
8c12f01d
MF
237412013-08-25 Mike Frysinger <vapier@gentoo.org>
23742
23743 * configure.ac: Quote $build_pt_chown test.
23744 * configure: Regenerated.
23745
8fe89494
JM
237462013-08-23 Joseph Myers <joseph@codesourcery.com>
23747
23748 [BZ #15532]
23749 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23750 * math/s_cexpf.c (__cexpf): Likewise.
23751 * math/s_cexpl.c (__cexpl): Likewise.
23752 * math/libm-test.inc (cexp_test_data): Correct expected return
23753 value for NaN + i0. Add another test.
23754
75b181d6
DM
237552013-08-22 David S. Miller <davem@davemloft.net>
23756
23757 * po/ca.po: Update Catalan translation from translation project.
936241e4 23758 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23759
acd06bb1
JM
237602013-08-21 Joseph Myers <joseph@codesourcery.com>
23761
23762 [BZ #15797]
23763 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23764 is infinite, not alongside NaN test.
23765 * math/s_fdimf.c (__fdimf): Likewise.
23766 * math/s_fdiml.c (__fdiml): Likewise.
23767 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23768 errno is unchanged.
23769
c0c3f78a
OB
237702013-08-21 Ondřej Bílka <neleai@seznam.cz>
23771
23772 * argp/argp-help.c: Fix typos.
23773 * crypt/speeds.c: Likewise.
23774 * csu/check_fds.c: Likewise.
23775 * elf/dl-load.c: Likewise.
23776 * elf/dl-open.c: Likewise.
23777 * elf/reldep3.c: Likewise.
23778 * elf/reldep.c: Likewise.
23779 * elf/sprof.c: Likewise.
23780 * iconv/iconv_charmap.c: Likewise.
23781 * iconv/skeleton.c: Likewise.
23782 * iconv/strtab.c: Likewise.
23783 * io/lockf64.c: Likewise.
23784 * libio/libioP.h: Likewise.
23785 * resolv/gai_notify.c: Likewise.
23786 * resolv/ns_name.c: Likewise.
23787 * resolv/ns_samedomain.c: Likewise.
23788 * resolv/res_send.c: Likewise.
23789 * stdlib/random.c: Likewise.
23790 * sunrpc/rpc/xdr.h: Likewise.
23791 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23792 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23793 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23794 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23795 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23797 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23798 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23799 * sysdeps/mach/hurd/check_fds.c: Likewise.
23800 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23801 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23802 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23803 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23804 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23805 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23806 * sysdeps/pthread/aio_notify.c: Likewise.
23807 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23808 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23809 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23810 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23811 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23812
46ed1038
LD
238132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23814
23815 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23816 version if bit_Slow_SSE4_2 is set.
23817 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23818 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23819
d400dcac
AZ
238202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23821
23822 [BZ #15867]
23823 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23824 trampoline stack frame information.
23825 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23826 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23827 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23828 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23829 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23830 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23831 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23832 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23833 sa_flags value.
23834 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23835 interrupting a syscall and set with option SA_SIGINFO.
23836
42c8fdd8
JM
238372013-08-20 Joseph Myers <joseph@codesourcery.com>
23838
c980f2f4
JM
23839 [BZ #15531]
23840 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23841 argument is infinite.
23842 * math/s_cprojf.c (__cprojf): Likewise.
23843 * math/s_cprojl.c (__cprojl): Likewise.
23844 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23845 * math/libm-test.inc (cproj_test_data): Add more tests.
23846
0716c4fc
JM
23847 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23848
42c8fdd8
JM
23849 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23850 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23851 size. Use __ffs to determine corresponding shift.
23852
b31469d0
JM
238532013-08-20 Joseph Myers <joseph@codesourcery.com>
23854 Roland McGrath <roland@hack.frob.com>
23855
23856 * Makefile (INSTALL): Remove trailing blank lines from output of
23857 makeinfo.
23858
4e39af6e
AK
238592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23860
23861 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23862 Align 32 bit compat elf_greg to 8 bytes.
23863
f315524e
AA
238642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23865
23866 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23867
1326ba1a
SP
238682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23869
23870 * string/strcoll_l.c (coll_seq): New structure.
23871 (get_next_seq_cached): New function.
23872 (get_next_seq): New function.
23873 (do_compare): New function.
23874 (STRCOLL): Use GNU style definition. Simplify implementation
23875 by using get_next_seq, get_next_seq_cached and do_compare.
23876
91ce4085
FW
238772013-08-16 Florian Weimer <fweimer@redhat.com>
23878
23879 [BZ #14699]
23880 CVE-2013-4237
23881 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23882 member.
23883 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23884 member.
23885 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23886 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23887 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23888 conditional.
23889 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23890 GETDENTS_64BIT_ALIGNED.
23891 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23892 * manual/filesys.texi (Reading/Closing Directory): Document
23893 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23894 strongly.
23895 * manual/conf.texi (Limits for Files): Add portability note to
23896 NAME_MAX, PATH_MAX.
23897 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23898
ca0a6bc4
AS
238992013-08-13 Andreas Schwab <schwab@suse.de>
23900
23901 [BZ #15749]
23902 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23903 of fabs.
23904 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23905 LDBL_MAX_EXP >= 16384]: Add tests for it.
23906
6c1fd795
DM
239072013-08-12 David S. Miller <davem@davemloft.net>
23908
23909 * version.h (RELEASE): Set to "development".
23910 (VERSION): Set to "2.18.90".
23911 * NEWS: Add 2.19 section.
23912
31ad488d
DM
239132013-08-03 David S. Miller <davem@davemloft.net>
23914
23915 * po/ko.po: Update Korean translation from translation project.
23916
db24e684
DM
239172013-08-01 David S. Miller <davem@davemloft.net>
23918
23919 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23920 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23921 Bilka.
23922
f723285b
DM
239232013-07-30 David S. Miller <davem@davemloft.net>
23924
23925 * po/fr.po: Update French translation from translation project.
23926
3cbc52db
DM
239272013-07-28 David S. Miller <davem@davemloft.net>
23928
30bbc0cc
DM
23929 * po/cs.po: Update Czech translation from translation project.
23930
3cbc52db
DM
23931 * po/sv.po: Update Swedish translation from translation project.
23932
d492e6d0
DM
239332013-07-27 David S. Miller <davem@davemloft.net>
23934
f1a7f492
DM
23935 * po/eo.po: Update Esperanto translation from translation project.
23936
90e62a4a
DM
23937 * po/vi.po: Update Vietnamese translation from translation project.
23938
d492e6d0
DM
23939 * po/de.po: Update German translation from translation project.
23940
d4baa62d
DM
239412013-07-26 David S. Miller <davem@davemloft.net>
23942
641aa7b4
DM
23943 * po/bg.po: Update Bulgarian translation from translation project.
23944
d4baa62d
DM
23945 * po/nl.po: Update Dutch translation from translation project.
23946 * po/pl.po: Update Polish translation from translation project.
23947 * po/ru.po: Update Russian translation from translation project.
23948
61a9dcb9
DM
239492013-07-24 David S. Miller <davem@davemloft.net>
23950
23951 * po/libc.pot: Update.
23952
7b1f8b58
AZ
239532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23954
23955 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23956 variable page size.
23957 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23958 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23959 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23960
a8fc7a03
AK
239612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23962
23963 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23964
e4608715
CD
239652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23966 Andreas Schwab <schwab@suse.de>
23967 Roland McGrath <roland@hack.frob.com>
23968 Joseph Myers <joseph@codesourcery.com>
23969 Carlos O'Donell <carlos@redhat.com>
23970
23971 [BZ #15755]
23972 * config.h.in: Define HAVE_PT_CHOWN.
23973 * config.make.in (build-pt-chown): New variable.
23974 * configure.in (--enable-pt_chown): New configure option.
23975 * configure: Regenerate.
23976 * login/Makefile: Include Makeconfig. Build pt_chown only if
23977 build-pt-chown is enabled.
23978 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23979 pt_chown to fix pty ownership.
23980 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23981 CLOSE_ALL_FDS.
23982 * manual/install.texi (Configuring and compiling): Mention
23983 --enable-pt_chown. Add @findex for grantpt.
23984 * INSTALL: Regenerate.
23985
da2d62df
DM
239862013-07-20 David S. Miller <davem@davemloft.net>
23987
23988 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23989 difference between 32-bit and 64-bit.
23990
d7e06450
CD
239912013-07-15 Carlos O'Donell <carlos@redhat.com>
23992
23993 [BZ #15711]
23994 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23995 Avoid system header dependency with -ffreestanding.
23996 ($(objpfx)bits/syscall%d): Likewise.
23997
f959cfd7
DM
239982013-07-13 David S. Miller <davem@davemloft.net>
23999
24000 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24001 underflows from atanl/atan2l due to bug 15319.
24002 (casinh_test_data): Likewise.
24003
c61f8513
DM
240042013-07-07 David S. Miller <davem@davemloft.net>
24005
24006 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24007
72c90ed0
JA
240082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24009
24010 * sysdeps/i386/fpu/libm-test-ulps: Update.
24011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24012
52dfbe13
SP
240132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24014
24015 * configure.in (--enable-lock-elision): Fix message text.
24016 * INSTALL: Regenerate.
24017 * configure: Regenerate.
24018
3f169543
AZ
240192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24020
24021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24022
521c6785
AJ
240232013-07-03 Andreas Jaeger <aj@suse.de>
24024
24025 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24026 define.
24027 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24028 (ptrace_peeksiginfo_args): Add.
24029 (__ptrace_peeksiginfo_flags): Add.
24030 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24032 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24033
d2cc15cb
AM
240342013-07-03 Allan McRae <allan@archlinux.org>
24035
24036 * sysdeps/i386/fpu/libm-test-ulps: Update.
24037
3aaeeca7
DM
240382013-07-02 David S. Miller <davem@davemloft.net>
24039
24040 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24041
5314ed1a
MT
240422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24043
24044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24045
67338156
JM
240462013-07-02 Joseph Myers <joseph@codesourcery.com>
24047
24048 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24050
1717da59
AK
240512013-07-02 Andi Kleen <ak@linux.intel.com>
24052
24053 * config.h.in (ENABLE_LOCK_ELISION): Add.
24054 * configure.in (--enable-lock-elision): Add option.
24055 * manual/install.texi: Document --enable lock elision.
24056 * configure: Regenerate
24057 * INSTALL: Regenerate.
24058
1c81621c
L
240592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24060
24061 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24062 SSE4.2 strcasecmp for libc.a.
24063 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24064
77f01ab5
JM
240652013-07-02 Joseph Myers <joseph@codesourcery.com>
24066
24067 [BZ #13304]
24068 * soft-fp/op-common.h (_FP_FMA): New macro.
24069 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24070 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24071 (_FP_MUL_MEAT_1_imm): ... here.
24072 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24073 (_FP_MUL_MEAT_1_wide): ... here.
24074 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24075 (_FP_MUL_MEAT_1_hard): ... here.
24076 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24077 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24078 (_FP_MUL_MEAT_2_wide): ... here.
24079 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24080 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24081 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24082 (_FP_MUL_MEAT_2_gmp): ... here.
24083 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24084 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24085 (_FP_MUL_MEAT_4_wide): ... here.
24086 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24087 (_FP_MUL_MEAT_4_gmp): ... here.
24088 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24089 (_FP_WFRACBITS_DW_S): Likewise.
24090 (_FP_WFRACXBITS_DW_S): Likewise.
24091 (_FP_HIGHBIT_DW_S): Likewise.
24092 (FP_FMA_S): Likewise.
24093 (_FP_FRAC_HIGH_DW_S): Likewise.
24094 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24095 (_FP_WFRACBITS_DW_D): Likewise.
24096 (_FP_WFRACXBITS_DW_D): Likewise.
24097 (_FP_HIGHBIT_DW_D): Likewise.
24098 (FP_FMA_D): Likewise.
24099 (_FP_FRAC_HIGH_DW_D): Likewise.
24100 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24101 (_FP_WFRACBITS_DW_E): Likewise.
24102 (_FP_WFRACXBITS_DW_E): Likewise.
24103 (_FP_HIGHBIT_DW_E): Likewise.
24104 (FP_FMA_E): Likewise.
24105 (_FP_FRAC_HIGH_DW_E): Likewise.
24106 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24107 (_FP_WFRACBITS_DW_Q): Likewise.
24108 (_FP_WFRACXBITS_DW_Q): Likewise.
24109 (_FP_HIGHBIT_DW_Q): Likewise.
24110 (FP_FMA_Q): Likewise.
24111 (_FP_FRAC_HIGH_DW_Q): Likewise.
24112 * soft-fp/fmasf4.c: New file.
24113 * soft-fp/fmadf4.c: Likewise.
24114 * soft-fp/fmatf4.c: Likewise.
24115
6308fd9a
LD
241162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24117
24118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24119 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24120 Silvermont.
24121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24122 macro.
24123 (index_Slow_SSE4_2): Likewise.
24124 (index_Prefer_PMINUB_for_stringop): Likewise.
24125 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24126 bit_Slow_SSE4_2 is set.
24127 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24128 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24129
89cd9569
RA
241302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24131
24132 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24133 rtld_global._dl_hwcap2.
24134 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24135 POWER8.
24136 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24137 POWER8 feature descriptions defined in _dl_hwcap2.
24138 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24139 string handling for POWER8 feature bits.
24140 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24141 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24142 _dl_powerpc_cap_flags.
24143 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24144 * sysdeps/powerpc/rtld-global-offsets.sym
24145 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24146 _dl_hwcap2 in the rtld_global_ro structure.
24147
1ae8bfe0
RA
241482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24149
24150 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24151 hardware capabilities in support of AT_HWCAP2.
24152 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24153 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24154 GLRO(dl_hwcap2).
24155 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24156 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24157 explicitly the unknown a_type display mechanism is used.
24158 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24159 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24160 struct member.
24161 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24162 to macro prototype for AT_HWCAP2 support.
24163 * sysdeps/i386/dl-procinfo.h: Likewise.
24164 * sysdeps/s390/dl-procinfo.h: Likewise.
24165 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24166 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24167 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24168 return -1 for unknown a_type display fallback.
24169 * sysdeps/sparc/dl-procinfo.h: Likewise.
24170 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24171 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24172
8fbec010
JM
241732013-06-28 Joseph Myers <joseph@codesourcery.com>
24174
24175 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24176 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24177
0432680e
PY
241782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24179
24180 [BZ #12492]
24181 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24182 mprotect making __stack_prot writable.
24183
ce61a2ad
NF
241842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24185 Joseph Myers <joseph@codesourcery.com>
24186
24187 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24188 as being properly aligned.
24189
f91f1c0f
MR
241902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24191
3d0f5d0c
MR
24192 * dlfcn/modstatic5.c: New file.
24193 * dlfcn/tststatic5.c: New file.
24194 * dlfcn/Makefile (tests): Add tststatic5.
24195 (tests-static): Likewise.
24196 (modules-names): Add modstatic5.
24197 (tststatic5-ENV): New variable.
24198 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24199
f91f1c0f
MR
24200 [BZ #15022]
24201 * elf/dl-support.c (_dl_main_map): New variable.
24202 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24203 (_dl_nns, _dl_load_adds): Set to 1.
24204 (_dl_initial_searchlist): Refer to _dl_main_map.
24205 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24206 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24207 call to _dl_get_origin.
24208 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24209 around call_map.
24210 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24211 * dlfcn/modstatic3.c: New file.
24212 * dlfcn/tststatic3.c: New file.
24213 * dlfcn/tststatic4.c: New file.
24214 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24215 (tests-static): Likewise.
24216 (modules-names): Add modstatic3.
24217 (tststatic3-ENV, tststatic4-ENV): New variables.
24218 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24219 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24220
cbe7d24b
JM
242212013-06-26 Joseph Myers <joseph@codesourcery.com>
24222
24223 * configure.in (CC): Require GCC version 4.4 or later.
24224 * configure: Regenerated.
24225 * manual/install.texi (Tools for Compilation): Update GCC version
24226 requirement.
24227 * INSTALL: Regenerated.
24228
11b8a0e1
LD
242292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24230
24231 [BZ #15674]
bb5bb87c
L
24232 * string/test-memcmp.c (check2): New.
24233 (main): Call check2.
24234
11b8a0e1
LD
24235 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24236
b0037103
MR
242372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24238
24239 [BZ #15022]
24240 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24241 over to...
24242 (dl_open_worker) [!SHARED]: ... here.
24243
c18c701d
RA
242442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24245
24246 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24247
1d17fa5f
RH
242482013-06-25 Richard Henderson <rth@redhat.com>
24249
24250 * locale/programs/locarchive.c: Include <libc-internal.h>
24251
8fcb833a
JM
242522013-06-25 Joseph Myers <joseph@codesourcery.com>
24253
24254 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24255 trailing whitespace removed.
24256
17db6e8d
MF
242572013-06-24 Mike Frysinger <vapier@gentoo.org>
24258
24259 [BZ #10283]
17db6e8d
MF
24260 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24261 * locale/programs/locarchive.c: Include libc-mmap.h.
24262 (prepare_address_space): Take two new outputs (the mmap base and len).
24263 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24264 values.
24265 (create_archive): Declare new mmap base and len values for
24266 prepare_address_space, and store the result in ah.
24267 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24268 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24269 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24270 Declare new mmap base and len values for
24271 prepare_address_space, and store the result in new_ah.
24272 (open_archive): Declare new mmap base and len values for
24273 prepare_address_space, and store the result in ah.
24274 (close_archive): If ah->mmap_base is not NULL, use that and
24275 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24276 * sysdeps/generic/libc-mmap.h: New file.
24277
d605071e
MF
242782013-06-24 Mike Frysinger <vapier@gentoo.org>
24279
24280 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24281 (ALIGN_UP): Likewise.
24282 (PTR_ALIGN_DOWN): Likewise.
24283 (PTR_ALIGN_UP): Likewise.
24284
2f063a6e
RA
242852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24286
24287 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24288 entry mapped to PPC_PLATFORM_POWER8.
24289 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24290 POWER8.
24291 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24292 (_dl_string_platform): Add case for exporting platform position for
24293 POWER8.
24294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24295 search path to sysdeps/powerpc/powerpc32/power8 directory.
24296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24297 search path to sysdeps/powerpc/powerpc64/power8 directory.
24298 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24299 power7 directories.
24300 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24301 power7 directories.
24302
a31ee4b3
SP
243032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24304
a74ca98f
SP
24305 * INSTALL: Regenerate.
24306
a31ee4b3
SP
24307 * nscd/connections.c (nscd_init): Fix comment.
24308
695c378f
JM
243092013-06-22 Joseph Myers <joseph@codesourcery.com>
24310
d8412221
JM
24311 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24312
695c378f
JM
24313 [BZ #15667]
24314 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24315 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24316
d1d54715
MR
243172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24318
24319 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24320 DL_DST_REQ_STATIC.
24321 (DL_DST_REQ_STATIC): Remove macro.
24322
8fdda7af
JM
243232013-06-21 Joseph Myers <joseph@codesourcery.com>
24324
24325 [BZ #7006]
24326 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24327 with a shift of 0 bits.
24328
f3bc5e5a
MR
243292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24330
24331 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24332 $(tststatic-ENV).
24333
be09e8c9
KK
243342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24335
24336 [BZ #15655]
24337 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24338
85c2e611
AZ
243392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24340
24341 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24342 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24343 accepts -fno-tree-loop-distribute-patterns.
24344 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24345 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24346 recursive call.
24347 * string/memset.c (memset): Likewise.
24348 * string/test-memmove.c (simple_memmove): Disable loop transformation
24349 to library calls.
24350 * string/test-memset.c (simple_memset): Likewise.
24351 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24352 * benchtests/bench-memset.c (simple_memset): Likewise.
24353 * configure: Regenerated.
24354
c91e0825
JM
243552013-06-20 Joseph Myers <joseph@codesourcery.com>
24356
b8c792af
JM
24357 * math/test-misc.c (main): Ignore fesetround failure when failures
24358 of subsequent rounding tests would be ignored.
24359
c91e0825
JM
24360 [BZ #15654]
24361 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24362 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24363 * math/fegetenv.c (__fegetenv): Return 0.
24364 * math/fegetexcept.c (fegetexcept): Return 0.
24365 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24366 FE_TONEAREST.
24367 * math/feholdexcpt.c (feholdexcept): Return 0.
24368 * math/fesetenv.c (__fesetenv): Return 0.
24369 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24370 argument FE_TONEAREST.
24371 * math/feupdateenv.c (__feupdateenv): Return 0.
24372 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24373
bfcacbde
RM
243742013-06-18 Roland McGrath <roland@hack.frob.com>
24375
24376 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24377 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24378 ($(objpfx)rtld-%.os rules): Use them.
24379
e55a9b25
AZ
243802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24381
24382 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24383 fields.
24384
346d65b3
RM
243852013-06-17 Roland McGrath <roland@hack.frob.com>
24386
12086fb4
RM
24387 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24388 length of target pattern, then descending length of dependency pattern.
24389 * configure.in (AWK): Require gawk 3.1.2 or newer.
24390 * manual/install.texi (Tools for Compilation): Say that we do.
24391 * configure: Regenerated.
24392
346d65b3
RM
24393 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24394 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24395 * scripts/sysd-rules.awk: ... this new script.
24396 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24397 than a glob-style pattern.
24398
1a846317
JM
243992013-06-17 Joseph Myers <joseph@codesourcery.com>
24400
24401 * math/test-misc.c (main): Do not treat incorrectly rounded
24402 conversions as failure unless ROUNDING_TESTS passes.
24403
8fc75e6f
JM
244042013-06-15 Joseph Myers <joseph@codesourcery.com>
24405
3711a167
JM
24406 [BZ #15631]
24407 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24408 restore exception state around main square root computation, then
24409 check for inexactness explicitly.
24410
8fc75e6f
JM
24411 * math/libm-test.inc (fma_test_data): Add another test.
24412
61dd6208
SP
244132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24414
adf23d2c
SP
24415 * manual/threads.texi (Non-POSIX Extensions): New document
24416 node. Document pthread_getattr_default_np and
24417 pthread_setattr_default_np.
24418
61dd6208
SP
24419 * Versions.def (libpthread): Add GLIBC_2.18.
24420 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24422 Likewise.
24423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24424 Likewise.
24425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24426 Likewise.
24427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24428 Likewise.
24429 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24430 Likewise.
24431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24432 Likewise.
24433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24434 Likewise.
24435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24436 Likewise.
24437 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24438 Likewise.
24439
d086fc7b
LD
244402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24441
24442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24443 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24444
747ef469
SP
244452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24446 H.J. Lu <hjl.tools@gmail.com>
24447
24448 [BZ #15627]
24449 * sysdeps/x86_64/rtld-memset.c: Remove file.
24450 * sysdeps/x86_64/rtld-memset.S: New file.
24451
1b2feed2
JM
244522013-06-14 Joseph Myers <joseph@codesourcery.com>
24453
24454 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24455 (test_in_one_mode): Take arguments for whether the rounding mode
24456 is supported for each floating-point type.
24457 (do_test): Pass new arguments to test_in_one_mode using
24458 ROUNDING_TESTS.
24459
a58ad3f8
RM
244602013-06-13 Roland McGrath <roland@hack.frob.com>
24461
24462 * posix/tst-waitid.c (do_test): Distinguish different instances of
24463 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24464 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24465 before entering the kernel for waitpid.
24466
c204ab28
SP
244672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24468
24469 * NEWS: Fix note on clock function precision. Text by Roland
24470 McGrath.
24471
f4a29fba
RM
244722013-06-13 Roland McGrath <roland@hack.frob.com>
24473
24474 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24475 it into place only when and if the sanity check passes.
24476
1f24b9ad
JM
244772013-06-13 Joseph Myers <joseph@codesourcery.com>
24478
24479 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24480 output for whether conversion result is exact. Take argument
24481 indicating whether type is IBM long double.
24482 (round_for_all): Change need_exact field to ibm_ld.
24483 * stdlib/tst-strtod-round.c (struct exactness): New type.
24484 (struct test): Change bool ld_ok field to struct exactness exact.
24485 (TEST): Update all definitions for change to field.
24486 (tests): Regenerate array contents.
24487 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24488 field value. Check for IBM long double here.
24489 (do_test): Update calls to test_in_one_mode.
24490
58206c68
SP
244912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24492
24493 [BZ #12515]
24494 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24495 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24496
2d6f4c5b 244972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24498
24499 [BZ #15605]
24500 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24501 generated by the compiler on loop optimizations.
24502 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24503 general definitions.
24504
94f2c076
JM
245052013-06-12 Joseph Myers <joseph@codesourcery.com>
24506
24507 * math/bug-nextafter.c: Include <math-tests.h>.
24508 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24509 the relevant type.
24510 * math/bug-nexttoward.c: Include <math-tests.h>.
24511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24512 the relevant type.
24513 * math/test-misc.c: Include <math-tests.h>.
24514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24515 the relevant type.
24516
e0e50a0a
AJ
245172013-06-12 Andreas Jaeger <aj@suse.de>
24518
24519 * po/ia.po: Update Interlingua translation from translation
24520 project.
24521
25061094
SP
245222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24523
24524 * include/fenv.h: Include stdbool.h.
24525 (struct rm_ctx): New structure.
24526 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24527 Define macro.
24528 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24529 (SET_RESTORE_ROUNDF): Likewise.
24530 (SET_RESTORE_ROUNDL): Likewise.
24531 (SET_RESTORE_ROUND_NOEX): Likewise.
24532 (SET_RESTORE_ROUND_NOEXF): Likewise.
24533 (SET_RESTORE_ROUND_NOEXL): Likewise.
24534 (SET_RESTORE_ROUND_53BIT): Likewise.
24535 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24536 (libc_feresetround_noexf_ctx): Likewise.
24537 (libc_feresetround_noexl_ctx): Likewise.
24538 (libc_feholdsetround_53bit_ctx): Likewise.
24539 (libc_feresetround_53bit_ctx): Likewise.
24540 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24541 (libc_feholdexcept_setround_sse_ctx): New function.
24542 (libc_fesetenv_sse_ctx): Likewise.
24543 (libc_feupdateenv_sse_ctx): Likewise.
24544 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24545 (libc_feholdexcept_setround_387_ctx): Likewise.
24546 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24547 (libc_feholdsetround_387_prec_ctx): Likewise.
24548 (libc_feholdsetround_387_ctx): Likewise.
24549 (libc_feholdsetround_387_53bit_ctx): Likewise.
24550 (libc_feholdsetround_sse_ctx): Likewise.
24551 (libc_feresetround_sse_ctx): Likewise.
24552 (libc_feresetround_387_ctx): Likewise.
24553 (libc_feupdateenv_387_ctx): Likewise.
24554 (libc_feholdexcept_setroundf_ctx): Define macro.
24555 (libc_fesetenvf_ctx): Likewise.
24556 (libc_feupdateenvf_ctx): Likewise.
24557 (libc_feholdsetroundf_ctx): Likewise.
24558 (libc_feresetroundf_ctx): Likewise.
24559 (libc_feholdexcept_setround_ctx): Likewise.
24560 (libc_fesetenv_ctx): Likewise.
24561 (libc_feupdateenv_ctx): Likewise.
24562 (libc_feholdsetround_ctx): Likewise.
24563 (libc_feresetround_ctx): Likewise.
24564 (libc_feholdexcept_setroundl_ctx): Likewise.
24565 (libc_feupdateenvl_ctx): Likewise.
24566 (libc_feholdsetroundl_ctx): Likewise.
24567 (libc_feresetroundl_ctx): Likewise.
24568 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24569 (libc_feresetround_53bit_ctx): Likewise.
24570
59b30555
SP
245712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24572
24573 * locale/iso-639.def: Convert to UTF-8.
24574
f1d73d30
JM
245752013-06-11 Joseph Myers <joseph@codesourcery.com>
24576
24577 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24578 (EXCEPTION_TESTS_double): Likewise.
24579 (EXCEPTION_TESTS_long_double): Likewise.
24580 (EXCEPTION_TESTS): Likewise.
24581 * math/libm-test.inc (test_exceptions): Only test exceptions if
24582 EXCEPTION_TESTS (FLOAT).
24583
94aca5e7
SP
245842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24585
24586 * benchtests/Makefile (string-bench): Add strcpy_chk and
24587 stpcpy_chk.
24588 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24589 * benchtests/bench-stpcpy_chk.c: New file.
24590 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24591 * benchtests/bench-strcpy_chk.c: New file.
24592 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24593 code.
24594 (do_test): Likewise.
24595
fac0c5f2
RA
245962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24597
24598 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24599 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24600 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24601 with tabs where appropriate.
24602 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24603 dl-procinfo.h.
24604 [PPC_PLATFORM_PPC440]: Likewise.
24605 [PPC_PLATFORM_PPC464]: Likewise.
24606 [PPC_PLATFORM_PPC476]: Likewise.
24607 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24608 ppc464, and ppc476 platform strings merging from ports/
24609 dl-procinfo.h.
24610
f22bc486
AS
246112013-06-11 Andreas Schwab <schwab@suse.de>
24612
24613 [BZ #14991]
24614 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24615 (from_ucs4_idx): Regenerate.
24616 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24617 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24618 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24619 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24620 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24621 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24622 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24623 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24624 from FROM_LOOP and TO_LOOP specific macros.
24625 (BODY): Handle combining characters.
24626 * iconvdata/BIG5HKSCS.irreversible: Update.
24627 * iconvdata/BIG5HKSCS.precomposed: New file.
24628 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24629 characters.
24630 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24631
c1f75dc3
SP
246322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24633
4eacded2
SP
24634 * include/sys/time.h: Fix indentation and add copyright header.
24635
fec799f8
SP
24636 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24637 (do_test): Likewise.
24638 * string/test-memchr.c (do_one_test): Likewise.
24639 (do_test): Likewise.
24640 * string/test-memcmp.c (do_one_test): Likewise.
24641 (do_test): Likewise.
24642 * string/test-memcpy.c (do_one_test): Likewise.
24643 (do_test): Likewise.
24644 * string/test-memmem.c (do_one_test): Likewise.
24645 (do_test): Likewise.
24646 (do_random_tests): Likewise.
24647 * string/test-memmove.c (do_one_test): Likewise.
24648 (do_test): Likewise.
24649 * string/test-memset.c (do_one_test): Likewise.
24650 (do_test): Likewise.
24651 * string/test-rawmemchr.c (do_one_test): Likewise.
24652 (do_test): Likewise.
24653 * string/test-strcasecmp.c (do_one_test): Likewise.
24654 (do_test): Likewise.
24655 * string/test-strcasestr.c (do_one_test): Likewise.
24656 (do_test): Likewise.
24657 * string/test-strcat.c (do_one_test): Likewise.
24658 (do_test): Likewise.
24659 * string/test-strchr.c (do_one_test): Likewise.
24660 (do_test): Likewise.
24661 * string/test-strcmp.c (do_one_test): Likewise.
24662 (do_test): Likewise.
24663 * string/test-strcpy.c (do_one_test): Likewise.
24664 (do_test): Likewise.
24665 * string/test-string.h: Likewise.
24666 (test_init): Likewise.
24667 * string/test-strlen.c (do_one_test): Likewise.
24668 (do_test): Likewise.
24669 * string/test-strncasecmp.c (do_one_test): Likewise.
24670 (do_test): Likewise.
24671 * string/test-strncat.c (do_one_test): Likewise.
24672 (do_test): Likewise.
24673 * string/test-strncmp.c (do_one_test): Likewise.
24674 (do_test_limit): Likewise.
24675 (do_test): Likewise.
24676 * string/test-strncpy.c (do_one_test): Likewise.
24677 (do_test): Likewise.
24678 * string/test-strnlen.c (do_one_test): Likewise.
24679 (do_test): Likewise.
24680 * string/test-strpbrk.c (do_one_test): Likewise.
24681 (do_test): Likewise.
24682 * string/test-strrchr.c (do_one_test): Likewise.
24683 (do_test): Likewise.
24684 * string/test-strspn.c (do_one_test): Likewise.
24685 (do_test): Likewise.
24686 * string/test-strstr.c (do_one_test): Likewise.
24687 (do_test): Likewise.
24688
97020474
SP
24689 * benchtests/Makefile (string-bench): Add string benchmarks.
24690 * benchtests/bench-bcopy-ifunc.c: New file.
24691 * benchtests/bench-bcopy.c: New file.
24692 * benchtests/bench-bzero-ifunc.c: New file.
24693 * benchtests/bench-bzero.c: New file.
24694 * benchtests/bench-memccpy-ifunc.c: New file.
24695 * benchtests/bench-memccpy.c: New file.
24696 * benchtests/bench-memchr-ifunc.c: New file.
24697 * benchtests/bench-memchr.c: New file.
24698 * benchtests/bench-memcmp-ifunc.c: New file.
24699 * benchtests/bench-memcmp.c: New file.
24700 * benchtests/bench-memmem-ifunc.c: New file.
24701 * benchtests/bench-memmem.c: New file.
24702 * benchtests/bench-memmove-ifunc.c: New file.
24703 * benchtests/bench-memmove.c: New file.
24704 * benchtests/bench-mempcpy-ifunc.c: New file.
24705 * benchtests/bench-mempcpy.c: New file.
24706 * benchtests/bench-memset-ifunc.c: New file.
24707 * benchtests/bench-memset.c: New file.
24708 * benchtests/bench-rawmemchr-ifunc.c: New file.
24709 * benchtests/bench-rawmemchr.c: New file.
24710 * benchtests/bench-stpcpy-ifunc.c: New file.
24711 * benchtests/bench-stpcpy.c: New file.
24712 * benchtests/bench-stpncpy-ifunc.c: New file.
24713 * benchtests/bench-stpncpy.c: New file.
24714 * benchtests/bench-strcasecmp-ifunc.c: New file.
24715 * benchtests/bench-strcasecmp.c: New file.
24716 * benchtests/bench-strcasestr-ifunc.c: New file.
24717 * benchtests/bench-strcasestr.c: New file.
24718 * benchtests/bench-strcat-ifunc.c: New file.
24719 * benchtests/bench-strcat.c: New file.
24720 * benchtests/bench-strchr-ifunc.c: New file.
24721 * benchtests/bench-strchr.c: New file.
24722 * benchtests/bench-strchrnul-ifunc.c: New file.
24723 * benchtests/bench-strchrnul.c: New file.
24724 * benchtests/bench-strcmp-ifunc.c: New file.
24725 * benchtests/bench-strcmp.c: New file.
24726 * benchtests/bench-strcpy-ifunc.c: New file.
24727 * benchtests/bench-strcpy.c: New file.
24728 * benchtests/bench-strcspn-ifunc.c: New file.
24729 * benchtests/bench-strcspn.c: New file.
24730 * benchtests/bench-strlen-ifunc.c: New file.
24731 * benchtests/bench-strlen.c: New file.
24732 * benchtests/bench-strncasecmp-ifunc.c: New file.
24733 * benchtests/bench-strncasecmp.c: New file.
24734 * benchtests/bench-strncat-ifunc.c: New file.
24735 * benchtests/bench-strncat.c: New file.
24736 * benchtests/bench-strncmp-ifunc.c: New file.
24737 * benchtests/bench-strncmp.c: New file.
24738 * benchtests/bench-strncpy-ifunc.c: New file.
24739 * benchtests/bench-strncpy.c: New file.
24740 * benchtests/bench-strnlen-ifunc.c: New file.
24741 * benchtests/bench-strnlen.c: New file.
24742 * benchtests/bench-strpbrk-ifunc.c: New file.
24743 * benchtests/bench-strpbrk.c: New file.
24744 * benchtests/bench-strrchr-ifunc.c: New file.
24745 * benchtests/bench-strrchr.c: New file.
24746 * benchtests/bench-strspn-ifunc.c: New file.
24747 * benchtests/bench-strspn.c: New file.
24748 * benchtests/bench-strstr-ifunc.c: New file.
24749 * benchtests/bench-strstr.c: New file.
24750
c1f75dc3
SP
24751 * benchtests/Makefile: Disable parallel execution of targets.
24752 (string-bench): Add memcpy.
24753 (benchset): New variable to store a list of benchmark sets.
24754 (bench-func): Renamed from bench.
24755 (bench-set): New target.
24756 (bench): Depend on bench-func and bench-set.
24757 * benchtests/README: Add section on benchmark sets.
24758 * benchtests/bench-memcpy-ifunc.c: New file.
24759 * benchtests/bench-memcpy.c: New file.
24760 * benchtests/bench-string.h: New file.
24761
50fd745b
AS
247622013-06-11 Andreas Schwab <schwab@suse.de>
24763
24764 [BZ #15577]
24765 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24766 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24767 values in the triple.
24768 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24769 terminator in the group key.
24770
3ee7e9fe
AJ
247712013-06-11 Andreas Jaeger <aj@suse.de>
24772
24773 * po/zh_TW.po: Update Chinese (traditional) translation from
24774 translation project.
24775
89fb6835
SP
247762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24777
24778 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24779 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24780 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24782 (clock_getcpuclockid): Likewise.
24783 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24784 Add weak_alias and libc_hidden_def.
24785 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24786 * rt/clock_gettime.c (clock_gettime): Rename to
24787 __clock_gettime. Add weak_alias and libc_hidden_def.
24788 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24789 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24790 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24791 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24792 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24793 Likewise.
24794 * rt/clock_settime.c (clock_settime): Rename to
24795 __clock_settime. Add weak_alias and libc_hidden_def.
24796 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24797
0efa6f8b
JM
247982013-06-10 Joseph Myers <joseph@codesourcery.com>
24799
b8c61b4b
JM
24800 * mach/err_boot.sub: Remove trailing whitespace.
24801 * mach/err_ipc.sub: Likewise.
24802 * mach/err_mach.sub: Likewise.
24803
0efa6f8b
JM
24804 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24805 (ROUNDING_TESTS_double): Likewise.
24806 (ROUNDING_TESTS_long_double): Likewise.
24807 (ROUNDING_TESTS): Likewise.
24808 * math/libm-test.inc: Include <math-tests.h>.
24809 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24810 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24811 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24812 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24813
50b818bf
SP
248142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24815
24816 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24817 of assigning.
24818
60d2f8f3
JM
248192013-06-08 Joseph Myers <joseph@codesourcery.com>
24820
4902d2c3
JM
24821 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24822 otherwise empty TRANS lines.
24823 * sysdeps/gnu/errlist.c: Regenerated.
24824
60d2f8f3
JM
24825 * catgets/gencat.c (error_print): Use (void) in function
24826 definition.
24827 * crypt/crypt_util.c (__init_des): Likewise.
24828 * crypt/speeds.c (Stop): Likewise.
24829 (main): Likewise.
24830 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24831 * inet/ruserpass.c (token): Likewise.
24832 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24833 * intl/localealias.c (extend_alias_table): Likewise.
24834 * intl/plural-exp.c (init_germanic_plural): Likewise.
24835 * libio/fcloseall.c (__fcloseall): Likewise.
24836 * libio/genops.c (_IO_flush_all): Likewise.
24837 (_IO_flush_all_linebuffered): Likewise.
24838 (_IO_cleanup): Likewise.
24839 (_IO_iter_begin): Likewise.
24840 (_IO_iter_end): Likewise.
24841 (_IO_list_lock): Likewise.
24842 (_IO_list_unlock): Likewise.
24843 (_IO_list_resetlock): Likewise.
24844 * libio/getchar.c (getchar): Likewise.
24845 * libio/getchar_u.c (getchar_unlocked): Likewise.
24846 * libio/getwchar.c (getwchar): Likewise.
24847 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24848 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24849 * login/getpt.c (__getpt): Likewise.
24850 * login/tst-utmp.c (main): Likewise.
24851 * malloc/hooks.c (__malloc_check_init): Likewise.
24852 * malloc/malloc.c (__malloc_stats): Likewise.
24853 * malloc/mtrace.c (tr_break): Likewise.
24854 (mtrace): Likewise.
24855 (muntrace): Likewise.
24856 * misc/fstab.c (endfsent): Likewise.
24857 * misc/getclktck.c (__getclktck): Likewise.
24858 * misc/getdtsz.c (__getdtablesize): Likewise.
24859 * misc/gethostid.c (gethostid): Likewise.
24860 * misc/getpagesize.c (__getpagesize): Likewise.
24861 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24862 (__get_nprocs): Likewise.
24863 (__get_phys_pages): Likewise.
24864 (__get_avphys_pages): Likewise.
24865 * misc/getttyent.c (getttyent): Likewise.
24866 (setttyent): Likewise.
24867 (endttyent): Likewise.
24868 * misc/getusershell.c (getusershell): Likewise.
24869 (endusershell): Likewise.
24870 (setusershell): Likewise.
24871 (initshells): Likewise.
24872 * misc/hsearch.c (__hdestroy): Likewise.
24873 * misc/sync.c (sync): Likewise.
24874 * misc/syslog.c (closelog_internal): Likewise.
24875 (closelog): Likewise.
24876 * misc/ttyslot.c (ttyslot): Likewise.
24877 * misc/vhangup.c (vhangup): Likewise.
24878 * posix/fork.c (__fork): Likewise.
24879 * posix/getegid.c (__getegid): Likewise.
24880 * posix/geteuid.c (__geteuid): Likewise.
24881 * posix/getgid.c (__getgid): Likewise.
24882 * posix/getpid.c (__getpid): Likewise.
24883 * posix/getppid.c (__getppid): Likewise.
24884 * posix/getuid.c (__getuid): Likewise.
24885 * posix/pause.c (pause): Likewise.
24886 * posix/setpgrp.c (setpgrp): Likewise.
24887 * posix/setsid.c (__setsid): Likewise.
24888 * posix/test-vfork.c (noop): Likewise.
24889 * resolv/gethnamaddr.c (_endhtent): Likewise.
24890 (_gethtent): Likewise.
24891 (ht_endhostent): Likewise.
24892 (gethostent): Likewise.
24893 (dns_service): Likewise.
24894 * stdlib/drand48.c (drand48): Likewise.
24895 * stdlib/lrand48.c (lrand48): Likewise.
24896 * stdlib/mrand48.c (mrand48): Likewise.
24897 * stdlib/rand.c (rand): Likewise.
24898 * stdlib/random.c (__random): Likewise.
24899 * stdlib/setenv.c (clearenv): Likewise.
24900 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24901 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24902 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24903 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24904 (__get_nprocs): Likewise.
24905 (__get_phys_pages): Likewise.
24906 (__get_avphys_pages): Likewise.
24907 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24908 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24909 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24910 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24911 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24912 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24913 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24914 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24915 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24916 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24917 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24918 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24919 * sysdeps/posix/clock.c (clock): Likewise.
24920 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24921 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24922 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24923 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24924 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24925 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24926 (__get_nprocs_conf): Likewise.
24927 (__get_phys_pages): Likewise.
24928 (__get_avphys_pages): Likewise.
24929 * time/clock.c (clock): Likewise.
24930 * time/tzset.c (__tzname_max): Likewise.
24931
2e09a79a
JM
249322013-06-07 Joseph Myers <joseph@codesourcery.com>
24933
24934 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24935 (__bswap_32): Do not use "register".
24936 * crypt/crypt.c (_ufc_doit_r): Likewise.
24937 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24938 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24939 * gmon/gmon.c (__monstartup): Likewise.
24940 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24941 * hurd/hurdmalloc.c (more_memory): Likewise.
24942 (malloc): Likewise.
24943 (free): Likewise.
24944 (realloc): Likewise.
24945 (malloc_fork_prepare): Likewise.
24946 (malloc_fork_parent): Likewise.
24947 (malloc_fork_child): Likewise.
24948 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24949 (_svcauth_des): Likewise.
24950 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24951 * inet/inet_net.c (inet_network): Likewise.
24952 * inet/inet_netof.c (inet_netof): Likewise.
24953 * inet/rcmd.c (__validuser2_sa): Likewise.
24954 * io/fts.c (fts_open): Likewise.
24955 (fts_load): Likewise.
24956 (fts_close): Likewise.
24957 (fts_read): Likewise.
24958 (fts_children): Likewise.
24959 (fts_build): Likewise.
24960 (fts_stat): Likewise.
24961 (fts_sort): Likewise.
24962 (fts_alloc): Likewise.
24963 (fts_lfree): Likewise.
24964 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24965 (_IO_file_xsgetn): Likewise.
24966 (_IO_file_xsgetn_mmap): Likewise.
24967 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24968 (_IO_cookie_write): Likewise.
24969 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24970 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24971 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24972 * malloc/obstack.c (_obstack_begin): Likewise.
24973 (_obstack_begin_1): Likewise.
24974 (_obstack_newchunk): Likewise.
24975 (_obstack_allocated_p): Likewise.
24976 (obstack_free): Likewise.
24977 (_obstack_memory_used): Likewise.
24978 * misc/getttyent.c (getttynam): Likewise.
24979 (getttyent): Likewise.
24980 (skip): Likewise.
24981 (value): Likewise.
24982 * misc/getusershell.c (initshells): Likewise.
24983 * misc/syslog.c (__vsyslog_chk): Likewise.
24984 * misc/ttyslot.c (ttyslot): Likewise.
24985 * nis/nis_hash.c (__nis_hash): Likewise.
24986 * posix/fnmatch_loop.c (FCT): Likewise.
24987 * posix/getconf.c (print_all): Likewise.
24988 (main): Likewise.
24989 * posix/getopt.c (exchange): Likewise.
24990 * posix/glob.c (globfree): Likewise.
24991 (prefix_array): Likewise.
24992 (__glob_pattern_type): Likewise.
24993 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24994 (NS_GET32): Likewise.
24995 (NS_PUT16): Likewise.
24996 (NS_PUT32): Likewise.
24997 * resolv/gethnamaddr.c (getanswer): Likewise.
24998 (gethostbyname2): Likewise.
24999 (gethostbyaddr): Likewise.
25000 (_gethtent): Likewise.
25001 (_gethtbyname2): Likewise.
25002 (_gethtbyaddr): Likewise.
25003 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25004 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25005 * resolv/res_init.c (__res_vinit): Likewise.
25006 (net_mask): Likewise.
25007 * resolv/res_mkquery.c (outchar): Likewise.
25008 (PRINT): Likewise.
25009 * stdio-common/printf_fp.c (outchar): Likewise.
25010 (PRINT): Likewise.
25011 * stdio-common/printf_fphex.c (outchar): Likewise.
25012 (PRINT): Likewise.
25013 * stdio-common/printf_size.c (outchar): Likewise.
25014 (PRINT): Likewise.
25015 * stdio-common/test_rdwr.c (main): Likewise.
25016 * stdio-common/tfformat.c (matches): Likewise.
25017 * stdio-common/vfprintf.c (outchar): Likewise.
25018 (printf_unknown): Likewise.
25019 (buffered_vfprintf): Likewise.
25020 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25021 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25022 (ReadFile): Likewise.
25023 * stdlib/qsort.c (SWAP): Likewise.
25024 (_quicksort): Likewise.
25025 * stdlib/setenv.c (__add_to_environ): Likewise.
25026 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25027 * stdlib/strtol_l.c (__strtol_l): Likewise.
25028 * stdlib/tst-strtod.c (main): Likewise.
25029 * stdlib/tst-strtol.c (main): Likewise.
25030 * stdlib/tst-strtoll.c (main): Likewise.
25031 * string/bits/string2.h (__strcmp_cc): Likewise.
25032 (__strcmp_cg): Likewise.
25033 (__strcspn_c1): Likewise.
25034 (__strcspn_c2): Likewise.
25035 (__strcspn_c3): Likewise.
25036 (__strspn_c1): Likewise.
25037 (__strspn_c2): Likewise.
25038 (__strspn_c3): Likewise.
25039 (__strsep_1c): Likewise.
25040 (__strsep_2c): Likewise.
25041 (__strsep_3c): Likewise.
25042 * string/memccpy.c (__memccpy): Likewise.
25043 * string/stpcpy.c (__stpcpy): Likewise.
25044 * string/strcmp.c (strcmp): Likewise.
25045 * string/strrchr.c (strrchr): Likewise.
25046 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25047 Likewise.
25048 * sysdeps/mach/hurd/getcwd.c
25049 (_hurd_canonicalize_directory_name_internal): Likewise.
25050 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25051 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25052 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25053 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25054 Likewise, in both definitions.
25055 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25056 definitions.
25057 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25058 64] (__bswap_64): Likewise.
25059 * time/test_time.c (main): Likewise.
25060 * time/tzfile.c (__tzfile_read): Likewise.
25061 (__tzfile_compute): Likewise.
25062 * time/tzset.c (__tzset_parse_tz): Likewise.
25063 (tzset_internal): Likewise.
25064 (compute_change): Likewise.
25065 * wcsmbs/wcscat.c (__wcscat): Likewise.
25066 * wcsmbs/wcschr.c (wcschr): Likewise.
25067 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25068 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25069 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25070 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25071 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25072 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25073 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25074 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25075 * wcsmbs/wmemset.c (wmemset): Likewise.
25076
9e54314b
JM
250772013-06-06 Joseph Myers <joseph@codesourcery.com>
25078
25079 * scripts/config.guess: Update to version 2013-05-16.
25080 * scripts/config.sub: Update to version 2013-04-24.
25081 * scripts/install-sh: Update to version 2011-11-20.07.
25082 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25083 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25084
350635a5
OB
250852013-06-06 Ondřej Bílka <neleai@seznam.cz>
25086
25087 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25088 * elf/sln.c: Likewise.
25089 * hurd/hurd/ioctl.h: Likewise.
25090 * hurd/hurdmalloc.c: Likewise.
25091 * hurd/xattr.c: Likewise.
25092 * include/shlib-compat.h: Likewise.
25093 * inet/ruserpass.c: Likewise.
25094 * libio/iofgets_u.c: Likewise.
25095 * libio/iofgetws_u.c: Likewise.
25096 * locale/programs/ld-identification.c: Likewise.
25097 * locale/programs/ld-time.c: Likewise.
25098 * mach/msg-destroy.c: Likewise.
25099 * nss/nss_files/files-netgrp.c: Likewise.
25100 * resolv/res_data.c: Likewise.
25101 * soft-fp/op-1.h: Likewise.
25102 * soft-fp/op-2.h: Likewise.
25103 * soft-fp/op-4.h: Likewise.
25104 * soft-fp/op-common.h: Likewise.
25105 * stdio-common/printf_fphex.c: Likewise.
25106 * stdlib/strtod_l.c: Likewise.
25107 * sunrpc/rpc/clnt.h: Likewise.
25108 * sysdeps/generic/framestate.c: Likewise.
25109 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25110 * sysdeps/i386/bsd-setjmp.S: Likewise.
25111 * sysdeps/i386/__longjmp.S: Likewise.
25112 * sysdeps/i386/setjmp.S: Likewise.
25113 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25115 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25116 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25118 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25120 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25124 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25128 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25129 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25130 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25131 * sysdeps/ieee754/support.c: Likewise.
25132 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25133 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25134 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25135 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25136 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25137 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25138 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25139 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25140 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25141 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25142 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25143 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25144 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25145 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25146 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25147 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25148 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25150
44a988af
OB
251512013-06-05 Ondřej Bílka <neleai@seznam.cz>
25152
25506f09 25153 * posix/transbug.c: Remove executable mode.
44a988af 25154
9c84384c
JM
251552013-06-05 Joseph Myers <joseph@codesourcery.com>
25156
25157 * crypt/speeds.c: Remove trailing whitespace.
25158 * dlfcn/default.c: Likewise.
25159 * elf/ifuncdep2.c: Likewise.
25160 * elf/ifuncmain1.c: Likewise.
25161 * elf/ifuncmain1vis.c: Likewise.
25162 * elf/testobj.h: Likewise.
25163 * elf/tst-stackguard1.c: Likewise.
25164 * gmon/sys/gmon.h: Likewise.
25165 * hurd/hurdmsg.c: Likewise.
25166 * hurd/new-fd.c: Likewise.
25167 * hurd/ports-get.c: Likewise.
25168 * iconvdata/ibm1008_420.c: Likewise.
25169 * inet/tst-getni1.c: Likewise.
25170 * inet/tst-getni2.c: Likewise.
25171 * libio/ioungetc.c: Likewise.
25172 * libio/wfiledoalloc.c: Likewise.
25173 * manual/libm-err-tab.pl: Likewise.
25174 * math/w_dremf.c: Likewise.
25175 * misc/ftruncate.c: Likewise.
25176 * posix/bug-glob2.c: Likewise.
25177 * posix/tst-pcre.c: Likewise.
25178 * posix/wait4.c: Likewise.
25179 * resolv/README: Likewise.
25180 * resolv/res_debug.h: Likewise.
25181 * resolv/tst-inet_ntop.c: Likewise.
25182 * setjmp/bug269-setjmp.c: Likewise.
25183 * soft-fp/extended.h: Likewise.
25184 * soft-fp/op-1.h: Likewise.
25185 * soft-fp/op-2.h: Likewise.
25186 * soft-fp/op-4.h: Likewise.
25187 * soft-fp/op-8.h: Likewise.
25188 * soft-fp/testit.c: Likewise.
25189 * stdio-common/bug16.c: Likewise.
25190 * stdlib/random.c: Likewise.
25191 * sunrpc/rpcsvc/rquota.x: Likewise.
25192 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25193 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25194 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25195 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25196 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25197 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25199 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25200 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25201 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25202 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25219 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25221 * sysdeps/ieee754/s_lib_version.c: Likewise.
25222 * sysdeps/mach/hurd/check_fds.c: Likewise.
25223 * sysdeps/mach/hurd/getsockname.c: Likewise.
25224 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25225 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25226 * sysdeps/powerpc/bits/link.h: Likewise.
25227 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25228 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25229 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25230 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25231 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25232 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25233 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25234 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25235 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25236 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25237 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25238 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25239 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25240 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25241 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25242 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25243 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25244 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25245 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25248 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25250 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25251 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25252 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25254 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25255 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25256 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25258 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25259 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25260 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25261 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25262 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25263 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25264 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25265 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25266 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25267 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25270 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25271 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25272 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25273 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25274 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25275 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25276 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25277 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25278 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25279 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25280 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25281 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25282 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25283 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25284 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25285 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25286 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25289 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25290 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25291 * sysdeps/powerpc/sysdep.h: Likewise.
25292 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25293 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25294 * sysdeps/sh/dl-trampoline.S: Likewise.
25295 * sysdeps/sh/memset.S: Likewise.
25296 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25297 * sysdeps/sh/strlen.S: Likewise.
25298 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25299 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25300 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25301 * sysdeps/sparc/sparc32/rem.S: Likewise.
25302 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25303 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25304 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25305 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25306 * sysdeps/sparc/sparc32/urem.S: Likewise.
25307 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25308 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25309 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25310 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25311 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25312 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25313 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25314 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25315 * sysdeps/unix/bsd/times.c: Likewise.
25316 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25317 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25321 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25322 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25323 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25324 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25325 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25326 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25327 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25328 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25329 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25330 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25331 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25332 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25333 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25334 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25335 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25336 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25337 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25338 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25339 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25340 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25341 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25342 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25343 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25344 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25345 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25346 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25347 * sysdeps/x86_64/strcspn.S: Likewise.
25348
869378a5
RA
253492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25350
25351 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25352 generated file. Regenerate properly from gen-translit.pl.
25353 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25354 locale/C-translit.h.
25355
840e2943
AS
253562013-06-05 Andreas Schwab <schwab@suse.de>
25357
25358 [BZ #15100]
25359 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25360 week as 6 instead of -1.
25361 * time/tst-strptime.c (day_tests): Add test case.
25362
4c60cb0c
SP
253632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25364
25365 * sysdeps/generic/math_private.h
25366 (libc_feholdexcept_setround_53bit): Replace with
25367 libc_feholdsetround_53bit.
25368 (libc_feupdateenv_53bit): Replace with
25369 libc_feresetround_53bit.
25370 (SET_RESTORE_ROUND_53BIT): Adjust.
25371
d180203e
SP
253722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25373
96df079a
SP
25374 * string/test-strchrnul.c: Add copyright header.
25375
d180203e
SP
25376 * posix/tst-getaddrinfo4.c: Increase test timeout.
25377
8b0ccb2d
CD
253782013-06-03 Carlos O'Donell <carlos@redhat.com>
25379
25380 [BZ #15536]
25381 * math/libm-test.inc (MAX_EXP): Remove
25382 (MIN_EXP): Define.
25383 (ulp): Use MIN_EXP - MANT_DIG.
25384 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25385
3b3c4d40
CD
253862013-05-31 Carlos O'Donell <carlos@redhat.com>
25387
25388 * po/be.po: Revert last change.
25389 * po/zh_CN.po: Likewise.
25390 * po/header.pot: Likewise.
25391
fab7ce3f
JM
253922013-05-31 Joseph Myers <joseph@codesourcery.com>
25393
25394 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25395 link-libc-deps to empty as target-specific variable.
25396 * Makerules (link-libc-args): New variable.
25397 (libc-for-link): Likewise.
25398 (link-libc-deps): Likewise.
25399 (lib%.so): Depend on $(link-libc-deps). Link with
25400 $(link-libc-args).
25401 (build-module): Link with $(link-libc-args).
25402 (build-module-asneeded): Likewise.
25403 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25404 list of objects.
25405 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25406 target-specific variable.
25407 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25408 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25409 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25410 libc.
25411 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25412 libc and ld.so.
25413 ($(objpfx)libpcprofile.so): Likewise.
25414 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25415 libc_nonshared.a.
25416 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25417 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25418 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25419 $(link-libc-deps).
25420 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25421 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25422 * login/Makefile ($(objpfx)libutil.so): Likewise.
25423 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25424 * math/Makefile ($(objpfx)libm.so): Likewise.
25425 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25426 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25427 variable instead of depending directly on libc.
25428 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25429 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25430 $(link-libc-deps).
25431 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25432 libc.
25433 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25434 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25435 ($(objpfx)libanl.so): Likewise.
25436 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25437 ld.so.
25438 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25439 $(link-libc-deps).
25440 * sysdeps/i386/fpu/Makefile: Remove file.
25441 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25442 ($(objpfx)libm.so): Remove dependency on ld.so.
25443
eca5920c
PF
254442013-05-30 Patsy Franklin <pfrankli@redhat.com>
25445
25446 [BZ # 15553]
25447 * nis/yp_xdr.c (XDRMAXNAME): Define.
25448 (XDRMAXRECORD): Define.
25449 (xdr_domainname): Use XDRMAXNAME.
25450 (xdr_mapname): Likewise.
25451 (xdr_peername): Likewise.
25452 (xdr_keydat): Use XDRMAXRECORD.
25453 (xdr_valdat): Likewise.
25454
254552013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25456
25457 [BZ #14256]
25458 * manual/errno.texi (ESTALE): Update to account for more than
25459 just NFS file systems.
25460 * sysdeps/gnu/errlist.c: Regenerated.
25461
b9375348
SP
254622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25463
25464 [BZ #15465]
25465 * elf/Makefile (tests): Add tst-null-argv.
25466 (modules-names): Add tst-null-argv-lib.
25467 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25468 (tst-null-argv-ENV): Set environment for tst-null-argv.
25469 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25470 (RTLD_PROGNAME): New macro.
25471 * elf/tst-null-argv.c: New test case.
25472 * elf/tst-null-argv-lib.c: Library for test case.
25473 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25474 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25475 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25476 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25477 * elf/dl-init.c (call_init): Likewise.
25478 (_dl_init): Likewise.
25479 * elf/dl-load.c (print_search_path): Likewise.
25480 (_dl_map_object): Likewise.
25481 * elf/dl-lookup.c (do_lookup_x): Likewise.
25482 (add_dependency): Likewise.
25483 (_dl_lookup_symbol_x): Likewise.
25484 (_dl_debug_bindings): Likewise.
25485 * elf/dl-open.c (_dl_show_scope): Likewise.
25486 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25487 * elf/dl-version.c (match_symbol): Likewise.
25488 (_dl_check_map_versions): Likewise.
25489 * elf/rtld.c (dl_main): Likewise.
25490 (print_unresolved): Use RTLD_PROGNAME.
25491 (print_missing_version): Likewise.
25492 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25493 (elf_machine_rela): Likewise.
25494 * sysdeps/powerpc/powerpc32/dl-machine.c
25495 (__process_machine_rela): Likewise.
25496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25497 Likewise.
25498 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25499 Likewise.
25500 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25501 Likewise.
25502 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25503 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25504 Likewise.
25505 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25506 Likewise.
25507 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25508
8a9f20c8
CD
255092013-05-28 Carlos O'Donell <carlos@redhat.com>
25510
25511 * po/be.po: Add descriptive title.
25512 * po/zh_CN.po: Likewise.
25513 * po/header.pot: Likewise.
25514
0e60d68e
MF
255152013-05-28 Mike Frysinger <vapier@gentoo.org>
25516
25517 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25518 error message.
25519 (enlarge_archive): Likewise.
25520
56b672e9
BN
255212013-05-28 Ben North <ben@redfrontdoor.org>
25522
25523 * manual/arith.texi (frexp): It is the magnitude of the return
25524 value which lies in [0.5, 1), not the return value itself.
25525
5e056687
AZ
255262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25527
25528 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25529
2b66ef5d
TS
255302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25531
528c2405
TS
25532 * stdio-common/bug26.c (main): Correct fscanf template.
25533
07b4c13d
TS
25534 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25535 declare _dl_skip_args.
25536
ec9dd97c
TS
25537 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25538 Don't declare.
25539
2b66ef5d
TS
25540 * manual/platform.texi: Add missing @end deftypefun.
25541
4f8dfe27
JM
255422013-05-24 Joseph Myers <joseph@codesourcery.com>
25543
0323d086
JM
25544 [BZ #15529]
25545 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25546 bit of mantissa of 2^16382.
25547 * math/libm-test.inc (hypot_test_data): Add more tests.
25548
dd4259b9
JM
25549 * math/libm-test.inc: Add drem and pow10 to list of tested
25550 functions.
25551 (pow10_test): New function.
25552 (drem_test): Likewise.
25553 (drem_test_tonearest): Likewise.
25554 (drem_test_towardzero): Likewise.
25555 (drem_test_downward): Likewise.
25556 (drem_test_upward): Likewise.
25557 (main): Call the new functions.
25558
4f8dfe27
JM
25559 * math/libm-test.inc (finite_test_data): Remove.
25560 (finite_test): Run tests from isfinite_test_data.
25561 (gamma_test_data): Remove.
25562 (gamma_test): Run tests from lgamma_test_data.
25563 * sysdeps/i386/fpu/libm-test-ulps: Update.
25564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25565
d116b7c4
AZ
255662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25567
25568 * manual/platform.texi: Add PowerPC PPR function set documentation.
25569 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25570 implementation.
25571
e96e3767
CD
255722013-05-24 Carlos O'Donell <carlos@redhat.com>
25573
25574 * math/libm-test.inc (MAX_EXP): Define.
25575 (ULPDIFF): Define.
25576 (ulp): New function.
25577 (check_float_internal): Use ULPDIFF.
25578 (cpow_test): Disable failing test.
25579 (check_ulp): Test ulp() implemetnation.
25580 (main): Call check_ulp before starting tests.
25581
b679a606
JM
255822013-05-24 Joseph Myers <joseph@codesourcery.com>
25583
e8bdba36
JM
25584 * math/gen-libm-test.pl (generate_testfile): Do not handle
25585 START_DATA and END_DATA.
25586 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25587 END_DATA.
25588 (acos_tonearest_test_data): Likewise.
25589 (acos_towardzero_test_data): Likewise.
25590 (acos_downward_test_data): Likewise.
25591 (acos_upward_test_data): Likewise.
25592 (acosh_test_data): Likewise.
25593 (asin_test_data): Likewise.
25594 (asin_tonearest_test_data): Likewise.
25595 (asin_towardzero_test_data): Likewise.
25596 (asin_downward_test_data): Likewise.
25597 (asin_upward_test_data): Likewise.
25598 (asinh_test_data): Likewise.
25599 (atan_test_data): Likewise.
25600 (atanh_test_data): Likewise.
25601 (atan2_test_data): Likewise.
25602 (cabs_test_data): Likewise.
25603 (cacos_test_data): Likewise.
25604 (cacosh_test_data): Likewise.
25605 (carg_test_data): Likewise.
25606 (casin_test_data): Likewise.
25607 (casinh_test_data): Likewise.
25608 (catan_test_data): Likewise.
25609 (catanh_test_data): Likewise.
25610 (cbrt_test_data): Likewise.
25611 (ccos_test_data): Likewise.
25612 (ccosh_test_data): Likewise.
25613 (ceil_test_data): Likewise.
25614 (cexp_test_data): Likewise.
25615 (cimag_test_data): Likewise.
25616 (clog_test_data): Likewise.
25617 (clog10_test_data): Likewise.
25618 (conj_test_data): Likewise.
25619 (copysign_test_data): Likewise.
25620 (cos_test_data): Likewise.
25621 (cos_tonearest_test_data): Likewise.
25622 (cos_towardzero_test_data): Likewise.
25623 (cos_downward_test_data): Likewise.
25624 (cos_upward_test_data): Likewise.
25625 (cosh_test_data): Likewise.
25626 (cosh_tonearest_test_data): Likewise.
25627 (cosh_towardzero_test_data): Likewise.
25628 (cosh_downward_test_data): Likewise.
25629 (cosh_upward_test_data): Likewise.
25630 (cpow_test_data): Likewise.
25631 (cproj_test_data): Likewise.
25632 (creal_test_data): Likewise.
25633 (csin_test_data): Likewise.
25634 (csinh_test_data): Likewise.
25635 (csqrt_test_data): Likewise.
25636 (ctan_test_data): Likewise.
25637 (ctan_tonearest_test_data): Likewise.
25638 (ctan_towardzero_test_data): Likewise.
25639 (ctan_downward_test_data): Likewise.
25640 (ctan_upward_test_data): Likewise.
25641 (ctanh_test_data): Likewise.
25642 (ctanh_tonearest_test_data): Likewise.
25643 (ctanh_towardzero_test_data): Likewise.
25644 (ctanh_downward_test_data): Likewise.
25645 (ctanh_upward_test_data): Likewise.
25646 (erf_test_data): Likewise.
25647 (erfc_test_data): Likewise.
25648 (exp_test_data): Likewise.
25649 (exp_tonearest_test_data): Likewise.
25650 (exp_towardzero_test_data): Likewise.
25651 (exp_downward_test_data): Likewise.
25652 (exp_upward_test_data): Likewise.
25653 (exp10_test_data): Likewise.
25654 (exp2_test_data): Likewise.
25655 (expm1_test_data): Likewise.
25656 (fabs_test_data): Likewise.
25657 (fdim_test_data): Likewise.
25658 (finite_test_data): Likewise.
25659 (floor_test_data): Likewise.
25660 (fma_test_data): Likewise.
25661 (fma_towardzero_test_data): Likewise.
25662 (fma_downward_test_data): Likewise.
25663 (fma_upward_test_data): Likewise.
25664 (fmax_test_data): Likewise.
25665 (fmin_test_data): Likewise.
25666 (fmod_test_data): Likewise.
25667 (fpclassify_test_data): Likewise.
25668 (frexp_test_data): Likewise.
25669 (gamma_test_data): Likewise.
25670 (hypot_test_data): Likewise.
25671 (ilogb_test_data): Likewise.
25672 (isfinite_test_data): Likewise.
25673 (isgreater_test_data): Likewise.
25674 (isgreaterequal_test_data): Likewise.
25675 (isinf_test_data): Likewise.
25676 (isless_test_data): Likewise.
25677 (islessequal_test_data): Likewise.
25678 (islessgreater_test_data): Likewise.
25679 (isnan_test_data): Likewise.
25680 (isnormal_test_data): Likewise.
25681 (issignaling_test_data): Likewise.
25682 (isunordered_test_data): Likewise.
25683 (j0_test_data): Likewise.
25684 (j1_test_data): Likewise.
25685 (jn_test_data): Likewise.
25686 (ldexp_test_data): Likewise.
25687 (lgamma_test_data): Likewise.
25688 (lrint_test_data): Likewise.
25689 (lrint_tonearest_test_data): Likewise.
25690 (lrint_towardzero_test_data): Likewise.
25691 (lrint_downward_test_data): Likewise.
25692 (lrint_upward_test_data): Likewise.
25693 (llrint_test_data): Likewise.
25694 (llrint_tonearest_test_data): Likewise.
25695 (llrint_towardzero_test_data): Likewise.
25696 (llrint_downward_test_data): Likewise.
25697 (llrint_upward_test_data): Likewise.
25698 (log_test_data): Likewise.
25699 (log10_test_data): Likewise.
25700 (log1p_test_data): Likewise.
25701 (log2_test_data): Likewise.
25702 (logb_test_data): Likewise.
25703 (logb_downward_test_data): Likewise.
25704 (lround_test_data): Likewise.
25705 (llround_test_data): Likewise.
25706 (modf_test_data): Likewise.
25707 (nearbyint_test_data): Likewise.
25708 (nextafter_test_data): Likewise.
25709 (nexttoward_test_data): Likewise.
25710 (pow_test_data): Likewise.
25711 (pow_tonearest_test_data): Likewise.
25712 (pow_towardzero_test_data): Likewise.
25713 (pow_downward_test_data): Likewise.
25714 (pow_upward_test_data): Likewise.
25715 (remainder_test_data): Likewise.
25716 (remainder_tonearest_test_data): Likewise.
25717 (remainder_towardzero_test_data): Likewise.
25718 (remainder_downward_test_data): Likewise.
25719 (remainder_upward_test_data): Likewise.
25720 (remquo_test_data): Likewise.
25721 (rint_test_data): Likewise.
25722 (rint_tonearest_test_data): Likewise.
25723 (rint_towardzero_test_data): Likewise.
25724 (rint_downward_test_data): Likewise.
25725 (rint_upward_test_data): Likewise.
25726 (round_test_data): Likewise.
25727 (scalb_test_data): Likewise.
25728 (scalbn_test_data): Likewise.
25729 (scalbln_test_data): Likewise.
25730 (signbit_test_data): Likewise.
25731 (sin_test_data): Likewise.
25732 (sin_tonearest_test_data): Likewise.
25733 (sin_towardzero_test_data): Likewise.
25734 (sin_downward_test_data): Likewise.
25735 (sin_upward_test_data): Likewise.
25736 (sincos_test_data): Likewise.
25737 (sinh_test_data): Likewise.
25738 (sinh_tonearest_test_data): Likewise.
25739 (sinh_towardzero_test_data): Likewise.
25740 (sinh_downward_test_data): Likewise.
25741 (sinh_upward_test_data): Likewise.
25742 (sqrt_test_data): Likewise.
25743 (tan_test_data): Likewise.
25744 (tan_tonearest_test_data): Likewise.
25745 (tan_towardzero_test_data): Likewise.
25746 (tan_downward_test_data): Likewise.
25747 (tan_upward_test_data): Likewise.
25748 (tanh_test_data): Likewise.
25749 (tgamma_test_data): Likewise.
25750 (trunc_test_data): Likewise.
25751 (y0_test_data): Likewise.
25752 (y1_test_data): Likewise.
25753 (yn_test_data): Likewise.
25754 (significand_test_data): Likewise.
25755
b679a606
JM
25756 * math/gen-libm-test.pl (@functions): Remove variable.
25757 (generate_testfile): Don't handle START and END lines.
25758 * math/libm-test.inc (START): New macro.
25759 (END): Likewise.
25760 (END_COMPLEX): Likewise.
25761 (acos_test): Use END macro without arguments.
25762 (acos_test_tonearest): Likewise.
25763 (acos_test_towardzero): Likewise.
25764 (acos_test_downward): Likewise.
25765 (acos_test_upward): Likewise.
25766 (acosh_test): Likewise.
25767 (asin_test): Likewise.
25768 (asin_test_tonearest): Likewise.
25769 (asin_test_towardzero): Likewise.
25770 (asin_test_downward): Likewise.
25771 (asin_test_upward): Likewise.
25772 (asinh_test): Likewise.
25773 (atan_test): Likewise.
25774 (atanh_test): Likewise.
25775 (atan2_test): Likewise.
25776 (cabs_test): Likewise.
25777 (cacos_test): Use END_COMPLEX macro without arguments.
25778 (cacosh_test): Likewise.
25779 (carg_test): Use END macro without arguments.
25780 (casin_test): Use END_COMPLEX macro without arguments.
25781 (casinh_test): Likewise.
25782 (catan_test): Likewise.
25783 (catanh_test): Likewise.
25784 (cbrt_test): Use END macro without arguments.
25785 (ccos_test): Use END_COMPLEX macro without arguments.
25786 (ccosh_test): Likewise.
25787 (ceil_test): Use END macro without arguments.
25788 (cexp_test): Use END_COMPLEX macro without arguments.
25789 (cimag_test): Use END macro without arguments.
25790 (clog_test): Use END_COMPLEX macro without arguments.
25791 (clog10_test): Likewise.
25792 (conj_test): Likewise.
25793 (copysign_test): Use END macro without arguments.
25794 (cos_test): Likewise.
25795 (cos_test_tonearest): Likewise.
25796 (cos_test_towardzero): Likewise.
25797 (cos_test_downward): Likewise.
25798 (cos_test_upward): Likewise.
25799 (cosh_test): Likewise.
25800 (cosh_test_tonearest): Likewise.
25801 (cosh_test_towardzero): Likewise.
25802 (cosh_test_downward): Likewise.
25803 (cosh_test_upward): Likewise.
25804 (cpow_test): Use END_COMPLEX macro without arguments.
25805 (cproj_test): Likewise.
25806 (creal_test): Use END macro without arguments.
25807 (csin_test): Use END_COMPLEX macro without arguments.
25808 (csinh_test): Likewise.
25809 (csqrt_test): Likewise.
25810 (ctan_test): Likewise.
25811 (ctan_test_tonearest): Likewise.
25812 (ctan_test_towardzero): Likewise.
25813 (ctan_test_downward): Likewise.
25814 (ctan_test_upward): Likewise.
25815 (ctanh_test): Likewise.
25816 (ctanh_test_tonearest): Likewise.
25817 (ctanh_test_towardzero): Likewise.
25818 (ctanh_test_downward): Likewise.
25819 (ctanh_test_upward): Likewise.
25820 (erf_test): Use END macro without arguments.
25821 (erfc_test): Likewise.
25822 (exp_test): Likewise.
25823 (exp_test_tonearest): Likewise.
25824 (exp_test_towardzero): Likewise.
25825 (exp_test_downward): Likewise.
25826 (exp_test_upward): Likewise.
25827 (exp10_test): Likewise.
25828 (exp2_test): Likewise.
25829 (expm1_test): Likewise.
25830 (fabs_test): Likewise.
25831 (fdim_test): Likewise.
25832 (finite_test): Likewise.
25833 (floor_test): Likewise.
25834 (fma_test): Likewise.
25835 (fma_test_towardzero): Likewise.
25836 (fma_test_downward): Likewise.
25837 (fma_test_upward): Likewise.
25838 (fmax_test): Likewise.
25839 (fmin_test): Likewise.
25840 (fmod_test): Likewise.
25841 (fpclassify_test): Likewise.
25842 (frexp_test): Likewise.
25843 (gamma_test): Likewise.
25844 (hypot_test): Likewise.
25845 (ilogb_test): Likewise.
25846 (isfinite_test): Likewise.
25847 (isgreater_test): Likewise.
25848 (isgreaterequal_test): Likewise.
25849 (isinf_test): Likewise.
25850 (isless_test): Likewise.
25851 (islessequal_test): Likewise.
25852 (islessgreater_test): Likewise.
25853 (isnan_test): Likewise.
25854 (isnormal_test): Likewise.
25855 (issignaling_test): Likewise.
25856 (isunordered_test): Likewise.
25857 (j0_test): Likewise.
25858 (j1_test): Likewise.
25859 (jn_test): Likewise.
25860 (ldexp_test): Likewise.
25861 (lgamma_test): Likewise.
25862 (lrint_test): Likewise.
25863 (lrint_test_tonearest): Likewise.
25864 (lrint_test_towardzero): Likewise.
25865 (lrint_test_downward): Likewise.
25866 (lrint_test_upward): Likewise.
25867 (llrint_test): Likewise.
25868 (llrint_test_tonearest): Likewise.
25869 (llrint_test_towardzero): Likewise.
25870 (llrint_test_downward): Likewise.
25871 (llrint_test_upward): Likewise.
25872 (log_test): Likewise.
25873 (log10_test): Likewise.
25874 (log1p_test): Likewise.
25875 (log2_test): Likewise.
25876 (logb_test): Likewise.
25877 (logb_test_downward): Likewise.
25878 (lround_test): Likewise.
25879 (llround_test): Likewise.
25880 (modf_test): Likewise.
25881 (nearbyint_test): Likewise.
25882 (nextafter_test): Likewise.
25883 (nexttoward_test): Likewise.
25884 (pow_test): Likewise.
25885 (pow_test_tonearest): Likewise.
25886 (pow_test_towardzero): Likewise.
25887 (pow_test_downward): Likewise.
25888 (pow_test_upward): Likewise.
25889 (remainder_test): Likewise.
25890 (remainder_test_tonearest): Likewise.
25891 (remainder_test_towardzero): Likewise.
25892 (remainder_test_downward): Likewise.
25893 (remainder_test_upward): Likewise.
25894 (remquo_test): Likewise.
25895 (rint_test): Likewise.
25896 (rint_test_tonearest): Likewise.
25897 (rint_test_towardzero): Likewise.
25898 (rint_test_downward): Likewise.
25899 (rint_test_upward): Likewise.
25900 (round_test): Likewise.
25901 (scalb_test): Likewise.
25902 (scalbn_test): Likewise.
25903 (scalbln_test): Likewise.
25904 (signbit_test): Likewise.
25905 (sin_test): Likewise.
25906 (sin_test_tonearest): Likewise.
25907 (sin_test_towardzero): Likewise.
25908 (sin_test_downward): Likewise.
25909 (sin_test_upward): Likewise.
25910 (sincos_test): Likewise.
25911 (sinh_test): Likewise.
25912 (sinh_test_tonearest): Likewise.
25913 (sinh_test_towardzero): Likewise.
25914 (sinh_test_downward): Likewise.
25915 (sinh_test_upward): Likewise.
25916 (sqrt_test): Likewise.
25917 (tan_test): Likewise.
25918 (tan_test_tonearest): Likewise.
25919 (tan_test_towardzero): Likewise.
25920 (tan_test_downward): Likewise.
25921 (tan_test_upward): Likewise.
25922 (tanh_test): Likewise.
25923 (tgamma_test): Likewise.
25924 (trunc_test): Likewise.
25925 (y0_test): Likewise.
25926 (y1_test): Likewise.
25927 (yn_test): Likewise.
25928 (significand_test): Likewise.
25929
bae143d2
OB
259302013-05-24 Ondřej Bílka <neleai@seznam.cz>
25931
25932 [BZ #15381]
25933 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25934
9323d39b
EM
259352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25936
d4ea44a0 25937 [BZ #14894]
9323d39b
EM
25938 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25939 __ppc_mdoio and __ppc_mdoom.
25940 * manual/platform.texi: Document new functions __ppc_yield,
25941 __ppc_mdoio and __ppc_mdoom.
25942
13e23af7
CD
259432013-05-22 Carlos O'Donell <carlos@redhat.com>
25944
25945 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25946 (main): Mention "tls" pseudo-hwcap is legacy.
25947 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25948
351fe550
JM
259492013-05-22 Joseph Myers <joseph@codesourcery.com>
25950
25951 * math/gen-libm-test.pl (parse_args): Output only string of
25952 arguments as text for test name, not full call or descriptions of
25953 tests for extra outputs.
25954 (generate_testfile): Do not pass function name to parse_args.
25955 Generate this_func variable from START.
25956 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25957 field to arg_str.
25958 (struct test_ff_f_data): Likewise.
25959 (test_ff_f_data_nexttoward): Likewise.
25960 (struct test_fi_f_data): Likewise.
25961 (struct test_fl_f_data): Likewise.
25962 (struct test_if_f_data): Likewise.
25963 (struct test_fff_f_data): Likewise.
25964 (struct test_c_f_data): Likewise.
25965 (struct test_f_f1_data): Likewise. Remove field extra_name.
25966 (struct test_fF_f1_data): Likewise.
25967 (struct test_ffI_f1_data): Likewise.
25968 (struct test_c_c_data): Rename test_name field to arg_str.
25969 (struct test_cc_c_data): Likewise.
25970 (struct test_f_i_data): Likewise.
25971 (struct test_ff_i_data): Likewise.
25972 (struct test_f_l_data): Likewise.
25973 (struct test_f_L_data): Likewise.
25974 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25975 and extra2_name.
25976 (COMMON_TEST_SETUP): New macro.
25977 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25978 (COMMON_TEST_CLEANUP): Likewise.
25979 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25980 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25981 macros.
25982 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25983 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25984 macros.
25985 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25986 (RUN_TEST_fff_f): Take argument string. Call new setup and
25987 cleanup macros.
25988 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25989 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25990 macros.
25991 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25992 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25993 macros.
25994 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25995 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25996 cleanup macros.
25997 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25998 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25999 cleanup macros.
26000 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26001 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26002 cleanup macros.
26003 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26004 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26005 macros.
26006 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26007 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26008 macros.
26009 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26010 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26011 macros.
26012 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26013 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26014 cleanup macros.
26015 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26016 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26017 cleanup macros.
26018 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26019 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26020 macros.
26021 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26022 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26023 cleanup macros.
26024 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26025 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26026 macros.
26027 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26028 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26029 macros.
26030 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26031 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26032 cleanup macros.
26033 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26034
85118d4d
EBM
260352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26036
26037 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26038 to _sifields.sigfault.
26039 (si_addr_lsb): Define new macro.
26040 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26041 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26042 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26043
7a44c18f
CD
260442013-05-03 Carlos O'Donell <carlos at redhat.com>
26045
26046 [BZ #15441]
26047 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26048 returns -1.
26049 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26050 null return -1.
26051 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26052 loading the domain.
26053
b50a7181
JM
260542013-05-22 Joseph Myers <joseph@codesourcery.com>
26055
26056 * math/gen-libm-test.pl (parse_args): Do not include expected
26057 result in test name.
26058 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26059 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26060 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26061 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26062 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26064
051063c8
SP
260652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26066
3ce9e010
SP
26067 * benchtests/Makefile: Sort function entries.
26068
051063c8
SP
26069 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26070 tanh, asinh, acosh, atanh.
26071 * benchtests/acos-inputs: New file.
26072 * benchtests/acosh-inputs: New file.
26073 * benchtests/asin-inputs: New file.
26074 * benchtests/asinh-inputs: New file.
26075 * benchtests/atanh-inputs: New file.
26076 * benchtests/cosh-inputs: New file.
26077 * benchtests/log-inputs: New file.
26078 * benchtests/sinh-inputs: New file.
26079 * benchtests/tanh-inputs: New file.
26080
47c22455
DL
260812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26082
26083 [BZ #15339]
26084 * posix/tst-getaddrinfo4.c: New test.
26085 * posix/Makefile (tests): Add it.
26086
3d04f5db
SP
260872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26088
26089 [BZ #15339]
26090 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26091 when no services were used.
26092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26093 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26094
d5dd6189
AS
260952013-05-21 Andreas Schwab <schwab@suse.de>
26096
26097 [BZ #15014]
26098 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26099 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26100 successful.
26101 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26102 redundant variable declarations and reallocation of buffer when
26103 parsing as IPv6 address. Always set NSS status when called from
26104 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26105 buffer too small. Correct computation of needed size.
26106 * nss/Makefile (tests): Add test-digits-dots.
26107 * nss/test-digits-dots.c: New test.
26108
fef94eab
SP
261092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26110
26111 * benchtests/Makefile: Remove instructions for adding
26112 benchmark tests.
26113 * benchtests/README: New file to explain how to execute and
26114 enhance the benchmark tests.
26115
e39adf43
AS
261162013-05-21 Andreas Schwab <schwab@suse.de>
26117
26118 [BZ #15493]
26119 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26120 * setjmp/tst-sigsetjmp.c: New test.
26121
b2b671b6
OB
261222013-05-20 Ondřej Bílka <neleai@seznam.cz>
26123
26124 * sysdeps/x86_64/memset.S (memset): New implementation.
26125 (__bzero): Likewise.
26126 (__memset_tail): New function.
26127
2d48b41c
OB
261282013-05-20 Ondřej Bílka <neleai@seznam.cz>
26129
26130 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26131 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26132 __memcpy_sse2_unaligned ifunc selection.
26133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26134 Add memcpy-sse2-unaligned.S.
26135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26136 Add: __memcpy_sse2_unaligned.
26137
f16cc3eb
JM
261382013-05-19 Joseph Myers <joseph@codesourcery.com>
26139
3e694268
JM
26140 [BZ #15490]
26141 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26142 math_force_eval before restoring floating-point envrionment.
26143 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26144 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26145 Likewise.
26146 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26147 <math_private.h>.
26148 (__nearbyintl): Use math_force_eval before restoring
26149 floating-point environment.
26150 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26151
db62a907
JM
26152 * math/gen-libm-test.pl (special_functions): Remove.
26153 (parse_args): Don't handle TEST_extra. Handle functions with no
26154 return value.
26155 * math/libm-test.inc (struct test_sincos_data): Replace with
26156 struct test_fFF_11_data.
26157 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26158 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26159 (sincos_test_data): Change element type to struct
26160 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26161 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26162 RUN_TEST_LOOP_sincos.
26163 * math/README.libm-test: Don't mention special handling of
26164 individual functions.
26165 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26166 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26167 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26168 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26169 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26171
f16cc3eb
JM
26172 * math/gen-libm-test.pl (get_variable): Remove function.
26173 (parse_args): Don't show pointer parameters to call in test
26174 names. Use "extra output N" in test names for extra outputs
26175 rather than naming variables.
26176
3779b5b6
JM
261772013-05-18 Joseph Myers <joseph@codesourcery.com>
26178
2ee094ff
JM
26179 [BZ #15488]
26180 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26181 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26182 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26183 double tests.
26184 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26185 disable.
26186 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26187 check_long_double.
26188
3779b5b6
JM
26189 * math/gen-libm-test.pl (@tests): Remove variable.
26190 ($count): Likewise.
26191 (new_test): Remove function.
26192 (show_exceptions): New function.
26193 (special_functions): Use show_exceptions instead of new_test.
26194 (parse_args): Likewise.
26195 (generate_testfile): Pass only function name in generated call to
26196 print_max_error or print_complex_max_error.
26197 (get_ulps): Do not handle complex tests specially.
26198 (output_test): Rename to ...
26199 (get_all_ulps_for_test): ... this. Return a string rather than
26200 printing to a file. Require ulps to be present.
26201 (output_ulps): Generate arrays rather than #defines.
26202 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26203 (struct ulp_data): New type.
26204 (BUILD_COMPLEX_ULP): Remove macro.
26205 (compare_ulp_data): New function.
26206 (find_ulps): Likewise.
26207 (find_test_ulps): Likewise.
26208 (find_function_ulps): Likewise.
26209 (find_complex_function_ulps): Likewise.
26210 (print_max_error): Determine allowed ulps using
26211 find_function_ulps.
26212 (print_complex_max_error): Determine allowed ulps using
26213 find_complex_function_ulps.
26214 (check_float_internal): Determine max ulps using find_test_ulps.
26215 (check_float): Do not take max_ulp parameter. Update call to
26216 check_float_internal.
26217 (check_complex): Likewise.
26218 (check_int): Do not take max_ulp parameter.
26219 (check_long): Likewise.
26220 (check_bool): Likewise.
26221 (check_longlong): Likewise.
26222 (struct test_f_f_data): Remove max_ulp field.
26223 (struct test_ff_f_data): Likewise.
26224 (struct test_ff_f_data_nexttoward): Likewise.
26225 (struct test_fi_f_data): Likewise.
26226 (struct test_fl_f_data): Likewise.
26227 (struct test_if_f_data): Likewise.
26228 (struct test_fff_f_data): Likewise.
26229 (struct test_c_f_data): Likewise.
26230 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26231 (struct test_fF_f1_data): Likewise.
26232 (struct test_ffI_f1_data): Likewise.
26233 (struct test_c_c_data): Remove max_ulp field.
26234 (struct test_cc_c_data): Likewise.
26235 (struct test_f_i_data): Likewise.
26236 (struct test_ff_i_data): Likewise.
26237 (struct test_f_l_data): Likewise.
26238 (struct test_f_L_data): Likewise.
26239 (struct test_sincos_data): Likewise.
26240 (RUN_TEST_f_f): Do not handle ulps.
26241 (RUN_TEST_LOOP_f_f): Likewise.
26242 (RUN_TEST_2_f): Likewise.
26243 (RUN_TEST_LOOP_2_f): Likewise.
26244 (RUN_TEST_fff_f): Likewise.
26245 (RUN_TEST_LOOP_fff_f): Likewise.
26246 (RUN_TEST_c_f): Likewise.
26247 (RUN_TEST_LOOP_c_f): Likewise.
26248 (RUN_TEST_f_f1): Likewise.
26249 (RUN_TEST_LOOP_f_f1): Likewise.
26250 (RUN_TEST_fF_f1): Likewise.
26251 (RUN_TEST_LOOP_fF_f1): Likewise.
26252 (RUN_TEST_fI_f1): Likewise.
26253 (RUN_TEST_LOOP_fI_f1): Likewise.
26254 (RUN_TEST_ffI_f1): Likewise.
26255 (RUN_TEST_LOOP_ffI_f1): Likewise.
26256 (RUN_TEST_c_c): Likewise.
26257 (RUN_TEST_LOOP_c_c): Likewise.
26258 (RUN_TEST_cc_c): Likewise.
26259 (RUN_TEST_LOOP_cc_c): Likewise.
26260 (RUN_TEST_f_i): Likewise.
26261 (RUN_TEST_LOOP_f_i): Likewise.
26262 (RUN_TEST_f_i_tg): Likewise.
26263 (RUN_TEST_LOOP_f_i_tg): Likewise.
26264 (RUN_TEST_ff_i_tg): Likewise.
26265 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26266 (RUN_TEST_f_b): Likewise.
26267 (RUN_TEST_LOOP_f_b): Likewise.
26268 (RUN_TEST_f_b_tg): Likewise.
26269 (RUN_TEST_LOOP_f_b_tg): Likewise.
26270 (RUN_TEST_f_l): Likewise.
26271 (RUN_TEST_LOOP_f_l): Likewise.
26272 (RUN_TEST_f_L): Likewise.
26273 (RUN_TEST_LOOP_f_L): Likewise.
26274 (RUN_TEST_sincos): Likewise.
26275 (RUN_TEST_LOOP_sincos): Likewise.
26276
8269107f
JM
262772013-05-17 Joseph Myers <joseph@codesourcery.com>
26278
bb38759d
JM
26279 [BZ #15480]
26280 [BZ #15485]
26281 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26282 main case of finite arguments, set rounding mode to FE_TONEAREST
26283 and discard exceptions.
26284 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26285 exceptions.
26286 (remainder_tonearest_test_data): New variable.
26287 (remainder_test_tonearest): New function.
26288 (remainder_towardzero_test_data): New variable.
26289 (remainder_test_towardzero): New function.
26290 (remainder_downward_test_data): New variable.
26291 (remainder_test_downward): New function.
26292 (remainder_upward_test_data): New variable.
26293 (remainder_test_upward): New function.
26294 (main): Call the new test functions.
26295
a00bdcf0
JM
26296 * math/libm-test.inc (struct test_f_f1_data): Remove field
26297 extra_init.
26298 (struct test_fF_f1_data): Likewise.
26299 (struct test_ffI_f1_data): Likewise.
26300 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26301 based on value of EXTRA_EXPECTED.
26302 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26303 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26304 EXTRA_VAR based on value of EXTRA_EXPECTED.
26305 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26306 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26307 EXTRA_VAR based on value of EXTRA_EXPECTED.
26308 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26309 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26310 EXTRA_VAR based on value of EXTRA_EXPECTED.
26311 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26312 * math/gen-libm-test.pl (parse_args): Don't output initializers
26313 for extra output values.
26314
de407f79
JM
26315 * math/libm-test.inc (check_int): Expect result to be exactly
26316 equal to expected value and do not handle ulps.
26317 (check_long): Likewise.
26318 (check_longlong): Likewise.
26319
8269107f
JM
26320 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26321 exceptions.
26322 (cimag_test_data): Likewise.
26323 (conj_test_data): Likewise.
26324 (copysign_test_data): Likewise.
26325 (cproj_test_data): Likewise.
26326 (creal_test_data): Likewise.
26327 (fabs_test_data): Likewise.
26328 (fdim_test_data): Likewise.
26329 (finite_test_data): Likewise.
26330 (floor_test_data): Likewise.
26331 (fmax_test_data): Likewise.
26332 (fmin_test_data): Likewise.
26333 (fmod_test_data): Likewise.
26334 (fpclassify_test_data): Likewise.
26335 (frexp_test_data): Likewise.
26336 (ilogb_test_data): Likewise.
26337 (isfinite_test_data): Likewise.
26338 (isgreater_test_data): Likewise.
26339 (isgreaterequal_test_data): Likewise.
26340 (isinf_test_data): Likewise.
26341 (isless_test_data): Likewise.
26342 (islessequal_test_data): Likewise.
26343 (islessgreater_test_data): Likewise.
26344 (isnan_test_data): Likewise.
26345 (isnormal_test_data): Likewise.
26346 (issignaling_test_data): Likewise.
26347 (isunordered_test_data): Likewise.
26348 (ldexp_test_data): Likewise.
26349 (lrint_test_data): Likewise.
26350 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26351 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26352 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26353 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26354 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26355 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26356 test input.
26357 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26358 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26359 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26360 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26361 that test input.
26362 (lrint_downward_test_data): Test for "inexact" exceptions.
26363 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26364 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26365 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26366 test input.
26367 (lrint_upward_test_data): Test for "inexact" exceptions.
26368 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26369 test input.
26370 (llrint_test_data): Test for "inexact" exceptions.
26371 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26372 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26373 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26374 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26375 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26376 (llrint_downward_test_data): Test for "inexact" exceptions.
26377 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26378 (llrint_upward_test_data): Test for "inexact" exceptions.
26379 (logb_test_data): Likewise.
26380 (logb_downward_test_data): Likewise.
26381 (nextafter_test_data): Likewise.
26382 (nexttoward_test_data): Likewise.
26383 (remainder_test_data): Likewise.
26384 (remquo_test_data): Likewise.
26385 (scalbn_test_data): Likewise.
26386 (scalbln_test_data): Likewise.
26387 (signbit_test_data): Likewise.
26388 (sqrt_test_data): Likewise.
26389 (significand_test_data): Likewise.
26390
48a18de1
SP
263912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26392
26393 [BZ #15424]
26394 * benchtests/bench-modf.c (struct args): Mark arg0 as
26395 volatile.
26396 * scripts/bench.pl: Mark members of struct args as volatile.
26397
13d3b41a
AZ
263982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26399
68191c1d 26400 [BZ # 15497]
13d3b41a
AZ
26401 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26402 negative infinity on POWER6 or lower.
26403 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26404
2848b105
MR
264052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26406
26407 [BZ #15442]
26408 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26409 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26410 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26411 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26412 (_FP_SETQNAN): New macro.
26413 (_FP_SETQNAN_SEMIRAW): Likewise.
26414 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26415 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26416 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26417 (FP_EXTEND): Use _FP_FRAC_SNANP.
26418 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26419 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26420 into account.
26421 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26422 New macro.
26423 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26424 Likewise.
26425
323e5cb7
JM
264262013-05-16 Joseph Myers <joseph@codesourcery.com>
26427
c58b274f
JM
26428 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26429 with DIVIDE_BY_ZERO_EXCEPTION.
26430 (gamma_test_data): Likewise.
26431 (lgamma_test_data): Likewise.
26432 (log_test_data): Likewise.
26433 (log10_test_data): Likewise.
26434 (log2_test_data): Likewise.
26435 (tgamma_test_data): Likewise.
26436
0ab34904
JM
26437 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26438 (acos_test_tonearest): Likewise.
26439 (acos_test_towardzero): Likewise.
26440 (acos_test_downward): Likewise.
26441 (acos_test_upward): Likewise.
26442 (acosh_test): Likewise.
26443 (asin_test): Likewise.
26444 (asin_test_tonearest): Likewise.
26445 (asin_test_towardzero): Likewise.
26446 (asin_test_downward): Likewise.
26447 (asin_test_upward): Likewise.
26448 (asinh_test): Likewise.
26449 (atan_test): Likewise.
26450 (atanh_test): Likewise.
26451 (atan2_test): Likewise.
26452 (cabs_test): Likewise.
26453 (cacos_test): Likewise.
26454 (cacosh_test): Likewise.
26455 (casin_test): Likewise.
26456 (casinh_test): Likewise.
26457 (catan_test): Likewise.
26458 (catanh_test): Likewise.
26459 (cbrt_test): Likewise.
26460 (ccos_test): Likewise.
26461 (ccosh_test): Likewise.
26462 (cexp_test): Likewise.
26463 (clog_test): Likewise.
26464 (clog10_test): Likewise.
26465 (cos_test): Likewise.
26466 (cos_test_tonearest): Likewise.
26467 (cos_test_towardzero): Likewise.
26468 (cos_test_downward): Likewise.
26469 (cos_test_upward): Likewise.
26470 (cosh_test): Likewise.
26471 (cosh_test_tonearest): Likewise.
26472 (cosh_test_towardzero): Likewise.
26473 (cosh_test_downward): Likewise.
26474 (cosh_test_upward): Likewise.
26475 (cpow_test): Likewise.
26476 (csin_test): Likewise.
26477 (csinh_test): Likewise.
26478 (csqrt_test): Likewise.
26479 (ctan_test): Likewise.
26480 (ctan_test_tonearest): Likewise.
26481 (ctan_test_towardzero): Likewise.
26482 (ctan_test_downward): Likewise.
26483 (ctan_test_upward): Likewise.
26484 (ctanh_test): Likewise.
26485 (ctanh_test_tonearest): Likewise.
26486 (ctanh_test_towardzero): Likewise.
26487 (ctanh_test_downward): Likewise.
26488 (ctanh_test_upward): Likewise.
26489 (erf_test): Likewise.
26490 (erfc_test): Likewise.
26491 (exp_test): Likewise.
26492 (exp_test_tonearest): Likewise.
26493 (exp_test_towardzero): Likewise.
26494 (exp_test_downward): Likewise.
26495 (exp_test_upward): Likewise.
26496 (exp10_test): Likewise.
26497 (exp2_test): Likewise.
26498 (expm1_test): Likewise.
26499 (fmod_test): Likewise.
26500 (gamma_test): Likewise.
26501 (hypot_test): Likewise.
26502 (j0_test): Likewise.
26503 (j1_test): Likewise.
26504 (jn_test): Likewise.
26505 (lgamma_test): Likewise.
26506 (log_test): Likewise.
26507 (log10_test): Likewise.
26508 (log1p_test): Likewise.
26509 (log2_test): Likewise.
26510 (logb_test_downward): Likewise.
26511 (pow_test): Likewise.
26512 (pow_test_tonearest): Likewise.
26513 (pow_test_towardzero): Likewise.
26514 (pow_test_downward): Likewise.
26515 (pow_test_upward): Likewise.
26516 (remainder_test): Likewise.
26517 (remquo_test): Likewise.
26518 (sin_test): Likewise.
26519 (sin_test_tonearest): Likewise.
26520 (sin_test_towardzero): Likewise.
26521 (sin_test_downward): Likewise.
26522 (sin_test_upward): Likewise.
26523 (sincos_test): Likewise.
26524 (sinh_test): Likewise.
26525 (sinh_test_tonearest): Likewise.
26526 (sinh_test_towardzero): Likewise.
26527 (sinh_test_downward): Likewise.
26528 (sinh_test_upward): Likewise.
26529 (sqrt_test): Likewise.
26530 (tan_test): Likewise.
26531 (tan_test_tonearest): Likewise.
26532 (tan_test_towardzero): Likewise.
26533 (tan_test_downward): Likewise.
26534 (tan_test_upward): Likewise.
26535 (tanh_test): Likewise.
26536 (tgamma_test): Likewise.
26537 (y0_test): Likewise.
26538 (y1_test): Likewise.
26539 (yn_test): Likewise.
26540
323e5cb7
JM
26541 * math/gen-libm-test.pl (adjust_arg): Remove function.
26542 (special_function): Remove argument $in_func. Only handle
26543 generating output for tables of tests, not inside functions.
26544 (parse_args): Likewise.
26545 (generate_testfile): Remove variable $in_func. Update call to
26546 parse_args.
26547 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26548 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26549 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26550 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26551 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26552 (MAX_VALUE_INIT): Rename macro to max_value.
26553 (MIN_VALUE_INIT): Rename macro to min_value.
26554 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26555 (plus_zero): Remove variable.
26556 (minus_zero): Likewise.
26557 (plus_infty): Likewise.
26558 (minus_infty): Likewise.
26559 (qnan_value): Likewise.
26560 (max_value): Likewise.
26561 (min_value): Likewise.
26562 (min_subnorm_value): Likewise.
26563
e054f494
RA
265642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26565
26566 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26567 uint64_t or uint32_t usage.
26568 * crypt/sha256-block.c: Likewise.
26569 * crypt/sha256-crypt.c: Likewise.
26570 * crypt/sha256.c: Likewise.
26571 * crypt/sha512-block.c: Likewise.
26572 * crypt/sha512-crypt.c: Likewise.
26573 * crypt/sha512.c: Likewise.
26574 * debug/backtrace-tst.c: Likewise.
26575 * debug/pcprofiledump.c: Likewise.
26576 * elf/cache.c: Likewise.
26577 * elf/dl-cache.c: Likewise.
26578 * elf/dl-misc.c: Likewise.
26579 * elf/dl-profile.c: Likewise.
26580 * elf/dl-support.c: Likewise.
26581 * elf/ldconfig.c: Likewise.
26582 * elf/sprof.c: Likewise.
26583 * iconv/dummy-repertoire.c: Likewise.
26584 * iconv/iconv_charmap.c: Likewise.
26585 * iconv/skeleton.c: Likewise.
26586 * iconvdata/8bit-generic.c: Likewise.
26587 * iconvdata/cp737.h: Likewise.
26588 * iconvdata/cp775.h: Likewise.
26589 * iconvdata/ibm1008.h: Likewise.
26590 * iconvdata/ibm1025.h: Likewise.
26591 * iconvdata/ibm1046.h: Likewise.
26592 * iconvdata/ibm1097.h: Likewise.
26593 * iconvdata/ibm1112.h: Likewise.
26594 * iconvdata/ibm1122.h: Likewise.
26595 * iconvdata/ibm1123.h: Likewise.
26596 * iconvdata/ibm1124.h: Likewise.
26597 * iconvdata/ibm1129.h: Likewise.
26598 * iconvdata/ibm1130.h: Likewise.
26599 * iconvdata/ibm1132.h: Likewise.
26600 * iconvdata/ibm1133.h: Likewise.
26601 * iconvdata/ibm1137.h: Likewise.
26602 * iconvdata/ibm1140.h: Likewise.
26603 * iconvdata/ibm1141.h: Likewise.
26604 * iconvdata/ibm1142.h: Likewise.
26605 * iconvdata/ibm1143.h: Likewise.
26606 * iconvdata/ibm1144.h: Likewise.
26607 * iconvdata/ibm1145.h: Likewise.
26608 * iconvdata/ibm1146.h: Likewise.
26609 * iconvdata/ibm1147.h: Likewise.
26610 * iconvdata/ibm1148.h: Likewise.
26611 * iconvdata/ibm1149.h: Likewise.
26612 * iconvdata/ibm1153.h: Likewise.
26613 * iconvdata/ibm1154.h: Likewise.
26614 * iconvdata/ibm1155.h: Likewise.
26615 * iconvdata/ibm1156.h: Likewise.
26616 * iconvdata/ibm1157.h: Likewise.
26617 * iconvdata/ibm1158.h: Likewise.
26618 * iconvdata/ibm1160.h: Likewise.
26619 * iconvdata/ibm1161.h: Likewise.
26620 * iconvdata/ibm1162.h: Likewise.
26621 * iconvdata/ibm1163.h: Likewise.
26622 * iconvdata/ibm1164.h: Likewise.
26623 * iconvdata/ibm1166.h: Likewise.
26624 * iconvdata/ibm1167.h: Likewise.
26625 * iconvdata/ibm12712.h: Likewise.
26626 * iconvdata/ibm1390.h: Likewise.
26627 * iconvdata/ibm1399.h: Likewise.
26628 * iconvdata/ibm16804.h: Likewise.
26629 * iconvdata/ibm4517.h: Likewise.
26630 * iconvdata/ibm4899.h: Likewise.
26631 * iconvdata/ibm4909.h: Likewise.
26632 * iconvdata/ibm4971.h: Likewise.
26633 * iconvdata/ibm5347.h: Likewise.
26634 * iconvdata/ibm803.h: Likewise.
26635 * iconvdata/ibm856.h: Likewise.
26636 * iconvdata/ibm901.h: Likewise.
26637 * iconvdata/ibm902.h: Likewise.
26638 * iconvdata/ibm9030.h: Likewise.
26639 * iconvdata/ibm9066.h: Likewise.
26640 * iconvdata/ibm921.h: Likewise.
26641 * iconvdata/ibm922.h: Likewise.
26642 * iconvdata/ibm9448.h: Likewise.
26643 * iconvdata/isiri-3342.h: Likewise.
26644 * iconvdata/jis0201.h: Likewise.
26645 * include/link.h: Likewise.
26646 * include/netdb.h: Likewise.
26647 * inet/check_native.c: Likewise.
26648 * inet/check_pf.c: Likewise.
26649 * inet/getipv4sourcefilter.c: Likewise.
26650 * inet/getnameinfo.c: Likewise.
26651 * inet/getsourcefilter.c: Likewise.
26652 * inet/htonl.c: Likewise.
26653 * inet/setipv4sourcefilter.c: Likewise.
26654 * inet/setsourcefilter.c: Likewise.
26655 * inet/test-inet6_opt.c: Likewise.
26656 * inet/tst-network.c: Likewise.
26657 * locale/C-collate.c: Likewise.
26658 * locale/C-ctype.c: Likewise.
26659 * locale/C-time.c: Likewise.
26660 * locale/C-translit.h: Likewise.
26661 * locale/loadarchive.c: Likewise.
26662 * locale/programs/3level.h: Likewise.
26663 * locale/programs/charmap.c: Likewise.
26664 * locale/programs/charmap.h: Likewise.
26665 * locale/programs/ld-address.c: Likewise.
26666 * locale/programs/ld-collate.c: Likewise.
26667 * locale/programs/ld-ctype.c: Likewise.
26668 * locale/programs/ld-identification.c: Likewise.
26669 * locale/programs/ld-measurement.c: Likewise.
26670 * locale/programs/ld-messages.c: Likewise.
26671 * locale/programs/ld-monetary.c: Likewise.
26672 * locale/programs/ld-name.c: Likewise.
26673 * locale/programs/ld-numeric.c: Likewise.
26674 * locale/programs/ld-paper.c: Likewise.
26675 * locale/programs/ld-telephone.c: Likewise.
26676 * locale/programs/ld-time.c: Likewise.
26677 * locale/programs/linereader.c: Likewise.
26678 * locale/programs/locale.c: Likewise.
26679 * locale/programs/locarchive.c: Likewise.
26680 * locale/programs/locfile.h: Likewise.
26681 * locale/programs/repertoire.c: Likewise.
26682 * locale/programs/simple-hash.c: Likewise.
26683 * locale/programs/simple-hash.h: Likewise.
26684 * malloc/memusage.c: Likewise.
26685 * malloc/memusagestat.c: Likewise.
26686 * nis/nis_defaults.c: Likewise.
26687 * nis/nis_hash.c: Likewise.
26688 * nis/nis_print.c: Likewise.
26689 * nis/nis_xdr.c: Likewise.
26690 * nscd/connections.c: Likewise.
26691 * nscd/hstcache.c: Likewise.
26692 * nscd/nscd_gethst_r.c: Likewise.
26693 * nscd/nscd_getserv_r.c: Likewise.
26694 * nscd/nscd_helper.c: Likewise.
26695 * nscd/servicescache.c: Likewise.
26696 * nss/makedb.c: Likewise.
26697 * nss/nss_db/db-XXX.c: Likewise.
26698 * nss/nss_db/db-initgroups.c: Likewise.
26699 * nss/nss_db/db-netgrp.c: Likewise.
26700 * nss/nss_files/files-network.c: Likewise.
26701 * nss/nss_files/files-parse.c: Likewise.
26702 * posix/bug-regex5.c: Likewise.
26703 * posix/fnmatch_loop.c: Likewise.
26704 * posix/regcomp.c: Likewise.
26705 * posix/regexec.c: Likewise.
26706 * posix/tst-rfc3484-2.c: Likewise.
26707 * posix/tst-rfc3484-3.c: Likewise.
26708 * posix/tst-rfc3484.c: Likewise.
26709 * resolv/nss_dns/dns-canon.c: Likewise.
26710 * resolv/nss_dns/dns-network.c: Likewise.
26711 * resolv/res_init.c: Likewise.
26712 * resolv/res_mkquery.c: Likewise.
26713 * resolv/tst-aton.c: Likewise.
26714 * stdlib/cxa_atexit.c: Likewise.
26715 * stdlib/cxa_finalize.c: Likewise.
26716 * stdlib/gen-fpioconst.c: Likewise.
26717 * stdlib/strtol_l.c: Likewise.
26718 * string/tst-endian.c: Likewise.
26719 * sunrpc/auth_des.c: Likewise.
26720 * sunrpc/clnt_udp.c: Likewise.
26721 * sunrpc/rtime.c: Likewise.
26722 * sunrpc/svcauth_des.c: Likewise.
26723 * sunrpc/xdr.c: Likewise.
26724 * sunrpc/xdr_intXX_t.c: Likewise.
26725 * sunrpc/xdr_rec.c: Likewise.
26726 * sysdeps/generic/ldconfig.h: Likewise.
26727 * sysdeps/generic/ldsodefs.h: Likewise.
26728 * sysdeps/generic/memusage.h: Likewise.
26729 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26732 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26733 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26734 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26735 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26736 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26737 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26739 * sysdeps/posix/getaddrinfo.c: Likewise.
26740 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26741 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26742 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26743 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26744 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26745 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26746 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26747 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26748 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26749 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26750 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26751 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26752 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26753 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26754 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26755 * sysdeps/x86_64/dl-tls.h: Likewise.
26756 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26757 * time/alt_digit.c: Likewise.
26758 * time/era.c: Likewise.
26759 * wcsmbs/tst-c16c32-1.c: Likewise.
26760
8c75f674
JM
267612013-05-16 Joseph Myers <joseph@codesourcery.com>
26762
26763 * math/libm-test.inc (struct test_sincos_data): New type.
26764 (RUN_TEST_LOOP_sincos): New macro.
26765 (sincos_test_data): New variable.
26766 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26767
e6e49e59
RH
267682013-05-16 Richard Henderson <rth@redhat.com>
26769
26770 * math/atest-exp2.c (LIMB64): New macro.
26771 (CONSTSZ): New macro.
26772 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26773 (hexdig): Move ...
26774 (print_mpn_fp): ... to function scope.
26775 (read_mpn_hex): Remove.
26776 (get_log2): Remove.
26777 (exp2_mpn): Use mp_log2.
26778 (main): Use mp_exp1.
26779
15c7c18d
JM
267802013-05-16 Joseph Myers <joseph@codesourcery.com>
26781
105a07df
JM
26782 * math/libm-test.inc: Remove comment about not testing "inexact"
26783 exceptions.
26784 (INEXACT_EXCEPTION): New macro.
26785 (NO_INEXACT_EXCEPTION): Likewise.
26786 (INVALID_EXCEPTION_OK): Update value.
26787 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26788 (OVERFLOW_EXCEPTION_OK): Likewise.
26789 (UNDERFLOW_EXCEPTION_OK): Likewise.
26790 (IGNORE_ZERO_INF_SIGN): Likewise.
26791 (ERRNO_UNCHANGED): Likewise.
26792 (ERRNO_EDOM): Likewise.
26793 (ERRNO_ERANGE): Likewise.
26794 (test_exceptions): Handle testing "inexact" exceptions.
26795 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26796 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26797 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26798 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26799 INEXACT_EXCEPTION.
26800 (rint_towardzero_test_data): Likewise.
26801 (rint_downward_test_data): Likewise.
26802 (rint_upward_test_data): Likewise.
26803
e9eee333
JM
26804 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26805 with OVERFLOW_EXCEPTION.
26806 (exp10_test_data): Likewise.
26807 (exp2_test_data): Likewise.
26808 (expm1_test_data): Likewise.
26809 (lgamma_test_data): Likewise.
26810 (pow_test_data): Likewise.
26811 (tgamma_test_data): Likewise.
26812 (yn_test_data): Remove duplicate test of overflow.
26813
1c38ff73
JM
26814 * math/libm-test.inc (struct test_cc_c_data): New type.
26815 (RUN_TEST_LOOP_cc_c): New macro.
26816 (cpow_test_data): New variable.
26817 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26818
15c7c18d
JM
26819 * math/libm-test.inc (struct test_f_L_data): New type.
26820 (RUN_TEST_LOOP_f_L): New macro.
26821 (llrint_test_data): New variable.
26822 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26823 (llrint_tonearest_test_data): New variable.
26824 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26825 (llrint_towardzero_test_data): New variable.
26826 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26827 (llrint_downward_test_data): New variable.
26828 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26829 (llrint_upward_test_data): New variable.
26830 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26831 (llround_test_data): New variable.
26832 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26833
f137ff13
PC
268342013-05-13 Peter Collingbourne <pcc@google.com>
26835
26836 * math/atest-exp2.c (get_log2): Remove const attribute.
26837
3608cb24
JM
268382013-05-15 Joseph Myers <joseph@codesourcery.com>
26839
26840 * math/libm-test.inc (struct test_f_l_data): New type.
26841 (RUN_TEST_LOOP_f_l): New macro.
26842 (lrint_test_data): New variable.
26843 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26844 (lrint_tonearest_test_data): New variable.
26845 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26846 (lrint_towardzero_test_data): New variable.
26847 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26848 (lrint_downward_test_data): New variable.
26849 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26850 (lrint_upward_test_data): New variable.
26851 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26852 (lround_test_data): New variable.
26853 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26854
39b1f617
PC
268552013-05-15 Peter Collingbourne <pcc@google.com>
26856
1deff3dc
PC
26857 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26858 (EXTRACT_WORDS64) Use where appropriate.
26859 (INSERT_WORDS64) Likewise.
26860
791f3ba0
PC
26861 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26862 constraints with x constraints.
26863 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26864
39b1f617
PC
26865 * malloc/obstack.c (_obstack_compat): Add initializer.
26866
12fba011
EM
268672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26868
26869 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26870 si_trapno and add si_addr_lsb to _sifields.sigfault.
26871 (si_trapno): Remove macro.
26872 (si_addr_lsb): Define new macro.
26873 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26874
d369f531
JM
268752013-05-15 Joseph Myers <joseph@codesourcery.com>
26876
b861c6c4
JM
26877 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26878 instead of TEST_f_l.
26879 (llrint_test_tonearest): Likewise.
26880 (llrint_test_towardzero): Likewise.
26881 (llrint_test_downward): Likewise.
26882 (llrint_test_upward): Likewise.
26883 (llround_test): Likewise.
26884
7abeee12
JM
26885 * math/libm-test.inc (struct test_f_i_data): Add comment.
26886 (RUN_TEST_LOOP_f_b): New macro.
26887 (RUN_TEST_LOOP_f_b_tg): Likewise.
26888 (finite_test_data): New variable.
26889 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26890 (isfinite_test_data): New variable.
26891 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26892 (isinf_test_data): New variable.
26893 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26894 (isnan_test_data): New variable.
26895 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26896 (isnormal_test_data): New variable.
26897 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26898 (issignaling_test_data): New variable.
26899 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26900 (signbit_test_data): New variable.
26901 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26902
cbe8c4d3
JM
26903 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26904 with INVALID_EXCEPTION.
26905 (acosh_test_data): Likewise.
26906 (asin_test_data): Likewise.
26907 (atanh_test_data): Likewise.
26908 (fmod_test_data): Likewise.
26909 (log_test_data): Likewise.
26910 (log10_test_data): Likewise.
26911 (log2_test_data): Likewise.
26912 (pow_test_data): Likewise.
26913 (sqrt_test_data): Likewise.
26914 (y0_test_data): Likewise.
26915 (y1_test_data): Likewise.
26916 (yn_test_data): Likewise.
26917
5575c0e5
JM
26918 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26919 function contents.
26920
d369f531
JM
26921 * math/libm-test.inc (struct test_ff_i_data): New type.
26922 (RUN_TEST_LOOP_ff_i_tg): New macro.
26923 (isgreater_test_data): New variable.
26924 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26925 (isgreaterequal_test_data): New variable.
26926 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26927 (isless_test_data): New variable.
26928 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26929 (islessequal_test_data): New variable.
26930 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26931 (islessgreater_test_data): New variable.
26932 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26933 (isunordered_test_data): New variable.
26934 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26935
781fd748
DM
269362013-05-14 David S. Miller <davem@davemloft.net>
26937
26938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26939
87aa21df
JM
269402013-05-14 Joseph Myers <joseph@codesourcery.com>
26941
5e908270
JM
26942 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26943
f71172e5
JM
26944 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26945 extra_test to int.
26946 (struct test_f_i_data): Change type of max_ulp to int.
26947
8cfa635a
JM
26948 * math/libm-test.inc (test_ffI_f1_data): New type.
26949 (RUN_TEST_LOOP_ffI_f1): New macro.
26950 (remquo_test_data): New variable.
26951 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26952
2bcb36b2
JM
26953 * setjmp/tst-setjmp-fp.c: New file.
26954 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26955 (link-libm): New variable.
26956 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26957
acbd839a
JM
26958 * math/libm-test.inc (struct test_f_i_data): New type.
26959 (RUN_TEST_LOOP_f_i): New macro.
26960 (RUN_TEST_LOOP_f_i_tg): Likewise.
26961 (fpclassify_test_data): New variable.
26962 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26963 (ilogb_test_data): New variable.
26964 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26965
e414d745
JM
26966 * math/libm-test.inc (scalbln_test): Correct function name in END
26967 call.
26968
d9c2a0fd
JM
26969 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26970 (RUN_TEST_LOOP_fI_f1): New macro.
26971 (frexp_test_data): New variable.
26972 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26973
9dc9095d
JM
26974 * math/libm-test.inc (struct test_fF_f1_data): New type.
26975 (RUN_TEST_LOOP_fF_f1): New macro.
26976 (modf_test_data): New variable.
26977 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26978
87aa21df
JM
26979 * math/libm-test.inc (struct test_f_f1_data): New type.
26980 (RUN_TEST_LOOP_f_f1): New macro.
26981 (gamma_test_data): New variable.
26982 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26983 (lgamma_test_data): New variable.
26984 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26985
141af660
CD
269862013-05-13 Carlos O'Donell <carlos@redhat.com>
26987
26988 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26989 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26990 (main): Comment "tls" pseudo-hwcap.
26991
6d33265c
JM
269922013-05-13 Joseph Myers <joseph@codesourcery.com>
26993
68fc074c
JM
26994 * math/libm-test.inc (struct test_fl_f_data): New type.
26995 (RUN_TEST_LOOP_fl_f): New variable.
26996 (scalbln_test_data): New variable.
26997 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26998
243216e1
JM
26999 * math/libm-test.inc (struct test_fi_f_data): New type.
27000 (RUN_TEST_LOOP_fi_f): New macro.
27001 (ldexp_test_data): New variable.
27002 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27003 (scalbn_test_data): New variable.
27004 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27005
6a1992e2
JM
27006 * math/libm-test.inc (struct test_c_f_data): New type.
27007 (RUN_TEST_LOOP_c_f): New macro.
27008 (cabs_test_data): New variable.
27009 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27010 (carg_test_data): New variable.
27011 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27012 (cimag_test_data): New variable.
27013 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27014 (creal_test_data): New variable.
27015 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27016
0e400df5
JM
27017 * math/libm-test.inc (struct test_if_f_data): New type.
27018 (RUN_TEST_LOOP_if_f): New macro.
27019 (jn_test_data): New variable.
27020 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27021 (yn_test_data): New variable.
27022 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27023
6d33265c
JM
27024 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27025
f98ece5f
AZ
270262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27027
27028 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27029 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27030
0f7d347b
SP
270312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27032
43fe811b
SP
27033 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27034 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27035 (bench-deps): Add bench-timing.h.
27036 * benchtests-bench-skeleton.c: Include bench-timing.h.
27037 (main): Use TIMING_* macros instead of clock_gettime.
27038 * benchtests/bench-timing.h: New file.
27039
0f7d347b
SP
27040 [BZ #14582]
27041 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27042 Renamed from _LIB_VERSION.
27043 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27044
601a3a5f
JM
270452013-05-12 Joseph Myers <joseph@codesourcery.com>
27046
4f184d30
JM
27047 * math/libm-test.inc (struct test_fff_f_data): New type.
27048 (RUN_TEST_LOOP_fff_f): New macro.
27049 (fma_test_data): New variable.
27050 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27051 (fma_towardzero_test_data): New variable.
27052 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27053 (fma_downward_test_data): New variable.
27054 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27055 (fma_upward_test_data): New variable.
27056 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27057
08198877
JM
27058 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27059 (struct test_c_c_data): New type.
27060 (RUN_TEST_LOOP_c_c): New macro.
27061 (cacos_test_data): New variable.
27062 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27063 (cacosh_test_data): New variable.
27064 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27065 (casin_test_data): New variable.
27066 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27067 (casinh_test_data): New variable.
27068 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27069 (catan_test_data): New variable.
27070 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27071 (catanh_test_data): New variable.
27072 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27073 (ccos_test_data): New variable.
27074 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27075 (ccosh_test_data): New variable.
27076 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27077 (cexp_test_data): New variable.
27078 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27079 (clog_test_data): New variable.
27080 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27081 (clog10_test_data): New variable.
27082 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27083 (conj_test_data): New variable.
27084 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27085 (cproj_test_data): New variable.
27086 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27087 (csin_test_data): New variable.
27088 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27089 (csinh_test_data): New variable.
27090 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27091 (csqrt_test_data): New variable.
27092 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27093 (ctan_test_data): New variable.
27094 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27095 (ctan_tonearest_test_data): New variable.
27096 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27097 (ctan_towardzero_test_data): New variable.
27098 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27099 (ctan_downward_test_data): New variable.
27100 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27101 (ctan_upward_test_data): New variable.
27102 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27103 (ctanh_test_data): New variable.
27104 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27105 (ctanh_tonearest_test_data): New variable.
27106 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27107 (ctanh_towardzero_test_data): New variable.
27108 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27109 (ctanh_downward_test_data): New variable.
27110 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27111 (ctanh_upward_test_data): New variable.
27112 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27113 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27114 of BUILD_COMPLEX.
27115
601a3a5f
JM
27116 * math/libm-test.inc (struct test_ff_f_data): New type.
27117 (struct test_ff_f_data_nexttoward): Likewise.
27118 (RUN_TEST_LOOP_2_f): New macro.
27119 (RUN_TEST_LOOP_ff_f): Likewise.
27120 (atan2_test_data): New variable.
27121 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27122 (copysign_test_data): New variable.
27123 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27124 (fdim_test_data): New variable.
27125 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27126 (fmax_test_data): New variable.
27127 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27128 (fmin_test_data): New variable.
27129 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27130 (fmod_test_data): New variable.
27131 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27132 (hypot_test_data): New variable.
27133 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27134 (nextafter_test_data): New variable.
27135 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27136 (nexttoward_test_data): New variable.
27137 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27138 (pow_test_data): New variable.
27139 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27140 (pow_tonearest_test_data): New variable.
27141 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27142 (pow_towardzero_test_data): New variable.
27143 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27144 (pow_downward_test_data): New variable.
27145 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27146 (pow_upward_test_data): New variable.
27147 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27148 (remainder_test_data): New variable.
27149 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27150 (scalb_test_data): New variable.
27151 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27152 * sysdeps/i386/fpu/libm-test-ulps: Update.
27153
74c57478
JM
271542013-05-11 Joseph Myers <joseph@codesourcery.com>
27155
8329e4da
JM
27156 * math/libm-test.inc (fma_test): Use max_value instead of local
27157 variable fltmax.
27158 (nextafter_test): Likewise.
27159
74c57478
JM
27160 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27161 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27162 (acos_downward_test_data): New variable.
27163 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27164 (acos_upward_test_data): New variable.
27165 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27166 (acosh_test_data): New variable.
27167 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27168 (asin_test_data): New variable.
27169 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27170 (asin_tonearest_test_data): New variable.
27171 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27172 (asin_towardzero_test_data): New variable.
27173 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27174 (asin_downward_test_data): New variable.
27175 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27176 (asin_upward_test_data): New variable.
27177 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27178 (asinh_test_data): New variable.
27179 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27180 (atan_test_data): New variable.
27181 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27182 (atanh_test_data): New variable.
27183 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27184 (cbrt_test_data): New variable.
27185 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27186 (ceil_test_data): New variable.
27187 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27188 (cos_test_data): New variable.
27189 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27190 (cos_tonearest_test_data): New variable.
27191 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27192 (cos_towardzero_test_data): New variable.
27193 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27194 (cos_downward_test_data): New variable.
27195 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27196 (cos_upward_test_data): New variable.
27197 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27198 (cosh_test_data): New variable.
27199 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27200 (cosh_tonearest_test_data): New variable.
27201 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27202 (cosh_towardzero_test_data): New variable.
27203 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27204 (cosh_downward_test_data): New variable.
27205 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27206 (cosh_upward_test_data): New variable.
27207 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27208 (erf_test_data): New variable.
27209 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27210 (erfc_test_data): New variable.
27211 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27212 (exp_test_data): New variable.
27213 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27214 (exp_tonearest_test_data): New variable.
27215 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27216 (exp_towardzero_test_data): New variable.
27217 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27218 (exp_downward_test_data): New variable.
27219 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27220 (exp_upward_test_data): New variable.
27221 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27222 (exp10_test_data): New variable.
27223 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27224 (exp2_test_data): New variable.
27225 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27226 (expm1_test_data): New variable.
27227 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27228 (fabs_test_data): New variable.
27229 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27230 (floor_test_data): New variable.
27231 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27232 (j0_test_data): New variable.
27233 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27234 (j1_test_data): New variable.
27235 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27236 (log_test_data): New variable.
27237 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27238 (log10_test_data): New variable.
27239 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27240 (log1p_test_data): New variable.
27241 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27242 (log2_test_data): New variable.
27243 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27244 (logb_test_data): New variable.
27245 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27246 (logb_downward_test_data): New variable.
27247 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27248 (nearbyint_test_data): New variable.
27249 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27250 (rint_test_data): New variable.
27251 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27252 (rint_tonearest_test_data): New variable.
27253 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27254 (rint_towardzero_test_data): New variable.
27255 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27256 (rint_downward_test_data): New variable.
27257 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27258 (rint_upward_test_data): New variable.
27259 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27260 (round_test_data): New variable.
27261 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27262 (sin_test_data): New variable.
27263 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27264 (sin_tonearest_test_data): New variable.
27265 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27266 (sin_towardzero_test_data): New variable.
27267 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27268 (sin_downward_test_data): New variable.
27269 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27270 (sin_upward_test_data): New variable.
27271 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27272 (sinh_test_data): New variable.
27273 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27274 (sinh_tonearest_test_data): New variable.
27275 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27276 (sinh_towardzero_test_data): New variable.
27277 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27278 (sinh_downward_test_data): New variable.
27279 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27280 (sinh_upward_test_data): New variable.
27281 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27282 (sqrt_test_data): New variable.
27283 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27284 (tan_test_data): New variable.
27285 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27286 (tan_tonearest_test_data): New variable.
27287 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27288 (tan_towardzero_test_data): New variable.
27289 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27290 (tan_downward_test_data): New variable.
27291 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27292 (tan_upward_test_data): New variable.
27293 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27294 (tanh_test_data): New variable.
27295 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27296 (tgamma_test_data): New variable.
27297 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27298 (trunc_test_data): New variable.
27299 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27300 (y0_test_data): New variable.
27301 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27302 (y1_test_data): New variable.
27303 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27304 (significand_test_data): New variable.
27305 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27306
7187d844
CG
273072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27308
27309 [BZ #12387]
27310 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27311
f63fae73
PT
273122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27313
27314 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27315
8a67a4b3
AJ
273162013-05-10 Andreas Jaeger <aj@suse.de>
27317
27318 [BZ #15448]
27319 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27320 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27321
51df539d
JM
273222013-05-10 Joseph Myers <joseph@codesourcery.com>
27323
27324 * math/gen-libm-test.pl (adjust_arg): New function.
27325 (special_functions): Handle generating output in both functions
27326 and arrays.
27327 (parse_args): Likewise.
27328 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27329 $in_func argument to parse_args.
27330 * math/libm-test.inc (struct test_f_f_data): New type.
27331 (IF_ROUND_INIT_): New macro.
27332 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27333 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27334 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27335 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27336 (ROUND_RESTORE_): Likewise.
27337 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27338 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27339 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27340 (ROUND_RESTORE_FE_UPWARD): Likewise.
27341 (RUN_TEST_LOOP_f_f): New macro.
27342 (acos_test_data): New variable.
27343 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27344 (acos_tonearest_test_data): New variable.
27345 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27346
5c637fe5
SP
273472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27348
27349 * benchtests/bench-skeleton.c (startup): Fix coding style.
27350
ab2b9461
JM
273512013-05-10 Joseph Myers <joseph@codesourcery.com>
27352
27353 [BZ #6809]
27354 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27355 negative infinity argument.
27356 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27357 negative infinity argument.
27358 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27359 negative infinity argument.
27360 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27361 domain errors.
27362
4c0fe6fe
FW
273632013-05-10 Florian Weimer <fweimer@redhat.com>
27364
27365 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27366 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27367 * iconv/iconv_prog.c (main): Likewise.
27368 * locale/programs/charmap-dir.c (charmap_readdir)
27369 (fopen_uncompressed): Likewise.
27370 * locale/programs/locfile.c (siblings_uncached)
27371 (write_locale_data): Use lstat64 instead of lstat.
27372 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27373 stat.
27374
a3375d29
AJ
273752013-05-10 Andreas Jaeger <aj@suse.de>
27376
27377 [BZ #15395]
27378 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27379 localization.
27380 Include <locale.h>.
27381
36129722
CD
273822013-05-09 Carlos O'Donell <carlos@redhat.com>
27383
27384 * elf/dl-close.c (_dl_close_worker): Add comments.
27385
faa7f811
JM
273862013-05-09 Joseph Myers <joseph@codesourcery.com>
27387
ed41ffef
JM
27388 [BZ #15359]
27389 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27390 high part of pi/2.
27391 (__ieee754_rem_pio2l): Update comments.
27392
d0213cd0
JM
27393 [BZ #15429]
27394 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27395 high part of pi/2.
27396 (__ieee754_rem_pio2l): Update comments.
27397
0d3e777a
JM
27398 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27399 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27400
24f56066
JM
27401 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27402 M_PI_4l.
27403
faa7f811
JM
27404 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27405 (M_PI_34_LOG10El): Likewise.
27406 (M_PI2_LOG10El): Likewise.
27407 (M_PI4_LOG10El): Likewise.
27408 (M_PI_LOG10El): Likewise.
27409
e9a5e0fd
AZ
274102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27411
27412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27413
d8cd06db
JM
274142013-05-08 Joseph Myers <joseph@codesourcery.com>
27415
a0d9f9d7
JM
27416 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27417 (MINUS_ZERO_INIT): Likewise.
27418 (PLUS_INFTY_INIT): Likewise.
27419 (MINUS_INFTY_INIT): Likewise.
27420 (QNAN_VALUE_INIT): Likewise.
27421 (MAX_VALUE_INIT): Likewise.
27422 (MIN_VALUE_INIT): Likewise.
27423 (MIN_SUBNORM_VALUE_INIT): Likewise.
27424 (plus_zero): Initialize with PLUS_ZERO_INIT.
27425 (minus_zero): Initialize with MINUS_ZERO_INIT.
27426 (plus_infty): Initialize with PLUS_INFTY_INIT.
27427 (minus_infty): Initialize with MINUS_INFTY_INIT.
27428 (qnan_value): Initialize with QNAN_VALUE_INIT.
27429 (max_value): Initialize with MAX_VALUE_INIT.
27430 (min_value): Initialize with MIN_VALUE_INIT.
27431 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27432
ae08db3b
JM
27433 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27434 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27435 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27436 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27437
f44bf14a
JM
27438 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27439 (RUN_TEST_2_f): Likewise.
27440 (RUN_TEST_ff_f): Likewise.
27441 (RUN_TEST_fi_f): Likewise.
27442 (RUN_TEST_fl_f): Likewise.
27443 (RUN_TEST_fff_f): Likewise.
27444 (RUN_TEST_c_f): Likewise.
27445 (RUN_TEST_f_f1): Likewise.
27446 (RUN_TEST_fF_f1): Likewise.
27447 (RUN_TEST_fI_f1): Likewise.
27448 (RUN_TEST_ffI_f1): Likewise.
27449 (RUN_TEST_c_c): Likewise.
27450 (RUN_TEST_cc_c): Likewise.
27451 (RUN_TEST_f_i): Likewise.
27452 (RUN_TEST_f_i_tg): Likewise.
27453 (RUN_TEST_ff_i_tg): Likewise.
27454 (RUN_TEST_f_b): Likewise.
27455 (RUN_TEST_f_b_tg): Likewise.
27456 (RUN_TEST_f_l): Likewise.
27457 (RUN_TEST_f_L): Likewise.
27458 (RUN_TEST_sincos): Likewise.
27459 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27460 whether to show exceptions. Do not include ");\n" in return
27461 value.
27462 (special_functions): Output call to RUN_TEST_sincos instead of
27463 check_float calls. Update calls to new_test.
27464 (parse_args): Output call to single RUN_TEST_* macro instead of
27465 check_* calls and other assignments. Update calls to new_test.
27466
d8cd06db
JM
27467 [BZ #2546]
27468 [BZ #2560]
27469 [BZ #5159]
27470 [BZ #15426]
27471 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27472 input to result for tgamma overflow.
27473 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27474 (gamma_coeff): New variable.
27475 (NCOEFF): New macro.
27476 (gamma_positive): New function.
27477 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27478 underflow here. Use gamma_positive instead of exp (lgamma) for
27479 other arguments.
27480 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27481 (gamma_coeff): New variable.
27482 (NCOEFF): New macro.
27483 (gammaf_positive): New function.
27484 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27485 underflow here. Use gamma_positive instead of exp (lgamma) for
27486 other arguments.
27487 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27488 (gamma_coeff): New variable.
27489 (NCOEFF): New macro.
27490 (gammal_positive): New function.
27491 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27492 underflow here. Use gamma_positive instead of exp (lgamma) for
27493 other arguments.
27494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27495 (gamma_coeff): New variable.
27496 (NCOEFF): New macro.
27497 (gammal_positive): New function.
27498 (__ieee754_gammal_r): Handle positive infinity, overflow and
27499 underflow here. Handle NaN the same as positive infinity. Remove
27500 check x < 0xffffffff for negative integers. Use gamma_positive
27501 instead of exp (lgamma) for other arguments.
27502 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27503 (gamma_coeff): New variable.
27504 (NCOEFF): New macro.
27505 (gammal_positive): New function.
27506 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27507 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27511 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27512 * sysdeps/generic/math_private.h (__gamma_productf): New
27513 prototype.
27514 (__gamma_product): Likewise.
27515 (__gamma_productl): Likewise.
27516 * math/Makefile (libm-calls): Add gamma_product.
27517 * math/libm-test.inc (tgamma_test): Add more tests.
27518 * sysdeps/i386/fpu/libm-test-ulps: Update.
27519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27520
bb7cf681
OB
275212013-05-08 Ondřej Bílka <neleai@seznam.cz>
27522
27523 * benchtests/bench-skeleton.c (main): Preheat CPU.
27524
ba853947
AJ
275252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27526
27527 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27528
8347c74c
RM
275292013-05-07 Roland McGrath <roland@hack.frob.com>
27530
27531 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27532 and _dl_skip_args_internal.
27533
e8dd4791
CD
275342013-05-07 Carlos O'Donell <carlos@redhat.com>
27535
27536 * manual/message.texi (Message Translation): Talk about users.
27537 Message to key mapping impacts design.
27538
c7405830
RM
275392013-05-06 Roland McGrath <roland@hack.frob.com>
27540
a9173057
RM
27541 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27542
976e2f03
RM
27543 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27544
9723ffc5
RM
27545 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27546 * sysdeps/wordsize-64/glob64.c: ... here.
27547
962e6658
RM
27548 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27549 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27550 New macros.
27551
ee586a6d
RM
27552 * debug/getlogin_r_chk.c: Moved to ...
27553 * login/getlogin_r_chk.c: ... here.
27554 * debug/Makefile (routines): Move getlogin_r_chk to ...
27555 * login/Makefile (routines): ... here.
27556 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27557 * login/Versions (libc: GLIBC_2.4): ... here.
27558
355f9165
RM
27559 * io/poll.c (__poll): Renamed from poll.
27560 Add libc_hidden_def.
27561 (poll): Define as weak alias.
27562
bd9ffde6
RM
27563 * debug/ptsname_r_chk.c: Moved to ...
27564 * login/ptsname_r_chk.c: ... here.
27565 * debug/Makefile (routines): Move ptsname_r_chk to ...
27566 * login/Makefile (routines): ... here.
27567 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27568 * login/Versions (libc: GLIBC_2.4): ... here.
27569
8fb16a04
RM
27570 * posix/getlogin.c: Moved to ...
27571 * login/getlogin.c: ... here.
27572 * posix/getlogin_r.c: Moved to ...
27573 * login/getlogin_r.c: ... here.
27574 * posix/getlogin_r.c: Moved to ...
27575 * login/getlogin_r.c: ... here.
27576 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27577 * login/Makefile (routines): ... here.
27578 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27579 * login/Versions (libc: GLIBC_2.0): ... here.
27580
b99b892f
RM
27581 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27582 (setrlimit): Define as weak alias.
27583
c7405830
RM
27584 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27585 Call __ names for open, ftruncate, and close.
27586 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27587 (truncate): Define as weak alias.
27588
5bf96de5
JM
275892013-05-06 Joseph Myers <joseph@codesourcery.com>
27590
9ea3513c
JM
27591 * math/gen-libm-test.pl (parse_args): Initialize x before each
27592 test of frexp, modf and remquo.
27593
5bf96de5
JM
27594 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27595 test signgam value.
27596
16e616a7
AZ
275972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27598
27599 [BZ #15418]
27600 [BZ #15419]
27601 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27602 internal tests.
27603 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27604
d5e82754
RM
276052013-05-06 Roland McGrath <roland@hack.frob.com>
27606
27607 * elf/dl-writev.h: New file.
27608 * elf/dl-misc.c: Include it.
27609 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27610 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27611
a7548d41
JM
276122013-05-04 Joseph Myers <joseph@codesourcery.com>
27613
b7dab1e4
JM
27614 * math/libm-test.inc (noXFails): Remove variable.
27615 (noXPasses): Likewise.
27616 (BUILD_COMPLEX_INT): Remove macro.
27617 (print_screen): Remove xfail argument.
27618 (print_screen_max_error): Likewise.
27619 (update_stats): Likewise.
27620 (print_max_error): Likewise. Update calls to other affected
27621 functions.
27622 (print_complex_max_error): Likewise.
27623 (test_single_exception): Update calls to print_screen.
27624 (test_single_errno): Likewise.
27625 (check_float_internal): Remove xfail argument. Update calls to
27626 other affected functions.
27627 (check_float): Likewise.
27628 (check_complex): Likewise.
27629 (check_int): Likewise.
27630 (check_long): Likewise.
27631 (check_bool): Likewise.
27632 (check_longlong): Likewise.
27633 (main): Don't print noXFails and noXPasses.
27634 * math/gen-libm-test.pl (top level): Don't mention expected
27635 failure handling in comment.
27636 (new_test): Don't handle expected failures.
27637 (parse_args): Don't mention expected failure handling in comment.
27638 (generate_testfile): Don't handle expected failures.
27639 (parse_ulps): Likewise.
27640 (print_ulps_file): Likewise.
27641 (get_failure): Remove function.
27642 (output_test): Don't handle expected failures.
27643 * make/README.libm-test: Don't mention expected failure handling.
27644
a7548d41
JM
27645 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27646 (minus_zero): Likewise.
27647 (plus_infty): Likewise.
27648 (minus_infty): Likewise.
27649 (qnan_value): Likewise.
27650 (max_value): Likewise.
27651 (min_value): Likewise.
27652 (min_subnorm_value): Likewise.
27653 (initialize): Do not initialize those variables dynamically.
27654
60bfd54c
RM
276552013-05-03 Roland McGrath <roland@hack.frob.com>
27656
cc0e6ed8
RM
27657 * io/open.c (__open_2): Moved to ...
27658 * io/open_2.c: ... this new file.
27659 * io/open64.c (__open64_2): Moved to ...
27660 * io/open64_2.c: ... this new file.
27661 * io/openat.c (__openat_2): Moved to ...
27662 * io/openat_2.c: ... this new file.
27663 * io/openat64.c (__openat64_2): Moved to ...
27664 * io/openat64_2.c: ... this new file.
27665 * io/Makefile (routines): Add them.
27666 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27667 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27668 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27669 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27670 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27671 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27672 (__openat64): Add hidden_ver.
27673 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27674 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27675
60bfd54c
RM
27676 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27677 Separately conditionalize setting of GLRO(dl_sysinfo) so
27678 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27679 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27680
83e7640f
AZ
276812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27682
27683 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27685 definition.
27686 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27687 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27688 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27689 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27690 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27691
d5dc2af3
JM
276922013-05-03 Joseph Myers <joseph@codesourcery.com>
27693
c31a5b1e
JM
27694 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27695 test signgam value.
27696
d5dc2af3
JM
27697 * math/libm-test.inc (hypot_test): Do not use
27698 IGNORE_ZERO_INF_SIGN.
27699
164fd39d
AJ
277002013-05-03 Andreas Jaeger <aj@suse.de>
27701
27702 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27703 Linux 3.9.
27704 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27705 (PF_MAX): Adjust for VSOCK change.
27706
8237f48c
AZ
277072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27708
27709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27710
9df02941
CD
277112013-05-02 Carlos O'Donell <carlos@redhat.com>
27712
27713 [BZ #15264]
27714 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27715 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27716 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27717
d422395e
DM
277182013-05-02 David S. Miller <davem@davemloft.net>
27719
27720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27721
a07c5731
OB
277222013-05-01 Ondřej Bílka <neleai@seznam.cz>
27723
27724 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27725
1324e37f
RM
277262013-05-01 Roland McGrath <roland@hack.frob.com>
27727
27728 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27729
0695940b
RS
277302013-05-01 Richard Smith <richard@metafoo.co.uk>
27731
bb5f27ad 27732 [BZ #14952]
0695940b
RS
27733 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27734 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27735 Use __attribute__ ((__gnu_inline__)).
27736 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27737 Don't use __attribute__ ((__gnu_inline__)).
27738
10de07f5
JM
277392013-05-01 Joseph Myers <joseph@codesourcery.com>
27740
27741 [BZ #15423]
27742 * math/s_catan.c (__catan): Handle small real or imaginary part of
27743 input specially to avoid spurious underflow.
27744 * math/s_catanf.c (__catanf): Likewise.
27745 * math/s_catanh.c (__catanh): Likewise.
27746 * math/s_catanhf.c (__catanhf): Likewise.
27747 * math/s_catanhl.c (__catanhl): Likewise.
27748 * math/s_catanl.c (__catanl): Likewise.
27749 * math/libm-test.inc (catan_test): Add more tests.
27750 (catanh_test): Likewise.
27751 * sysdeps/i386/fpu/libm-test-ulps: Update.
27752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27753
cb4d5414
AZ
277542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27755
27756 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27757
caf84319
JM
277582013-04-30 Joseph Myers <joseph@codesourcery.com>
27759
27760 [BZ #15416]
27761 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27762 accurately for denominator in atan2.
27763 * math/s_catanf.c (__catanf): Likewise.
27764 * math/s_catanh.c (__catanh): Likewise.
27765 * math/s_catanhf.c (__catanhf): Likewise.
27766 * math/s_catanhl.c (__catanhl): Likewise.
27767 * math/s_catanl.c (__catanl): Likewise.
27768 * math/libm-test.inc (catan_test): Add more tests.
27769 (catanh_test): Likewise.
27770 * sysdeps/i386/fpu/libm-test-ulps: Update.
27771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27772
d569c6ee
SP
277732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27774
6dbe713d
SP
27775 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27776
f0ee064b
SP
27777 * benchtests/Makefile (bench): Remove slow benchmarks.
27778 * benchtests/atan-inputs: Add slow benchmark inputs.
27779 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27780 (BENCH_FUNC): Accept variant offset.
27781 (VARIANT): Define.
27782 * benchtests/bench-skeleton.c (main): Run benchmark for each
27783 variant.
27784 * benchtests/cos-inputs: Add slow benchmark inputs.
27785 * benchtests/exp-inputs: Likewise.
27786 * benchtests/pow-inputs: Likewise.
27787 * benchtests/sin-inputs: Likewise.
27788 * benchtests/slowatan-inputs: Remove.
27789 * benchtests/slowatan.c: Remove.
27790 * benchtests/slowcos-inputs: Remove.
27791 * benchtests/slowcos.c: Remove.
27792 * benchtests/slowexp-inputs: Remove.
27793 * benchtests/slowexp.c: Remove.
27794 * benchtests/slowpow-inputs: Remove.
27795 * benchtests/slowpow.c: Remove.
27796 * benchtests/slowsin-inputs: Remove.
27797 * benchtests/slowsin.c: Remove.
27798 * benchtests/slowtan-inputs: Remove.
27799 * benchtests/slowtan.c: Remove.
27800 * benchtests/tan-inputs: Add slow benchmark inputs.
27801 * scripts/bench.pl: Parse comments and directives.
27802
d569c6ee
SP
27803 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27804 in CPPFLAGS.
27805 ($(objpfx)bench-%.c): Remove *-ITER.
27806 * benchtests/bench-modf.c: Remove definition of ITER.
27807 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27808 (main): Loop for DURATION seconds instead of fixed number of
27809 iterations.
27810 * scripts/bench.pl: Don't expect iterations in parameters.
27811
a6a242fe
RM
278122013-04-29 Roland McGrath <roland@hack.frob.com>
27813
27814 * io/fchdir.c (__fchdir): Renamed from fchdir.
27815 (fchdir): Define as weak alias.
27816
f2da7793
JM
278172013-04-29 Joseph Myers <joseph@codesourcery.com>
27818
27819 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27820 (ERRNO_EDOM): Likewise.
27821 (ERRNO_ERANGE): Likewise.
27822 (noErrnoTests): New variable.
27823 (init_max_error): Set errno to 0.
27824 (test_single_errno): New function.
27825 (test_errno): Likewise.
27826 (check_float_internal): Call test_errno. Set errno to 0.
27827 (check_complex): Refer to errno tests in comment.
27828 (check_int): Call test_errno. Set errno to 0.
27829 (check_long): Likewise.
27830 (check_bool): Likewise.
27831 (check_longlong): Likewise.
27832 (cos_test): Use ERRNO_* flags for errno tests instead of
27833 check_int.
27834 (expm1_test): Likewise.
27835 (fmod_test): Likewise.
27836 (ilogb_test): Likewise.
27837 (lgamma_test): Likewise.
27838 (pow_test): Likewise.
27839 (remainder_test): Likewise.
27840 (sin_test): Likewise.
27841 (tan_test): Likewise.
27842 (yn_test): Likewise.
27843 (initialize): Set errno to 0.
27844 (main): Print number of errno tests.
27845 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27846
b1a36ceb
AJ
278472013-04-29 Andreas Jaeger <aj@suse.de>
27848
c3ed8088
AJ
27849 [BZ #15084]
27850 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27851 and RES_USEVC.
27852
f1a24198
AJ
27853 [BZ #15085]
27854 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27855 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27856 unimplemented.
27857
9ce3b2cb
AJ
27858 [BZ #15380]
27859 * stdlib/random.c (__initstate): Return NULL if
27860 __initstate fails.
27861
f1a24198 27862 [BZ #15086]
b1a36ceb
AJ
27863 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27864 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27865 RES_SNGLKUPREOP.
27866
7e7b6f36
AZ
278672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27868
27869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27870
4d14f449
JM
278712013-04-29 Joseph Myers <joseph@codesourcery.com>
27872
27873 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27874 of individual tests.
27875 (casin_test): Likewise.
27876 (casinh_test): Likewise.
27877
5b4217d7
JM
278782013-04-27 Joseph Myers <joseph@codesourcery.com>
27879
27880 [BZ #15409]
27881 * math/s_catan.c (__catan): Handle arguments with large real or
27882 imaginary part separately without squaring.
27883 * math/s_catanf.c (__catanf): Likewise.
27884 * math/s_catanh.c (__catanh): Likewise.
27885 * math/s_catanhf.c (__catanhf): Likewise.
27886 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27887 and redefine.
27888 (__catanhl): Handle arguments with large real or imaginary part
27889 separately without squaring.
27890 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27891 and redefine.
27892 (__catanl): Handle arguments with large real or imaginary part
27893 separately without squaring.
27894 * math/libm-test.inc (catan_test): Add more tests.
27895 (catanh_test): Likewise.
27896 * sysdeps/i386/fpu/libm-test-ulps: Update.
27897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27898
4220c3ef
AJ
278992013-04-27 Andreas Jaeger <aj@suse.de>
27900
27901 [BZ #15007]
27902 * stdlib/stdlib.h: Update guards for qecvt.
27903 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27904 <stdlib.h>.
27905
4721b2d1
AM
279062013-04-27 Allan McRae <allan@archlinux.org>
27907
27908 * sysdeps/i386/fpu/libm-test-ulps: Update.
27909
f0302940
JM
279102013-04-26 Joseph Myers <joseph@codesourcery.com>
27911
9457fd95
JM
27912 [BZ #15406]
27913 * math/s_catan.c: Include <float.h>.
27914 (__catan): Ensure underflow exception occurs for underflowed
27915 result.
27916 * math/s_catanf.c: Include <float.h>.
27917 (__catanf): Ensure underflow exception occurs for underflowed
27918 result.
27919 * math/s_catanh.c: Include <float.h>.
27920 (__catanh): Ensure underflow exception occurs for underflowed
27921 result.
27922 * math/s_catanhf.c: Include <float.h>.
27923 (__catanhf): Ensure underflow exception occurs for underflowed
27924 result.
27925 * math/s_catanhl.c: Include <float.h>.
27926 (__catanhl): Ensure underflow exception occurs for underflowed
27927 result.
27928 * math/s_catanl.c: Include <float.h>.
27929 (__catanl): Ensure underflow exception occurs for underflowed
27930 result.
27931 * math/libm-test.inc (catan_test): Add more tests.
27932 (catanh_test): Likewise.
27933
f0302940
JM
27934 [BZ #15405]
27935 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27936 underflowed result.
27937 * math/s_ccoshf.c (__ccoshf): Likewise.
27938 * math/s_ccoshl.c (__ccoshl): Likewise.
27939 * math/s_csin.c (__csin): Likewise.
27940 * math/s_csinf.c (__csinf): Likewise.
27941 * math/s_csinh.c (__csinh): Likewise.
27942 * math/s_csinhf.c (__csinhf): Likewise.
27943 * math/s_csinhl.c (__csinhl): Likewise.
27944 * math/s_csinl.c (__csinl): Likewise.
27945 * math/libm-test.inc (ccos_test): Add more tests.
27946 (ccosh_test): Likewise.
27947 (csin_test): Likewise.
27948 (csinh_test): Likewise.
27949
aa630f59
AZ
279502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27951
27952 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27953 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27954 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27955 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27956 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27957 powerpc/power5+/fpu folders.
27958 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27959
27960
1b835983
MT
279612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27962
27963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27964
73709b26
JM
279652013-04-25 Joseph Myers <joseph@codesourcery.com>
27966
27967 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27968 additions to variable.
27969 [$(config-machine) = x86_64] (modules-names): Likewise.
27970 ($(objpfx)tst-audit3): Remove dependency.
27971 ($(objpfx)tst-audit3.out): Likewise.
27972 ($(objpfx)tst-audit4): Likewise.
27973 ($(objpfx)tst-audit4.out): Likewise.
27974 ($(objpfx)tst-audit5): Likewise.
27975 ($(objpfx)tst-audit5.out): Likewise.
27976 ($(objpfx)tst-audit6): Likewise.
27977 ($(objpfx)tst-audit6.out): Likewise.
27978 ($(objpfx)tst-audit7): Likewise.
27979 ($(objpfx)tst-audit7.out): Likewise.
27980 (tst-audit3-ENV): Remove variable.
27981 (tst-audit4-ENV): Likewise.
27982 (tst-audit5-ENV): Likewise.
27983 (tst-audit6-ENV): Likewise.
27984 (tst-audit7-ENV): Likewise.
27985 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27986 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27987 addition to variable.
27988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27990 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27993 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27994 tst-audit3, tst-audit4 and tst-audit5.
27995 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27996 tst-audit6 and tst-audit7.
27997 [$(subdir) = elf] (modules-names): Add audit modules for those
27998 tests.
27999 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28000 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28001 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28002 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28003 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28004 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28005 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28006 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28007 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28008 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28009 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28010 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28011 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28012 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28013 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28014 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28015 Likewise.
28016 [$(subdir) = elf && $(config-cflags-avx) = yes]
28017 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28018 [$(subdir) = elf && $(config-cflags-avx) = yes]
28019 (CFLAGS-tst-auditmod4a.c): Likewise.
28020 [$(subdir) = elf && $(config-cflags-avx) = yes]
28021 (CFLAGS-tst-auditmod4b.c): Likewise.
28022 [$(subdir) = elf && $(config-cflags-avx) = yes]
28023 (CFLAGS-tst-auditmod6b.c): Likewise.
28024 [$(subdir) = elf && $(config-cflags-avx) = yes]
28025 (CFLAGS-tst-auditmod6c.c): Likewise.
28026 [$(subdir) = elf && $(config-cflags-avx) = yes]
28027 (CFLAGS-tst-auditmod7b.c): Likewise.
28028 * elf/tst-audit3.c: Move to ...
28029 * sysdeps/x86_64/tst-audit3.c: ... here.
28030 * elf/tst-audit4.c: Move to ...
28031 * sysdeps/x86_64/tst-audit4.c: ... here.
28032 * elf/tst-audit5.c: Move to ...
28033 * sysdeps/x86_64/tst-audit5.c: ... here.
28034 * elf/tst-audit6.c: Move to ...
28035 * sysdeps/x86_64/tst-audit6.c: ... here.
28036 * elf/tst-audit7.c: Move to ...
28037 * sysdeps/x86_64/tst-audit7.c: ... here.
28038 * elf/tst-auditmod3a.c: Move to ...
28039 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28040 * elf/tst-auditmod3b.c: Move to ...
28041 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28042 * elf/tst-auditmod4a.c: Move to ...
28043 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28044 * elf/tst-auditmod4b.c: Move to ...
28045 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28046 * elf/tst-auditmod5a.c: Move to ...
28047 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28048 * elf/tst-auditmod5b.c: Move to ...
28049 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28050 * elf/tst-auditmod6a.c: Move to ...
28051 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28052 * elf/tst-auditmod6b.c: Move to ...
28053 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28054 * elf/tst-auditmod6c.c: Move to ...
28055 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28056 * elf/tst-auditmod7a.c: Move to ...
28057 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28058 * elf/tst-auditmod7b.c: Move to ...
28059 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28060
1ef74943
PP
280612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28062
28063 [BZ #15366]
28064 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28065 define unconditionally.
28066 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28067 define unconditionally.
28068 (INT8_C, INT16_C, etc.): Likewise.
28069
93fd48c5
MR
280702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28071
ae9552cf
MR
28072 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28073 __ehdr_start with hidden visibility.
28074
93fd48c5
MR
28075 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28076
418601aa
CD
280772013-04-24 Carlos O'Donell <carlos@redhat.com>
28078
28079 * math/libm-test.inc (cos_test): Use accurate hex constants.
28080 (sincost_test): Likewise.
28081
2f38fbfe
JM
280822013-04-24 Joseph Myers <joseph@codesourcery.com>
28083
5e221800
JM
28084 * math/libm-test.inc (catan_test): Add more tests.
28085 (catanh_test): Likewise.
28086
77f143fd
JM
28087 * math/s_catanf.c (__catanf): Use suffixed floating-point
28088 constants.
28089 * math/s_catanhf.c (__catanhf): Likewise.
28090 * math/s_catanhl.c (__catanhl): Likewise.
28091 * math/s_catanl.c (__catanl): Likewise.
28092
2f38fbfe
JM
28093 [BZ #15394]
28094 * math/s_catan.c (__catan): Calculate imaginary part of result
28095 with log1p not log unless computing log of number close to 0.
28096 * math/s_catanf.c (__catanf): Likewise.
28097 * math/s_catanl.c (__catanl): Likewise.
28098 * math/s_catanh.c (__catanh): Calculate real part of result with
28099 log1p not log unless computing log of number close to 0.
28100 * math/s_catanhf.c (__catanhf): Likewise.
28101 * math/s_catanhl.c (__catanhl): Likewise.
28102 * math/libm-test.inc (catan_test): Add more tests.
28103 (catanh_test): Likewise.
28104 * sysdeps/i386/fpu/libm-test-ulps: Update.
28105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28106
45d69176
SP
281072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28108
28109 * benchtests/Makefile: Mention files in which fast and slow
28110 paths of math functions are implemented.
28111
87f51853
RM
281122013-04-23 Roland McGrath <roland@hack.frob.com>
28113
28114 * sysdeps/posix/timespec_get.c: New file.
28115
3c026539
AZ
281162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28117
28118 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28119 POWER.
28120 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28121 for POWER.
28122 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28123 powerpc/power5/fpu folders.
28124 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28125 * benchtests/Makefile: Add modf testcase.
28126 * benchtests/bench-modf.c: New file: Benchmark test for mo
28127
ff491d14
SP
281282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28129
28130 [BZ #14888]
28131 * time/Makefile (tests): Add tst-strptime-whitespace.
28132 * time/strptime_l.c (get_number): Use ISSPACE.
28133 (__strptime_internal): Likewise.
28134 * time/tst-strptime-whitespace.c: New test case.
28135
7ed3f4e8
AS
281362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28137
28138 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28139 member.
28140 (_nss_files_init): Set it here.
28141
5c95f7b6
HC
281422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28143
28144 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28145 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28146 unsigned.
28147
d34c9158
JBG
281482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28149
28150 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28151
2169712d
SP
281522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28153
28154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28155 size just once.
28156
29c5de99
DM
281572013-04-21 David S. Miller <davem@davemloft.net>
28158
28159 * po/ru.po: Update Russion translation from translation project.
28160
ccdad15d
AC
281612013-04-17 Adam Conrad <adconrad@0c3.net>
28162
28163 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28164 and setfsgid.
28165
0f122b8d
CD
281662013-04-17 Carlos O'Donell <carlos@redhat.com>
28167
5c5b07da 28168 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28169 * configure: Regenerate.
5c5b07da 28170 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28171 Add example to error message.
28172 * sysdeps/i386/configure: Regenerate.
28173
037714dd
SP
281742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28175
28176 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28177 slowtan.
28178 * benchtests/cos-inputs: New file.
28179 * benchtests/slowcos-inputs: New file.
28180 * benchtests/slowcos.c: New file.
28181 * benchtests/slowtan-inputs: New file.
28182 * benchtests/slowtan.c: New file.
28183 * benchtests/tan-inputs: New file.
28184
e913141d
RM
281852013-04-16 Roland McGrath <roland@hack.frob.com>
28186
28187 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28188 considered kosher.
28189
a2964074
SP
281902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28191
4856bcd2
SP
28192 * benchtests/Makefile: Include cppflags-iterator.mk to add
28193 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28194
a2964074
SP
28195 * Makefile.in (bench-clean): New target.
28196 * benchtests/Makefile (bench-clean): Likewise.
28197
9fbf9aca
DH
281982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28199
28200 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28201
207d1e2a
TS
282022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28203
28204 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28205
306dfba9
AS
282062013-04-15 Andreas Schwab <schwab@suse.de>
28207
28208 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28209 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28210 * nscd/pwdcache.c (cache_addpw): Likewise.
28211 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28212 more than recsize.
28213
206a6699
SP
282142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28215
28216 * benchtests/Makefile (bench): Write all output to
28217 bench-out.tmp together.
28218
0582f6b3
AS
282192013-04-15 Andreas Schwab <schwab@suse.de>
28220
28221 * nscd/nscd.c (main): Don't fork again after closing files.
28222
acb4325f
SP
282232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28224
5cb26d0a
SP
28225 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28226
acb4325f
SP
28227 * benchtests/Rules (bench-deps): Collect dependencies into a
28228 single variable. Add Makefile to dependencies.
28229 ($(objpfx)bench-%.c): Depend on bench-deps.
28230
47792506
RM
282312013-04-12 Roland McGrath <roland@hack.frob.com>
28232 Xavier Roche <roche+kml2@exalead.com>
28233
28234 [BZ #15361]
28235 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28236 just that it's a file descriptor.
28237 * manual/llio.texi (Synchronizing AIO Operations): Update description
28238 for EBADF error from aio_fsync.
28239
8fc1bee5
SP
282402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28241
28242 * Rules (bench): Move target definition...
28243 * benchtests/Makefile: ... here.
28244
aba5e333
CD
282452013-04-11 Carlos O'Donell <carlos@redhat.com>
28246
28247 * math/libm-test.inc (cos_test): Fix PI/2 test.
28248 (sincos_test): Likewise.
28249 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28250 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28251
273cdee8
AS
282522013-04-11 Andreas Schwab <schwab@suse.de>
28253
6ecec3b6
AS
28254 [BZ #13988]
28255 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28256 accept exponent character only when digits were seen.
28257 * stdio-common/Makefile (tests): Add bug26.
28258 * stdio-common/bug26.c: New file.
28259
273cdee8
AS
28260 [BZ #14293]
28261 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28262 non-freeable.
28263
8da491f5
SP
282642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28265
01dc6df9
SP
28266 * Makeconfig (rtld-prefix): Define built linker prefix.
28267 * Rules (run-bench): Use it.
28268 * math/Makefile (run-regen-ulps): Likewise.
28269
8da491f5
SP
28270 * Rules (bench): Remove eval.
28271
abe7f530
SP
282722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28273 Roland McGrath <roland@hack.frob.com>
28274 Ondrej Bilka <neleai@seznam.cz>
28275
28276 [BZ #15346]
28277 * time/getdate.c: Include ctype.h and alloca.h.
28278 (__getdate_r): Trim leading and trailing spaces of input.
28279 * time/tst-getdate.c (tests): Add tests with leading and
28280 trailing spaces.
28281
61c23e62
RM
282822013-04-08 Roland McGrath <roland@hack.frob.com>
28283
28284 [BZ #14280]
28285 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28286 when computing value.
28287
7208a313
CD
282882013-04-06 Carlos O'Donell <carlos@redhat.com>
28289
085b2d41
CD
28290 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28291 Use testrun.sh to run libm tests.
28292
7208a313
CD
28293 [BZ #15309]
28294 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28295
872c0acd
MM
282962013-04-06 Marko Myllynen <myllynen@redhat.com>
28297
28298 [BZ #15264]
28299 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28300
26510bdd
CD
283012013-04-06 Carlos O'Donell <carlos@redhat.com>
28302
28303 * Makefile.in (regen-ulps): New target.
28304 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28305 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28306 [ifneq (no,$(PERL)] (regen-ulps): New target.
28307 [ifeq (no,$(PERL)] (regen-ulps): New target.
28308 * math/libm-test.inc (ulps_file_name): Define.
28309 (output_dir): New variable.
28310 (options): Add "output-dir" option.
28311 (parse_opt): Handle 'o' case.
28312 (main): If output_dir is non-NULL use it as a prefix
28313 otherwise use "".
28314 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28315
a01f19c8
CD
283162013-04-06 Carlos O'Donell <carlos@redhat.com>
28317
28318 [BZ #10060, #10062]
28319 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28320 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28321 fail configure if __sync_val_compare_and_swap is not inlined.
28322 * sysdeps/i386/configure: Regenerate.
28323 * configure.in: Build for i686 when configured for i386.
28324 * configure: Regenerate.
28325 * README: Remove i386 reference.
28326
b7a329a5
CD
283272013-04-06 Carlos O'Donell <carlos@redhat.com>
28328
28329 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28331
bf0f50df
TS
283322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28333
ee091edf
TS
28334 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28335 (lmsnanval): New variables.
28336 (F): Add conversion tests.
28337 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28338 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28339
a8b792d6
TS
28340 * stdio-common/tstdiomisc.c (F): Properly collect individual
28341 tests' results.
28342
a1cbf437
TS
28343 [BZ #14686, #15336]
28344 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28345 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28346 Instead, use input NaN values or generate a qNaN by arithmetic
28347 operation. Also fix bugs to comply with the standard.
28348 * math/libm-test.inc (remainder_test): Add more tests.
28349
8b43a0c9
TS
28350 [BZ #15335, #15342]
28351 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28353 input NaN values or generate a qNaN by arithmetic operation.
28354
d91da4ce
TS
28355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28356 unreachable code.
28357
bf0f50df
TS
28358 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28359 definitions.
28360
05e166c8
JM
283612013-04-03 Joseph Myers <joseph@codesourcery.com>
28362
28363 [BZ #14478]
28364 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28365 underflowed result.
28366 * math/s_cexpf.c (__cexpf): Likewise.
28367 * math/s_cexpl.c (__cexpl): Likewise.
28368 * math/libm-test.inc (cexp_test): Add more tests.
28369
1cef1b19
AS
283702013-04-03 Andreas Schwab <schwab@suse.de>
28371
28372 [BZ #15330]
28373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28374 order arrays from heap if bigger than alloca cutoff.
28375
74d87055
TS
283762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28377
28378 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28379 (SNAN_TESTS_double): Refer to GCC PR56831.
28380 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28381 GCC PR56828.
28382
d755bba4
SP
283832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28384
90d5d5bb
SP
28385 * Rules (bench): Move bench.out after the run is complete.
28386
73e0cd5d
SP
28387 * Rules (bench): Echo currently running benchmark.
28388
64aabd4b
SP
28389 * benchtests/Makefile (bench): Add atan and slowatan.
28390 * benchtests/atan-inputs: New file.
28391 * benchtests/slowatan-inputs: New file.
28392 * benchtests/slowatan.c: New file.
28393
c871eccd
SP
28394 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28395 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28396 its value.
28397
d755bba4
SP
28398 [BZ #15305]
28399 * sysdeps/unix/sysv/linux/kernel-features.h
28400 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28401 __ASSUME_XFS_RESTRICTED_CHOWN.
28402 * sysdeps/unix/sysv/linux/pathconf.c
28403 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28404 Save and restore errno.
28405
52ce4860
JM
284062013-04-02 Joseph Myers <joseph@codesourcery.com>
28407
28408 [BZ #15327]
28409 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28410 arguments using __kernel_casinh.
28411 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28412 arguments using __kernel_casinhf.
28413 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28414 arguments using __kernel_casinhl.
28415 * math/libm-test.inc (cacosh_test): Add more tests.
28416 * sysdeps/i386/fpu/libm-test-ulps: Update.
28417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28418
81f311c2
SP
284192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28420
e7906a47
SP
28421 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28423
92e3664b
SP
28424 * bench/Makefile (bench): Add sin and slowsin.
28425 * benchtests/sin-inputs: New file.
28426 * benchtests/slowsin-inputs: New file.
28427 * benchtests/slowsin.c: New file.
28428
81f311c2
SP
28429 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28430 (bench): Add slowexp and slowpow.
28431 (exp-ITER): Increase iterations.
28432 (pow-ITER): Likewise.
28433 * benchtests/exp-inputs: Change input.
28434 * benchtests/pow-inputs: Likewise.
28435 * benchtests/slowexp-inputs: New file.
28436 * benchtests/slowexp.c: New file.
28437 * benchtests/slowpow-inputs: New file.
28438 * benchtests/slowpow.c: New file.
28439
ab0f1aa9
AZ
284402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28441
28442 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28443 instructions.
28444 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28445 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28446 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28447 * benchtests/Makefile: Add rint benchtest.
28448 * benchtests/rint-inputs: Input for rint benchtest.
28449
57267616
TS
284502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28451
28452 * Versions.def (libm): Add GLIBC_2.18.
28453 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28454 hidden libm prototypes.
28455 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28456 * math/Makefile (libm-calls): Add s_issignaling.
28457 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28458 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28459 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28460 declaration.
28461 * math/math.h [__USE_GNU] (issignaling): New macro.
28462 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28463 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28464 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28465 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28466 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28467 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28468 * manual/arith.texi (issignaling): New section.
28469 * manual/libm-err-tab.pl (@all_functions): Update comment.
28470 * math/gen-libm-test.pl (parse_args): Apply special handling for
28471 issignaling.
28472 * math/libm-test.inc (print_float, issignaling_test): New
28473 functions.
28474 (check_float_internal): Add issignaling checks.
28475 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28476 default definition.
28477 * sysdeps/powerpc/math-tests.h: New file.
28478 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28479 tests.
28480 * math/test-snan.c (TEST_FUNC): Likewise.
28481
6142896d
DM
284822013-03-30 David S. Miller <davem@davemloft.net>
28483
28484 * po/de.po: Update from translation team.
28485
ccc8cadf
JM
284862013-03-30 Joseph Myers <joseph@codesourcery.com>
28487
28488 [BZ #10357]
28489 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28490 imaginary part less than 1.0 and real part less than 0.5
28491 specially.
28492 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28493 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28494 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28495 (cacos_test): Add more tests.
28496 (casin_test): Likewise.
28497 (casinh_test): Likewise.
28498 * sysdeps/i386/fpu/libm-test-ulps: Update.
28499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28500
0f6a8d4b
SP
285012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28502
0d1029de
SP
28503 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28504 ONE with its value.
28505
c2d94018
SP
28506 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28507 (__pow_mp): Replace ONE and MONE with their values.
28508 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28509 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28510 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28511 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28512 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28514
27ec37f1
SP
28515 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28516
a64d7e0e
SP
28517 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28518 (__pow_mp): Replace ZERO and MZERO with their values.
28519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28520 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28521 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28522 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28523 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28524 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28525 (__sqr): Likewise.
28526
d26dd3eb
SP
28527 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28528
0f6a8d4b
SP
28529 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28530
e57b0c61
RM
285312013-03-28 Roland McGrath <roland@hack.frob.com>
28532
28533 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28534 Declare with __attribute__ ((weak)).
28535 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28536 Call __call_tls_dtors only if it's not NULL.
28537
356b3480
RM
285382013-03-28 Roland McGrath <roland@hack.frob.com>
28539
288f7d79
RM
28540 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28541 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28542 magic __ehdr_start linker symbol if it's defined.
28543 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28544 them up here if it was already done.
28545
dc0a0263
RM
28546 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28547 (_dl_aux_init): Use const in cast when setting it.
28548 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28549 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28550 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28551
3d3436ae
RM
28552 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28553 Declare them here.
28554 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28555 * csu/libc-tls.c: Nor here.
28556 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28557
356b3480
RM
28558 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28559 (__libc_message): Never call vsyslog.
28560
b0f1246a
AM
285612013-03-28 Alan Modra <amodra@gmail.com>
28562
28563 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28564 Define as empty.
28565 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28566 Likewise.
28567
fbbe2b9a
AZ
285682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28569
28570 [BZ #15214]
28571 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28572 underflow.
28573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28574
1728ab37
SP
285752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28576
7a86be6e
SP
28577 [BZ #15304]
28578 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28579 Don't add gid passed as argument.
28580
1728ab37
SP
28581 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28582
3a7182a1
JM
285832013-03-27 Joseph Myers <joseph@codesourcery.com>
28584
28585 [BZ #15307]
28586 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28587 imaginary part between 1.0 and 1.5 and real part less than 0.5
28588 specially.
28589 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28590 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28591 * math/libm-test.inc (cacos_test): Add more tests.
28592 (casin_test): Likewise.
28593 (casinh_test): Likewise.
28594 * sysdeps/i386/fpu/libm-test-ulps: Update.
28595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28596
6f2e90e7
SP
285972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28598
5739f705
SP
28599 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28600 constants.
28601 (norm): Likewise.
28602 (denorm): Likewise.
28603 (__dbl_mp): Likewise.
28604 (add_magnitudes): Likewise.
28605 (sub_magnitudes): Likewise.
28606 (__add): Likewise.
28607 (__sub): Likewise.
28608 (__mul): Likewise.
28609 (__sqr): Likewise.
28610 (__inv): Likewise.
28611 (__dvd): Likewise.
28612
e375e83d
SP
28613 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28614 commented code.
28615 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28616 (__dubcos): Likewise.
28617 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28618 (__ieee754_acos): Likewise.
28619 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28620 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28621 (__exp1): Likewise.
28622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28623 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28624 (log1): Likewise.
28625 (my_log2): Likewise.
28626 (checkint): Likewise.
28627 * sysdeps/ieee754/dbl-64/e_remainder.c
28628 (__ieee754_remainder): Likewise.
28629 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28630 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28631 (bsloww): Likewise.
28632 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28633
6f2e90e7
SP
28634 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28635 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28636 MANTISSA_STORE_T to store computations on mantissa. Use
28637 macros for rounding and division.
28638 (denorm): Likewise.
28639 (__dbl_mp): Likewise.
28640 (add_magnitudes): Likewise.
28641 (sub_magnitudes): Likewise.
28642 (__mul): Likewise.
28643 (__sqr): Likewise.
28644 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28645 powers of two in terms of TWOPOW macro.
28646 (mp_no): Make type of mantissa as MANTISSA_T.
28647 [!RADIXI]: Define RADIXI.
28648 [!TWO52]: Define TWO52.
28649 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28650
fce14d4e
AZ
286512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28652
28653 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28654 llroundl symbol when building for PPC32.
28655
9ad027fb
MW
286562013-03-24 Mark H Weaver <mhw@netris.org>
28657
28658 * manual/arith.texi (Normalization Functions): Fix prototypes for
28659 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28660
e42a38dd
AZ
286612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28662
28663 [BZ #13889]
28664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28665 high value to check if expl overflow.
28666 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28667 to check for underflow and overflow.
28668 * math/libm-test.inc: Add exp test.
28669
2e0fb521
DL
286702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28671
28672 [BZ #11120]
28673 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28674 with NOT_IN_libc.
28675
b5784d95
AZ
286762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28677
28678 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28679 symbol.
28680
5aa4a1a1
TS
286812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28682
bdef0be7
TS
28683 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28684 wrap blocks consisting of several statements.
28685
5aa4a1a1
TS
28686 * sysdeps/generic/math-tests.h: New file.
28687 * sysdeps/i386/fpu/math-tests.h: Likewise.
28688 * math/test-snan.c: Include it.
28689 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28690
98c48fe5
JM
286912013-03-21 Joseph Myers <joseph@codesourcery.com>
28692
28693 [BZ #15285]
28694 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28695 (__ieee754_j0l): Do not improve calculations using cos of twice
28696 input for inputs above LDBL_MAX / 2.0L.
28697 (__ieee754_y0l): Likewise.
28698 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28699 (__ieee754_j1l): Do not improve calculations using cos of twice
28700 input for inputs above LDBL_MAX / 2.0L.
28701 (__ieee754_y1l): Likewise.
28702 * math/libm-test.inc (j0_test): Add another test.
28703 (j1_test): Likewise.
28704 (y0_test): Likewise.
28705 (y1_test): Likewise.
28706 * sysdeps/i386/fpu/libm-test-ulps: Update.
28707
3775a8bc
SP
287082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28709
28710 * Rules ($(objpfx)bench-%.c): Include code from a C source
28711 file.
28712
0a1b2ae6
JM
287132013-03-21 Joseph Myers <joseph@codesourcery.com>
28714
28715 [BZ #15287]
28716 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28717 imaginary part 1.0 and real part less than 0.5 specially.
28718 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28719 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28720 * math/libm-test.inc (cacos_test): Add more tests.
28721 (casin_test): Likewise.
28722 (casinh_test): Likewise.
28723 * sysdeps/i386/fpu/libm-test-ulps: Update.
28724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28725
b33d4ce4
SP
287262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28727
28728 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28729 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28730
bef0b507
JM
287312013-03-20 Joseph Myers <joseph@codesourcery.com>
28732
28733 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28734 * config.make.in (config-cflags-sse4): Remove variable.
28735 (config-cflags-avx): Likewise.
28736 (config-cflags-sse2avx): Likewise.
28737 (config-cflags-novzeroupper): Likewise.
28738 (config-asflags-i686): Likewise.
28739 (have-mfma4): Likewise.
28740 (have-as-vis3): Likewise.
28741 (MIG): Likewise.
28742 * configure.in (MIG): Do not AC_SUBST.
28743 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28744 (libc_cv_cc_sse4): Do not AC_SUBST.
28745 (libc_cv_cc_avx): Likewise.
28746 (libc_cv_cc_sse2avx): Likewise.
28747 (libc_cv_cc_novzeroupper): Likewise.
28748 (libc_cv_cc_fma4): Likewise.
28749 (libc_cv_as_i686): Likewise.
28750 (libc_cv_sparc_as_vis3): Likewise.
28751 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28752 LIBC_CONFIG_VAR.
28753 (config-asflags-i686): Likewise.
28754 (config-cflags-avx): Likewise.
28755 (config-cflags-sse2avx): Likewise.
28756 (have-mfma4): Likewise.
28757 (config-cflags-novzeroupper): Likewise.
28758 * sysdeps/mach/configure.in (MIG): Likewise.
28759 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28760 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28761 LIBC_CONFIG_VAR.
28762 (config-cflags-avx): Likewise.
28763 (config-cflags-sse2avx): Likewise.
28764 (have-mfma4): Likewise.
28765 (config-cflags-novzeroupper): Likewise.
28766 * configure: Regenerated.
28767 * sysdeps/i386/configure: Likewise.
28768 * sysdeps/mach/configure: Likewise.
28769 * sysdeps/sparc/configure: Likewise.
28770 * sysdeps/x86_64/configure: Likewise.
28771
912cc4b3
RM
287722013-03-20 Roland McGrath <roland@hack.frob.com>
28773
28774 [BZ #14812]
28775 * locale/programs/localedef.c (options): Put N_ translation marker
28776 on argument names, not just descriptions.
28777
04eed2b0
MS
287782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28779
28780 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28781
a065ceff
OB
287822013-03-20 Ondřej Bílka <neleai@seznam.cz>
28783
9bb2a810 28784 [BZ #14176]
a065ceff
OB
28785 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28786
a600e5ce
RM
287872013-03-19 Roland McGrath <roland@hack.frob.com>
28788
28789 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28790 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28791 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28792 [!BEFORE_ABORT] (before_abort): New function.
28793 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28794 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28795 (writev_for_fatal): New function.
28796 (WRITEV_FOR_FATAL): New macro; call that.
28797 (backtrace_and_maps): New function.
28798 (BEFORE_ABORT): New macro; call that.
28799 (struct str_list): Type removed.
28800 (__libc_message, __libc_fatal): Functions removed.
28801 Include <sysdeps/posix/libc_fatal.c> instead.
28802
6b18bea6
JM
288032013-03-19 Joseph Myers <joseph@codesourcery.com>
28804
28805 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28806 constants.
28807 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28808 double constants.
28809
aaa8cb4b
AS
288102013-03-19 Andreas Schwab <schwab@suse.de>
28811
44673770
AS
28812 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28813 * sysdeps/gnu/configure: Regenerate.
28814
aaa8cb4b
AS
28815 * configure.in: Substitute libc_cv_rtlddir.
28816 * configure: Regenerate.
28817 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28818 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28819 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28820 * elf/Makefile (install-others, CFLAGS-interp.c)
28821 (ldso_install, common-ldd-rewrite): Likewise.
28822 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28823 $(inst_slibdir)/$(rtld-installed-name).
28824 * scripts/rellns-sh: Add -p option.
28825 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28826 for source.
28827
d3cfc668
SP
288282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28829
28830 * manual/nptl.texi: Renamed to ...
28831 * manual/threads.texi: ... this.
28832 * manual/Makefile (chapters): Update.
28833
0e2b9cdd
RM
288342013-03-18 Roland McGrath <roland@hack.frob.com>
28835
28836 [BZ #14812]
28837 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28838 on argument names, not just descriptions.
0e2b9cdd
RM
28839 * malloc/memusagestat.c (options): Likewise.
28840 * nss/getent.c (options): Likewise.
63270c24
RM
28841
288422013-03-18 Benno Schulenberg <bensberg@justemail.net>
28843
28844 [BZ #14812]
28845 * iconv/iconv_prog.c (options): Put N_ translation marker
28846 on argument names, not just descriptions.
28847 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28848
b2e1393c
OB
288492013-03-18 Ondrej Bilka <neleai@seznam.cz>
28850
28851 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28852 implementation which is faster on all x86_64 architectures.
28853 Tested on AMD, Intel Nehalem, SNB, IVB.
28854 * sysdeps/x86_64/strnlen.S: Likewise.
28855
28856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28857 Remove all multiarch strlen and strnlen versions.
28858 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28859 Remove strlen and strnlen related parts.
28860
28861 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28862 Inline strlen part.
28863 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28864
28865 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28867 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28868 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28869 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28870 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28871
ec4ff04d
CD
288722013-03-17 Carlos O'Donell <carlos@redhat.com>
28873
28874 * manual/memory.texi (Malloc Tunable Parameters):
28875 Sort parameters alphabetically. Add comments for missing entries.
28876
cd18e90a
DM
288772013-03-17 David S. Miller <davem@davemloft.net>
28878
28879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28880
2a185d32
JM
288812013-03-16 Joseph Myers <joseph@codesourcery.com>
28882
d2f9799e
JM
28883 [BZ #15283]
28884 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28885 for arguments at most half maximum finite value.
28886 * math/libm-test.inc (j0_test): Add more tests.
28887 (j1_test): Likewise.
28888 (y0_test): Likewise.
28889 (y1_test): Likewise.
28890 * sysdeps/i386/fpu/libm-test-ulps: Update.
28891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28892
2a185d32
JM
28893 [BZ #14155]
28894 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28895 1 / x and functions P and Q for arguments above 0x1p256L.
28896 (__ieee754_y0l): Likewise.
28897 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28898 (__ieee754_y1l): Likewise.
28899 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28900 (j1_test): Likewise.
28901 (y0_test): Likewise.
28902 (y1_test): Likewise.
28903
6cbec759
TS
289042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28905
28906 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28907 variable.
28908
bc16e260
RM
289092013-03-15 Roland McGrath <roland@hack.frob.com>
28910
aefc9b8c
RM
28911 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28912 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28913 zero since it's initialized to EXEC_PAGESIZE.
28914
bc16e260
RM
28915 * sysdeps/unix/sysv/linux/ldsodefs.h
28916 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28917 * sysdeps/generic/ldsodefs.h: ... here.
28918
a57da955
TS
289192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28920
af00a34d
TS
28921 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28922
495ded2c
TS
28923 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28924 math/test-snan.c.
28925 * math/test-snan.c: Renamed from
28926 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28927 * math/Makefile (tests): Add test-snan.
28928 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28929 test-powerpc-snan.
28930
777b0332
TS
28931 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28932 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28933 functions.
28934 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28935 __builtin_nan family of functions.
28936 * math/libm-test.inc (initialize): Initialize qnan_value with
28937 __builtin_nan family of functions.
28938 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28939 Remove variables.
28940 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28941 Remove functions.
28942 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28943 storage class. Initialize qNaN_var and sNaN_var with
28944 __builtin_nan and __builtin_nans families of functions,
28945 respectively.
28946
64d063b8
TS
28947 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28948 (sqrt_test): Remove duplicate test with qNaN input.
28949 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28950 (round_test, signbit_test, significand_test): Note missing +/-Inf
28951 as well as qNaN tests.
28952
67e971f1
TS
28953 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28954 qNaN_var. Fix a few strings, too.
28955 * math/libm-test.inc (nan_value): Rename to qnan_value.
28956 * math/gen-libm-test.pl (%beautify): Adjust to that.
28957 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28958 * math/test-misc.c (main): Likewise.
28959 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28960 to __qnan_bytes, and __qnan_union, respectively.
28961 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28962 Likewise.
28963 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28964 and lqnanval, respectively.
28965 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28966 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28967 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28968 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28969
64487e12
TS
28970 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28971 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28972 doubles.
28973
e015e27b
TS
28974 * math/test-misc.c (main): Fix copy'n'pastos.
28975 * misc/tst-efgcvt.c (special): Likewise.
28976
a57da955
TS
28977 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28978 Remove declarations.
28979
1e380345
SP
289802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28981
28982 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28983 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28984 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28985 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28986
ef26eece
AZ
289872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28988
28989 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28990 macro to return vdso values correctly in IFUNC implementations.
28991 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28992 Optimization by using IFUNC.
28993
8cfdb7e0
SP
289942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28995 Richard Henderson <rth@redhat.com>
28996 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28997
28998 * Makefile.in (bench): New target.
28999 * NEWS: Mention the benchmark framework.
29000 * Rules (bench): Likewise.
29001 (binaries-bench): Generate binaries for functions to
29002 benchmark.
29003 * benchtests/Makefile: New makefile for benchmark tests.
29004 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29005 programs.
29006 * benchtests/exp-inputs: New input file for EXP function.
29007 * benchtests/pow-inputs: New input file for POW function.
29008 * scripts/bench.pl: New script to generate source files for
29009 benchmark programs.
29010
bcda9880
SP
290112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29012
d22ca8cd
SP
29013 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29014 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29015 computations on mantissa. Use macros for rounding and
29016 division.
29017 (denorm): Likewise.
29018 (__dbl_mp): Likewise.
29019 (add_magnitudes): Likewise.
29020 (sub_magnitudes): Likewise.
29021 (__mul): Likewise.
29022 (__sqr): Likewise.
29023 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29024 powers of two in terms of TWOPOW macro.
29025 (mp_no): Make type of mantissa as MANTISSA_T.
29026 [!RADIXI]: Define RADIXI.
29027 [!TWO52]: Define TWO52.
29028 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29029
bcda9880
SP
29030 * manual/nptl.texi (cindex): Modify threads to pthreads.
29031
06d5adfb
JM
290322013-03-15 Joseph Myers <joseph@codesourcery.com>
29033
29034 * sysdeps/x86_64/preconfigure: Regenerated.
29035
41c7328e
JM
290362013-03-14 Joseph Myers <joseph@codesourcery.com>
29037
29038 [BZ #14155]
29039 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29040 0x1p28 and above.
29041 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29042 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29043 0x1p28 and above.
29044 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29045 * math/libm-test.inc (j0_test): Do not allow one spurious
29046 underflow exception.
29047 (y1_test): Likewise.
29048
e25cfa60
SP
290492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29050
0409959c
SP
29051 * manual/Makefile (chapters): Add nptl.
29052 * manual/debug.texi (Debugging Support): Add link to Threads
29053 chapter.
29054 * manual/nptl.texi: New file.
29055
e25cfa60
SP
29056 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29057
58a1335e
PB
290582013-03-14 Petr Baudis <pasky@ucw.cz>
29059
29060 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29061 for non-NULL pointer before the memory validity test. Pointed
29062 out by Holger Brunck <holger.brunck@keymile.com>.
29063
9dc7c64f
AS
290642013-03-13 Andreas Schwab <schwab@suse.de>
29065
29066 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29067 instead of .os.
29068
54206aa6
JM
290692013-03-13 Joseph Myers <joseph@codesourcery.com>
29070
29071 * timezone/zic.c: Update from tzcode 2013b.
29072
e98cdb38
CD
290732013-03-12 Carlos O'Donell <carlos@redhat.com>
29074
29075 * manual/install.texi (Configuring and compiling):
29076 Mention i686 and i586.
29077 * INSTALL: Regenerate.
29078
9967e003
RM
290792013-03-12 Roland McGrath <roland@hack.frob.com>
29080
29081 * sysdeps/init_array/elf-init.c: New file.
29082 * csu/elf-init.c
29083 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29084 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29085
29086 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29087 __gmon_start__ as global, but as static with a .preinit_array pointer.
29088 * sysdeps/init_array/gmon-start.c: New file. Use that.
29089 * sysdeps/init_array/crti.S: New file, empty except for comments.
29090 * sysdeps/init_array/crtn.S: Likewise.
29091
e6b5a293 290922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29093
29094 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29095 definining bcopy.
80f844c9
OB
29096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29097 Remove Prefer_SSE_for_memop.
29098 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29099 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29100 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29102 memset-x86-64.
80f844c9 29103 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29104 Remove bzero, memset ifunc support.
80f844c9
OB
29105 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29109
fb6b0fcb
AS
291102013-03-11 Andreas Schwab <schwab@suse.de>
29111
29112 [BZ #15234]
29113 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29114 by SHLIB_COMPAT.
29115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29116 (GLIBC_2.16): Remove pthread_atfork.
29117
3e6bd4b1
PP
291182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29119
29120 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29121 (ptestcases.h): Likewise.
29122
222d7f00
RM
291232013-03-08 Roland McGrath <roland@hack.frob.com>
29124
29125 * Makeconfig ($(common-objpfx)config.status): Depend on
29126 sysdeps/*/preconfigure{,.in} too.
29127
1ba4f030
JM
291282013-03-08 Joseph Myers <joseph@codesourcery.com>
29129
a222d91a
JM
29130 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29131 (__free_hook): Use void * instead of __malloc_ptr_t.
29132 (__malloc_hook): Likewise.
29133 (__realloc_hook): Likewise.
29134 (__memalign_hook): Likewise.
29135 (__after_morecore_hook): Likewise.
29136 * malloc/arena.c (save_malloc_hook): Likewise.
29137 (save_free_hook): Likewise.
29138 * malloc/hooks.c (malloc_hook_ini): Likewise.
29139 (realloc_hook_ini): Likewise.
29140 (memalign_hook_ini): Likewise.
29141 * malloc/malloc.c (malloc_hook_ini): Likewise.
29142 (realloc_hook_ini): Likewise.
29143 (memalign_hook_ini): Likewise.
29144 (__free_hook): Likewise.
29145 (__malloc_hook): Likewise.
29146 (__realloc_hook): Likewise.
29147 (__memalign_hook): Likewise.
29148 (__libc_malloc): Likewise.
29149 (__libc_free): Likewise.
29150 (__libc_realloc): Likewise.
29151 (__libc_memalign): Likewise.
29152 (__libc_valloc): Likewise.
29153 (__libc_pvalloc): Likewise.
29154 (__libc_calloc): Likewise.
29155 (__posix_memalign): Likewise.
29156 * malloc/morecore.c (__sbrk): Likewise.
29157 (__default_morecore): Likewise.
29158
5cc45e10
JM
29159 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29160
dd54b864
JM
29161 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29162 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29163 __malloc_ptrdiff_t.
29164
1ba4f030
JM
29165 * malloc/malloc.h (__malloc_size_t): Remove macro.
29166 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29167 __malloc_size_t.
29168 (old_memalign_hook): Likewise.
29169 (old_realloc_hook): Likewise.
29170 (struct hdr): Likewise.
29171 (flood): Likewise.
29172 (mallochook): Likewise.
29173 (memalignhook): Likewise.
29174 (reallochook): Likewise.
29175 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29176 (tr_old_realloc_hook): Likewise.
29177 (tr_old_memalign_hook): Likewise.
29178 (tr_mallochook): Likewise.
29179 (tr_reallochook): Likewise.
29180 (tr_memalignhook): Likewise.
29181
edf66e57
AZ
291822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29183
29184 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29185 default_ldbl_pack and using as default implementation.
29186 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29187 implementation.
29188 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29189 redundant definition.
29190 (ldbl_insert_mantissa): Likewise.
29191 (ldbl_canonicalize): Likewise.
29192 (ldbl_nearbyint): Likewise.
29193 (ldbl_pack): Rename to ldbl_pack_ppc.
29194 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29195 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29196 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29197
6d9145d8
SP
291982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29199
29200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29201 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29202 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29203 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29205 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29206 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29207 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29208
4dd4e157
AJ
292092013-03-07 Andreas Jaeger <aj@suse.de>
29210
29211 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29212 bits/mman-linux.h.
29213
adbb8027
SP
292142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29215
ce544b5b
SP
29216 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29217 Include mpa.h and declare __MPEXP.
29218 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29219 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29220 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29221 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29222 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29223 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29224 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29225
4cc149fd
SP
29226 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29227 (__slowpow): Use long double EXPL and LOGL functions to
29228 compute POW.
29229 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29230 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29231 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29232 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29233 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29234 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29235
e6ebd4a7
SP
29236 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29237 intermediate variable to calculate exponent.
29238 (__sqr): Likewise.
29239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29240 Likewise.
29241 (__sqr): Likewise.
29242
82a9811d
SP
29243 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29244 [!NO__SQR]: Define __sqr.
29245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29246 and NO__SQR. Remove all code except __mul and __sqr. Include
29247 sysdeps/ieee754/dbl-64/mpa.c.
29248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29249
adbb8027
SP
29250 [BZ #12723]
29251 * posix/Makefile (tests): Add tst-pathconf.
29252 * posix/tst-pathconf.c: New test case.
29253 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29254 _PC_PIPE_BUF.
29255 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29256
39120df9
PF
292572013-03-06 Patsy Franklin <pfrankli@redhat.com>
29258
29259 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29260
67525cb8
AJ
292612013-03-06 Andreas Jaeger <aj@suse.de>
29262
664a9ce4
AJ
29263 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29264 definition via __MAP_ANONYMOUS.
29265
8e39047d
AJ
29266 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29267 it's not part of Linux headers.
29268
67525cb8
AJ
29269 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29270 (MAP_HUGE_MASK): Define.
29271
29272 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29273 Define.
29274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29275 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29276 Define.
29277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29278 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29279 Define.
29280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29281 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29282 Define.
29283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29284
29285 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29286 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29287 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29288 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29289 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29290 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29291
29292 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29293 Handle f2fs.
29294
29295 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29296 Handle f2fs and efivarfs.
29297
29298 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29299 f2fs.
29300
29301 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29302 (EFIVARFS_MAGIC): Add.
29303 (F2FS_LINK_MAX): Add.
29304
e1b42695
PP
293052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29306
29307 * stdio-common/vfprintf.c: Replace __builtin_expect with
29308 __glibc_unlikely.
29309
2d67d91a
JM
293102013-03-06 Joseph Myers <joseph@codesourcery.com>
29311
29312 [BZ #13550]
29313 * sysdeps/generic/bp-sym.h: Remove file.
29314 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29315 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29316 <bp-sym.h> and <bp-asm.h>.
29317 (__longjmp): Don't use BP_SYM.
29318 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29319 and <bp-asm.h>.
29320 (memcpy): Don't use BP_SYM.
29321 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29322 <bp-sym.h> and <bp-asm.h>.
29323 (memcpy): Don't use BP_SYM.
29324 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29325 <bp-asm.h>.
29326 (memcpy): Don't use BP_SYM.
29327 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29328 <bp-asm.h>.
29329 (memset): Don't use BP_SYM.
29330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29332 (__bzero): Don't use BP_SYM.
29333 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29334 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29336 <bp-sym.h> and <bp-asm.h>.
29337 (memcmp): Don't use BP_SYM. Remove comment about bounded
29338 pointers.
29339 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29340 <bp-sym.h> and <bp-asm.h>.
29341 (memcpy): Don't use BP_SYM.
29342 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29343 <bp-sym.h> and <bp-asm.h>.
29344 (memset): Don't use BP_SYM.
29345 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29346 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29347 (__bzero): Don't use BP_SYM.
29348 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29349 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29350 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29351 <bp-sym.h> and <bp-asm.h>.
29352 (strncmp): Don't use BP_SYM. Remove comment about bounded
29353 pointers.
29354 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29355 <bp-sym.h> and <bp-asm.h>.
29356 (memcpy): Don't use BP_SYM.
29357 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29358 <bp-sym.h> and <bp-asm.h>.
29359 (memset): Don't use BP_SYM.
29360 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29361 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29362 (__bzero): Don't use BP_SYM.
29363 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29364 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29365 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29366 <bp-sym.h> and <bp-asm.h>.
29367 (__memchr): Don't use BP_SYM.
29368 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29369 <bp-sym.h> and <bp-asm.h>.
29370 (memcmp): Don't use BP_SYM. Remove comment about bounded
29371 pointers.
29372 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29373 <bp-sym.h> and <bp-asm.h>.
29374 (memcpy): Don't use BP_SYM.
29375 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29376 <bp-sym.h> and <bp-asm.h>.
29377 (__mempcpy): Don't use BP_SYM.
29378 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29379 <bp-sym.h> and <bp-asm.h>.
29380 (__memrchr): Don't use BP_SYM.
29381 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29382 <bp-sym.h> and <bp-asm.h>.
29383 (memset): Don't use BP_SYM.
29384 (__bzero): Likewise.
29385 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29386 <bp-sym.h> and <bp-asm.h>.
29387 (__rawmemchr): Don't use BP_SYM.
29388 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29389 <bp-sym.h> and <bp-asm.h>.
29390 (__STRCMP): Don't use BP_SYM.
29391 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29392 <bp-sym.h> and <bp-asm.h>.
29393 (strchr): Don't use BP_SYM.
29394 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29395 <bp-sym.h> and <bp-asm.h>.
29396 (__strchrnul): Don't use BP_SYM.
29397 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29398 <bp-sym.h> and <bp-asm.h>.
29399 (strlen): Don't use BP_SYM.
29400 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29401 <bp-sym.h> and <bp-asm.h>.
29402 (strncmp): Don't use BP_SYM. Remove comment about bounded
29403 pointers.
29404 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29405 <bp-sym.h> and <bp-asm.h>.
29406 (__strnlen): Don't use BP_SYM.
29407 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29408 <bp-sym.h> and <bp-asm.h>.
29409 (__GI__setjmp): Don't use BP_SYM.
29410 (_setjmp): Likewise.
29411 (__sigsetjmp): Likewise.
29412 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29413 (L(start_addresses)): Don't use BP_SYM.
29414 (_start): Likewise.
29415 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29416 <bp-asm.h>.
29417 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29418 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29419 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29420 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29421 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29422 <bp-asm.h>.
29423 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29424 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29425 about bounded pointers.
29426 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29427 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29428 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29429 <bp-asm.h>.
29430 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29431 about bounded pointers. Remove GKM FIXME comments.
29432 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29433 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29434 <bp-asm.h>.
29435 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29436 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29437 Remove GKM FIXME comments.
29438 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29439 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29440 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29441 <bp-asm.h>.
29442 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29443 about bounded pointers. Remove GKM FIXME comment.
29444 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29445 and <bp-asm.h>.
29446 (strncmp): Don't use BP_SYM. Remove comment about bounded
29447 pointers.
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29449 <bp-sym.h> and <bp-asm.h>.
29450 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29452 <bp-sym.h> and <bp-asm.h>.
29453 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29454 comment.
29455
cdcf361f
PP
294562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29457
29458 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29459 call free(NULL).
29460
3c4a2b15
DM
294612013-03-05 David S. Miller <davem@davemloft.net>
29462
29463 * po/es.po: Update from translation team.
29464
cdcf361f 294652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29466
29467 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29468 <bits/mman-linux.h>.
29469 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29470 is fine.
29471 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29472 <bits/mman-linux.h> to end of file.
29473 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29474 is fine.
29475 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29476 <bits/mman-linux.h> to end of file.
29477 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29478 is fine.
29479 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29480 <bits/mman-linux.h> to end of file.
29481
29482 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29483 (MCL_CURRENT, MCL_FUTURE): Define here.
29484
5f67c04f
AK
294852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29486
8a4473cc 29487 [BZ #15232]
5f67c04f
AK
29488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29489 attribute_hidden.
29490 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29491
c3e94a95
AK
294922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29493
29494 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29495 fourth parameter needed for rt_sigprocmask syscall.
29496 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29497 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29498 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29499 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29500 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29501 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29502
cfb6382a
JM
295032013-03-04 Joseph Myers <joseph@codesourcery.com>
29504
29505 [BZ #13550]
29506 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29507 comment about bounded pointers.
29508 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29509 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29510
539d8e01
AJ
295112013-03-04 Andreas Jaeger <aj@suse.de>
29512
29513 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29514 common definitions.
29515
29516 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29517 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29518 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29519 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29521 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29522
2e167a70 295232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29524
29525 [BZ #15055]
29526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29527 __ieee754_sqrl instead of __sqrl.
29528
68508633
JM
295292013-03-01 Joseph Myers <joseph@codesourcery.com>
29530
29531 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29532 * sysdeps/powerpc/fpu_control.h: ... here.
29533 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29534 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29535 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29536 * sysdeps/powerpc/bits/mathinline.h: ... here.
29537
7775448e
RM
295382013-03-01 Roland McGrath <roland@hack.frob.com>
29539
29540 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29541 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29542 to just [NEED_DL_SYSINFO_DSO].
29543 * elf/dl-support.c: Likewise.
29544 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29545 * elf/rtld.c (dl_main): Likewise.
29546 * elf/setup-vdso.h (setup_vdso): Likewise.
29547 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29548 * sysdeps/unix/sysv/linux/dl-sysdep.c
29549 (_dl_discover_osversion): Likewise.
29550
4e9b5995
CD
295512013-03-01 Carlos O'Donell <carlos@redhat.com>
29552
29553 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29554 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29555
e23872c8
SP
295562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29557
e5c74c63
SP
29558 * NEWS: Mention libm performance improvements and non-x86 PI
29559 futex support.
29560
e23872c8
SP
29561 * csu/libc-start.c (__pthread_initialize_minimal): Change
29562 function arguments.
29563 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29564
b5510883
JM
295652013-02-28 Joseph Myers <joseph@codesourcery.com>
29566
29567 [BZ #13550]
29568 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29569 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29570 <bp-sym.h> and <bp-asm.h>.
29571 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29572 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29573 and <bp-asm.h>.
29574 (memcpy): Don't use BP_SYM.
29575 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29576 <bp-asm.h>.
29577 (__mpn_add_n): Don't use BP_SYM.
29578 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29579 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29580 and <bp-asm.h>.
29581 (__mpn_addmul_1): Don't use BP_SYM.
29582 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29583 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29584 <bp-sym.h>.
29585 (_setjmp): Don't use BP_SYM.
29586 (__novmx_setjmp): Likewise.
29587 (__GI__setjmp): Likewise.
29588 (__vmx_setjmp): Likewise.
29589 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29590 <bp-sym.h>.
29591 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29592 (__bzero): Don't use BP_SYM.
29593 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29594 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29595 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29596 <bp-sym.h> and <bp-asm.h>.
29597 (memcpy): Don't use BP_SYM.
29598 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29599 <bp-sym.h> and <bp-asm.h>.
29600 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29601 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29602 <bp-sym.h> and <bp-asm.h>.
29603 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29604 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29605 <bp-asm.h>.
29606 (__mpn_lshift): Don't use BP_SYM.
29607 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29608 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29609 <bp-asm.h>.
29610 (memset): Don't use BP_SYM.
29611 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29612 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29613 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29614 <bp-asm.h>.
29615 (__mpn_mul_1): Don't use BP_SYM.
29616 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29617 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29618 <bp-sym.h> and <bp-asm.h>.
29619 (memcmp): Don't use BP_SYM.
29620 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29621 <bp-sym.h> and <bp-asm.h>.
29622 (memcpy): Don't use BP_SYM.
29623 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29624 <bp-sym.h> and <bp-asm.h>.
29625 (memset): Don't use BP_SYM.
29626 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29627 <bp-sym.h> and <bp-asm.h>.
29628 (strncmp): Don't use BP_SYM.
29629 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29630 <bp-sym.h> and <bp-asm.h>.
29631 (memcpy): Don't use BP_SYM.
29632 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29633 <bp-sym.h> and <bp-asm.h>.
29634 (memset): Don't use BP_SYM.
29635 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29636 <bp-sym.h> and <bp-asm.h>.
29637 (__memchr): Don't use BP_SYM.
29638 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29639 <bp-sym.h> and <bp-asm.h>.
29640 (memcmp): Don't use BP_SYM.
29641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29642 <bp-sym.h> and <bp-asm.h>.
29643 (memcpy): Don't use BP_SYM.
29644 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29645 <bp-sym.h> and <bp-asm.h>.
29646 (__mempcpy): Don't use BP_SYM.
29647 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29648 <bp-sym.h> and <bp-asm.h>.
29649 (__memrchr): Don't use BP_SYM.
29650 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29651 <bp-sym.h> and <bp-asm.h>.
29652 (memset): Don't use BP_SYM.
29653 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29654 <bp-sym.h> and <bp-asm.h>.
29655 (__rawmemchr): Don't use BP_SYM.
29656 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29657 <bp-sym.h> and <bp-asm.h>.
29658 (__STRCMP): Don't use BP_SYM.
29659 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29660 <bp-sym.h> and <bp-asm.h>.
29661 (strchr): Don't use BP_SYM.
29662 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29663 <bp-sym.h> and <bp-asm.h>.
29664 (__strchrnul): Don't use BP_SYM.
29665 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29666 <bp-sym.h> and <bp-asm.h>.
29667 (strlen): Don't use BP_SYM.
29668 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29669 <bp-sym.h> and <bp-asm.h>.
29670 (strncmp): Don't use BP_SYM.
29671 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29672 <bp-sym.h> and <bp-asm.h>.
29673 (__strnlen): Don't use BP_SYM.
29674 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29675 <bp-asm.h>.
29676 (__mpn_rshift): Don't use BP_SYM.
29677 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29678 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29679 <bp-sym.h> and <bp-asm.h>.
29680 (__sigsetjmp): Don't use BP_SYM.
29681 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29682 (L(start_addresses)): Don't use BP_SYM.
29683 (_start): Likewise.
29684 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29685 <bp-asm.h>.
29686 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29687 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29688 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29689 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29690 <bp-asm.h>.
29691 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29692 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29693 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29694 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29695 <bp-asm.h>.
29696 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29697 comments.
29698 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29699 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29700 <bp-asm.h>.
29701 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29702 FIXME comments.
29703 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29704 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29705 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29706 <bp-asm.h>.
29707 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29708 comment.
29709 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29710 and <bp-asm.h>.
29711 (strncmp): Don't use BP_SYM,
29712 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29713 <bp-asm.h>.
29714 (__mpn_sub_n): Don't use BP_SYM.
29715 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29716 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29717 and <bp-asm.h>.
29718 (__mpn_submul_1): Don't use BP_SYM.
29719 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29721 <bp-sym.h> and <bp-asm.h>.
29722 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29724 <bp-sym.h> and <bp-asm.h>.
29725 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29726 comment.
29727
8d19fe64
SP
297282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29729
29730 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29731 Use ZK to minimize writes to Z.
29732 (sub_magnitudes): Simplify code a bit.
29733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29734 Use ZK to minimize writes to Z.
29735 (sub_magnitudes): Simplify code a bit.
29736
85bd816a
RM
297372013-02-27 Roland McGrath <roland@hack.frob.com>
29738
29739 * csu/gmon-start.c: Add special exception to license text.
29740
b5977bf2
RH
297412013-02-27 Richard Henderson <rth@redhat.com>
29742
29743 * scripts/config.guess: Update from config.git.
29744 * scripts/config.sub: Likewise.
29745
11d6e2f2
SP
297462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29747
09c14ed2
SP
29748 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29749
a688864e
SP
29750 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29751
6295157a
SP
29752 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29753
b8de2202
SP
29754 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29755
11d6e2f2
SP
29756 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29757
7e80ddb8
RM
297582013-02-26 Roland McGrath <roland@hack.frob.com>
29759
29760 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29761 [$(build-shared = yes].
7e80ddb8 29762
7da6d9ed
SP
297632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29764
45f05884
SP
29765 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29766 (__mul): Reduce iterations for calculating mantissa.
29767
2236d359
SP
29768 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29769 MPTWO.
29770 (__mpranred): Likewise.
29771
7da6d9ed
SP
29772 [BZ #15160]
29773 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29774 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29775
b7688c42
PE
297762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29777
29778 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29779 Define __attribute__.
29780
53a5c423
SP
297812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29782
29783 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29784 unused.
29785 * posix/regex_internal.h (__attribute): Remove.
29786 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29787 (re_string_context_at): Likewise.
29788 (bitset_not): Use __attribute__ and mark function as possibly
29789 unused.
29790 (bitset_merge): Likewise.
29791 (bitset_mask): Likewise.
29792 (re_string_char_size_at): Likewise.
29793 (re_string_wchar_at): Likewise.
29794 (re_string_elem_size_at): Likewise.
29795
60f5a8b5
SP
297962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29797
2a983a2e
SP
29798 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29799 code.
29800 (cc32): Likewise.
29801
e69804d1
SP
29802 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29803 (__acr): Likewise.
29804 (__cpy): Likewise.
29805 (norm): Likewise.
29806 (denorm): Likewise.
29807 (__dbl_mp): Likewise.
29808 (add_magnitudes): Likewise.
29809 (sub_magnitudes): Likewise.
29810 (__mul): Likewise.
29811 (__inv): Likewise.
29812
2f22a1e8
SP
29813 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29814 style.
29815
8930ddc7
SP
29816 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29817 style.
29818
dc60cb11
SP
29819 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29820 code.
29821
60f5a8b5
SP
29822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29823 up changes with default code.
29824 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29825 Likewise.
29826
b4d1fd33
AM
298272013-02-24 Allan McRae <allan@archlinux.org>
29828
faf6f8bc
AM
29829 * manual/socket.texi (The Internet Namespace): Order menu items
29830 to match that in the file.
29831
b4d1fd33
AM
29832 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29833 node listing of the info page menu.
29834
2366713d
JM
298352013-02-21 Joseph Myers <joseph@codesourcery.com>
29836
29837 [BZ #13550]
29838 * sysdeps/i386/bp-asm.h: Remove file.
29839 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29840 (PARMS): Do not use macros from bp-asm.h.
29841 (S1): Likewise.
29842 (S2): Likewise.
29843 (SIZE): Likewise.
29844 (__mpn_add_n): Do not use BP_SYM
29845 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29846 "bp-asm.h".
29847 (PARMS): Do not use macros from bp-asm.h.
29848 (S1): Likewise.
29849 (SIZE): Likewise.
29850 (__mpn_addmul_1): Do not use BP_SYM
29851 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29852 "bp-asm.h".
29853 (PARMS): Do not use macros from bp-asm.h.
29854 (SIGMSK): Likewise.
29855 (_setjmp): Likewise. Do not use BP_SYM.
29856 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29857 "bp-asm.h".
29858 (PARMS): Do not use macros from bp-asm.h.
29859 (SIGMSK): Likewise.
29860 (setjmp): Likewise. Do not use BP_SYM.
29861 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29862 "bp-asm.h".
29863 (PARMS): Do not use macros from bp-asm.h.
29864 (__frexp): Do not use BP_SYM.
29865 (frexp): Likewise.
29866 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29867 "bp-asm.h".
29868 (PARMS): Do not use macros from bp-asm.h.
29869 (__frexpf): Do not use BP_SYM.
29870 (frexpf): Likewise.
29871 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29872 "bp-asm.h".
29873 (PARMS): Do not use macros from bp-asm.h.
29874 (__frexpl): Do not use BP_SYM.
29875 (frexpl): Likewise.
29876 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29877 "bp-asm.h".
29878 (PARMS): Do not use macros from bp-asm.h.
29879 (__remquo): Do not use BP_SYM.
29880 (remquo): Likewise.
29881 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29882 "bp-asm.h".
29883 (PARMS): Do not use macros from bp-asm.h.
29884 (__remquof): Do not use BP_SYM.
29885 (remquof): Likewise.
29886 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29887 "bp-asm.h".
29888 (PARMS): Do not use macros from bp-asm.h.
29889 (__remquol): Do not use BP_SYM.
29890 (remquol): Likewise.
29891 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29892 "bp-asm.h".
29893 (PARMS): Do not use macros from bp-asm.h.
29894 (DEST): Likewise.
29895 (SRC): Likewise.
29896 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29897 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29898 "bp-asm.h".
29899 (PARMS): Do not use macros from bp-asm.h.
29900 (strlen): Do not use BP_SYM.
29901 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29902 "bp-asm.h".
29903 (PARMS): Do not use macros from bp-asm.h.
29904 (S1): Likewise.
29905 (S2): Likewise.
29906 (SIZE): Likewise.
29907 (__mpn_add_n): Do not use BP_SYM.
29908 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29909 "bp-asm.h".
29910 (PARMS): Do not use macros from bp-asm.h.
29911 (S1): Likewise.
29912 (SIZE): Likewise.
29913 (__mpn_addmul_1): Do not use BP_SYM.
29914 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29915 weak_alias.
29916 (bzero): Likewise.
29917 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29918 "bp-asm.h".
29919 (PARMS): Do not use macros from bp-asm.h.
29920 (S): Likewise.
29921 (SIZE): Likewise.
29922 (__mpn_lshift): Do not use BP_SYM.
29923 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29924 "bp-asm.h".
29925 (PARMS): Do not use macros from bp-asm.h.
29926 (DEST): Likewise.
29927 (SRC): Likewise.
29928 (LEN): Likewise.
29929 (memcpy): Likewise. Do not use BP_SYM.
29930 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29931 libc_hidden_def and weak_alias.
29932 (mempcpy): Do not use BP_SYM in weak_alias.
29933 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29934 "bp-asm.h".
29935 (PARMS): Do not use macros from bp-asm.h.
29936 (DEST): Likewise.
29937 (LEN): Likewise.
29938 [!BZERO_P] (CHR): Likewise.
29939 (memset): Likewise. Do not use BP_SYM.
29940 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29941 "bp-asm.h".
29942 (PARMS): Do not use macros from bp-asm.h.
29943 (S1): Likewise.
29944 (SIZE): Likewise.
29945 (__mpn_mul_1): Do not use BP_SYM.
29946 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29947 "bp-asm.h".
29948 (PARMS): Do not use macros from bp-asm.h.
29949 (S): Likewise.
29950 (SIZE): Likewise.
29951 (__mpn_rshift): Do not use BP_SYM.
29952 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29953 "bp-asm.h".
29954 (PARMS): Do not use macros from bp-asm.h.
29955 (STR): Likewise.
29956 (CHR): Likewise.
29957 (strchr): Likewise. Do not use BP_SYM.
29958 (index): Do not use BP_SYM in weak_alias.
29959 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29960 "bp-asm.h".
29961 (PARMS): Do not use macros from bp-asm.h.
29962 (DEST): Likewise.
29963 (SRC): Likewise.
29964 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29965 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29966 "bp-asm.h".
29967 (PARMS): Do not use macros from bp-asm.h.
29968 (strlen): Do not use BP_SYM.
29969 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29970 "bp-asm.h".
29971 (PARMS): Do not use macros from bp-asm.h.
29972 (S1): Likewise.
29973 (S2): Likewise.
29974 (SIZE): Likewise.
29975 (__mpn_sub_n): Do not use BP_SYM.
29976 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29977 "bp-asm.h".
29978 (PARMS): Do not use macros from bp-asm.h.
29979 (S1): Likewise.
29980 (SIZE): Likewise.
29981 (__mpn_submul_1): Do not use BP_SYM.
29982 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29983 "bp-asm.h".
29984 (PARMS): Do not use macros from bp-asm.h.
29985 (S1): Likewise.
29986 (S2): Likewise.
29987 (SIZE): Likewise.
29988 (__mpn_add_n): Do not use BP_SYM.
29989 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29990 weak_alias.
29991 (bzero): Likewise.
29992 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29993 "bp-asm.h".
29994 (PARMS): Do not use macros from bp-asm.h.
29995 (BLK2): Likewise.
29996 (LEN): Likewise.
29997 (memcmp): Do not use BP_SYM.
29998 (bcmp): Do not use BP_SYM in weak_alias.
29999 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30000 "bp-asm.h".
30001 (PARMS): Do not use macros from bp-asm.h.
30002 (DEST): Likewise.
30003 (SRC): Likewise.
30004 (LEN): Likewise.
30005 (memcpy): Likewise. Do not use BP_SYM.
30006 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30007 "bp-asm.h".
30008 (PARMS): Do not use macros from bp-asm.h.
30009 (DEST): Likewise.
30010 (SRC): Likewise.
30011 (LEN): Likewise.
30012 (memmove): Likewise. Do not use BP_SYM.
30013 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30014 "bp-asm.h".
30015 (PARMS): Do not use macros from bp-asm.h.
30016 (DEST): Likewise.
30017 (SRC): Likewise.
30018 (LEN): Likewise.
30019 (__mempcpy): Likewise. Do not use BP_SYM.
30020 (mempcpy): Do not use BP_SYM in weak_alias.
30021 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30022 "bp-asm.h".
30023 (PARMS): Do not use macros from bp-asm.h.
30024 (DEST): Likewise.
30025 (LEN): Likewise.
30026 [!BZERO_P] (CHR): Likewise.
30027 (memset): Likewise. Do not use BP_SYM.
30028 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30029 "bp-asm.h".
30030 (PARMS): Do not use macros from bp-asm.h.
30031 (STR2): Likewise.
30032 (strcmp): Do not use BP_SYM.
30033 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30034 "bp-asm.h".
30035 (PARMS): Do not use macros from bp-asm.h.
30036 (STR): Likewise.
30037 (DELIM): Likewise.
30038 [USE_AS_STRTOK_R] (SAVE): Likewise.
30039 (FUNCTION): Likewise. Do not use BP_SYM.
30040 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30041 aliases.
30042 (strtok_r): Likewise.
30043 (__GI___strtok_r): Likewise.
30044 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30045 (PARMS): Do not use macros from bp-asm.h.
30046 (S): Likewise.
30047 (SIZE): Likewise.
30048 (__mpn_lshift): Do not use BP_SYM.
30049 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30050 (PARMS): Do not use macros from bp-asm.h.
30051 (STR): Likewise.
30052 (CHR): Likewise.
30053 (__memchr): Do not use BP_SYM.
30054 (memchr): Do not use BP_SYM in weak_alias.
30055 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30056 (PARMS): Do not use macros from bp-asm.h.
30057 (BLK2): Likewise.
30058 (LEN): Likewise.
30059 (memcmp): Do not use BP_SYM.
30060 (bcmp): Do not use BP_SYM in weak_alias.
30061 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30062 (PARMS): Do not use macros from bp-asm.h.
30063 (S1): Likewise.
30064 (SIZE): Likewise.
30065 (__mpn_mul_1): Do not use BP_SYM.
30066 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30067 "bp-asm.h".
30068 (PARMS): Do not use macros from bp-asm.h.
30069 (STR): Likewise.
30070 (CHR): Likewise.
30071 (__rawmemchr): Do not use BP_SYM.
30072 (rawmemchr): Do not use BP_SYM in weak_alias.
30073 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30074 (PARMS): Do not use macros from bp-asm.h.
30075 (S): Likewise.
30076 (SIZE): Likewise.
30077 (__mpn_rshift): Do not use BP_SYM.
30078 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30079 (PARMS): Do not use macros from bp-asm.h.
30080 (SIGMSK): Likewise.
30081 (__sigsetjmp): Likewise. Do not use BP_SYM.
30082 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30083 (_start): Do not use BP_SYM.
30084 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30085 (PARMS): Do not use macros from bp-asm.h.
30086 (DEST): Likewise.
30087 (SRC): Likewise.
30088 (__stpcpy): Likewise. Do not use BP_SYM.
30089 (stpcpy): Do not use BP_SYM in weak_alias.
30090 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30091 "bp-asm.h".
30092 (PARMS): Do not use macros from bp-asm.h.
30093 (DEST): Likewise.
30094 (SRC): Likewise.
30095 (LEN): Likewise.
30096 (__stpncpy): Likewise. Do not use BP_SYM.
30097 (stpncpy): Do not use BP_SYM in weak_alias.
30098 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30099 (PARMS): Do not use macros from bp-asm.h.
30100 (STR): Likewise.
30101 (CHR): Likewise.
30102 (strchr): Likewise. Do not use BP_SYM.
30103 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30104 "bp-asm.h".
30105 (PARMS): Do not use macros from bp-asm.h.
30106 (STR): Likewise.
30107 (CHR): Likewise.
30108 (__strchrnul): Likewise. Do not use BP_SYM.
30109 (strchrnul): Do not use BP_SYM in weak_alias.
30110 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30111 "bp-asm.h".
30112 (PARMS): Do not use macros from bp-asm.h.
30113 (STOP): Likewise.
30114 (strcspn): Do not use BP_SYM.
30115 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30116 "bp-asm.h".
30117 (PARMS): Do not use macros from bp-asm.h.
30118 (STR): Likewise.
30119 (STOP): Likewise.
30120 (strpbrk): Likewise. Do not use BP_SYM.
30121 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30122 "bp-asm.h".
30123 (PARMS): Do not use macros from bp-asm.h.
30124 (STR): Likewise.
30125 (CHR): Likewise.
30126 (strrchr): Likewise. Do not use BP_SYM.
30127 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30128 (PARMS): Do not use macros from bp-asm.h.
30129 (SKIP): Likewise.
30130 (strspn): Do not use BP_SYM.
30131 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30132 (PARMS): Do not use macros from bp-asm.h.
30133 (STR): Likewise.
30134 (DELIM): Likewise.
30135 (SAVE): Likewise.
30136 (FUNCTION): Likewise. Do not use BP_SYM.
30137 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30138 aliases.
30139 (strtok_r): Likewise.
30140 (__GI___strtok_r): Likewise.
30141 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30142 (PARMS): Do not use macros from bp-asm.h.
30143 (S1): Likewise.
30144 (S2): Likewise.
30145 (SIZE): Likewise.
30146 (__mpn_sub_n): Do not use BP_SYM.
30147 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30148 "bp-asm.h".
30149 (PARMS): Do not use macros from bp-asm.h.
30150 (S1): Likewise.
30151 (SIZE): Likewise.
30152 (__mpn_submul_1): Do not use BP_SYM.
30153 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30154 <bp-sym.h>.
30155 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30156 and <bp-asm.h>.
30157 (PARMS): Do not use macros from bp-asm.h.
30158 (FLAGS): Likewise.
30159 (PTID): Likewise.
30160 (TLS): Likewise.
30161 (CTID): Likewise.
30162 (__clone): Do not use BP_SYM.
30163 (clone): Do not use BP_SYM in weak_alias.
30164 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30165 and <bp-asm.h>.
30166 (PARMS): Do not use macros from bp-asm.h.
30167 (LEN): Likewise.
30168 (__mmap64): Do not use BP_SYM.
30169 (mmap64): Do not use BP_SYM in weak_alias.
30170 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30171 <bp-sym.h> and <bp-asm.h>.
30172 (PARMS): Do not use macros from bp-asm.h.
30173 (__posix_fadvise64_l64): Do not use BP_SYM.
30174 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30175 (PARMS): Do not use macros from bp-asm.h.
30176 (NSOPS): Likewise.
30177 (semtimedop): Do not use BP_SYM.
30178 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30179 and <bp-asm.h>.
30180
582a3cff
AM
301812013-02-21 Allan McRae <allan@archlinux.org>
30182
30183 * manual/message.texi (Charset conversion in gettext):
30184 Move @end statement to beginning of line.
30185
bab8a695
SP
301862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30187
80945231
SP
30188 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30189 static.
30190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30191 Likewise.
30192
bab8a695
SP
30193 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30194 (denorm): Likewise.
30195 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30196 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30197
e21d7aa7
AK
301982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30199
30200 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30201 tail-call to the resolved function if pltexit isn't needed.
30202
4c7a4263
SP
302032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30204
30205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30206 or Y being zero as being unlikely.
30207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30208 Likewise.
30209
41f49342
CD
302102013-02-20 Carlos O'Donell <carlos@redhat.com>
30211
30212 * manual/nss.texi (System Databases and Name Service Switch):
30213 Remove frobnicate @pxref.
30214
50022a93
TS
302152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30216
30217 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30218 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30219
08cbd996
PM
302202013-02-20 Petr Machata <pmachata@redhat.com>
30221
30222 * elf/elf.h (R_ARM_TARGET1): New macro.
30223 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30224 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30225 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30226 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30227 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30228 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30229 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30230 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30231 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30232 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30233 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30234 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30235 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30236 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30237 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30238 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30239 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30240 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30241 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30242 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30243 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30244 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30245 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30246 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30247 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30248 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30249 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30250 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30251 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30252 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30253 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30254 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30255 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30256 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30257 (R_ARM_THM_GOT_BREL12): Likewise.
30258 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30259 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30260 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30261 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30262 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30263 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30264 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30265 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30266 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30267
c7b275d6
TS
302682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30269
30270 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30271 __attribute_used__ to __attribute__ ((unused)).
30272
20cd7fb3
SP
302732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30274
30275 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30276 powerpc mpa.c.
30277 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30278 comment formatting.
30279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30280
92945b52
JM
302812013-02-19 Joseph Myers <joseph@codesourcery.com>
30282
30283 [BZ #13550]
30284 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30285 Remove macro.
30286 (ENTER): Remove both macro definitions.
30287 (LEAVE): Likewise.
30288 (CHECK_BOUNDS_LOW): Likewise.
30289 (CHECK_BOUNDS_HIGH): Likewise.
30290 (CHECK_BOUNDS_BOTH): Likewise.
30291 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30292 (RETURN_BOUNDED_POINTER): Likewise.
30293 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30294 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30295 (POP_ERRNO_LOCATION_RETURN): Likewise.
30296 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30297 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30298 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30299 macros.
30300 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30301 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30302 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30303 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30304 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30305 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30306 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30307 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30308 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30309 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30310 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30311 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30312 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30313 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30314 removed macros.
30315 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30316 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30317 macros.
30318 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30319 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30320 * sysdeps/i386/i586/memset.S (memset): Likewise.
30321 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30322 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30323 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30324 macros.
30325 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30326 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30327 Change uses of L(2) to L(out).
30328 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30329 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30330 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30331 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30332 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30333 removed macros.
30334 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30335 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30336 macros.
30337 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30338 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30339 (RETURN): Do not use macro LEAVE.
30340 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30341 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30342 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30343 * sysdeps/i386/i686/memset.S (memset): Likewise.
30344 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30345 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30346 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30347 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30348 Likewise.
30349 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30350 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30351 L(1_2) and L(1_3) into L(1).
30352 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30353 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30354 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30355 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30356 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30357 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30358 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30359 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30360 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30361 macros.
30362 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30363 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30364 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30365 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30366 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30367 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30368 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30369 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30370 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30371 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30372 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30373 * sysdeps/i386/strspn.S (strspn): Likewise.
30374 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30375 conditional code.
30376 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30377 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30378 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30379 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30380 L(1_3) into L(1_1).
30381 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30382 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30383 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30384 macros.
30385 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30386
2389741a
JJ
303872013-02-19 Jakub Jelinek <jakub@redhat.com>
30388
30389 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30390 macro.
30391
2016b3cd
SP
303922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30393
e4f22324
SP
30394 * math/atest-exp.c (exp_mpn): Remove ROUND.
30395 * math/atest-exp2.c (exp_mpn): Likewise.
30396 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30397
2016b3cd
SP
30398 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30399 * stdlib/tst-tls-atexit-lib.c: Likewise.
30400 * stdlib/tst-tls-atexit.c: Likewise.
30401
4be9b544
MF
304022013-02-18 Mike Frysinger <vapier@gentoo.org>
30403
30404 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30405 and __attribute_alloc_size__.
30406
2f62b9ee
MF
304072013-02-18 Mike Frysinger <vapier@gentoo.org>
30408
30409 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30410 __attribute_alloc_size__.
30411 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30412 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30413
6ff444c4
MF
304142013-02-18 Mike Frysinger <vapier@gentoo.org>
30415
30416 * include/programs/xmalloc.h: New file.
30417 * catgets/gencat.c: Include it.
30418 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30419 * elf/pldd.c: Likewise.
30420 * iconv/iconv_charmap.c: Likewise.
30421 * iconv/iconvconfig.c: Likewise.
30422 * iconv/strtab.c: Likewise.
30423 * locale/programs/locale.c: Likewise.
30424 * locale/programs/localedef.h: Likewise.
30425 * locale/programs/simple-hash.c: Likewise.
30426 * nscd/nscd.h: Likewise.
30427 * nss/makedb.c: Likewise.
30428 * sysdeps/generic/ldconfig.h: Likewise.
30429
be179c8a
SP
304302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30431
ba384f6e
SP
30432 * Versions.def: Add GLIBC_2.18.
30433 * include/link.h (struct link_map): New member l_tls_dtor_count.
30434 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30435 (__call_tls_dtors): Likewise.
30436 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30437 __cxa_thread_atexit_impl.
30438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30439 Likewise.
30440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30441 Likewise.
30442 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30443 Likewise.
30444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30445 Likewise.
30446 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30448 Likewise.
30449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30450 Likewise.
30451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30453 Likewise.
30454 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30455 (tests): Add test case tst-tls-atexit.
30456 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30457 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30458 (GLIBC_PRIVATE): Add __call_tls_dtors.
30459 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30460 for libstdc++.
30461 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30462 * stdlib/tst-tls-atexit.c: New test case.
30463 * stdlib/tst-tls-atexit-lib.c: New test case.
30464
ffaa74cf 30465 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30466
be179c8a
SP
30467 * elf/Versions (ld): Add _dl_find_dso_for_object.
30468 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30469 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30470 (dl_open_worker): Use _dl_find_dso_for_object.
30471 * elf/dl-sym.c (do_sym): Likewise.
30472 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30473
f78b5caa
AK
304742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30475
30476 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30477 Syntactic changes only.
30478 (_dl_runtime_profile): Do a tail-call to the resolved function.
30479
29691210
JM
304802013-02-17 Joseph Myers <joseph@codesourcery.com>
30481
30482 [BZ #13550]
30483 * sysdeps/x86_64/bp-asm.h: Remove file.
30484 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30485 <bp-sym.h> and <bp-asm.h>.
30486 (__clone): Do not use BP_SYM.
30487 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30488 <bp-sym.h> and <bp-asm.h>.
30489 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30490 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30491 "bp-asm.h".
30492 (_setjmp): Do not use BP_SYM.
30493 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30494 "bp-asm.h".
30495 (setjmp): Do not use BP_SYM.
30496 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30497 libc_hidden_def.
30498 (mempcpy): Do not use BP_SYM in weak_alias.
30499 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30500 "bp-asm.h".
30501 (strchr): Do not use BP_SYM.
30502 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30503 "bp-asm.h".
30504 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30505 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30506 (_start): Do not use BP_SYM.
30507 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30508 "bp-asm.h".
30509 (strcat): Do not use BP_SYM.
30510 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30511 "bp-asm.h".
30512 (STRCMP): Do not use BP_SYM.
30513 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30514 "bp-asm.h".
30515 (STRCPY): Do not use BP_SYM.
30516 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30517 "bp-asm.h".
30518 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30519 "bp-asm.h".
30520 (FUNCTION): Do not use BP_SYM.
30521 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30522 weak_alias.
30523 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30524
f238fd19
AJ
305252013-02-17 Andreas Jaeger <aj@suse.de>
30526
30527 * time/Versions: Sort entries.
30528 * string/Versions: Likewise.
30529 * resolv/Versions: Likewise.
30530 * posix/Versions: Likewise.
30531 * iconv/Versions: Likewise.
30532 * elf/Versions: Likewise.
30533 * wcsmbs/Versions: Likewise.
30534
bd07f23c 305352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30536
22af19f9
SP
30537 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30538 loop termination condition.
30539
4709fe76
SP
30540 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30541 variable to calculate EZ.
30542 (__sqr): Likewise.
2d0e0f29
SP
30543
30544 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30545 the lower precision input.
30546
daaa7713
JM
305472013-02-15 Joseph Myers <joseph@codesourcery.com>
30548
30549 [BZ #13550]
30550 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30551 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30552 (run-via-rtld-prefix): Do not handle %-bp tests.
30553 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30554 (all-object-suffixes): Remove .ob.
30555 (bppfx): Remove variable.
30556 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30557 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30558 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30559 [$(build-bounded) = yes] (libtype.ob): Likewise.
30560 * Makerules (elide-routines.ob): Remove variable.
30561 (do-tests-clean): Do not handle *-bp.out.
30562 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30563 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30564 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30565 (tests): Do not include $(tests-bp.out).
30566 (xtests): Do not include $(xtests-bp.out).
30567 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30568 [$(build-bounded) = yes] ($(addprefix
30569 $(objpfx),$(binaries-bounded))): Remove rule.
30570 ($(objpfx)%-bp.out): Remove rule.
30571 * config.make.in (build-bounded): Remove variable.
30572 * crypt/Makefile [$(build-bounded) = yes]
30573 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30574 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30575 append to variable.
30576 [$(build-bounded) = yes] (install-lib): Likewise.
30577 [$(build-bounded) = yes] (generated): Likewise.
30578 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30579 Remove rule.
30580 * intl/Makefile [$(build-bounded) = yes]
30581 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30582 * math/Makefile [$(build-bounded) = yes]
30583 ($(tests:%=$(objpfx)%-bp): Likewise.
30584 * misc/Makefile [$(build-bounded) = yes]
30585 ($(objpfx)tst-tsearch-bp): Likewise.
30586 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30587 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30588 Remove dependency.
30589 * string/Makefile (o-objects.ob): Remove variable.
30590 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30591 (CFLAGS-.ob): Remove variable.
30592 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30593 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30594 both definitions of variable.
30595 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30596 (ASFLAGS-.ob): Remove variable.
30597
e97ed6dd
JM
305982013-02-14 Joseph Myers <joseph@codesourcery.com>
30599
2bdd4ca6
JM
30600 [BZ #13550]
30601 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30602 Remove __BOUNDED_POINTERS__ from condition.
30603 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30604 * string/bits/string2.h [!__NO_STRING_INLINES &&
30605 !__BOUNDED_POINTERS__]: Likewise.
30606 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30607 Likewise.
30608 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30609 Remove conditional code.
30610 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30611 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30612 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30613 condition.
30614
e97ed6dd
JM
30615 [BZ #13550]
30616 * csu/libc-start.c: Do not include <bp-sym.h>.
30617 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30618 * elf/dl-open.c: Do not include <bp-sym.h>.
30619 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30620 * math/fegetenv.c: Do not include <bp-sym.h>.
30621 (fegetenv): Do not use BP_SYM in versioned symbols.
30622 * nptl/sysdeps/pthread/bits/libc-lockP.h
30623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30624 <bp-sym.h>.
30625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30626 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30628 (__pthread_mutex_destroy): Likewise.
30629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30630 (__pthread_mutex_lock): Likewise.
30631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30632 (__pthread_mutex_trylock): Likewise.
30633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30634 (__pthread_mutex_unlock): Likewise.
30635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30636 (__pthread_mutexattr_init): Likewise.
30637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30638 (__pthread_mutexattr_destroy): Likewise.
30639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30640 (__pthread_mutexattr_settype): Likewise.
30641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30642 (__pthread_rwlock_init): Likewise.
30643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30644 (__pthread_rwlock_destroy): Likewise.
30645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30646 (__pthread_rwlock_rdlock): Likewise.
30647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30648 (__pthread_rwlock_tryrdlock): Likewise.
30649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30650 (__pthread_rwlock_wrlock): Likewise.
30651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30652 (__pthread_rwlock_trywrlock): Likewise.
30653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30654 (__pthread_rwlock_unlock): Likewise.
30655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30656 (__pthread_key_create): Likewise.
30657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30658 (__pthread_setspecific): Likewise.
30659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30660 (__pthread_getspecific): Likewise.
30661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30662 Likewise.
30663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30664 (_pthread_cleanup_push_defer): Likewise.
30665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30666 (_pthread_cleanup_pop_restore): Likewise.
30667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30668 (pthread_setcancelstate): Likewise.
30669 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30670 <bp-sym.h>.
30671 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30672 (memchr): Do not use BP_SYM in weak_alias.
30673 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30674 (fegetenv): Do not use BP_SYM in versioned symbols.
30675 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30676 (fesetenv): Do not use BP_SYM in versioned symbols.
30677 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30678 (feupdateenv): Do not use BP_SYM in versioned symbols.
30679 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30680 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30681 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30682 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30683 (open64): Do not use BP_SYM in weak_alias.
30684 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30685 (fegetenv): Do not use BP_SYM in versioned symbols.
30686 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30687 (fesetenv): Do not use BP_SYM in versioned symbols.
30688 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30689 (feupdateenv): Do not use BP_SYM in versioned symbols.
30690 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30691 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30692 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30693 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30694 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30695 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30696 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30697 <bp-sym.h>.
30698 (__libc_start_main): Do not use BP_SYM.
30699
d6752ccd
SP
307002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30701
cb57ce60
SP
30702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30703 redundant return line.
30704 (norm): Likewise.
30705 (denorm): Likewise.
30706 (dbl_mp): Likewise.
30707 (sub_magnitudes): Likewise.
30708 (__add): Likewise.
30709 (__sub): Likewise.
30710 (__mul): Likewise.
30711 (__inv): Likewise.
30712 (__dvd): Likewise.
30713 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30714 (norm): Likewise.
30715 (denorm): Likewise.
30716 (dbl_mp): Likewise.
30717 (sub_magnitudes): Likewise.
30718 (__add): Likewise.
30719 (__sub): Likewise.
30720 (__mul): Likewise.
30721 (__inv): Likewise.
30722 (__dvd): Likewise.
30723
f414520d
SP
30724 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30725 instead of __mul.
30726 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30727 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30728 (cc32): Likewise.
30729
d6752ccd
SP
30730 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30731 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30732 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30733 of __mul for squares.
30734 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30735 function
30736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30737 Likewise.
30738 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30740
70d9946a
JM
307412013-02-13 Joseph Myers <joseph@codesourcery.com>
30742
30743 [BZ #13550]
30744 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30745 code.
30746 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30747 prototype or function definition. Rename ubp_* variables and
30748 parameters. Remove argv definitions conditional on
30749 [__BOUNDED_POINTERS__].
30750 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30751 * elf/dl-runtime.c (_dl_fixup): Likewise.
30752 * include/set-hooks.h (RUN_HOOK): Likewise.
30753 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30754 definition.
30755 * string/strcpy.c (strcpy): Do not use __unbounded.
30756 * sysdeps/generic/frame.h (struct layout): Likewise.
30757 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30758 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30759 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30760 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30761 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30762 (__backtrace): Likewise.
30763 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30764 use __ptrvalue.
30765 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30766 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30767 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30768 Likewise.
30769 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30770 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30771 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30772 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30773 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30774 Do not use __unbounded.
30775 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30776 Rename __unboundedrlimits parameter to rlimits in prototype.
30777 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30778 Do not use __unbounded.
30779 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30780 not use __ptrvalue.
30781 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30782 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30783 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30784 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30785 __ptrvalue or __unbounded.
30786 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30787 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30788 use __unbounded.
30789 (__new_msgctl): Do not use __ptrvalue.
30790 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30791 __unbounded.
30792 (__libc_msgrcv): Do not use __ptrvalue.
30793 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30794 startup_info): Do not use __unbounded.
30795 (__libc_start_main): Likewise. Rename ubp_* variables and
30796 parameters. Remove argv definitions conditional on
30797 [__BOUNDED_POINTERS__].
30798 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30799 __ptrvalue.
30800 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30801 use __unbounded.
30802 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30803 or __ptrvalue.
30804 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30805 use __unbounded.
30806 (__new_shmctl): Do not use __ptrvalue.
30807 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30808 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30809 Likewise.
30810 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30811 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30812 (__libc_sigaction): Likewise.
30813 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30814 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30815 Likewise.
30816 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30817
cc7834d6
OB
308182013-02-13 Ondřej Bílka <neleai@seznam.cz>
30819
ffb1ec7b 30820 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30821
30822 * string/mempcpy.c: Implement by calling memcpy.
30823
bdf02814
SP
308242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30825
c2af38aa
SP
30826 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30827
4e92d59e
SP
30828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30829 evaluation.
30830
909279a5
SP
30831 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30832 values in the mantissa.
30833
bdf02814
SP
30834 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30835 minimize writes to Z.
30836 (sub_magnitudes): Simplify code a bit.
30837
cd525923
RM
308382013-02-12 Roland McGrath <roland@hack.frob.com>
30839
30840 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30841 from the message. The linker prefixes all warnings with that already.
30842
7e2f0d2d
AS
308432013-02-12 Andreas Schwab <schwab@suse.de>
30844
a445af0b
AS
30845 [BZ #15078]
30846 * posix/regexec.c (extend_buffers): Add parameter min_len.
30847 (check_matching): Pass minimum needed length.
30848 (clean_state_log_if_needed): Likewise.
30849 (get_subexp): Likewise.
30850 * posix/Makefile (tests): Add bug-regex34.
30851 (bug-regex34-ENV): Define.
30852 * posix/bug-regex34.c: New file.
30853
7e2f0d2d
AS
30854 [BZ #11561]
30855 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30856 elements compare against the byte sequence of it, not its name.
30857 * posix/Makefile (tests): Add bug-regex35.
30858 (bug-regex35-ENV): Define.
30859 * posix/bug-regex35.c: New file.
30860
a175b684
TV
308612013-02-11 Tom de Vries <tom@codesourcery.com>
30862
30863 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30864 comment.
30865 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30866 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30867 (CHECK_EOL): Add undef.
30868
310998fe 308692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30870
30871 * bits/stdlib-bsearch.h: New file.
30872 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30873 * stdlib/stdlib.h: Likewise.
41eda41d 30874
8ded91fb
RM
308752013-02-11 Roland McGrath <roland@hack.frob.com>
30876
30877 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30878 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30879 declaration.
30880 * manual/search.texi (Array Search Function): Add missing const in
30881 lfind prototype.
30882 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30883 declaration to use rlim_t.
30884 (Basic Scheduling Functions): Remove erroneous const from
30885 sched_getparam prototype. Remove erroneous * from
30886 sched_get_priority_max and sched_get_priority_min prototypes.
30887 (Resource Usage): Fix summary @comment on vtimes to refer to
30888 sys/vtimes.h rather than vtimes.h.
30889 Add missing *s in vtimes prototype.
30890 (Limits on Resources): Fix ulimit prototype to return long int.
30891 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30892 prototypes to use long int rather than double.
30893 (BSD Random): Fix initstate and setstate to use char *, not void *.
30894 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30895 prototype to make second argument 'struct aiocb64 *const[]'.
30896 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30897 (Status of AIO Operations): Remove erroneous const in aio_return and
30898 aio_return64 prototypes.
30899 (Synchronizing I/O): Fix sync prototype to return void.
30900 * manual/startup.texi (Suboptions): Remove an erroneous const in
30901 getsubopt prototype.
30902 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30903 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30904 use size_t rather than int.
30905 (Scanning All Users): Likewise for getpwent_r.
30906 (Setting Groups): Add missing const to setgroups prototype.
30907 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30908 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30909 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30910 'const void *' rather than 'const char *'.
30911 (Host Address Functions): Likewise for inet_ntop.
30912 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30913 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30914 ssize_t for return value.
30915 (Sending Data): Likewise for send, sendto, sendmsg.
30916 (Socket Option Functions): Add a missing const in setsockopt prototype.
30917 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30918 use wchar_t for the argument.
30919 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30920 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30921 take no arguments.
30922 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30923 double/float/long double for second argument.
30924 Fix return types of significand, significandf, significandl.
30925 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30926 argument in fchmod prototype.
30927 (File Owner): Use uid_t and gid_t in fchown prototype.
30928 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30929 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30930 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30931 use 'const struct dirent **' as argument types to CMP function pointer
30932 argument.
30933 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30934 (File Times): Fix summary magic @comment for struct utimbuf and utime
30935 to refer to utime.h, not time.h.
30936 * manual/string.texi (Argz Functions): Add missing const in
30937 argz_extract and argz_next prototypes.
30938 (Finding Tokens in a String): Likewise for basename.
30939 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30940 (Copying and Concatenation): Fix typo in wmemmove prototype.
30941 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30942 (Signal Stack): Remove erroneous const in sigstack prototype.
30943 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30944 prototype.
30945 (Simple Calendar Time): Likewise for stime.
30946 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30947 prototype.
30948 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30949 say sys/sysctl.h instead.
30950 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30951 and vsyslog prototypes.
30952
fe77fe6d
TV
309532013-02-11 Tom de Vries <tom@codesourcery.com>
30954
30955 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30956 Remove.
30957
3a09b620
RM
309582013-02-11 Roland McGrath <roland@hack.frob.com>
30959
30960 * misc/sys/mman.h: Fix typo in mremap comment.
30961
550a0b89
RM
309622013-02-08 Roland McGrath <roland@hack.frob.com>
30963
30964 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30965 the '\0' terminator.
30966
a2da1673
JM
309672013-02-08 Joseph Myers <joseph@codesourcery.com>
30968
30969 [BZ #13550]
30970 * debug/segfault.c: Don't include <bp-checks.h>.
30971 * sysdeps/generic/bp-checks.h: Remove file.
30972 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30973 (__GETDENTS): Don't use CHECK_N.
30974 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30975 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30976 (__getgroups): Don't use CHECK_N.
30977 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30978 (setgroups): Don't use CHECK_N.
30979 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30980 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30981 (__libc_msgrcv): Don't use CHECK_N.
30982 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30983 (__libc_msgsnd): Don't use CHECK_N.
30984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30985 <bp-checks.h>.
30986 (__libc_pread): Don't use CHECK_N.
30987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30988 include <bp-checks.h>.
30989 (__libc_pread64): Don't use CHECK_N.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30991 include <bp-checks.h>.
30992 (__libc_pwrite): Don't use CHECK_N.
30993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30994 include <bp-checks.h>.
30995 (__libc_pwrite64): Don't use CHECK_N.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30997 <bp-checks.h>.
30998 (__libc_pread): Don't use CHECK_N.
30999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31000 include <bp-checks.h>.
31001 (__libc_pread64): Don't use CHECK_N.
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31003 include <bp-checks.h>.
31004 (__libc_pwrite): Don't use CHECK_N.
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31006 include <bp-checks.h>.
31007 (__libc_pwrite64): Don't use CHECK_N.
31008 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31009 (do_pread): Don't use CHECK_N.
31010 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31011 (do_pread64): Don't use CHECK_N.
31012 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31013 (do_pwrite): Don't use CHECK_N.
31014 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31015 (do_pwrite64): Don't use CHECK_N.
31016 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31017 (__libc_readv): Don't use CHECK_N.
31018 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31019 (semop): Don't use CHECK_N.
31020 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31021 <bp-checks.h>.
31022 (semtimedop): Don't use CHECK_N.
31023 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31024 (__libc_pread): Don't use CHECK_N.
31025 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31026 <bp-checks.h>.
31027 (__libc_pread64): Don't use CHECK_N.
31028 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31029 <bp-checks.h>.
31030 (__libc_pwrite): Don't use CHECK_N.
31031 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31032 <bp-checks.h>.
31033 (__libc_pwrite64): Don't use CHECK_N.
31034 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31035 <bp-checks.h>.
31036 (__libc_msgrcv): Don't use CHECK_N.
31037 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31038 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31039 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31040 (__libc_writev): Don't use CHECK_N.
31041
b84660a8
RM
310422013-02-08 Roland McGrath <roland@hack.frob.com>
31043
7f3e75f8
RM
31044 * string/strcpy.c: Removed unused variable.
31045
b84660a8
RM
31046 * Makeconfig (+sysdep-includes): Define with := rather than =.
31047 Use an existing include/ subdir of each sysdeps dir before it.
31048
471514d3
CD
310492013-02-08 Carlos O'Donell <carlos@redhat.com>
31050
31051 * nscd/connection.c (register_traced_file): Comment function.
31052 [HAVE_INOTIFY] (union __inev): Define.
31053 [HAVE_INOTIFY] (inotify_check_files): New function.
31054 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31055 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31056 clear_db_cache.
31057 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31058
b2d3c3be
CD
310592013-02-08 Carlos O'Donell <carlos@redhat.com>
31060
31061 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31062 loaded if not already and that a failure is permanent.
31063
b39949d2
CD
310642013-02-08 Carlos O'Donell <carlos@redhat.com>
31065
ddacd1db 31066 [BZ #15006]
b39949d2
CD
31067 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31068 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31069
b2c9eff4
JM
310702013-02-08 Joseph Myers <joseph@codesourcery.com>
31071
f3aae3f3
JM
31072 [BZ #13550]
31073 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31074 (CHECK_1_NULL_OK): Likewise.
31075 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31076 (__fxstat): Do not use CHECK_1.
31077 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31078 <bp-checks.h>.
31079 (___fxstat64): Do not use CHECK_1.
31080 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31081 <bp-checks.h>.
31082 (__fxstatat): Do not use CHECK_1.
31083 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31084 <bp-checks.h>.
31085 (__fxstatat64): Do not use CHECK_1.
31086 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31087 <bp-checks.h>.
31088 (__fxstat): Do not use CHECK_1.
31089 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31090 <bp-checks.h>.
31091 (__fxstatat): Do not use CHECK_1.
31092 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31093 <bp-checks.h>.
31094 (__getresgid): Do not use CHECK_1.
31095 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31096 <bp-checks.h>.
31097 (__getresuid): Do not use CHECK_1.
31098 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31099 <bp-checks.h>.
31100 (__lxstat): Do not use CHECK_1.
31101 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31102 <bp-checks.h>.
31103 (__old_msgctl): Do not use CHECK_1.
31104 (__new_msgctl): Likewise.
31105 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31106 <bp-checks.h>.
31107 (__new_setrlimit): Do not use CHECK_1.
31108 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31109 <bp-checks.h>.
31110 (__old_shmctl): Do not use CHECK_1.
31111 (__new_shmctl): Likewise.
31112 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31113 <bp-checks.h>.
31114 (__xstat): Do not use CHECK_1.
31115 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31116 (__lxstat): Do not use CHECK_1.
31117 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31118 <bp-checks.h>.
31119 (___lxstat64): Do not use CHECK_1.
31120 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31121 (__old_msgctl): Do not use CHECK_1.
31122 (__new_msgctl): Likewise.
31123 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31124 <bp-checks.h>.
31125 (__gettimeofday): Do not use CHECK_1.
31126 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31127 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31128 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31129 <bp-checks.h>.
31130 (__gettimeofday): Do not use CHECK_1.
31131 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31132 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31133 (__new_shmctl): Do not use CHECK_1.
31134 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31135 <bp-checks.h>.
31136 (do_sigtimedwait): Do not use CHECK_1.
31137 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31138 <bp-checks.h>.
31139 (do_sigwaitinfo): Do not use CHECK_1.
31140 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31141 <bp-checks.h>.
31142 (msgctl): Do not use CHECK_1.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31144 <bp-checks.h>.
31145 (shmctl): Do not use CHECK_1.
31146 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31147 (ustat): Do not use CHECK_1.
31148 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31149 <bp-checks.h>.
31150 (__fxstat): Do not use CHECK_1.
31151 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31152 <bp-checks.h>.
31153 (__fxstatat): Do not use CHECK_1.
31154 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31155 <bp-checks.h>.
31156 (__lxstat): Do not use CHECK_1.
31157 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31158 <bp-checks.h>.
31159 (__xstat): Do not use CHECK_1.
31160 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31161 (__xstat): Do not use CHECK_1.
31162 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31163 (___xstat64): Do not use CHECK_1.
31164
b2c9eff4
JM
31165 [BZ #13550]
31166 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31167 definitions.
31168 (CHECK_BOUNDS_HIGH): Likewise.
31169 * string/strcpy.c: Do not include <bp-checks.h>.
31170 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31171
f1d70dad
RM
311722013-02-07 Roland McGrath <roland@hack.frob.com>
31173
31174 * nscd/nscd-client.h (__nscd_drop_map_ref):
31175 Add __attribute__ ((unused)).
31176 * nis/nss-nisplus.h (niserr2nss): Likewise.
31177
31178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31179 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31180
31181 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31182 Remove inline keyword.
31183 * include/rounding-mode.h (round_away): Likewise.
31184 * libio/wfileops.c (adjust_wide_data): Likewise.
31185 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31186 (__m128i_strloadu_tolower): Likewise.
31187 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31188 (__m128i_strloadu_tolower): Likewise.
31189 * time/mktime.c (ydhms_diff): Likewise.
31190 * locale/elem-hash.h (elem_hash): Likewise.
31191 * locale/setlocale.c (setdata): Likewise.
31192 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31193 (re_string_wchar_at): Likewise.
31194 (bitset_not, bitset_merge, bitset_mask): Likewise.
31195 [!(__GNUC__ > 3)] (inline): Remove macro.
31196 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31197 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31198 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31199 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31200 * string/memcmp.c (memcmp_bytes): Likewise.
31201 * locale/programs/locarchive.c (compute_hashval): Likewise.
31202 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31203 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31204 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31205 * nss/getent.c (print_rpc, print_protocols): Likewise.
31206 (print_passwd, print_group, print_aliases): Likewise.
31207 * nis/nss-nisplus.h (niserr2nss): Likewise.
31208 * nscd/connections.c (restart_p): Likewise.
31209 Change return type to bool.
31210
eab55bfb
RM
312112013-02-05 Roland McGrath <roland@hack.frob.com>
31212
7bd642f5
RM
31213 * Makeconfig (all-Depend-files): Add existing
31214 $(sorted-subdirs:=/Depend) files.
31215 (all-subdirs): Remove nss.
31216 * sysdeps/unix/inet/Subdirs: Add it here instead.
31217 * hesiod/Depend: New file.
31218
573c29b2
RM
31219 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31220 instead of calling alloca.
31221
b2e25af0
RM
31222 * io/lseek.c (__lseek): Rename to __libc_lseek.
31223 Define __lseek as an alias.
31224
eab55bfb
RM
31225 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31226
9a0d1941
CD
312272013-02-04 Carlos O'Donell <carlos@redhat.com>
31228
31229 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31230 else clause and remove check for non-standard endianness.
31231
b83bbec4
DM
312322013-02-04 David S. Miller <davem@davemloft.net>
31233
31234 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31235
6277fdab
JM
312362013-02-04 Joseph Myers <joseph@codesourcery.com>
31237
31238 [BZ #13550]
31239 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31240 (__ubp_memchr): Remove prototype.
31241 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31242 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31243 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31244 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31245 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31246 Remove alias.
31247 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31248 (__ubp_memchr): Likewise.
31249 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31250 (__ubp_memchr): Likewise.
31251 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31252 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31253 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31254 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31255 CHECK_STRING.
31256 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31257 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31258 (__getcwd): Do not use CHECK_STRING.
31259 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31260 <bp-checks.h>.
31261 (__real_chown): Do not use CHECK_STRING.
31262 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31263 <bp-checks.h>.
31264 (fchownat): Do not use CHECK_STRING.
31265 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31266 CHECK_STRING.
31267 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31268 <bp-checks.h>.
31269 (__lchown): Do not use CHECK_STRING.
31270 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31271 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31272 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31273 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31275 include <bp-checks.h>.
31276 (truncate64): Do not use CHECK_STRING.
31277 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31278 <bp-checks.h>.
31279 (__real_chown): Do not use CHECK_STRING.
31280 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31281 <bp-checks.h>.
31282 (__lchown): Do not use CHECK_STRING.
31283 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31284 <bp-checks.h>.
31285 (__chown): Do not use CHECK_STRING.
31286 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31287 <bp-checks.h>.
31288 (truncate64): Do not use CHECK_STRING.
31289 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31290 Likewise.
31291 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31292 (__xmknod): Do not use CHECK_STRING.
31293 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31294 <bp-checks.h>.
31295 (__xmknodat): Do not use CHECK_STRING.
31296 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31297 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31298
903ae060
AS
312992013-02-04 Andreas Schwab <schwab@suse.de>
31300
31301 [BZ #14142]
31302 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31303 * include/netdb.h: Likewise for h_errno.
31304 * elf/tst-stackguard1.c: Include <tls.h>.
31305
542f9466
JK
313062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31307
31308 * elf/link.h (struct link_map): Extend the l_addr comment.
31309 * include/link.h (struct link_map): Likewise.
31310
e782a927
JM
313112013-02-01 Joseph Myers <joseph@codesourcery.com>
31312
31313 [BZ #13550]
31314 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31315 (BOUNDED_1): Remove macro.
31316 * debug/backtrace.c: Don't include <bp-checks.h>.
31317 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31318 (__backtrace): Likewise.
31319 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31320 <bp-checks.h>.
31321 (__backtrace): Don't use BOUNDED_1.
31322 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31323 <bp-checks.h>.
31324 (__backtrace): Don't use BOUNDED_1.
31325 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31326 (__backtrace): Don't use BOUNDED_1.
31327 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31328 (shmat): Don't use BOUNDED_N.
31329
8cf28c5e
JM
313302013-01-31 Joseph Myers <joseph@codesourcery.com>
31331
3a7ac8a0
JM
31332 [BZ #13550]
31333 * sysdeps/generic/bp-start.h: Remove file.
31334 * csu/libc-start.c: Don't include <bp-start.h>.
31335 (LIBC_START_MAIN): Set up __environ directly instead of using
31336 INIT_ARGV_and_ENVIRON.
31337 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31338 <bp-start.h>.
31339
f3499f95
JM
31340 [BZ #13550]
31341 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31342 definitions.
31343 (CHECK_FCNTL): Likewise.
31344 (CHECK_N_PAGES): Likewise.
31345
32a45bea
JM
31346 [BZ #13550]
31347 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31348 definitions.
31349 (CHECK_SIGSET_NULL_OK): Likewise.
31350 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31351 <bp-checks.h>.
31352 (sigpending): Don't use CHECK_SIGSET.
31353 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31354 <bp-checks.h>.
31355 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31356 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31357 <bp-checks.h>.
31358 (do_sigsuspend): Don't use CHECK_SIGSET.
31359 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31360 use CHECK_SIGSET.
31361 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31362 (do_sigwait): Don't use CHECK_SIGSET.
31363 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31364 use CHECK_SIGSET.
31365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31366 include <bp-checks.h>.
31367 (sigpending): Don't use CHECK_SIGSET.
31368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31369 include <bp-checks.h>.
31370 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31371 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31372 <bp-checks.h>.
31373 (sigpending): Don't use CHECK_SIGSET.
31374 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31375 <bp-checks.h>.
31376 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31377
2e8a5c8c
JM
31378 [BZ #13550]
31379 * sysdeps/generic/bp-semctl.h: Remove file.
31380 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31381 <bp-checks.h> and <bp-semctl.h>.
31382 (__old_semctl): Don't use CHECK_SEMCTL.
31383 (__new_semctl): Likewise.
31384 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31385 and <bp-semctl.h>.
31386 (__old_semctl): Don't use CHECK_SEMCTL.
31387 (__new_semctl): Likewise.
31388 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31389 <bp-checks.h> and <bp-semctl.h>.
31390 (__old_semctl): Don't use CHECK_SEMCTL.
31391 (__new_semctl): Likewise.
31392 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31393 <bp-checks.h> and <bp-semctl.h>.
31394 (semctl): Don't use CHECK_SEMCTL.
31395
c2d54929
JM
31396 [BZ #13550]
31397 * Makerules (elide-bp-thunks): Remove variable.
31398 (elide-routines.oS): Don't use $(elide-bp-thunks).
31399 (elide-routines.os): Likewise.
31400 (elide-routines.o): Likewise.
31401 (elide-routines.op): Likewise.
31402 (elide-routines.og): Likewise.
31403 (objects): Don't use $(bp-thunks).
31404 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31405 include.
31406 (common-generated): Do not add s-proto-bp.d.
31407 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31408 (int): Likewise.
31409 (typ): Likewise.
31410 Do not generate makefile rules for bounded-pointer thunks.
31411 * sysdeps/generic/bp-thunks.h: Remove file.
31412 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31413 * sysdeps/unix/s-proto-bp.S: Likewise.
31414
8cf28c5e
JM
31415 [BZ #15062]
31416 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31417 parts of result separately when argument is not close to line from
31418 -i to i and one part of argument is small.
31419 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31420 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31421 * math/libm-test.inc (cacos_test): Add more tests.
31422 (casin_test): Likewise.
31423 (casinh_test): Likewise.
31424 * sysdeps/i386/fpu/libm-test-ulps: Update.
31425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31426
c4e33b8d
DM
314272013-01-31 David S. Miller <davem@davemloft.net>
31428
31429 * po/de.po: Update from translation team.
31430
3b60b421
MK
314312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31432
31433 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31434
bb931195
TS
314352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31436
b5a5da23
TS
31437 * configure.in (_AC_PROG_CC_C89): New definition.
31438 * configure: Regenerate.
31439
bb931195
TS
31440 * configure.in (AC_PROG_CPP): New definition.
31441 * configure: Regenerate.
31442
8c53a12c
JM
314432013-01-23 Joseph Myers <joseph@codesourcery.com>
31444
31445 * debug/tst-backtrace.h: New file.
31446 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31447 (ret): Remove variable.
31448 (x): Likewise.
31449 (FAIL): Remove macro.
31450 (NO_INLINE): Likewise.
31451 (fn1): Use match function instead of strstr.
31452 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31453 (ret): Remove variable.
31454 (x): Likewise.
31455 (FAIL): Remove macro.
31456 (NO_INLINE): Likewise.
31457 (fn): Use match function instead of strstr.
31458 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31459 (ret): Remove variable.
31460 (x): Likewise.
31461 (FAIL): Remove macro.
31462 (NO_INLINE): Likewise.
31463 (handle_signal): Use match function instead of strstr.
31464 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31465 (ret): Remove variable.
31466 (x): Likewise.
31467 (FAIL): Remove macro.
31468 (NO_INLINE): Likewise.
31469 (handle_signal): Use match function instead of strstr.
31470
4858fa2a
RM
314712013-01-23 Roland McGrath <roland@hack.frob.com>
31472
31473 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31474
bae8e7f5
DM
314752013-01-23 David S. Miller <davem@davemloft.net>
31476
31477 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31478 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31479 argument of CAS if possible.
31480 * sysdeps/sparc/sparc64/bits/atomic.h
31481 (__arch_compare_and_exchange_val_32_acq): Likewise.
31482 (__arch_compare_and_exchange_val_64_acq): Likewise.
31483
9cbbc4ae
PT
314842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31485
31486 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31487 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31488 Include <limits.h>.
67b3f58c 31489 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31490
5655a0b5
AC
314912013-01-23 Adam Conrad <adconrad@0c3.net>
31492
31493 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31494 (LDFLAGS-tst-array5): Likewise.
31495
052aff95
JM
314962013-01-23 Joseph Myers <joseph@codesourcery.com>
31497
31498 [BZ #15036]
31499 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31500 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31501 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31502 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31503
7c1e01aa
DM
315042013-01-21 David S. Miller <davem@davemloft.net>
31505
31506 * sysdeps/sparc/backtrace.c: New file.
31507 * sysdeps/sparc/sparc32/backtrace.h: New file.
31508 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31509 * sysdeps/sparc/sparc64/backtrace.h: New file.
31510 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31511 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31512 -funwind-tables.
31513
ab087e0a
AS
315142013-01-21 Andreas Schwab <schwab@suse.de>
31515
31516 [BZ #15020]
31517 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31518 closed its stdout.
31519
ed689c2f
AS
315202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31521
31522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31523 "mpa2.h".
31524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31525
31d470ac
JM
315262013-01-18 Joseph Myers <joseph@codesourcery.com>
31527 Mark Mitchell <mark@codesourcery.com>
31528 Tom de Vries <tom@codesourcery.com>
31529 Paul Pluzhnikov <ppluzhnikov@google.com>
31530
31531 * debug/tst-backtrace2.c: New file.
31532 * debug/tst-backtrace3.c: Likewise.
31533 * debug/tst-backtrace4.c: Likewise.
31534 * debug/tst-backtrace5.c: Likewise.
31535 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31536 (CFLAGS-tst-backtrace3.c): Likewise.
31537 (CFLAGS-tst-backtrace4.c): Likewise.
31538 (CFLAGS-tst-backtrace5.c): Likewise.
31539 (LDFLAGS-tst-backtrace2): Likewise.
31540 (LDFLAGS-tst-backtrace3): Likewise.
31541 (LDFLAGS-tst-backtrace4): Likewise.
31542 (LDFLAGS-tst-backtrace5): Likewise.
31543 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31544 tst-backtrace4 and tst-backtrace5.
31545
90567f30 315462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31547 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31548
31549 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31550 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31551 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31552 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31554 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31555 "+r" and remove output regs list as redundant. Add explicit inline
31556 asm to specify register of return val to work around compiler codegen
31557 bug. Remove (int) cast on return value. Add return type parameter to
31558 use in macro so that this macro does not truncate return value for
31559 64-bit values.
31560 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31561 pass to INTERNAL_VSYSCALL_NCS.
31562 (INLINE_VSYSCALL): Add 'long int' as return type to
31563 INTERNAL_VSYSCALL_NCS macro invocation.
31564 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31565 INTERNAL_VSYSCALL_NCS macro invocation.
31566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31567
d3b9ea61
SP
315682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31569
0b57daeb
SP
31570 [BZ #14496]
31571 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31572 Fix application of SIMD FP exception mask.
31573
caa99d06
SP
31574 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31575 mp_no from a power of two.
31576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31577 __mpexp_twomm1. Use __pow_mp.
31578
d3b9ea61
SP
31579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31580 multiplication.
31581
1dbaee3c
DM
315822013-01-17 David S. Miller <davem@davemloft.net>
31583
31584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31585
728d7b43
JM
315862013-01-17 Joseph Myers <joseph@codesourcery.com>
31587
31588 [BZ #15023]
31589 * include/complex.h: Condition contents on [!_COMPLEX_H].
31590 (__kernel_casinhf): New prototype.
31591 (__kernel_casinh): Likewise.
31592 (__kernel_casinhl): Likewise.
31593 * math/Makefile (libm_calls): Add k_casinh.
31594 * math/k_casinh.c: New file.
31595 * math/k_casinhf.c: Likewise.
31596 * math/k_casinhl.c: Likewise.
31597 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31598 finite nonzero arguments.
31599 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31600 finite nonzero arguments.
31601 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31602 finite nonzero arguments.
31603 * math/s_casinh.c: Do not include <float.h>.
31604 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31605 * math/s_casinhf.c: Do not include <float.h>.
31606 (__casinhf): Move code for finite nonzero arguments to
31607 k_casinhf.c.
31608 * math/s_casinhl.c: Do not include <float.h>.
31609 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31610 redefine.
31611 (__casinhl): Move code for finite nonzero arguments to
31612 k_casinhl.c.
31613 * math/libm-test.inc (cacos_test): Add more tests.
31614 * sysdeps/i386/fpu/libm-test-ulps: Update.
31615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31616
2a26ef3a
PT
316172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31618
31619 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31620 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31621 [!HAVE_MREMAP]: Remove [defined linux] case.
31622 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31623
a897655d
SP
316242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31625
31626 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31627
881ebe89 316282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31629
31630 * elf/elf.h (R_386_SIZE32): New relocation.
31631 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31632 R_386_SIZE32.
31633 (elf_machine_rela): Likewise.
31634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31635 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31636
59981e9b
JM
316372013-01-17 Joseph Myers <joseph@codesourcery.com>
31638
31639 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31640 (FP_FAST_FMA): Do not define.
31641 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31642 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31643 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31644 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31645 !_SOFT_FLOAT]: Likewise.
31646 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31647 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31648 value.
31649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31650 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31651 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31653 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31654 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31655 file.
31656
cfa8054f
AS
316572013-01-16 Andreas Schwab <schwab@suse.de>
31658
31659 [BZ #14327]
31660 * include/stdlib.h (__mktemp): Add declaration.
31661 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31662 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31663
dd930cc5
SP
316642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31665
881ebe89
SP
31666 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31667 definitions.
31668 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31669 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31670 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31671 definitions here.
31672 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31673 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31674 definitions.
31675 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31676 and ONE.
31677 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31678 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31679 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31680 definitions.
31681 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31682 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31683 definitions.
31684 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31685
dd930cc5
SP
31686 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31687
c19a9f89
DM
316882013-01-15 David S. Miller <davem@davemloft.net>
31689
1aa61767
DM
31690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31691 trunc{,f} to libm-sysdep_routes.
31692 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31694 file.
31695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31697 file.
31698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31699 file.
31700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31702 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31703 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31704 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31705 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31706 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31707 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31708
c42d5e98
DM
31709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31710 nearbyint{,f} to libm-sysdep_routes.
31711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31713 New file.
31714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31715 file.
31716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31717 New file.
31718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31719 file.
31720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31723 file.
31724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31726 file.
31727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31728 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31729 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31730
c19a9f89
DM
31731 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31732 libc_feholdexcept and libc_fesetenv.
31733
357679d2
MF
317342013-01-15 Mike Frysinger <vapier@gentoo.org>
31735
31736 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31737
65a82e3d
DM
317382013-01-14 David S. Miller <davem@davemloft.net>
31739
8b954ab9
DM
31740 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31741 (SPARC_ASM_VIS2_IFUNC): Likewise.
31742 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31744 use of 'siam' instruction.
31745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31746 Likewise.
31747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31748 Likewise.
31749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31750 Likewise.
31751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31753 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31756 file.
31757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31758 file.
31759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31760 file.
31761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31762 file.
31763 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31768 new VIS2 routines.
31769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31772 Likewise.
31773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31775 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31776 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31778 routines to libm-sysdep_routines.
31779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31780
65a82e3d
DM
31781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31782 fdim/fdimf to libm-sysdep_routines.
31783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31784 file.
31785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31787 file.
31788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31789 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31791 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31792 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31793 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31794 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31795
e34ab705
SP
317962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31797
2a91b573
SP
31798 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31799 to optimize copies.
31800
1066a534
SP
31801 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31804
e34ab705
SP
31805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31806 local variable MPTWO.
31807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31808 Likewise.
31809
aba5e596
MF
318102013-01-13 Mike Frysinger <vapier@gentoo.org>
31811
31812 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31813 GLOB_NOESCAPE.
31814
e557e9e5
MF
318152013-01-13 Mike Frysinger <vapier@gentoo.org>
31816
31817 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31818
0428cec9
MF
318192013-01-13 Mike Frysinger <vapier@gentoo.org>
31820
31821 * manual/pattern.texi (glob_t): Document gl_flags.
31822 (glob64_t): Likewise.
31823
8794a964
DM
318242013-01-11 David S. Miller <davem@davemloft.net>
31825
66438c3f
RM
31826 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31827 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31828 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31829 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31830 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31831 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31832 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31833 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31834 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31835 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31836 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31837 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31838 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31839
4ae4244d
DM
31840 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31841 sparc V9 rather than using V8 code.
31842 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31843 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31844
8794a964
DM
31845 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31846 Move to...
31847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31848 Here.
31849
6270516e
RM
318502013-01-11 Roland McGrath <roland@hack.frob.com>
31851
31852 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31853 not in the main loop.
31854 * configure: Regenerated.
31855
6a57d931
JM
318562013-01-11 Joseph Myers <joseph@codesourcery.com>
31857
31858 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31859 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31860 to just #else.
31861 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31862 [!__GLIBC_HAVE_LONG_LONG] case.
31863 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31864 condition to just #else.
31865 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31866 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31867 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31868 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31869 unconditional.
31870 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31871 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31872 #elif condition to just #else.
31873 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31874 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31875 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31876 #elif condition to just #else.
31877
0e8529e9
SE
318782013-01-11 Steve Ellcey <sellcey@mips.com>
31879
31880 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31881 (EF_MIPS_ARCH_64): Fix value.
31882 (EF_MIPS_ARCH_32R2): New.
31883 (EF_MIPS_ARCH_64R2): New.
31884
740b3dbe
L
318852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31886
31887 * Makeconfig (+link-pie-before-libc): New.
31888 (+link-pie-after-libc): Likewise.
31889 (+link-pie-tests): Likewise.
31890 (+link-pie): Rewritten.
31891 (link-before-libc): Remove $(config-LDFLAGS).
31892 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31893 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31894 (config-LDFLAGS): Renamed to ...
31895 (rtld-LDFLAGS): This.
31896 (rtld-tests-LDFLAGS): New macro.
31897 (link-libc-rpath-link): Likewise.
31898 (link-libc-tests-rpath-link): Likewise.
31899 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31900 (link-libc): Prepand $(link-libc-rpath-link).
31901 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31902 (test-program-prefix): New macro.
31903 (test-via-rtld-prefix): Likewise.
31904 (test-program-cmd): Likewise.
31905 (host-test-program-cmd): Likewise.
31906 * Makefile ($(common-objpfx)testrun.sh): Replace
31907 $(run-program-prefix) with $(test-program-prefix).
31908 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31909 $(rtld-LDFLAGS).
31910 ($(common-objpfx)shlib.lds): Likewise.
31911 (build-module-helper): Likewise.
31912 ($(common-objpfx)format.lds): Likewise.
31913 * Rules (binaries-pie-tests): New.
31914 (binaries-pie-notests): Likewise.
31915 (binaries-pie): Rewritten.
31916 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31917 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31918 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31919 (make-test-out): Replace $(host-built-program-cmd) with
31920 $(host-test-program-cmd).
31921 * config.make.in (build-hardcoded-path-in-tests): New variable.
31922 * configure.in (--enable-hardcoded-path-in-tests): New configure
31923 option.
31924 (hardcoded_path_in_tests): New AC_SUBST.
31925 * configure: Regenerated.
31926 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31927 $(built-program-cmd) with $(test-program-cmd).
31928 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31929 (test_program_cmd): This.
31930 * elf/Makefile ($(objpfx)order.out): Run test with
31931 $(test-program-prefix).
31932 ($(objpfx)order2.out): Likewise.
31933 ($(objpfx)tst-initorder.out): Likewise.
31934 ($(objpfx)tst-initorder2.out): Likewise.
31935 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31936 $(test-program-cmd).
31937 ($(objpfx)tst-array1-static.out): Likewise.
31938 ($(objpfx)tst-array2.out): Likewise.
31939 ($(objpfx)tst-array3.out): Likewise.
31940 ($(objpfx)tst-array4.out): Likewise.
31941 ($(objpfx)tst-array5.out): Likewise.
31942 ($(objpfx)tst-array5-static.out): Likewise.
31943 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31944 $(test-program-cmd).
31945 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31946 $(run-program-prefix) with $(test-program-prefix).
31947 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31948 (test_program_prefix): This.
31949 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31950 $(run-program-prefix) with $(test-program-prefix).
31951 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31952 (test_program_prefix): This.
31953 * iconvdata/tst-tables.sh: Likewise.
31954 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31955 $(run-program-prefix) with $(test-program-prefix).
31956 ($(objpfx)tst-translit.out): Likewise.
31957 ($(objpfx)tst-gettext2.out): Likewise.
31958 ($(objpfx)tst-gettext4.out): Likewise.
31959 ($(objpfx)tst-gettext6.out): Likewise.
31960 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31961 (test_program_prefix): This.
31962 * intl/tst-gettext2.sh: Likewise.
31963 * intl/tst-gettext4.sh Likewise.
31964 * intl/tst-gettext6.sh: Likewise.
31965 * intl/tst-translit.sh: Likewise.
31966 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31967 with $(test-program-cmd).
31968 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31969 $(run-program-prefix) with $(test-program-prefix).
31970 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31971 (test_program_prefix): This.
31972 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31973 $(run-program-prefix) with $(test-program-prefix).
31974 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31975 (test_program_prefix): This.
31976 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31977 * posix/Makefile ($(objpfx)globtest.out): Replace
31978 $(run-via-rtld-prefix) and $(test-wrapper) with
31979 $(test-program-prefix) and $(test-via-rtld-prefix).
31980 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31981 $(test-program-prefix).
31982 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31983 $(host-test-program-cmd).
31984 (tst-spawn-ARGS): Likewise.
31985 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31986 $(test-program-prefix).
31987 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31988 (test_via_rtld_prefix): This.
31989 (test_wrapper): Renamed to ...
31990 (test_program_prefix): This.
31991 (run_program_prefix): Replaced by test_program_prefix.
31992 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31993 (test_program_prefix): This.
31994 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31995 with $(host-test-program-cmd).
31996 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31997 $(run-program-prefix) with $(test-program-prefix).
31998 ($(objpfx)tst-printf.out): Likewise.
31999 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32000 $(test-program-cmd).
32001 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32002 (test_program_prefix): This.
32003 * stdio-common/tst-unbputc.sh: Likewise.
32004 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32005 $(run-program-prefix) with $(test-program-prefix).
32006 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32007 (test_program_prefix): This.
32008 * string/Makefile ($(objpfx)tst-svc.out): Replace
32009 $(built-program-cmd) with $(test-program-cmd).
32010
c6fe55cf
AJ
320112013-01-11 Andreas Jaeger <aj@suse.de>
32012
32013 [BZ #15003]
32014 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32015 value. Sync with Linux 3.7.
32016
9e6919c8
DM
320172013-01-10 David S. Miller <davem@davemloft.net>
32018
32019 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32020 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32021 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32022
1c9f1a02
RM
320232013-01-10 Roland McGrath <roland@hack.frob.com>
32024
32025 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32026 never set.
32027 * configure: Regenerated.
32028
b9de2dde
DM
320292013-01-10 David S. Miller <davem@davemloft.net>
32030
32031 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32032 sparc V9 rather than using V8 code.
32033 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32034 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32035
e7f68ef4
RM
320362013-01-10 Roland McGrath <roland@hack.frob.com>
32037
32038 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32039 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32040 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32041 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32042 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32043 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32044 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32045 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32046 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32047 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32048 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32049 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32050 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32051 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32052 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32053 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32054 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32055 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32056 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32057 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32058 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32059 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32060 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32061 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32062 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32063 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32064 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32065
5a47cc9c
DM
320662013-01-10 David S. Miller <davem@davemloft.net>
32067
32068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32069
4cf8f209
L
320702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32071
32072 * posix/Makefile (tests-static): New variable.
32073 (tests): Add $(tests-static).
32074 (tst-exec-static-ARGS): New variable.
32075 (tst-spawn-static-ARGS): Likewise.
32076 * posix/tst-exec-static.c: New file.
32077 * posix/tst-spawn-static.c: Likewise.
32078 * posix/tst-exec.c: Support run directly.
32079 * posix/tst-spawn.c: Likewise.
32080
fed0faa1
JM
320812013-01-10 Joseph Myers <joseph@codesourcery.com>
32082
828beb13
JM
32083 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32084 long.
32085 * math/bits/mathcalls.h (llrint): Likewise.
32086 (llround): Likewise.
32087 * stdlib/stdlib.h (struct drand48_data): Likewise.
32088 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32089 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32090 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32091 Likewise.
32092 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32093 Likewise.
32094 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32095 (elf_greg_t): Likewise.
32096 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32097 (__jmp_buf): Likewise.
32098 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32099 definitions.
32100 (llrint): Likewise, for all definitions.
32101 (llrintl): Likewise.
32102
fed0faa1
JM
32103 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32104 Remove [__GNUC__] condition.
32105 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32106 condition to just [__USE_ISOC99].
32107 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32108
1a20cb20
L
321092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32110
32111 [BZ #14200]
32112 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32113 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32114 defined.
32115 (_POSIX_V6_ILP32_OFF32): Likewise.
32116 (_XBS5_ILP32_OFF32): Likewise.
32117 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32118 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32119
751b85f7
SP
321202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32121
7490eb81
SP
32122 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32123
751b85f7
SP
32124 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32125 doubles __mpexp_twomm1. Adjust usage.
32126 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32127 Remove.
32128
988197f0
AS
321292013-01-10 Andreas Schwab <schwab@suse.de>
32130
32131 [BZ #14964]
32132 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32133 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32134
e83d7298
DM
321352013-01-09 David S. Miller <davem@davemloft.net>
32136
034ed64b 32137 [BZ #15003]
57f41c40
AS
32138 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32139 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32140 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32141 (TCP_FASTOPEN): Define.
e83d7298
DM
32142 (tcp_repair_opt): New structure.
32143 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32144 enum values.
57f41c40
AS
32145 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32146 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32147 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32148 (tcp_cookie_transactions): New structure.
32149
d5e0b9bd
AB
321502013-01-09 Anton Blanchard <anton@samba.org>
32151
32152 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32153 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32154 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32156
0c07e3ea
JM
321572013-01-09 Joseph Myers <joseph@codesourcery.com>
32158
32159 * include/features.h (__USE_ANSI): Remove.
32160
232f7002
RM
321612013-01-09 Roland McGrath <roland@hack.frob.com>
32162
ad98e30c
RM
32163 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32164
232f7002
RM
32165 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32166
950c99ca
SP
321672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32168
b5792741
SP
32169 * sysdeps/s390/fpu/libm-test-ulps: Update.
32170
47cf2278
SP
32171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32172
950c99ca
SP
32173 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32174 (__acr): Likewise.
32175 (__cpy): Likewise.
32176 (norm): Likewise.
32177 (denorm): Likewise.
32178 (__mp_dbl): Likewise.
32179 (__dbl_mp): Likewise.
32180 (add_magnitudes): Likewise.
32181 (sub_magnitudes): Likewise.
32182 (__add): Likewise.
32183 (__sub): Likewise.
32184 (__mul): Likewise.
32185 (__inv): Likewise.
32186 (__dvd): Likewise.
32187 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32188 (__acr): Likewise.
32189 (__cpy): Likewise.
32190 (norm): Likewise.
32191 (denorm): Likewise.
32192 (__mp_dbl): Likewise.
32193 (__dbl_mp): Likewise.
32194 (add_magnitudes): Likewise.
32195 (sub_magnitudes): Likewise.
32196 (__add): Likewise.
32197 (__sub): Likewise.
32198 (__mul): Likewise.
32199 (__inv): Likewise.
32200 (__dvd): Likewise.
32201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32202 (__acr): Likewise.
32203 (__cpy): Likewise.
32204 (norm): Likewise.
32205 (denorm): Likewise.
32206 (__mp_dbl): Likewise.
32207 (__dbl_mp): Likewise.
32208 (add_magnitudes): Likewise.
32209 (sub_magnitudes): Likewise.
32210 (__add): Likewise.
32211 (__sub): Likewise.
32212 (__mul): Likewise.
32213 (__inv): Likewise.
32214 (__dvd): Likewise.
32215
eede9df9
JM
322162013-01-08 Joseph Myers <joseph@codesourcery.com>
32217
32218 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32219 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32220 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32221 2 && __USE_EXTERN_INLINES]: Likewise.
32222
c40ea3d9
AJ
322232013-01-08 Andreas Jaeger <aj@suse.de>
32224
32225 [BZ# 14985]
32226 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32227 Remove.
32228 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32229 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32230
2ccdea26
AB
322312013-01-07 Anton Blanchard <anton@samba.org>
32232
32233 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32234 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32235 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32236 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32237 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32238 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32239 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32240 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32242 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32245 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32247 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32248 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32249 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32250 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32251 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32252 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32254 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32255 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32256 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32257 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32258 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32259 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32260 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32261 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32263 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32265 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32266 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32267 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32268 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32269 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32270 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32271 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32272 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32273 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32274 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32275 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32276
a9708fed
JM
322772013-01-07 Joseph Myers <joseph@codesourcery.com>
32278
375607b9
JM
32279 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32280 (__MALLOC_PMT): Likewise.
32281 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32282 [__GNUC__], only on [_LIBC].
32283 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32284 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32285 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32286 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32287 forward declaration.
32288 (realloc_hook_ini): Likewise.
32289 (memalign_hook_ini): Likewise.
32290 (__libc_memalign): Do not use __MALLOC_PMT in variable
32291 declaration.
32292 (__libc_valloc): Likewise.
32293 (__libc_pvalloc): Likewise.
32294 (__libc_calloc): Likewise.
32295 (__posix_memalign): Likewise.
32296
a9708fed
JM
32297 [BZ #14996]
32298 * math/s_casinh.c: Include <float.h>.
32299 (__casinh): Do not do computation with squaring and square root
32300 for large arguments.
32301 * math/s_casinhf.c: Include <float.h>.
32302 (__casinhf): Do not do computation with squaring and square root
32303 for large arguments.
32304 * math/s_casinhl.c: Include <float.h>.
32305 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32306 (__casinhl): Do not do computation with squaring and square root
32307 for large arguments.
32308 * math/libm-test.inc (casin_test): Add more tests.
32309 (casinh_test): Likewise.
32310 * sysdeps/i386/fpu/libm-test-ulps: Update.
32311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32312
afec409a
L
323132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32314
32315 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32316 (__x86_64_raw_data_cache_size): Likewise.
32317 (__x86_64_data_cache_size_half): Likewise.
32318 (__x86_64_raw_data_cache_size_half): Likewise.
32319 (__x86_64_shared_cache_size): Likewise.
32320 (__x86_64_raw_shared_cache_size): Likewise.
32321 (__x86_64_shared_cache_size_half): Likewise.
32322 (__x86_64_raw_shared_cache_size_half): Likewise.
32323 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32324 to ...
32325 (__x86_data_cache_size): This.
32326 (__x86_64_raw_data_cache_size): Renamed to ...
32327 (__x86_raw_data_cache_size): This.
32328 (__x86_64_data_cache_size_half): Renamed to ...
32329 (__x86_data_cache_size_half): This.
32330 (__x86_64_raw_data_cache_size_half): Renamed to ...
32331 (__x86_raw_data_cache_size_half): This.
32332 (__x86_64_shared_cache_size): Renamed to ...
32333 (__x86_shared_cache_size): This.
32334 (__x86_64_raw_shared_cache_size): Renamed to ...
32335 (__x86_raw_shared_cache_size): This.
32336 (__x86_64_shared_cache_size_half): Renamed to ...
32337 (__x86_shared_cache_size_half): This.
32338 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32339 (__x86_raw_shared_cache_size_half): This.
32340 * sysdeps/x86_64/memcpy.S: Updated.
32341 * sysdeps/x86_64/memset.S: Likewise.
32342 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32344 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32345
0b3986d0
DM
323462013-01-04 David S. Miller <davem@davemloft.net>
32347
32348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32349
e47686e9
AS
323502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32351
d643bac1
AS
32352 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32353 1 to avoid redefinition warning.
32354 (__USE_GNU): Don't define.
32355 (init_signaling_nan): Protoize.
32356
e47686e9
AS
32357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32358
b18decba
SP
323592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32360
fffb407f
SP
32361 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32363 (__cpymn): Likewise.
32364 (norm): Remove commented code.
32365 (denorm): Likewise.
32366 (__mp_dbl): Likewise.
32367 (__inv): Likewise.
32368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32369 (__cpymn): Likewise.
32370 (norm): Remove commented code.
32371 (denorm): Likewise.
32372 (__mp_dbl): Likewise.
32373 (__inv): Likewise.
32374
b18decba
SP
32375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32376 mp_no value for 1.0 and 2.0.
32377 (norm): Use RADIXI instead of radixi.d.
32378 (denorm): Likewise.
32379 (__mul): Use 0.0 instead of zero.d.
32380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32381 mp_no value for 1.0 and 2.0.
32382 (norm): Use RADIXI instead of radixi.d.
32383 (denorm): Likewise.
32384 (__mul): Use 0.0 instead of zero.d.
32385
cdc1c96f
JM
323862013-01-04 Joseph Myers <joseph@codesourcery.com>
32387
32388 [BZ #14994]
32389 * math/s_casinh.c (__casinh): Reduce finite argument to first
32390 quadrant then set signs of results at the end.
32391 * math/s_casinhf.c (__casinhf): Likewise.
32392 * math/s_casinhl.c (__casinhl): Likewise.
32393 * math/libm-test.inc (casin_test): Add more tests.
32394 (casinh_test): Likewise.
32395 * sysdeps/i386/fpu/libm-test-ulps: Update.
32396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32397
302913e1
SP
323982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32399
6420d207
SP
32400 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32401
a9e48ab4
SP
32402 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32403
b7837264
SP
32404 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32405 declarations.
32406 (denorm): Likewise.
32407 (__mp_dbl): Likewise.
32408 (__inv): Likewise.
32409
f8af25d2
SP
32410 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32411 and adjust the header comment.
32412
302913e1
SP
32413 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32414 variable name from declaration.
32415
5d7dd1ca
L
324162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32417
32418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32419 Initialize COMMON_CPUID_INDEX_7 element.
32420 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32421 (CPUID_RTM): Likewise.
32422 (HAS_RTM): Likewise.
32423 (COMMON_CPUID_INDEX_7): New enum.
32424
2f5f40f4
AS
324252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32426
32427 [BZ #14981]
32428 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32429 size is zero, record memory as freed.
32430
4056f4a0
AJ
324312013-01-03 Andreas Jaeger <aj@suse.de>
32432
32433 * po/ia.po: Add new Interlingua translation.
32434
ab15736f 324352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32436
32437 * locale/programs/localedef.c: Fix description of '--posix' flag.
32438
568035b7
JM
324392013-01-02 Joseph Myers <joseph@codesourcery.com>
32440
e6898b8d
JM
32441 * NEWS: Update dates in second copyright notice.
32442 * README: Update copyright dates in example.
32443 * manual/libc.texinfo: Update copyright dates.
32444 * scripts/test-installation.pl: Update copyright date in --version
32445 output.
32446
0e2f9562
JM
32447 * hurd/ctty-input.c: Fix copyright notice formatting.
32448 * hurd/ctty-output.c: Likewise.
32449 * hurd/dtable.c: Likewise.
32450 * hurd/hurd-raise.c: Likewise.
32451 * hurd/hurdprio.c: Likewise.
32452 * hurd/msgportdemux.c: Likewise.
32453 * misc/sys/file.h: Likewise.
32454 * misc/sys/ioctl.h: Likewise.
32455 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32456 * sysdeps/mach/hurd/chdir.c: Likewise.
32457 * sysdeps/mach/hurd/fchdir.c: Likewise.
32458 * sysdeps/mach/hurd/rename.c: Likewise.
32459 * sysdeps/mach/hurd/rmdir.c: Likewise.
32460 * sysdeps/mach/hurd/seekdir.c: Likewise.
32461 * sysdeps/mach/hurd/setsid.c: Likewise.
32462 * sysdeps/posix/wait3.c: Likewise.
32463
568035b7
JM
32464 * All files with FSF copyright notices: Update copyright dates
32465 using scripts/update-copyrights.
32466 * intl/plural.c: Regenerated.
32467 * locale/programs/charmap-kw.h: Likewise.
32468 * locale/programs/locfile-kw.h: Likewise.
32469
da08f647
SP
324702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32471
0f5477af
SP
32472 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32473 four values.
32474
44e0d4c2
SP
32475 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32476 calculation loop and add branch prediction.
32477
4d55b4e5
SP
32478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32479 check access beyond bounds of m1np.
32480
da08f647
SP
32481 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32482 MPTWO.
32483 (__inv): Remove local variable MPTWO to use the global
32484 constant.
32485 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32486 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32487 variable MPTWO.
32488 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32489 MP3HALFS static const.
32490
8e051029
DM
324912013-01-01 David S. Miller <davem@davemloft.net>
32492
32493 * po/ca.po: Update from translation team.
32494
f4cf5f2d
JM
324952013-01-01 Joseph Myers <joseph@codesourcery.com>
32496
32497 * scripts/update-copyrights: New file.
32498 * Makeconfig: Reformat copyright notice.
32499 * ctype/ctype.h: Likewise.
32500 * debug/swprintf_chk.c: Likewise.
32501 * elf/dl-cache.c: Likewise.
32502 * elf/dl-debug.c: Likewise.
32503 * elf/dl-object.c: Likewise.
32504 * grp/initgroups.c: Likewise.
32505 * hurd/Makefile: Likewise.
32506 * hurd/hurd/signal.h: Likewise.
32507 * hurd/hurdfault.c: Likewise.
32508 * hurd/hurdioctl.c: Likewise.
32509 * hurd/hurdlookup.c: Likewise.
32510 * hurd/intr-msg.c: Likewise.
32511 * iconv/gconv_open.c: Likewise.
32512 * libio/swprintf.c: Likewise.
32513 * locale/lc-ctype.c: Likewise.
32514 * locale/nl_langinfo.c: Likewise.
32515 * mach/Machrules: Likewise.
32516 * mach/Makefile: Likewise.
32517 * malloc/obstack.h: Likewise.
32518 * manual/Makefile: Likewise.
32519 * manual/tsort.awk: Likewise.
32520 * misc/bits/stab.def: Likewise.
32521 * nis/nis_print_group_entry.c: Likewise.
32522 * nis/nis_table.c: Likewise.
32523 * nis/nss_compat/compat-pwd.c: Likewise.
32524 * nis/nss_compat/compat-spwd.c: Likewise.
32525 * po/Makefile: Likewise.
32526 * posix/fnmatch.c: Likewise.
32527 * posix/regex.h: Likewise.
32528 * resolv/Makefile: Likewise.
32529 * resolv/nss_dns/dns-network.c: Likewise.
32530 * resolv/res_hconf.c: Likewise.
32531 * scripts/gen-sorted.awk: Likewise.
32532 * soft-fp/soft-fp.h: Likewise.
32533 * stdio-common/printf.h: Likewise.
32534 * stdlib/monetary.h: Likewise.
32535 * stdlib/random.c: Likewise.
32536 * stdlib/random_r.c: Likewise.
32537 * sysdeps/generic/Makefile: Likewise.
32538 * sysdeps/gnu/Makefile: Likewise.
32539 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32562 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32563 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32564 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32565 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32566 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32567 * sysdeps/mach/hurd/errnos.awk: Likewise.
32568 * sysdeps/mach/hurd/fork.c: Likewise.
32569 * sysdeps/mach/hurd/getcwd.c: Likewise.
32570 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32571 * sysdeps/mach/hurd/mmap.c: Likewise.
32572 * sysdeps/mach/hurd/utimes.c: Likewise.
32573 * sysdeps/mach/hurd/xmknod.c: Likewise.
32574 * sysdeps/posix/profil.c: Likewise.
32575 * sysdeps/posix/readdir_r.c: Likewise.
32576 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32577 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32578 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32579 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32580 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32581 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32582 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32584 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32585 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32586 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32587 * sysdeps/pthread/lio_listio.c: Likewise.
32588 * sysdeps/sparc/dl-procinfo.h: Likewise.
32589 * sysdeps/unix/i386/sysdep.S: Likewise.
32590 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32591 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32592 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32593 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32595 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32596 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32597 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32598 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32599 * sysdeps/wordsize-32/divdi3.c: Likewise.
32600 * time/sys/time.h: Likewise.
32601 * wcsmbs/Makefile: Likewise.
32602
0549fbba
DM
326032013-01-01 David S. Miller <davem@davemloft.net>
32604
a141f1a7
DM
32605 * po/fr.po: Update from translation team.
32606
0549fbba
DM
32607 * catgets/gencat.c: Update copyright year.
32608 * csu/version.c: Likewise.
32609 * debug/catchsegv.sh: Likewise.
32610 * debug/pcprofiledump.c: Likewise.
32611 * debug/xtrace.sh: Likewise.
32612 * elf/ldconfig.c: Likewise.
32613 * elf/ldd.bash.in: Likewise.
32614 * elf/pldd.c: Likewise.
32615 * elf/sotruss.ksh: Likewise.
32616 * elf/sprof.c: Likewise.
32617 * iconv/iconv_prog.c: Likewise.
32618 * iconv/iconvconfig.c: Likewise.
32619 * locale/programs/locale.c: Likewise.
32620 * locale/programs/localedef.c: Likewise.
32621 * login/programs/pt_chown.c: Likewise.
32622 * malloc/memusage.sh: Likewise.
32623 * malloc/memusagestat.c: Likewise.
32624 * malloc/mtrace.pl: Likewise.
32625 * nscd/nscd.c: Likewise.
32626 * nss/getent.c: Likewise.
32627 * nss/makedb.c: Likewise.
32628 * posix/getconf.c: Likewise.
32629
18ea052c
SP
326302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32631
32632 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32633 numbers.
32634
9c89fca6
MF
326352012-12-30 Mike Frysinger <vapier@gentoo.org>
32636
32637 * math/bits/mathcalls.h (modf): Use __nonnull.
32638
085ec079
SP
326392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32640
32641 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32642 (split): Use macro CN instead of the bare value.
32643 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32644 could be used.
32645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32646 instead of the bare value.
32647 (power1): Likewise.
32648
6d9f97e1
SP
326492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32650
d63f73be
SP
32651 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32652 __ATAN_TWOM.
32653 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32654
6d9f97e1
SP
32655 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32656 their values.
32657 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32658 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32659 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32660 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32661
4c4febf5
AJ
326622012-12-28 Andreas Jaeger <aj@suse.de>
32663
af5843ef
AJ
32664 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32665 values are from Linux 3.7.
32666
4c4febf5
AJ
32667 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32668 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32669
99136f82
SP
326702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32671
2f216c3c 32672 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32673 TRUE case.
32674
99136f82
SP
32675 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32676 (norm): Likewise.
32677 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32678 variables with preprocessor constants.
32679 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32680 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32681 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32682
7fffbdff
BH
326832012-12-27 Bruno Haible <bruno@clisp.org>
32684
32685 [BZ #14317]
32686 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32687 only if needed.
32688
b76eb5f0
SP
326892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32690
31a7fe5c
SP
32691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32692 and use variable directly.
32693 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32694
b76eb5f0
SP
32695 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32696 MPONE.
32697 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32698 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32699 variable MPONE.
32700 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32701 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32702 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32703 include directive. Remove local variable MPONE.
32704 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32705 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32706 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32707
2c8bfe7d
DM
327082012-12-25 David S. Miller <davem@davemloft.net>
32709
32710 * version.h (RELEASE): Set to "development".
32711 (VERSION): Set to "2.17.90".
32712 * NEWS: Add 2.18 section.
32713
147d03b0
DM
327142012-12-21 David S. Miller <davem@davemloft.net>
32715
32716 * po/hr.po: Update from translation team.
32717
a8ebb2b9
AK
327182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32719
32720 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32721
95b4f1b6
SE
327222012-12-19 Steve Ellcey <sellcey@mips.com>
32723
b2d94007 32724 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32725
cedb2a90
MS
327262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32727
32728 * manual/contrib.texi (Contributors): Spelling correction.
32729
bbf527d6
DM
327302012-12-15 David S. Miller <davem@davemloft.net>
32731
32732 * po/ru.po: Update from translation team.
32733
bc38c906
DM
327342012-12-13 David S. Miller <davem@davemloft.net>
32735
85429b1a
DM
32736 * NEWS: Mention IFUNC testsuite enhancements.
32737
d283e353
DM
32738 * po/pl.po: Update from translation team.
32739 * po/bg.po: Likewise.
32740
bc38c906
DM
32741 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32742 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32743
a181b0d7
DM
327442012-12-11 David S. Miller <davem@davemloft.net>
32745
4641d57e
DM
32746 * po/sv.po: Update from translation team.
32747
f7bc6495
DM
32748 * po/vi.po: Update from translation team.
32749
6fc9048f
DM
32750 * po/cs.po: Update from translation team.
32751
a181b0d7
DM
32752 * po/de.po: Update from translation team.
32753 * po/eo.po: Likewise.
32754 * po/nl.po: Likewise.
32755
f70bfe80
SP
327562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32757
3c8b4190
SP
32758 [BZ #14246]
32759 * manual/argp.texi (Argp Helper Functions): Move node to follow
32760 Argp Parsing State.
32761
f70bfe80
SP
32762 [BZ #14872]
32763 * manual/conf.texi (Limits on File System Capacity): Mention if
32764 terminating null is included in the max size.
32765
188f0adf
AJ
327662012-12-10 Andreas Jaeger <aj@suse.de>
32767
32768 * po/cs.po: Update from translation team.
32769
56e7d3ad
SP
327702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32771
32772 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32773 void pointer and cast to uintptr_t.
32774 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32775 path.
32776 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32777 * sysdeps/s390/s390-64/memset.S: Likewise.
32778
76f2d2ea 327792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32780
32781 [BZ #14833]
32782 * menual/message.texi (Message Translation): Fix typos.
32783 (Helper programs for gettext): Likewise.
32784
67cbf9a2
AS
327852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32786
32787 [BZ #14898]
32788 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32789 Change to -1.
32790
682d0e9a
DM
327912012-12-07 David S. Miller <davem@davemloft.net>
32792
32793 * po/libc.pot: Update.
32794
573cd484
RH
327952012-12-07 Richard Henderson <rth@redhat.com>
32796
7e9da188 32797 [BZ #10114]
573cd484
RH
32798 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32799 normal/normal case to before the switch.
32800 (_FP_DIV): Likewise.
32801
e933a943
MF
328022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32803 Mike Frysinger <vapier@gentoo.org>
32804
32805 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32806 check for __NR_fadvise64_64.
32807
82123268
CM
328082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32809
32810 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32811 0, not just to plain "0" as a statement.
32812 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32813 with cw.
32814
d9814526
JM
328152012-12-06 Joseph Myers <joseph@codesourcery.com>
32816
32817 * NEWS: Use sourceware.org in Bugzilla URL.
32818
7728c574
SP
328192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32820
f16946dd
SP
32821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32822 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32823
5704bbcb
SP
32824 * stdio-common/tst-put-error.c (do_test): Add newline to the
32825 padded test to ensure flush.
32826
17aa0516
JL
328272012-12-05 Jeff Law <law@redhat.com>
32828
32829 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32830
363313b5
JM
328312012-12-05 Joseph Myers <joseph@codesourcery.com>
32832
effbd42a
JM
32833 * README: Don't refer to ports add-on as distributed separately.
32834 Mention AArch64 in list of systems supported in the ports add-on.
32835
87600365
JM
32836 * LICENSES: Add more non-FSF copyright and license notices.
32837
a0d7066a
JM
32838 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32839 ((unused)).
32840
66ca5a5b
JM
32841 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32842
363313b5
JM
32843 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32844 10000 as width of padded output.
32845
b37984ad
JM
328462012-12-04 Joseph Myers <joseph@codesourcery.com>
32847
9003570a
JM
32848 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32849
b37984ad
JM
32850 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32851 variable LX with __attribute__ ((unused)).
32852 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32853 Likewise.
32854 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32855 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32856 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32857 with __attribute__ ((unused)).
32858
c8df52ec
DM
328592012-12-04 David S. Miller <davem@abraco.davemloft.net>
32860
32861 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32862
b3b099af
JM
328632012-12-04 Joseph Myers <joseph@codesourcery.com>
32864
c33aa6e3
JM
32865 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32866 (CFLAGS-nldbl-acos.c): New variable.
32867 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32868 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32869 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32870 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32871 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32872 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32873 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32874 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32875 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32876 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32877 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32878 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32879 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32880 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32881 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32882 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32883 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32884 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32885 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32886 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32887 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32888 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32889 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32890 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32891 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32892 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32893 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32894 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32895 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32896 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32897 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32898 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32899 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32900 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32901 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32902 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32903 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32904 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32905 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32906 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32907 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32908 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32909 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32910 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32911 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32912 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32913 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32914 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32915 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32916 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32917 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32918 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32919 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32920 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32921 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32922 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32923 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32924 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32925 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32926 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32927 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32928 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32929 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32930 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32931 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32932 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32933 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32934 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32935 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32936 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32937 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32938 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32939 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32940 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32941 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32942 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32943 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32944 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32945 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32946 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32947 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32948 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32949 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32950 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32951 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32952 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32953 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32954 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32955 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32956 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32957 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32958 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32959 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32960 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32961 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32962 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32963 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32964
20f0018d
JM
32965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32966 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32967
b3b099af
JM
32968 [BZ #14914]
32969 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32970 whole low double instead of just low 47 bits when splitting values
32971 into two parts.
32972
029264d1
AM
329732012-12-03 Allan McRae <allan@archlinux.org>
32974
32975 * manual/stdio.texi (Predefined Printf Handlers): Remove
32976 @hsep and @vsep usage.
32977
c9d6789e
MF
329782012-12-03 Mike Frysinger <vapier@gentoo.org>
32979
32980 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32981 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32982
4b7634a5
JL
329832012-12-03 Jeff Law <law@redhat.com>
32984
32985 * time/sys/time.h (settimeofday): Do not mark TV argument
32986 as __nonnull.
32987
eb6cbd24
MF
329882012-12-01 Mike Frysinger <vapier@gentoo.org>
32989
32990 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32991 when currently writing and seek to current position when not.
32992 * libio/Makefile (tests): Remove bug-fclose1.
32993 * libio/bug-fclose1.c: Delete.
32994
f638872a
JM
329952012-12-01 Joseph Myers <joseph@codesourcery.com>
32996
32997 * manual/arith.texi (feenableexcept): Fix typo.
32998 (fedisableexcept): Likewise.
32999
48085d14
RM
330002012-11-30 Roland McGrath <roland@hack.frob.com>
33001
33002 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33003 second, differently-typed declaration, rather than a cast.
33004
1a538b9f
SP
330052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33006
33007 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33008 * include/rpc/svc.h: ... here.
33009
d07f2ff1 330102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33011
33012 [BZ #13013]
33013 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33014 depending n and resplen2 to catch cases where answer
33015 equals answerp2.
33016
c93ec1f0
CD
330172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33018
33019 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33020 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33021
37db69de
MF
330222012-11-29 Mike Frysinger <vapier@gentoo.org>
33023
33024 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33025
e10c4e4f
RM
330262012-11-29 Roland McGrath <roland@hack.frob.com>
33027
33028 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33029
2af1b328
JL
330302012-11-28 Jeff Law <law@redhat.com>
33031
33032 [BZ #13761]
33033 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33034 dataset_temporary. Track alloca usage into alloca_used.
33035 If dataset is large allocate and release it via malloc/free.
33036
111db5b1
FW
330372012-06-04 Florian Weimer <fweimer@redhat.com>
33038
f06cc227 33039 [BZ #14197]
111db5b1
FW
33040 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33041
dd694abd
DM
330422012-11-28 David S. Miller <davem@davemloft.net>
33043
33044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33045
9984dd01
JM
330462012-11-28 Joseph Myers <joseph@codesourcery.com>
33047
33048 [BZ #14803]
33049 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33050 of pi/2 rounded to nearest to 64 bits.
33051 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33052 nearest to 64 bits.
33053 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33054 bits.
33055
14bc93a9
JL
330562012-11-28 Jeff Law <law@redhat.com>
33057 Martin Osvald <mosvald@redhat.com>
33058
33059 [BZ #14889]
33060 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33061 * sunrpc/svc.c: Include time.h.
33062 (__svc_accept_failed): New function.
33063 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33064 any reason other than EINTR, call __svc_accept_failed.
33065 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33066 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33067
e3c6aa3a
AS
330682012-11-28 Andreas Schwab <schwab@suse.de>
33069
33070 * scripts/abilist.awk: Also handle indirect functions in .opd
33071 section.
33072
1bead169
JM
330732012-11-28 Joseph Myers <joseph@codesourcery.com>
33074
33075 [BZ #13881]
33076 * sysdeps/x86/fpu/powl_helper.c: New file.
33077 * sysdeps/x86/fpu/Makefile: Likewise.
33078 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33079 (p3): New object.
33080 (__ieee754_powl): Use __powl_helper for finite arguments except
33081 integer exponents below 8.
33082 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33083 (p3): New object.
33084 (__ieee754_powl): Use __powl_helper for finite arguments except
33085 integer exponents below 8.
33086 * math/libm-test.inc (pow_test): Add more tests and enable some
33087 previously disabled tests.
33088 * sysdeps/i386/fpu/libm-test-ulps: Update.
33089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33090
0817d63d
SP
330912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33092 Carlos O'Donell <carlos_odonell@mentor.com>
33093
33094 * nss/makedb.c (is_prime): Assert that input is odd and greater
33095 than 4. Note that fact in a comment too.
33096 (next_prime): Add 4 to input.
33097
de2fd463
SP
330982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33099
33100 [BZ #11741]
33101 * libio/Makefile (tests): Add test case tst-fwrite-error.
33102 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33103 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33104 * libio/tst-fwrite-error.c: New test case.
33105
c515fb51
L
331062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33107
33108 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33109 before casting to void *.
33110 * include/libc-internal.h (__pointer_type): New macro.
33111 (__integer_if_pointer_type_sub): Likewise.
33112 (__integer_if_pointer_type): Likewise.
33113 (cast_to_integer): Likewise.
33114 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33115 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33116 before casting to atomic64_t.
33117 (atomic_exchange_acq): Likewise.
33118 (__arch_exchange_and_add_body): Likewise.
33119 (__arch_add_body): Likewise.
33120 (atomic_add_negative): Likewise.
33121 (atomic_add_zero): Likewise.
33122
4cf77aa9
JM
331232012-11-26 Joseph Myers <joseph@codesourcery.com>
33124
33125 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33126 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33127 (add_fdes): Likewise.
33128 (linear_search_fdes): Likewise.
33129 (binary_search_unencoded_fdes): Likewise.
33130
d260b3b4
AS
331312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33132
33133 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33134
67060746
AC
331352012-11-24 Adam Conrad <adconrad@0c3.net>
33136
33137 * configure.in: Autodetect C++ header directories.
33138 * configure: Regenerated.
33139
800938a1
MF
331402012-11-23 Mike Frysinger <vapier@gentoo.org>
33141
33142 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33143
4e6e34e6
AS
331442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33145
33146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33147
7c7feb47
JM
331482012-11-22 Joseph Myers <joseph@codesourcery.com>
33149
7184dcdf
JM
33150 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33151 LDBL_MANT_DIG == 106]: Disable some tests.
33152 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33153 Likewise.
33154 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33155 Likewise.
33156
0a42601f
JM
33157 [BZ #14871]
33158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33159 input for small inputs. Return +/- pi/2 for large inputs.
33160 * math/libm-test.inc (atan_test): Add more tests.
33161
79c9b9fe
JM
33162 * sysdeps/generic/unwind-dw2-fde-glibc.c
33163 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33164 __attribute__ ((unused)).
33165
c60d3bf2
JM
33166 [BZ #14645]
33167 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33168 x * y if x and y are nonzero and z is zero.
33169
ef1e0867
JM
33170 [BZ #14811]
33171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33172 nonzero exponents with absolute value below 0x1p-117 to +/-
33173 0x1p-117.
33174
1468ded3
JM
33175 [BZ #14869]
33176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33177 up arguments below 2**-450, not just those below 2**-500.
33178 * math/libm-test.inc (hypot_test): Add another test.
33179
8e27e3cc
JM
33180 [BZ #14868]
33181 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33182 Return a+b for ratio over 2**120, not 2**60.
33183 * math/libm-test.inc (hypot_test): Add another test.
33184
c9c0279b
JM
33185 * math/libm-test.inc (clog_test): Use
33186 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33187 (clog10_test): Likewise.
33188
7c7feb47
JM
33189 [BZ #6778]
33190 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33191
fff1530e
AS
331922012-11-22 Andreas Schwab <schwab@suse.de>
33193
33194 * sysdeps/i386/fpu/libm-test-ulps: Update.
33195
94558d30
PT
331962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33197
33198 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33199 printf output with newline.
33200
7e1be741
L
332012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33202
6bfea974
L
33203 [BZ #14865]
33204 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33205 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33206 -z nodlopen, -z initfirst and -z execstack support.
33207 * configure: Regenerated.
33208
7e1be741
L
33209 * elf/elf.h (DF_1_NODIRECT): New macro.
33210 (DF_1_IGNMULDEF): Likewise.
33211 (DF_1_NOKSYMS): Likewise.
33212 (DF_1_NOHDR): Likewise.
33213 (DF_1_EDITED): Likewise.
33214 (DF_1_NORELOC): Likewise.
33215 (DF_1_SYMINTPOSE): Likewise.
33216 (DF_1_GLOBAUDIT): Likewise.
33217 (DF_1_SINGLETON): Likewise.
33218 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33219 DT_1_SUPPORTED_MASK bits.
33220 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33221
105ce2ce
CD
332222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33223
33224 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33225
123be9de
TS
332262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33227
d072f3f7
TS
33228 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33229 macro.
33230
123be9de
TS
33231 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33232 (sendmmsg): Move declarations...
33233 * socket/sys/socket.h: ... here.
33234 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33235 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33236 include it from...
33237 * socket/recvmmsg.c: ... this new file.
33238 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33239 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33240 definition of __sendmmsg hidden.
33241 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33242 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33243 Move ENOSYS stub into and include it from...
33244 * socket/sendmmsg.c: ... this new file.
33245 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33246 (sysdep_routines): Move recvmmsg and sendmmsg...
33247 * socket/Makefile (routines): ... here.
33248 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33249 (GLIBC_PRIVATE): Add __sendmmsg.
33250 * include/sys/socket.h (__sendmmsg): Add declarations.
33251 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33252 sendmmsg.
33253
cf9a5d18
JM
332542012-11-20 Joseph Myers <joseph@codesourcery.com>
33255
33256 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33257 variable I1 with __attribute__ ((unused)).
33258 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33259
ecd4caf9
JM
332602012-11-19 Joseph Myers <joseph@codesourcery.com>
33261
be14d48f
JM
33262 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33263 DUMMY variables with __attribute__ ((unused)).
33264
ecd4caf9
JM
33265 * bits/byteswap.h: Include <bits/types.h>.
33266 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33267
986cab95
PT
332682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33269
33270 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33271 string_t. Do not manually set errno.
33272 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33273 length with __strnlen. Make sure to both set errno and return it on
33274 failure.
33275
6d33cc9d
DM
332762012-11-19 David S. Miller <davem@davemloft.net>
33277
33278 With help from Joseph Myers.
33279 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33280 very large arguments properly.
33281 * math/libm-test.inc (atan_test): New tests.
33282 (atan2_test): New tests.
33283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33285
ee663277
JM
332862012-11-19 Joseph Myers <joseph@codesourcery.com>
33287
877f2d8e
JM
33288 [BZ #14856]
33289 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33290 Define to 3.
33291
116fc08a
JM
33292 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33293 [POSIX] (EADDRNOTAVAIL): Likewise.
33294 [POSIX] (EAFNOSUPPORT): Likewise.
33295 [POSIX] (EALREADY): Likewise.
33296 [POSIX] (ECONNABORTED): Likewise.
33297 [POSIX] (ECONNREFUSED): Likewise.
33298 [POSIX] (ECONNRESET): Likewise.
33299 [POSIX] (EDESTADDRREQ): Likewise.
33300 [POSIX] (EDQUOT): Likewise.
33301 [POSIX] (EHOSTUNREACH): Likewise.
33302 [POSIX] (EIDRM): Likewise.
33303 [POSIX] (EISCONN): Likewise.
33304 [POSIX] (ELOOP): Likewise.
33305 [POSIX] (EMULTIHOP): Likewise.
33306 [POSIX] (ENETDOWN): Likewise.
33307 [POSIX] (ENETUNREACH): Likewise.
33308 [POSIX] (ENOBUFS): Likewise.
33309 [POSIX] (ENODATA): Likewise.
33310 [POSIX] (ENOLINK): Likewise.
33311 [POSIX] (ENOMSG): Likewise.
33312 [POSIX] (ENOPROTOOPT): Likewise.
33313 [POSIX] (ENOSR): Likewise.
33314 [POSIX] (ENOSTR): Likewise.
33315 [POSIX] (ENOTCONN): Likewise.
33316 [POSIX] (ENOTSOCK): Likewise.
33317 [POSIX] (EOPNOTSUPP): Likewise.
33318 [POSIX] (EOVERFLOW): Likewise.
33319 [POSIX] (EPROTO): Likewise.
33320 [POSIX] (EPROTONOSUPPORT): Likewise.
33321 [POSIX] (EPROTOTYPE): Likewise.
33322 [POSIX] (ESTALE): Likewise.
33323 [POSIX] (ETIME): Likewise.
33324 [POSIX] (ETXTBSY): Likewise.
33325 [POSIX] (EWOULDBLOCK): Likewise.
33326 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33327 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33328 [POSIX] (SEEK_CUR): Likewise.
33329 [POSIX] (SEEK_END): Likewise.
33330 [POSIX || UNIX98] (mode_t): Do not require.
33331 [POSIX] (off_t): Likewise.
33332 [POSIX] (pid_t): Likewise.
33333 [POSIX] (sys/stat.h): Do not allow header.
33334 [POSIX] (unistd.h): Likewise.
33335 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33336 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33337 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33338 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33339 require.
33340 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33341 sigevent): Specify elements.
33342 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33343 entry.
33344 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33345 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33346
a483863f
JM
33347 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33348 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33349 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33350 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33351 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33352 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33353 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33354 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33355 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33356 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33357 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33358 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33359 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33360 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33361 Likewise.
33362 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33363 Likewise.
33364 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33365 Likewise.
33366 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33367 Likewise.
33368 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33369 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33370 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33371 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33372 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33373 Specify lower bound on value.
33374 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33375 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33376 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33377 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33378 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33379 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33380 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33381 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33382 value.
33383 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33384 as optional.
33385 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33386 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33387 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33388 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33389 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33390 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33391 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33392 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33393 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33394 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33395 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33396 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33397 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33398 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33399 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33400 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33401 entry.
33402 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33403 optional.
33404 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33405 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33406 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33407 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33408 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33410 Likewise.
33411 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33413 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33414 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33415 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33416 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33418 as optional.
33419 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33421 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33422 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33423 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33424 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33425 specify as optional.
33426 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33427 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33429 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33430 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33431 [XPG3] (NL_LANGMAX): Likewise.
33432 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33433 [POSIX || XPG3] (NL_NMAX): Likewise.
33434 [POSIX || XPG3] (NL_SETMAX): Likewise.
33435 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33436 [XPG3] (NZERO): Likewise.
33437 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33438 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33439 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33440 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33441 (REG_ERANGE): Expect.
33442 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33443 optional-constant.
33444 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33445 Use (void) in prototype.
33446 [POSIX] (*_t): Allow.
33447 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33448 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33449 (WRDE_BADVAL): Expect.
33450
5ba924e3
JM
33451 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33452 expect.
33453 [XPG3 || XPG4] (O_RSYNC): Likewise.
33454 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33455 Likewise.
33456 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33457 [XPG3 || XPG4] (sigqueue): Likewise.
33458 [XPG3 || XPG4] (sigtimedwait): Likewise.
33459 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33460 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33461 [XPG3 || XPG4] (vsnprintf): Likewise.
33462 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33463 Likewise.
33464 [XPG3 || XPG4] (blksize_t): Likewise.
33465 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33466 Likewise.
33467 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33468 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33469 [XPG3 || XPG4] (struct itimerspec): Likewise.
33470 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33471 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33472 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33473 [XPG3 || XPG4] (clockid_t): Likewise.
33474 [XPG3 || XPG4] (timer_t): Likewise.
33475 [XPG3 || XPG4] (clock_getres): Likewise.
33476 [XPG3 || XPG4] (clock_gettime): Likewise.
33477 [XPG3 || XPG4] (clock_settime): Likewise.
33478 [XPG3 || XPG4] (nanosleep): Likewise.
33479 [XPG3 || XPG4] (timer_create): Likewise.
33480 [XPG3 || XPG4] (timer_delete): Likewise.
33481 [XPG3 || XPG4] (timer_gettime): Likewise.
33482 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33483 [XPG3 || XPG4] (timer_settime): Likewise.
33484 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33485 [XPG3 || XPG4] (getlogin_r): Likewise.
33486 [XPG3 || XPG4] (pread): Likewise.
33487 [XPG3 || XPG4] (pthread_atfork): Likewise.
33488 [XPG3 || XPG4] (pwrite): Likewise.
33489
ee663277
JM
33490 [BZ #14835]
33491 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33492 <bits/siginfo.h>.
33493
942caa16
PT
334942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33495
e19af380
PT
33496 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33497 finalizing MALLSTREAM.
33498
942caa16
PT
33499 * sysdeps/mach/hurd/syncfs.c: New file.
33500
cfde9b46
SP
335012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33502
33503 [BZ #14719]
33504 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33505 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33506 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33507 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33508 (_nss_dns_gethostbyname4_r): Likewise.
33509 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33510 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33511
f6da27e5
PH
335122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33513
33514 [BZ #13763]
33515 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33516
6665d4a2
SM
335172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33518
1f51ee92
SM
33519 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33520 * elf/cache.c (print_entry): Print ",AArch64" for
33521 FLAG_AARCH64_LIB64
33522
6665d4a2
SM
33523 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33524 * elf/cache.c (print_entry): Print ",hard-float" for
33525 FLAG_ARM_LIBHF.
33526
05b227bd
DM
335272012-11-18 David S. Miller <davem@davemloft.net>
33528
33529 With help from Joseph Myers.
33530 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33531 cutoff to 2**-13.
33532 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33533 cutoff to 2**-25.
33534 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33535 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33536 small.
33537 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33538 * math/libm-test.inc (y0_test): New tests.
33539 (y1_test): New tests.
33540 * sysdeps/i386/fpu/libm-test-ulps: Update.
33541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33542 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33543
786b0b67
AS
335442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33545
33546 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33547 64-bit targets.
33548 * configure: Regenerated.
33549
8e18b86d
DM
335502012-11-17 David S. Miller <davem@davemloft.net>
33551
33552 [BZ #14811]
33553 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33554 nonzero exponents with absolute value below 0x1p-128 to +/-
33555 0x1p-128.
33556
531f1ae0
JM
335572012-11-17 Joseph Myers <joseph@codesourcery.com>
33558
12df29e2
JM
33559 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33560
150dc1a0
JM
33561 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33562
531f1ae0
JM
33563 * posix/getconf-speclist.c: New file.
33564 * posix/posix-envs.def: Likewise.
33565 * posix/confstr.c (START_ENV_GROUP): New macro.
33566 (END_ENV_GROUP): Likewise.
33567 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33568 (KNOWN_PRESENT_ENV_STRING): Likewise.
33569 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33570 (UNKNOWN_ENVIRONMENT): Likewise.
33571 (confstr): Include posix-envs.def instead of handling
33572 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33573 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33574 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33575 (END_ENV_GROUP): Likewise.
33576 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33577 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33578 (UNKNOWN_ENVIRONMENT): Likewise.
33579 (__sysconf): Include posix-envs.def instead of handling associated
33580 cases directly here.
33581 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33582 preprocessing getconf-speclist.c rather than running getconf or
33583 generating empty file.
33584
a93f9cbc
PT
335852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33586
33587 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33588
d64d9f87
AL
335892012-11-16 Andrej Lajovic <natrij@gmail.com>
33590
33591 [BZ #14672]
33592 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33593
447885eb
DM
335942012-11-16 David S. Miller <davem@davemloft.net>
33595
33596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33597 smaller than LDBL_EPSILON/2.0L, just return xm1.
33598
bcbf9830
L
335992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33600
33601 * elf/tst-array1.c (init): Set constructor priority to 1000.
33602 (fini): Set destructor priority to 1000.
33603 * elf/tst-array2dep.c: Likewise.
33604
2b766585
SP
336052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33606
33607 [BZ #11741]
33608 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33609 (_IO_new_file_xsputn): Also return EOF if none of the input
33610 data was written when overflow failed.
33611 * libio/iopadn.c (_IO_padn): Likewise.
33612 * libio/iowpadn.c (_IO_wpadn): Likewise.
33613 * stdio-common/tst-put-error.c: Add copyright notice.
33614 (do_test): Add case for printing padded string.
33615 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33616 _IO_padn returned error.
33617 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33618 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33619 return EOF.
33620
b1848fde
SP
336212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33622
33623 * libio/libioP.h: Add comment note that the references to C++
33624 bits are now obsolete.
33625
2fd89785
MS
336262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33627
33628 * math/libm-test.inc (check_complex): Use asprintf.
33629
e3ea5409
JM
336302012-11-14 Joseph Myers <joseph@codesourcery.com>
33631
33632 * debug/pcprofiledump.c (print_version): Update copyright year.
33633 * malloc/memusagestat.c (print_version): Likewise.
33634
2e64d265
L
336352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33636
33637 [BZ #14831]
33638 * elf/Makefile (tests): Add tst-audit8.
33639 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33640 ($(objpfx)tst-audit8.out): New target.
33641 (tst-audit8-ENV): New variable.
33642 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33643 audit if l_reloc_result is NULL.
33644 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33645 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33646 * elf/tst-audit8.c: New file.
33647
c485e4d2
MS
336482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33649
33650 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33651 * misc/Makefile (CFLAGS-select.c): Define.
33652 * posix/Makefile (CFLAGS-pause.c): Define.
33653
3a0d900a
DM
336542012-11-13 David S. Miller <davem@davemloft.net>
33655
33656 * crypt/Makefile: Move test targets after toplevel Rules
33657 inclusion. Grab any necessary sysdep routines when linking.
33658 * crypt/md5.c (md5_process_block): Remove define, we will always
33659 name it __md5_process_block.
33660 (md5_finish_ctx): Update md5_process_block call.
33661 (md5_stream): Likewise.
33662 (md5_process_bytes): Likewise.
33663 (md5_process_block): Rename to __md5_process_block and move to ...
33664 * crypt/md5-block.c: ... here.
33665 * crypt/sha256.c (sha256_process_block): Move to ...
33666 * crypt/sha256-block.c: ... here.
33667 * crypt/sha512.c (sha512_process_block): Move to ...
33668 * crypt/sha512-block.c: ... here.
33669 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33670 path.
33671 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33672 * sysdeps/sparc/sparc64/multiarch/Makefile
33673 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33674 crypt subdir.
33675 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33676 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33677 multiarch changes.
33678 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33679 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33680 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33681 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33682 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33683 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33684 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33685 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33687 file.
33688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33690 file.
33691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33692
8ca89318
JM
336932012-11-13 Joseph Myers <joseph@codesourcery.com>
33694
e27d476a
JM
33695 * timezone/tzselect.ksh: Update from tzcode git revision
33696 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33697 * timezone/zdump.c: Likewise.
33698 * timezone/zic.c: Likewise.
33699 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33700 in TZVERSION setting, not $(PKGVERSION).
33701 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33702 REPORT_BUGS_TO settings.
33703
8ca89318
JM
33704 [BZ #14838]
33705 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33706 macro.
33707
47594329
MS
337082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33709
33710 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33711 detection to immediately after _FP_ROUND().
33712 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33713 bits are 0.
33714
640ac3f1
DM
337152012-11-11 David S. Miller <davem@davemloft.net>
33716
33717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33718 inttypes.h
33719 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33720 __close rather than their public counterparts.
33721
3d2577bb
JM
337222012-11-10 Joseph Myers <joseph@codesourcery.com>
33723
33724 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33725 file.
33726 [UNIX98] (sem_timedwait): Do not expect.
33727 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33728 [XPG4 || UNIX98] (sockatmark): Do not expect.
33729 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33730 (clock_getcpuclockid): Do not expect.
33731 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33732 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33733 Do not expect.
33734 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33735 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33736 [UNIX98] (vwscanf): Likewise.
33737 [UNIX98] (vswscanf): Likewise.
33738
fb1ae1ee
JM
337392012-11-09 Joseph Myers <joseph@codesourcery.com>
33740
9ec6f8bd
JM
33741 * timezone/version.h: Remove file.
33742 * timezone/README: Do not refer to version.h.
33743 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33744 $(objpfx)version.h.
33745 ($(objpfx)zdump.o): Likewise.
c3f81911 33746 ($(objpfx)version.h): New target.
9ec6f8bd 33747
0aa8f8a1
JM
33748 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33749 2012i.
33750 * timezone/README: Don't mention modification to tzselect.ksh.
33751 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33752 work on unmodified tzselect.ksh. Substitute version numbers in
33753 tzselect.ksh.
33754
4e87147f
JM
33755 * Makefile (format-me): Remove.
33756 (INSTALL): Adjust indentation. Use commands directly instead of
33757 using $(format-me).
33758
8b748aed
JM
33759 * aclocal.m4 (ACX_PKGVERSION): New macro.
33760 (ACX_BUGURL): Likewise.
33761 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33762 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33763 (REPORT_BUGS_TO): Likewise.
33764 * configure: Regenerated.
33765 * config.h.in (PKGVERSION): New macro.
33766 (REPORT_BUGS_TO): Likewise.
33767 * config.make.in (PKGVERSION): New variable.
33768 (PKGVERSION_TEXI): Likewise.
33769 (REPORT_BUGS_TO): Likewise.
33770 (REPORT_BUGS_TEXI): Likewise.
33771 * Makefile (format-me): Use -I$(common-objpfx)manual.
33772 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33773 ($(common-objpfx)manual/%): New target.
33774 (manual/%): Remove target.
33775 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33776 (print_version): Use PKGVERSION.
33777 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33778 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33779 and REPORT_BUGS_TO.
33780 ($(objpfx)xtrace): Likewise.
33781 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33782 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33783 (print_version): Use PKGVERSION.
33784 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33785 (do_version): Use PKGVERSION.
33786 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33787 REPORT_BUGS_TO.
33788 (common-ldd-rewrite): Likewise.
33789 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33790 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33791 (print_version): Use PKGVERSION.
33792 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33793 * elf/pldd.c (argp_program_bug_address): Remove variable.
33794 (more_help): New function.
33795 (argp): Use more_help.
33796 (print_version): Use PKGVERSION.
33797 * elf/sln.c (main): Use PKGVERSION.
33798 (usage): Use REPORT_BUGS_TO.
33799 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33800 (top level): Use PKGVERSION.
33801 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33802 (print_version): Use PKGVERSION.
33803 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33804 (print_version): Use PKGVERSION.
33805 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33806 (print_version): Use PKGVERSION.
33807 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33808 (print_version): Use PKGVERSION.
33809 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33810 (print_version): Use PKGVERSION.
33811 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33812 (print_version): Use PKGVERSION.
33813 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33814 and BUGURL.
33815 ($(objpfx)memusage): Likewise.
33816 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33817 (do_version): Use PKGVERSION.
33818 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33819 (print_version): Use PKGVERSION.
33820 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33821 ($PKGVERSION): New variable.
33822 ($REPORT_BUGS_TO): Likewise.
33823 (usage): Use $REPORT_BUGS_TO.
33824 (top level): Use $PKGVERSION.
33825 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33826 ($(objpfx)pkgvers.texi): New rule.
33827 ($(objpfx)stamp-pkgvers): Likewise.
33828 * manual/install.texi: Include pkgvers.texi.
33829 (--with-pkgversion): Document new configure option.
33830 (--with-bugurl): Likewise.
33831 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33832 than necessarily for this particular distribution. Use
33833 REPORT_BUGS_TO for where to report bugs.
33834 * INSTALL: Regenerated.
33835 * manual/libc.texinfo: Include pkgvers.texi.
33836 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33837 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33838 (print_version): Use PKGVERSION.
33839 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33840 (print_version): Use PKGVERSION.
33841 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33842 (print_version): Use PKGVERSION.
33843 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33844 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33845 macro.
33846 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33847 (print_version): Use PKGVERSION.
33848 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33849 (print_version): Use PKGVERSION.
33850 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33851 and PKGVERSION.
33852
92e4b6a9
JM
33853 * timezone/checktab.awk: Update from tzcode 2012i.
33854 * timezone/ialloc.c: Likewise.
33855 * timezone/private.h: Likewise.
33856 * timezone/scheck.c: Likewise.
33857 * timezone/tzfile.h: Likewise.
33858 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33859 (TZVERSION): Hardcode tzcode version number.
33860 * timezone/zdump.c: Update from tzcode 2012i.
33861 * timezone/zic.c: Likewise.
33862 * timezone/version.h: New file.
33863 * timezone/README: Describe version.h. Update upstream location.
33864
9bde902c
JM
33865 [BZ #14824]
33866 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33867 (mktemp): Enable declaration.
33868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33869 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33872 Likewise.
33873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33874 Likewise.
33875 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33876 Likewise.
33877 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33878 Likewise.
33879 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33880 Likewise.
33881 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33882 Likewise.
33883
fb1ae1ee
JM
33884 [BZ #14821]
33885 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33886 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33887 for copies of such integer values.
33888 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33889 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33890
2c1adbcb
AJ
338912012-11-09 Andreas Jaeger <aj@suse.de>
33892
33893 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33894 definitions and declarations that are provided by
33895 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33896
d0f8457e
AK
338972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33898
3a235abb 33899 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33900 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33901 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33902 definition.
33903
57241e26
MS
339042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33905
33906 * elf/elf.h: Update comment before AArch64 relocations.
33907
60e8270d
DM
339082012-11-07 David S. Miller <davem@davemloft.net>
33909
33910 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33911 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33912 (__start_context): Declare.
33913 (__makecontext_ret): Delete.
33914 (__makecontext): Hook up __start_context instead of
33915 __makecontext_ret.
33916 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33917 (sysdep_routines): Add __start_context when in stdlib.
33918
0fbb0fbc
JM
339192012-11-07 Joseph Myers <joseph@codesourcery.com>
33920
33921 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33922 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33923 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33924 hardcoded "nm".
33925 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33926 (READELF): New variable. Use it instead of hardcoded "readelf".
33927
eb48db7e
L
339282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33929
33930 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33931 * sysdeps/x86/Makefile: Here.
33932 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33933 * sysdeps/x86/tst-xmmymm.sh: This.
33934
05bcf62a
JM
339352012-11-07 Joseph Myers <joseph@codesourcery.com>
33936
c4b6cf53
JM
33937 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33938 expectations.
33939 [UNIX98] (pthread_barrier_t): Do not expect.
33940 [UNIX98] (pthread_barrierattr_t): Likewise.
33941 [UNIX98] (pthread_spinlock_t): Likewise.
33942 [UNIX98] (pthread_barrier_destroy): Likewise.
33943 [UNIX98] (pthread_barrier_init): Likewise.
33944 [UNIX98] (pthread_barrier_wait): Likewise.
33945 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33946 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33947 [UNIX98] (pthread_barrierattr_init): Likewise.
33948 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33949 [UNIX98] (pthread_getcpuclockid): Likewise.
33950 [UNIX98] (pthread_mutex_timedlock): Likewise.
33951 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33952 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33953 [UNIX98] (pthread_sigmask): Likewise.
33954 [UNIX98] (pthread_spin_destroy): Likewise.
33955 [UNIX98] (pthread_spin_init): Likewise.
33956 [UNIX98] (pthread_spin_lock): Likewise.
33957 [UNIX98] (pthread_spin_trylock): Likewise.
33958 [UNIX98] (pthread_spin_unlock): Likewise.
33959 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33960 Do not expect.
33961 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33962 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33963 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33964 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33965 [XPG3 || XPG4] (pthread_key_t): Likewise.
33966 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33967 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33968 [XPG3 || XPG4] (pthread_once_t): Likewise.
33969 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33970 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33971 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33972 [XPG3 || XPG4] (pthread_t): Likewise.
33973
cbe6e120
JM
33974 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33975 not expect.
33976 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33977
1b126443
JM
33978 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33979 Change function return type to int.
33980
b961a573
JM
33981 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33982 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33983 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33984 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33985 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33986 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33987 [!POSIX] (posix_madvise): Likewise.
33988 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33989 && !UNIX98].
33990 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33991 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33992 (mode_t): Likewise.
33993 (posix_mem_offset): Likewise.
33994 (posix_typed_mem_get_info): Likewise.
33995 (posix_typed_mem_open): Likewise.
33996
9e188909
JM
33997 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33998 Change condition to [XOPEN2K8].
33999
05bcf62a
JM
34000 * conform/conformtest.pl: Preprocess allow-header data with -x c
34001 instead of from stdin.
34002 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34003 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34004 [C99-based standards] (cerfc): Likewise.
34005 [C99-based standards] (cexp2): Likewise.
34006 [C99-based standards] (cexpm1): Likewise.
34007 [C99-based standards] (clog10): Likewise.
34008 [C99-based standards] (clog1p): Likewise.
34009 [C99-based standards] (clog2): Likewise.
34010 [C99-based standards] (clgamma): Likewise.
34011 [C99-based standards] (ctgamma): Likewise.
34012 [C99-based standards] (cerff): Likewise.
34013 [C99-based standards] (cerfcf): Likewise.
34014 [C99-based standards] (cexp2f): Likewise.
34015 [C99-based standards] (cexpm1f): Likewise.
34016 [C99-based standards] (clog10f): Likewise.
34017 [C99-based standards] (clog1pf): Likewise.
34018 [C99-based standards] (clog2f): Likewise.
34019 [C99-based standards] (clgammaf): Likewise.
34020 [C99-based standards] (ctgammaf): Likewise.
34021 [C99-based standards] (cerfl): Likewise.
34022 [C99-based standards] (cerfcl): Likewise.
34023 [C99-based standards] (cexp2l): Likewise.
34024 [C99-based standards] (cexpm1l): Likewise.
34025 [C99-based standards] (clog10l): Likewise.
34026 [C99-based standards] (clog1pl): Likewise.
34027 [C99-based standards] (clog2l): Likewise.
34028 [C99-based standards] (clgammal): Likewise.
34029 [C99-based standards] (ctgammal): Likewise.
34030 * conform/data/inttypes.h-data [C99-based standards]: Include
34031 stdint.h-data. Remove all expectations for stdint.h contents.
34032 [C99-based standards] (PRI*): Do not allow.
34033 [C99-based standards] (SCN*): Likewise.
34034 [C99-based standards] (*_t): Likewise.
34035 [C99-based-standards] (PRId8): Expect macro.
34036 [C99-based-standards] (PRIi8): Likewise.
34037 [C99-based-standards] (PRIo8): Likewise.
34038 [C99-based-standards] (PRIu8): Likewise.
34039 [C99-based-standards] (PRIx8): Likewise.
34040 [C99-based-standards] (PRIX8): Likewise.
34041 [C99-based-standards] (SCNd8): Likewise.
34042 [C99-based-standards] (SCNi8): Likewise.
34043 [C99-based-standards] (SCNo8): Likewise.
34044 [C99-based-standards] (SCNu8): Likewise.
34045 [C99-based-standards] (SCNx8): Likewise.
34046 [C99-based-standards] (PRIdLEAST8): Likewise.
34047 [C99-based-standards] (PRIiLEAST8): Likewise.
34048 [C99-based-standards] (PRIoLEAST8): Likewise.
34049 [C99-based-standards] (PRIuLEAST8): Likewise.
34050 [C99-based-standards] (PRIxLEAST8): Likewise.
34051 [C99-based-standards] (PRIXLEAST8): Likewise.
34052 [C99-based-standards] (SCNdLEAST8): Likewise.
34053 [C99-based-standards] (SCNiLEAST8): Likewise.
34054 [C99-based-standards] (SCNoLEAST8): Likewise.
34055 [C99-based-standards] (SCNuLEAST8): Likewise.
34056 [C99-based-standards] (SCNxLEAST8): Likewise.
34057 [C99-based-standards] (PRIdFAST8): Likewise.
34058 [C99-based-standards] (PRIiFAST8): Likewise.
34059 [C99-based-standards] (PRIoFAST8): Likewise.
34060 [C99-based-standards] (PRIuFAST8): Likewise.
34061 [C99-based-standards] (PRIxFAST8): Likewise.
34062 [C99-based-standards] (PRIXFAST8): Likewise.
34063 [C99-based-standards] (SCNdFAST8): Likewise.
34064 [C99-based-standards] (SCNiFAST8): Likewise.
34065 [C99-based-standards] (SCNoFAST8): Likewise.
34066 [C99-based-standards] (SCNuFAST8): Likewise.
34067 [C99-based-standards] (SCNxFAST8): Likewise.
34068 [C99-based-standards] (PRId16): Likewise.
34069 [C99-based-standards] (PRIi16): Likewise.
34070 [C99-based-standards] (PRIo16): Likewise.
34071 [C99-based-standards] (PRIu16): Likewise.
34072 [C99-based-standards] (PRIx16): Likewise.
34073 [C99-based-standards] (PRIX16): Likewise.
34074 [C99-based-standards] (SCNd16): Likewise.
34075 [C99-based-standards] (SCNi16): Likewise.
34076 [C99-based-standards] (SCNo16): Likewise.
34077 [C99-based-standards] (SCNu16): Likewise.
34078 [C99-based-standards] (SCNx16): Likewise.
34079 [C99-based-standards] (PRIdLEAST16): Likewise.
34080 [C99-based-standards] (PRIiLEAST16): Likewise.
34081 [C99-based-standards] (PRIoLEAST16): Likewise.
34082 [C99-based-standards] (PRIuLEAST16): Likewise.
34083 [C99-based-standards] (PRIxLEAST16): Likewise.
34084 [C99-based-standards] (PRIXLEAST16): Likewise.
34085 [C99-based-standards] (SCNdLEAST16): Likewise.
34086 [C99-based-standards] (SCNiLEAST16): Likewise.
34087 [C99-based-standards] (SCNoLEAST16): Likewise.
34088 [C99-based-standards] (SCNuLEAST16): Likewise.
34089 [C99-based-standards] (SCNxLEAST16): Likewise.
34090 [C99-based-standards] (PRIdFAST16): Likewise.
34091 [C99-based-standards] (PRIiFAST16): Likewise.
34092 [C99-based-standards] (PRIoFAST16): Likewise.
34093 [C99-based-standards] (PRIuFAST16): Likewise.
34094 [C99-based-standards] (PRIxFAST16): Likewise.
34095 [C99-based-standards] (PRIXFAST16): Likewise.
34096 [C99-based-standards] (SCNdFAST16): Likewise.
34097 [C99-based-standards] (SCNiFAST16): Likewise.
34098 [C99-based-standards] (SCNoFAST16): Likewise.
34099 [C99-based-standards] (SCNuFAST16): Likewise.
34100 [C99-based-standards] (SCNxFAST16): Likewise.
34101 [C99-based-standards] (PRId32): Likewise.
34102 [C99-based-standards] (PRIi32): Likewise.
34103 [C99-based-standards] (PRIo32): Likewise.
34104 [C99-based-standards] (PRIu32): Likewise.
34105 [C99-based-standards] (PRIx32): Likewise.
34106 [C99-based-standards] (PRIX32): Likewise.
34107 [C99-based-standards] (SCNd32): Likewise.
34108 [C99-based-standards] (SCNi32): Likewise.
34109 [C99-based-standards] (SCNo32): Likewise.
34110 [C99-based-standards] (SCNu32): Likewise.
34111 [C99-based-standards] (SCNx32): Likewise.
34112 [C99-based-standards] (PRIdLEAST32): Likewise.
34113 [C99-based-standards] (PRIiLEAST32): Likewise.
34114 [C99-based-standards] (PRIoLEAST32): Likewise.
34115 [C99-based-standards] (PRIuLEAST32): Likewise.
34116 [C99-based-standards] (PRIxLEAST32): Likewise.
34117 [C99-based-standards] (PRIXLEAST32): Likewise.
34118 [C99-based-standards] (SCNdLEAST32): Likewise.
34119 [C99-based-standards] (SCNiLEAST32): Likewise.
34120 [C99-based-standards] (SCNoLEAST32): Likewise.
34121 [C99-based-standards] (SCNuLEAST32): Likewise.
34122 [C99-based-standards] (SCNxLEAST32): Likewise.
34123 [C99-based-standards] (PRIdFAST32): Likewise.
34124 [C99-based-standards] (PRIiFAST32): Likewise.
34125 [C99-based-standards] (PRIoFAST32): Likewise.
34126 [C99-based-standards] (PRIuFAST32): Likewise.
34127 [C99-based-standards] (PRIxFAST32): Likewise.
34128 [C99-based-standards] (PRIXFAST32): Likewise.
34129 [C99-based-standards] (SCNdFAST32): Likewise.
34130 [C99-based-standards] (SCNiFAST32): Likewise.
34131 [C99-based-standards] (SCNoFAST32): Likewise.
34132 [C99-based-standards] (SCNuFAST32): Likewise.
34133 [C99-based-standards] (SCNxFAST32): Likewise.
34134 [C99-based-standards] (PRId64): Likewise.
34135 [C99-based-standards] (PRIi64): Likewise.
34136 [C99-based-standards] (PRIo64): Likewise.
34137 [C99-based-standards] (PRIu64): Likewise.
34138 [C99-based-standards] (PRIx64): Likewise.
34139 [C99-based-standards] (PRIX64): Likewise.
34140 [C99-based-standards] (SCNd64): Likewise.
34141 [C99-based-standards] (SCNi64): Likewise.
34142 [C99-based-standards] (SCNo64): Likewise.
34143 [C99-based-standards] (SCNu64): Likewise.
34144 [C99-based-standards] (SCNx64): Likewise.
34145 [C99-based-standards] (PRIdLEAST64): Likewise.
34146 [C99-based-standards] (PRIiLEAST64): Likewise.
34147 [C99-based-standards] (PRIoLEAST64): Likewise.
34148 [C99-based-standards] (PRIuLEAST64): Likewise.
34149 [C99-based-standards] (PRIxLEAST64): Likewise.
34150 [C99-based-standards] (PRIXLEAST64): Likewise.
34151 [C99-based-standards] (SCNdLEAST64): Likewise.
34152 [C99-based-standards] (SCNiLEAST64): Likewise.
34153 [C99-based-standards] (SCNoLEAST64): Likewise.
34154 [C99-based-standards] (SCNuLEAST64): Likewise.
34155 [C99-based-standards] (SCNxLEAST64): Likewise.
34156 [C99-based-standards] (PRIdFAST64): Likewise.
34157 [C99-based-standards] (PRIiFAST64): Likewise.
34158 [C99-based-standards] (PRIoFAST64): Likewise.
34159 [C99-based-standards] (PRIuFAST64): Likewise.
34160 [C99-based-standards] (PRIxFAST64): Likewise.
34161 [C99-based-standards] (PRIXFAST64): Likewise.
34162 [C99-based-standards] (SCNdFAST64): Likewise.
34163 [C99-based-standards] (SCNiFAST64): Likewise.
34164 [C99-based-standards] (SCNoFAST64): Likewise.
34165 [C99-based-standards] (SCNuFAST64): Likewise.
34166 [C99-based-standards] (SCNxFAST64): Likewise.
34167 [C99-based-standards] (PRIdMAX): Likewise.
34168 [C99-based-standards] (PRIiMAX): Likewise.
34169 [C99-based-standards] (PRIoMAX): Likewise.
34170 [C99-based-standards] (PRIuMAX): Likewise.
34171 [C99-based-standards] (PRIxMAX): Likewise.
34172 [C99-based-standards] (PRIXMAX): Likewise.
34173 [C99-based-standards] (SCNdMAX): Likewise.
34174 [C99-based-standards] (SCNiMAX): Likewise.
34175 [C99-based-standards] (SCNoMAX): Likewise.
34176 [C99-based-standards] (SCNuMAX): Likewise.
34177 [C99-based-standards] (SCNxMAX): Likewise.
34178 [C99-based-standards] (PRIdPTR): Likewise.
34179 [C99-based-standards] (PRIiPTR): Likewise.
34180 [C99-based-standards] (PRIoPTR): Likewise.
34181 [C99-based-standards] (PRIuPTR): Likewise.
34182 [C99-based-standards] (PRIxPTR): Likewise.
34183 [C99-based-standards] (PRIXPTR): Likewise.
34184 [C99-based-standards] (SCNdPTR): Likewise.
34185 [C99-based-standards] (SCNiPTR): Likewise.
34186 [C99-based-standards] (SCNoPTR): Likewise.
34187 [C99-based-standards] (SCNuPTR): Likewise.
34188 [C99-based-standards] (SCNxPTR): Likewise.
34189 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34190 allow.
34191 * conform/data/stdint.h-data: Update comments to clarify
34192 requirements.
34193 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34194 type.
34195 [C99-based standards] (INT8_MAX): Likewise.
34196 [C99-based standards] (INT16_MIN): Likewise.
34197 [C99-based standards] (INT16_MAX): Likewise.
34198 [C99-based standards] (INT32_MIN): Likewise.
34199 [C99-based standards] (INT32_MAX): Likewise.
34200 [C99-based standards] (INT64_MIN): Likewise.
34201 [C99-based standards] (INT64_MAX): Likewise.
34202 [C99-based standards] (UINT8_MAX): Likewise.
34203 [C99-based standards] (UINT16_MAX): Likewise.
34204 [C99-based standards] (UINT32_MAX): Likewise.
34205 [C99-based standards] (UINT64_MAX): Likewise.
34206 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34207 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34208 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34209 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34210 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34211 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34212 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34213 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34214 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34215 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34216 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34217 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34218 [C99-based standards] (INT_FAST8_MIN): Likewise.
34219 [C99-based standards] (INT_FAST8_MAX): Likewise.
34220 [C99-based standards] (INT_FAST16_MIN): Likewise.
34221 [C99-based standards] (INT_FAST16_MAX): Likewise.
34222 [C99-based standards] (INT_FAST32_MIN): Likewise.
34223 [C99-based standards] (INT_FAST32_MAX): Likewise.
34224 [C99-based standards] (INT_FAST64_MIN): Likewise.
34225 [C99-based standards] (INT_FAST64_MAX): Likewise.
34226 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34227 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34228 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34229 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34230 [C99-based standards] (INTPTR_MIN): Likewise.
34231 [C99-based standards] (INTPTR_MAX): Likewise.
34232 [C99-based standards] (UINTPTR_MAX): Likewise.
34233 [C99-based standards] (INTMAX_MIN): Likewise.
34234 [C99-based standards] (INTMAX_MAX): Likewise.
34235 [C99-based standards] (UINTMAX_MAX): Likewise.
34236 [C99-based standards] (PTRDIFF_MIN): Likewise.
34237 [C99-based standards] (PTRDIFF_MAX): Likewise.
34238 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34239 [C99-based standards] (SIZE_MAX): Likewise.
34240 [C99-based standards] (WCHAR_MAX): Likewise.
34241 [C99-based standards] (WINT_MAX): Likewise.
34242 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34243 constraint on value.
34244 [C99-based standards] (WCHAR_MIN): Likewise.
34245 [C99-based standards] (WINT_MIN): Likewise.
34246 [C99-based standards] (*_t): Allow.
34247 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34248 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34249 Include math.h-data and complex.h-data. Remove all expectations
34250 of math.h and complex.h contents.
34251 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34252 at end of line.
34253 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34254 (struct tm): Expect tag.
34255 [C99-based-standards] (wcstof): Expect function.
34256 [C99-based-standards] (wcstold): Likewise.
34257 [C99-based-standards] (wcstoll): Likewise.
34258 [C99-based-standards] (wcstoull): Likewise.
34259 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34260 macro-int-constant. Specify type.
34261 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34262 constraint on value.
34263 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34264 Specify type.
34265 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34266 Specify value.
34267 [ISO C standards]: Do not allow headers.
34268 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34269 wcs[abcdefghijklmnopqrstuvwxyz]*.
34270 [ISO C standards] (*_t): Do not allow.
34271 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34272 Expect function.
34273 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34274 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34275 Specify type.
34276 [ISO C standards]: Do not allow headers.
34277 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34278 is[abcdefghijklmnopqrstuvwxyz]*.
34279 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34280 to[abcdefghijklmnopqrstuvwxyz]*.
34281 [ISO C standards] (*_t): Do not allow.
34282 * conform/data/stdalign.h-data: New file.
34283 * conform/data/stdbool.h-data: Likewise.
34284 * conform/data/stdnoreturn.h-data: Likewise.
34285
7514feb8
RM
342862012-11-07 Roland McGrath <roland@hack.frob.com>
34287
34288 [BZ #14815]
34289 * manual/filesys.texi (Directory Entries): Typo fix.
34290 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34291
19b2ecfc
MS
342922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34293
34294 * elf/elf.h (EM_AARCH64): New macro.
34295 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34296 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34297 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34298 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34299 (R_AARCH64_TLSDESC): Likewise.
34300 (NT_ARM_TLS): Likewise.
34301 (NT_ARM_HW_BREAK): Likewise.
34302 (NT_ARM_HW_WATCH): Likewise.
34303
60e235ee
JM
343042012-11-07 Joseph Myers <joseph@codesourcery.com>
34305
34306 [BZ #14811]
34307 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34308 (__ieee754_powl): Saturate nonzero exponents with absolute value
34309 below 0x1p-79 to +/- 0x1p-79.
34310 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34311 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34312 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34313 nonzero exponents with absolute value below 0x1p-32 to +/-
34314 0x1p-32.
34315 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34316 (__ieee754_powl): Saturate nonzero exponents with absolute value
34317 below 0x1p-79 to +/- 0x1p-79.
34318 * math/libm-test.inc (pow_test): Add more tests.
34319
0ab234b7
AK
343202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34321
34322 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34323 _dl_s390_cap_flags with kernel. Increase string length.
34324 (_dl_s390_platforms): Add z196 and zEC12.
34325
45832f74
JM
343262012-11-07 Joseph Myers <joseph@codesourcery.com>
34327
34328 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34329 Change XOPEN21K to XOPEN2K.
34330
19218757
MK
343312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34332
34333 * string/memmove.c: Use memcpy when possible.
34334
c5f45721
AJ
343352012-11-06 Andreas Jaeger <aj@suse.de>
34336
34337 * po/eo.po: Update from translation team.
34338
82477c28
JM
343392012-11-06 Joseph Myers <joseph@codesourcery.com>
34340
34341 [BZ #14793]
34342 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34343 exponent and small x and y exponents, scale x or y up. Increase
34344 by 2 the exponent used in scaling up.
34345 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34346 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34347 * math/libm-test.inc (fma_test): Add more tests.
34348 (fma_test_towardzero): Likewise.
34349 (fma_test_downward): Likewise.
34350 (fma_test_upward): Likewise.
34351
99252c8c
JM
343522012-11-05 Joseph Myers <joseph@codesourcery.com>
34353
acfa885f
JM
34354 [BZ #14805]
34355 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34356 fenv_t *.
34357
99252c8c
JM
34358 [BZ #14801]
34359 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34360 namespace for names of struct fields.
34361 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34362 fenv_t fields.
34363 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34364 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34365
d6d98dea
ST
343662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34367
34368 [BZ #3665]
34369 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34370
e10bb107
TS
343712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34372
34373 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34374 PTR_DEMANGLE.
34375
34376 [BZ #5246]
34377 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34378 PTR_DEMANGLE.
34379
a0c2940d
JM
343802012-11-04 Joseph Myers <joseph@codesourcery.com>
34381
34382 [BZ #14797]
34383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34384 definitely overflow as x * y not x * y + z.
34385 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34386 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34387 * math/libm-test.inc (fma_test): Add more tests.
34388 (fma_test_towardzero): Likewise.
34389 (fma_test_downward): Likewise.
34390 (fma_test_upward): Likewise.
34391
b830319d
TS
343922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34393
34394 [BZ #157]
34395
34396 * include/stub-tag.h: Remove file.
34397 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34398 '#include' of it.
34399 * manual/maint.texi (Porting): Don't reference it.
34400 * Makerules ($(objpfx)stubs): Likewise.
34401 * dirent/closedir.c: Don't include <stub-tag.h>.
34402 * dirent/dirfd.c: Likewise.
34403 * dirent/fdopendir.c: Likewise.
34404 * dirent/getdents.c: Likewise.
34405 * dirent/getdents64.c: Likewise.
34406 * dirent/opendir.c: Likewise.
34407 * dirent/readdir.c: Likewise.
34408 * dirent/readdir64.c: Likewise.
34409 * dirent/readdir64_r.c: Likewise.
34410 * dirent/readdir_r.c: Likewise.
34411 * dirent/rewinddir.c: Likewise.
34412 * dirent/seekdir.c: Likewise.
34413 * dirent/telldir.c: Likewise.
34414 * gmon/profil.c: Likewise.
34415 * grp/setgroups.c: Likewise.
34416 * inet/if_index.c: Likewise.
34417 * io/access.c: Likewise.
34418 * io/chdir.c: Likewise.
34419 * io/chmod.c: Likewise.
34420 * io/chown.c: Likewise.
34421 * io/close.c: Likewise.
34422 * io/dup.c: Likewise.
34423 * io/dup2.c: Likewise.
34424 * io/dup3.c: Likewise.
34425 * io/euidaccess.c: Likewise.
34426 * io/faccessat.c: Likewise.
34427 * io/fchdir.c: Likewise.
34428 * io/fchmod.c: Likewise.
34429 * io/fchmodat.c: Likewise.
34430 * io/fchown.c: Likewise.
34431 * io/fchownat.c: Likewise.
34432 * io/fcntl.c: Likewise.
34433 * io/flock.c: Likewise.
34434 * io/fstatfs.c: Likewise.
34435 * io/fstatfs64.c: Likewise.
34436 * io/fstatvfs.c: Likewise.
34437 * io/fstatvfs64.c: Likewise.
34438 * io/futimens.c: Likewise.
34439 * io/fxstat.c: Likewise.
34440 * io/fxstat64.c: Likewise.
34441 * io/fxstatat.c: Likewise.
34442 * io/fxstatat64.c: Likewise.
34443 * io/getcwd.c: Likewise.
34444 * io/isatty.c: Likewise.
34445 * io/lchmod.c: Likewise.
34446 * io/lchown.c: Likewise.
34447 * io/link.c: Likewise.
34448 * io/linkat.c: Likewise.
34449 * io/lseek.c: Likewise.
34450 * io/lseek64.c: Likewise.
34451 * io/lxstat64.c: Likewise.
34452 * io/mkdir.c: Likewise.
34453 * io/mkdirat.c: Likewise.
34454 * io/mkfifo.c: Likewise.
34455 * io/mkfifoat.c: Likewise.
34456 * io/open.c: Likewise.
34457 * io/open64.c: Likewise.
34458 * io/openat.c: Likewise.
34459 * io/openat64.c: Likewise.
34460 * io/pipe.c: Likewise.
34461 * io/pipe2.c: Likewise.
34462 * io/poll.c: Likewise.
34463 * io/posix_fadvise.c: Likewise.
34464 * io/posix_fadvise64.c: Likewise.
34465 * io/posix_fallocate.c: Likewise.
34466 * io/posix_fallocate64.c: Likewise.
34467 * io/read.c: Likewise.
34468 * io/readlink.c: Likewise.
34469 * io/readlinkat.c: Likewise.
34470 * io/rmdir.c: Likewise.
34471 * io/sendfile.c: Likewise.
34472 * io/sendfile64.c: Likewise.
34473 * io/statfs.c: Likewise.
34474 * io/statfs64.c: Likewise.
34475 * io/statvfs.c: Likewise.
34476 * io/statvfs64.c: Likewise.
34477 * io/symlink.c: Likewise.
34478 * io/symlinkat.c: Likewise.
34479 * io/ttyname.c: Likewise.
34480 * io/ttyname_r.c: Likewise.
34481 * io/umask.c: Likewise.
34482 * io/unlink.c: Likewise.
34483 * io/unlinkat.c: Likewise.
34484 * io/utime.c: Likewise.
34485 * io/utimensat.c: Likewise.
34486 * io/write.c: Likewise.
34487 * io/xmknod.c: Likewise.
34488 * io/xmknodat.c: Likewise.
34489 * io/xstat.c: Likewise.
34490 * io/xstat64.c: Likewise.
34491 * login/getpt.c: Likewise.
34492 * login/grantpt.c: Likewise.
34493 * login/unlockpt.c: Likewise.
34494 * math/e_acoshl.c: Likewise.
34495 * math/e_acosl.c: Likewise.
34496 * math/e_asinl.c: Likewise.
34497 * math/e_atan2l.c: Likewise.
34498 * math/e_atanhl.c: Likewise.
34499 * math/e_coshl.c: Likewise.
34500 * math/e_expl.c: Likewise.
34501 * math/e_fmodl.c: Likewise.
34502 * math/e_gammal_r.c: Likewise.
34503 * math/e_hypotl.c: Likewise.
34504 * math/e_j0l.c: Likewise.
34505 * math/e_j1l.c: Likewise.
34506 * math/e_jnl.c: Likewise.
34507 * math/e_lgammal_r.c: Likewise.
34508 * math/e_log10l.c: Likewise.
34509 * math/e_log2l.c: Likewise.
34510 * math/e_logl.c: Likewise.
34511 * math/e_powl.c: Likewise.
34512 * math/e_rem_pio2l.c: Likewise.
34513 * math/e_sinhl.c: Likewise.
34514 * math/e_sqrtl.c: Likewise.
34515 * math/fclrexcpt.c: Likewise.
34516 * math/fedisblxcpt.c: Likewise.
34517 * math/feenablxcpt.c: Likewise.
34518 * math/fegetenv.c: Likewise.
34519 * math/fegetexcept.c: Likewise.
34520 * math/fegetround.c: Likewise.
34521 * math/feholdexcpt.c: Likewise.
34522 * math/fesetenv.c: Likewise.
34523 * math/fesetround.c: Likewise.
34524 * math/feupdateenv.c: Likewise.
34525 * math/fgetexcptflg.c: Likewise.
34526 * math/fraiseexcpt.c: Likewise.
34527 * math/fsetexcptflg.c: Likewise.
34528 * math/ftestexcept.c: Likewise.
34529 * math/k_cosl.c: Likewise.
34530 * math/k_rem_pio2l.c: Likewise.
34531 * math/k_sinl.c: Likewise.
34532 * math/k_tanl.c: Likewise.
34533 * math/s_asinhl.c: Likewise.
34534 * math/s_atanl.c: Likewise.
34535 * math/s_cbrtl.c: Likewise.
34536 * math/s_erfl.c: Likewise.
34537 * math/s_expm1l.c: Likewise.
34538 * math/s_log1pl.c: Likewise.
34539 * math/s_tanhl.c: Likewise.
34540 * misc/acct.c: Likewise.
34541 * misc/brk.c: Likewise.
34542 * misc/chflags.c: Likewise.
34543 * misc/chroot.c: Likewise.
34544 * misc/fchflags.c: Likewise.
34545 * misc/fgetxattr.c: Likewise.
34546 * misc/flistxattr.c: Likewise.
34547 * misc/fremovexattr.c: Likewise.
34548 * misc/fsetxattr.c: Likewise.
34549 * misc/fsync.c: Likewise.
34550 * misc/ftruncate.c: Likewise.
34551 * misc/futimes.c: Likewise.
34552 * misc/futimesat.c: Likewise.
34553 * misc/getdomain.c: Likewise.
34554 * misc/getdtsz.c: Likewise.
34555 * misc/gethostid.c: Likewise.
34556 * misc/gethostname.c: Likewise.
34557 * misc/getloadavg.c: Likewise.
34558 * misc/getpagesize.c: Likewise.
34559 * misc/getsysstats.c: Likewise.
34560 * misc/getxattr.c: Likewise.
34561 * misc/gtty.c: Likewise.
34562 * misc/ioctl.c: Likewise.
34563 * misc/lgetxattr.c: Likewise.
34564 * misc/listxattr.c: Likewise.
34565 * misc/llistxattr.c: Likewise.
34566 * misc/lremovexattr.c: Likewise.
34567 * misc/lsetxattr.c: Likewise.
34568 * misc/lutimes.c: Likewise.
34569 * misc/madvise.c: Likewise.
34570 * misc/mincore.c: Likewise.
34571 * misc/mlock.c: Likewise.
34572 * misc/mlockall.c: Likewise.
34573 * misc/mmap.c: Likewise.
34574 * misc/mprotect.c: Likewise.
34575 * misc/msync.c: Likewise.
34576 * misc/munlock.c: Likewise.
34577 * misc/munlockall.c: Likewise.
34578 * misc/munmap.c: Likewise.
34579 * misc/preadv.c: Likewise.
34580 * misc/preadv64.c: Likewise.
34581 * misc/ptrace.c: Likewise.
34582 * misc/pwritev.c: Likewise.
34583 * misc/pwritev64.c: Likewise.
34584 * misc/readv.c: Likewise.
34585 * misc/reboot.c: Likewise.
34586 * misc/remap_file_pages.c: Likewise.
34587 * misc/removexattr.c: Likewise.
34588 * misc/revoke.c: Likewise.
34589 * misc/select.c: Likewise.
34590 * misc/setdomain.c: Likewise.
34591 * misc/setegid.c: Likewise.
34592 * misc/seteuid.c: Likewise.
34593 * misc/sethostid.c: Likewise.
34594 * misc/sethostname.c: Likewise.
34595 * misc/setregid.c: Likewise.
34596 * misc/setreuid.c: Likewise.
34597 * misc/setxattr.c: Likewise.
34598 * misc/sstk.c: Likewise.
34599 * misc/stty.c: Likewise.
34600 * misc/swapoff.c: Likewise.
34601 * misc/swapon.c: Likewise.
34602 * misc/sync.c: Likewise.
34603 * misc/syncfs.c: Likewise.
34604 * misc/syscall.c: Likewise.
34605 * misc/truncate.c: Likewise.
34606 * misc/ualarm.c: Likewise.
34607 * misc/usleep.c: Likewise.
34608 * misc/ustat.c: Likewise.
34609 * misc/utimes.c: Likewise.
34610 * misc/vhangup.c: Likewise.
34611 * misc/writev.c: Likewise.
34612 * posix/_exit.c: Likewise.
34613 * posix/alarm.c: Likewise.
34614 * posix/execve.c: Likewise.
34615 * posix/fexecve.c: Likewise.
34616 * posix/fork.c: Likewise.
34617 * posix/fpathconf.c: Likewise.
34618 * posix/getaddrinfo.c: Likewise.
34619 * posix/getegid.c: Likewise.
34620 * posix/geteuid.c: Likewise.
34621 * posix/getgid.c: Likewise.
34622 * posix/getgroups.c: Likewise.
34623 * posix/getlogin.c: Likewise.
34624 * posix/getlogin_r.c: Likewise.
34625 * posix/getpgid.c: Likewise.
34626 * posix/getpid.c: Likewise.
34627 * posix/getppid.c: Likewise.
34628 * posix/getresgid.c: Likewise.
34629 * posix/getresuid.c: Likewise.
34630 * posix/getsid.c: Likewise.
34631 * posix/getuid.c: Likewise.
34632 * posix/glob64.c: Likewise.
34633 * posix/nanosleep.c: Likewise.
34634 * posix/pathconf.c: Likewise.
34635 * posix/pause.c: Likewise.
34636 * posix/posix_madvise.c: Likewise.
34637 * posix/pread.c: Likewise.
34638 * posix/pread64.c: Likewise.
34639 * posix/pwrite.c: Likewise.
34640 * posix/pwrite64.c: Likewise.
34641 * posix/sched_getaffinity.c: Likewise.
34642 * posix/sched_getp.c: Likewise.
34643 * posix/sched_gets.c: Likewise.
34644 * posix/sched_primax.c: Likewise.
34645 * posix/sched_primin.c: Likewise.
34646 * posix/sched_rr_gi.c: Likewise.
34647 * posix/sched_setaffinity.c: Likewise.
34648 * posix/sched_setp.c: Likewise.
34649 * posix/sched_sets.c: Likewise.
34650 * posix/sched_yield.c: Likewise.
34651 * posix/setgid.c: Likewise.
34652 * posix/setlogin.c: Likewise.
34653 * posix/setpgid.c: Likewise.
34654 * posix/setresgid.c: Likewise.
34655 * posix/setresuid.c: Likewise.
34656 * posix/setsid.c: Likewise.
34657 * posix/setuid.c: Likewise.
34658 * posix/sleep.c: Likewise.
34659 * posix/spawni.c: Likewise.
34660 * posix/sysconf.c: Likewise.
34661 * posix/times.c: Likewise.
34662 * posix/wait.c: Likewise.
34663 * posix/wait3.c: Likewise.
34664 * posix/wait4.c: Likewise.
34665 * posix/waitpid.c: Likewise.
34666 * resolv/gai_sigqueue.c: Likewise.
34667 * resource/getpriority.c: Likewise.
34668 * resource/getrlimit.c: Likewise.
34669 * resource/getrusage.c: Likewise.
34670 * resource/nice.c: Likewise.
34671 * resource/setpriority.c: Likewise.
34672 * resource/setrlimit.c: Likewise.
34673 * resource/ulimit.c: Likewise.
34674 * rt/aio_cancel.c: Likewise.
34675 * rt/aio_fsync.c: Likewise.
34676 * rt/aio_read.c: Likewise.
34677 * rt/aio_sigqueue.c: Likewise.
34678 * rt/aio_suspend.c: Likewise.
34679 * rt/aio_write.c: Likewise.
34680 * rt/clock_getres.c: Likewise.
34681 * rt/clock_gettime.c: Likewise.
34682 * rt/clock_nanosleep.c: Likewise.
34683 * rt/clock_settime.c: Likewise.
34684 * rt/lio_listio.c: Likewise.
34685 * rt/mq_close.c: Likewise.
34686 * rt/mq_getattr.c: Likewise.
34687 * rt/mq_notify.c: Likewise.
34688 * rt/mq_open.c: Likewise.
34689 * rt/mq_receive.c: Likewise.
34690 * rt/mq_send.c: Likewise.
34691 * rt/mq_setattr.c: Likewise.
34692 * rt/mq_timedreceive.c: Likewise.
34693 * rt/mq_timedsend.c: Likewise.
34694 * rt/mq_unlink.c: Likewise.
34695 * rt/shm_open.c: Likewise.
34696 * rt/shm_unlink.c: Likewise.
34697 * rt/timer_create.c: Likewise.
34698 * rt/timer_delete.c: Likewise.
34699 * rt/timer_getoverr.c: Likewise.
34700 * rt/timer_gettime.c: Likewise.
34701 * rt/timer_settime.c: Likewise.
34702 * setjmp/__longjmp.c: Likewise.
34703 * setjmp/setjmp.c: Likewise.
34704 * signal/kill.c: Likewise.
34705 * signal/killpg.c: Likewise.
34706 * signal/raise.c: Likewise.
34707 * signal/sigaction.c: Likewise.
34708 * signal/sigaltstack.c: Likewise.
34709 * signal/sigblock.c: Likewise.
34710 * signal/sigignore.c: Likewise.
34711 * signal/sigintr.c: Likewise.
34712 * signal/signal.c: Likewise.
34713 * signal/sigpause.c: Likewise.
34714 * signal/sigpending.c: Likewise.
34715 * signal/sigqueue.c: Likewise.
34716 * signal/sigreturn.c: Likewise.
34717 * signal/sigset.c: Likewise.
34718 * signal/sigsetmask.c: Likewise.
34719 * signal/sigstack.c: Likewise.
34720 * signal/sigsuspend.c: Likewise.
34721 * signal/sigtimedwait.c: Likewise.
34722 * signal/sigvec.c: Likewise.
34723 * signal/sigwait.c: Likewise.
34724 * signal/sigwaitinfo.c: Likewise.
34725 * signal/sysv_signal.c: Likewise.
34726 * socket/accept.c: Likewise.
34727 * socket/accept4.c: Likewise.
34728 * socket/bind.c: Likewise.
34729 * socket/connect.c: Likewise.
34730 * socket/getpeername.c: Likewise.
34731 * socket/getsockname.c: Likewise.
34732 * socket/getsockopt.c: Likewise.
34733 * socket/isfdtype.c: Likewise.
34734 * socket/listen.c: Likewise.
34735 * socket/recv.c: Likewise.
34736 * socket/recvfrom.c: Likewise.
34737 * socket/recvmsg.c: Likewise.
34738 * socket/send.c: Likewise.
34739 * socket/sendmsg.c: Likewise.
34740 * socket/sendto.c: Likewise.
34741 * socket/setsockopt.c: Likewise.
34742 * socket/shutdown.c: Likewise.
34743 * socket/sockatmark.c: Likewise.
34744 * socket/socket.c: Likewise.
34745 * socket/socketpair.c: Likewise.
34746 * stdio-common/ctermid.c: Likewise.
34747 * stdio-common/cuserid.c: Likewise.
34748 * stdio-common/remove.c: Likewise.
34749 * stdio-common/rename.c: Likewise.
34750 * stdio-common/renameat.c: Likewise.
34751 * stdio-common/tempname.c: Likewise.
34752 * stdlib/getcontext.c: Likewise.
34753 * stdlib/makecontext.c: Likewise.
34754 * stdlib/setcontext.c: Likewise.
34755 * stdlib/swapcontext.c: Likewise.
34756 * stdlib/system.c: Likewise.
34757 * streams/fattach.c: Likewise.
34758 * streams/fdetach.c: Likewise.
34759 * streams/getmsg.c: Likewise.
34760 * streams/getpmsg.c: Likewise.
34761 * streams/putmsg.c: Likewise.
34762 * streams/putpmsg.c: Likewise.
34763 * sysdeps/unix/bsd/getpt.c: Likewise.
34764 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34765 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34766 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34768 Likewise.
34769 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34770 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34771 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34772 * sysvipc/msgctl.c: Likewise.
34773 * sysvipc/msgget.c: Likewise.
34774 * sysvipc/msgrcv.c: Likewise.
34775 * sysvipc/msgsnd.c: Likewise.
34776 * sysvipc/semctl.c: Likewise.
34777 * sysvipc/semget.c: Likewise.
34778 * sysvipc/semop.c: Likewise.
34779 * sysvipc/semtimedop.c: Likewise.
34780 * sysvipc/shmat.c: Likewise.
34781 * sysvipc/shmctl.c: Likewise.
34782 * sysvipc/shmdt.c: Likewise.
34783 * sysvipc/shmget.c: Likewise.
34784 * termios/tcdrain.c: Likewise.
34785 * termios/tcflow.c: Likewise.
34786 * termios/tcflush.c: Likewise.
34787 * termios/tcgetattr.c: Likewise.
34788 * termios/tcgetpgrp.c: Likewise.
34789 * termios/tcsendbrk.c: Likewise.
34790 * termios/tcsetattr.c: Likewise.
34791 * termios/tcsetpgrp.c: Likewise.
34792 * time/adjtime.c: Likewise.
34793 * time/clock.c: Likewise.
34794 * time/getitimer.c: Likewise.
34795 * time/gettimeofday.c: Likewise.
34796 * time/setitimer.c: Likewise.
34797 * time/settimeofday.c: Likewise.
34798 * time/stime.c: Likewise.
34799 * time/time.c: Likewise.
34800
348012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34802
a20492cf
PT
34803 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34804 /usr/old/bin.
34805
72e182e3
PT
34806 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34807 instead of spaces.
34808 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34809
fbeafede
JM
348102012-11-03 Joseph Myers <joseph@codesourcery.com>
34811
5b5b04d6
JM
34812 [BZ #14796]
34813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34814 FE_TONEAREST before applying Dekker multiplication and Knuth
34815 addition. Clear inexact exceptions and check for exact zero
34816 results afterwards.
34817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34818 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34819 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34820 * math/libm-test.inc (fma_test): Add more tests.
34821 (fma_test_towardzero): Likewise.
34822 (fma_test_downward): Likewise.
34823 (fma_test_upward): Likewise.
34824 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34825 function.
34826 (libc_fesetround): New macro.
34827 (libc_fesetroundf): Likewise.
34828 (libc_fesetroundl): Likewise.
34829 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34830 function.
34831 (libc_fesetround_387): Likewise.
34832 (libc_fesetroundf): New macro.
34833 (libc_fesetround): Likewise.
34834 (libc_fesetroundl): Likewise.
34835 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34836 function.
34837 (libc_fesetroundf): New macro.
34838 (libc_fesetround): Likewise.
34839 (libc_fesetroundl): Likewise.
34840 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34841 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34842 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34843 libm_hidden_ver.
34844 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34845 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34846 libm_hidden_def.
34847 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34848 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34849 libm_hidden_ver.
34850 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34851 libm_hidden_def.
34852
fbeafede
JM
34853 [BZ #3439]
34854 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34855 integer constant usable in #if and use that to give value to enum
34856 constant.
34857 (FE_DIVBYZERO): Likewise.
34858 (FE_UNDERFLOW): Likewise.
34859 (FE_OVERFLOW): Likewise.
34860 (FE_INVALID): Likewise.
34861 (FE_INVALID_SNAN): Likewise.
34862 (FE_INVALID_ISI): Likewise.
34863 (FE_INVALID_IDI): Likewise.
34864 (FE_INVALID_ZDZ): Likewise.
34865 (FE_INVALID_IMZ): Likewise.
34866 (FE_INVALID_COMPARE): Likewise.
34867 (FE_INVALID_SOFTWARE): Likewise.
34868 (FE_INVALID_SQRT): Likewise.
34869 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34870 (FE_TONEAREST): Likewise.
34871 (FE_TOWARDZERO): Likewise.
34872 (FE_UPWARD): Likewise.
34873 (FE_DOWNWARD): Likewise.
34874 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34875 (FE_DIVBYZERO): Likewise.
34876 (FE_OVERFLOW): Likewise.
34877 (FE_UNDERFLOW): Likewise.
34878 (FE_INEXACT): Likewise.
34879 (FE_TONEAREST): Likewise.
34880 (FE_DOWNWARD): Likewise.
34881 (FE_UPWARD): Likewise.
34882 (FE_TOWARDZERO): Likewise.
34883 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34884 (FE_UNDERFLOW): Likewise.
34885 (FE_OVERFLOW): Likewise.
34886 (FE_DIVBYZERO): Likewise.
34887 (FE_INVALID): Likewise.
34888 (FE_TONEAREST): Likewise.
34889 (FE_TOWARDZERO): Likewise.
34890 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34891 (FE_OVERFLOW): Likewise.
34892 (FE_UNDERFLOW): Likewise.
34893 (FE_DIVBYZERO): Likewise.
34894 (FE_INEXACT): Likewise.
34895 (FE_TONEAREST): Likewise.
34896 (FE_TOWARDZERO): Likewise.
34897 (FE_UPWARD): Likewise.
34898 (FE_DOWNWARD): Likewise.
34899 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34900 (FE_DIVBYZERO): Likewise.
34901 (FE_OVERFLOW): Likewise.
34902 (FE_UNDERFLOW): Likewise.
34903 (FE_INEXACT): Likewise.
34904 (FE_TONEAREST): Likewise.
34905 (FE_DOWNWARD): Likewise.
34906 (FE_UPWARD): Likewise.
34907 (FE_TOWARDZERO): Likewise.
34908
105ca950
CM
349092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34910
34911 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34912
a542b389
AS
349132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34914
34915 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34916 commands. Quote $PWD.
34917 (blacklist_exports): Don't use remove_newlines. Replace "declare
34918 -x" by "export".
34919 (remove_newlines): Remove.
34920
f62c8abc
L
349212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34922
34923 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34924 * stdlib/stdlib.h (atof): Moved to ...
34925 * include/bits/stdlib-float.h: Here. New file.
34926 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34927 * stdlib/bits/stdlib-float.h: New file.
34928 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34929 -mno-sse -mno-mmx.
34930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34931 <xmmintrin.h>.
34932
0155d5b2
JM
349332012-11-02 Joseph Myers <joseph@codesourcery.com>
34934
a68d0680
JM
34935 * conform/conformtest.pl (@headers): Add fenv.h.
34936 * conform/data/fenv.h-data: New file.
34937 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34938 include of <math/fenv.h>.
34939
caf7f573
JM
34940 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34941 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34942 && !UNIX98]. Enables tests for XOPEN2K8.
34943 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34944 POSIX2008]: Likewise.
34945
6c073ad6
JM
34946 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34947 (struct rusage): Do not expect type or its members.
34948
0155d5b2
JM
34949 [BZ #3439]
34950 * math/math.h (FP_NAN): Define macro to integer constant usable in
34951 #if and use that to give value to enum constant.
34952 (FP_INFINITE): Likewise.
34953 (FP_ZERO): Likewise.
34954 (FP_SUBNORMAL): Likewise.
34955 (FP_NORMAL): Likewise.
34956
b5dcacb4
AS
349572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34958
34959 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34960 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34961 arguments.
34962
f7934be8
RM
349632012-11-02 Roland McGrath <roland@hack.frob.com>
34964
34965 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34966 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34967 autoconf-time if not.
34968 * configure.in: Remove AC_PREREQ.
34969
d7d08bde
TMQMF
349702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34971
34972 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34973 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34974 of the internal implementation.
34975
dcdae19a
JM
349762012-11-02 Joseph Myers <joseph@codesourcery.com>
34977
34978 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34979 except include of <misc/sys/syslog.h>.
34980
d6cffd3e
AS
349812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34982
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34984 function returns with a NULL context exit with zero.
34985
b3563932
TMQMF
349862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34987
34988 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34989
b288a93d
L
349902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34991
34992 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34993 (run_program_cmd): This.
34994 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34995 (tst_langinfo): New variable. Use it.
34996
a2421a68
SAS
349972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34998
34999 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35000 floating point opcodes.
35001
6f796e1b
TS
350022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35003
7402596b
TS
35004 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35005 variable.
35006
d0d4f868
TS
35007 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35008
6f796e1b
TS
35009 * sysdeps/mach/hurd/powerpc: Remove directory.
35010 * sysdeps/mach/powerpc: Likewise.
35011
4da224a2
AS
350122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35013
35014 * scripts/check-local-headers.sh: Ignore c++ headers.
35015
341dd673
TS
350162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35017
35018 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35019 __libc_cleanup_region_start argument.
35020
473611b2
JM
350212012-11-01 Joseph Myers <joseph@codesourcery.com>
35022
35023 [BZ #14784]
35024 [BZ #14785]
35025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35026 x * y using scaling, not as x * y + z.
35027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35029 * math/libm-test.inc (fma_test): Add more tests.
35030 (fma_test_towardzero): Likewise.
35031 (fma_test_downward): Likewise.
35032 (fma_test_upward): Likewise.
35033
4078da3d
TS
350342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35035
35036 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35037
903252aa
JM
350382012-10-31 Joseph Myers <joseph@codesourcery.com>
35039
35040 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35041 New variable.
35042
cbc818d0
TS
350432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35044
35045 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35046
5a03cb1e
AS
350472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35048
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35050 Fix sort order.
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35052 Likewise.
35053
90aff2ff
TMQMF
350542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35055
35056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35057 Fix the order of the list for glibc 2.17.
35058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35059 Likewise.
35060
1818fcb7
AS
350612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35062
35063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35064
ef82f4da
JM
350652012-10-31 Joseph Myers <joseph@codesourcery.com>
35066
16a0e2ec
JM
35067 [BZ #14610]
35068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35069 for low part of x being zero before using __atanl (y).
35070 * math/libm-test.inc (atan2_test): Add another test.
35071
0eb69512
JM
35072 * manual/install.texi (Configuring and compiling): Document
35073 general use of test-wrapper and test-wrapper-env.
35074 * INSTALL: Regenerated.
35075
ef82f4da
JM
35076 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35077 (__fma): Do not extract and scale down low bits on after-rounding
35078 systems when result rounded to normal precision would have normal
35079 exponent.
35080 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35081 (__fmal): Do not extract and scale down low bits on after-rounding
35082 systems when result rounded to normal precision would have normal
35083 exponent.
35084 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35085 (__fmal): Do not extract and scale down low bits on after-rounding
35086 systems when result rounded to normal precision would have normal
35087 exponent.
35088 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35089 macro.
35090 (fma_test): Add more tests.
35091 (fma_test_towardzero): Likewise.
35092 (fma_test_downward): Likewise.
35093 (fma_test_upward): Likewise.
35094
954ef0d9
L
350952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35096
35097 * sysdeps/i386/tininess.h: Renamed to ...
35098 * sysdeps/x86/tininess.h: This.
35099 * sysdeps/x86_64/tininess.h: Removed.
35100
df61ffb2
JM
351012012-10-30 Joseph Myers <joseph@codesourcery.com>
35102
35103 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35104 input. Use $(build-program-cmd).
35105 ($(objpfx)tst-array1-static.out): Likewise.
35106 ($(objpfx)tst-array2.out): Likewise.
35107 ($(objpfx)tst-array3.out): Likewise.
35108 ($(objpfx)tst-array4.out): Likewise.
35109 ($(objpfx)tst-array5.out): Likewise.
35110 ($(objpfx)tst-array5-static.out): Likewise.
35111
01767843
CM
351122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35113
47cc1490
CM
35114 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35115 if defined.
35116
01767843
CM
35117 * nss/nsswitch.h (nss_interface_function): Provide new
35118 macro for use with NSS functions.
35119 * grp/initgroups.c: Use new macro.
35120 * nss/getXXbyYY.c: Likewise.
35121 * nss/getXXbyYY_r.c: Likewise.
35122 * nss/getXXent.c: Likewise.
35123 * nss/getXXent_r.c: Likewise.
35124 * sysdeps/posix/getaddrinfo.c: Likewise.
35125
8321aa97
AJ
351262012-10-30 Andreas Jaeger <aj@suse.de>
35127
35128 * po/ru.po: Update Russion translation from translation project.
35129
2a27fd6d
JM
351302012-10-30 Joseph Myers <joseph@codesourcery.com>
35131
8627a232
JM
35132 [BZ #14152]
35133 [BZ #14783]
35134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35135 result and shift together with sticky bit instead of replicating
35136 round-to-nearest rounding.
35137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35139 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35140 missing underflow exceptions.
35141 (fma_test_towardzero): Add more tests.
35142 (fma_test_downward): Likewise.
35143 (fma_test_upward): Likewise.
35144
2a27fd6d
JM
35145 [BZ #14047]
35146 * sysdeps/generic/tininess.h: New file.
35147 * sysdeps/i386/tininess.h: Likewise.
35148 * sysdeps/sh/tininess.h: Likewise.
35149 * sysdeps/x86_64/tininess.h: Likewise.
35150 * stdlib/tst-strtod-underflow.c: Likewise.
35151 * stdlib/tst-tininess.c: Likewise.
35152 * stdlib/strtod_l.c: Include <tininess.h>.
35153 (round_and_return): Do not set errno for exact underflow cases.
35154 Force an underflow exception when setting errno for underflow.
35155 Determine underflow based on rounding to normal precision if
35156 TININESS_AFTER_ROUNDING.
35157 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35158 ERANGE for exact underflow cases.
35159 * stdlib/Makefile (tests): Add tst-tininess and
35160 tst-strtod-underflow.
35161 ($(objpfx)tst-tininess): Use $(link-libm).
35162 ($(objpfx)tst-strtod-underflow): Likewise.
35163
e7170363
AJ
351642012-10-30 Andreas Jaeger <aj@suse.de>
35165
e5088dc6
AJ
35166 [BZ#14767]
35167 * elf/Makefile (tests): Remove conditional for have-initfini-array
35168 since this is now always required and the variable does not exist
35169 anymore.
35170 (tests-static): Likewise.
35171 (modules-names): Likewise.
35172
e7170363 35173 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35174
35175 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35176 merged with constructor/destructor.
35177 (init_array): Likewise.
35178 * elf/tst-array2dep.c (fini_array): Likewise.
35179 (init_array): Likewise.
35180
60457d8a
MF
351812012-10-29 Mike Frysinger <vapier@gentoo.org>
35182
35183 * manual/message.texi: Delete @cartouche tags.
35184
8bece752
PT
351852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35186
94ce799f
PT
35187 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35188 EOPNOTSUPP.
35189 * sysdeps/mach/hurd/fsync.c: Likewise.
35190
8bece752
PT
35191 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35192 [_POSIX_REALTIME_SIGNALS]: Change condition to
35193 [_POSIX_REALTIME_SIGNALS > 0].
35194
86ebe6b1
AJ
351952012-10-27 Andreas Jaeger <aj@suse.de>
35196
35197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35198 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35199 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35200 [__WORDSIZE != 64]: Likewise.
35201
54399c08
L
352022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35203
35204 * iconvdata/tst-table.sh: Remove ${SHELL}.
35205 * iconvdata/tst-tables.sh: Likewise.
35206
e2211bed
DM
352072012-10-25 David S. Miller <davem@davemloft.net>
35208
35209 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35210 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35211 of strtoull.
35212
f303f97c
DM
35213 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35214 ifunc-impl-list.c
35215 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35216 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35217 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35218 file.
35219
1e9d84cd
RM
352202012-10-25 Roland McGrath <roland@hack.frob.com>
35221
35222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35223 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35224 __getdirentries.
35225
df381762
JM
352262012-10-25 Joseph Myers <joseph@codesourcery.com>
35227 Jim Blandy <jimb@codesourcery.com>
35228
35229 * scripts/cross-test-ssh.sh: New file.
35230 * manual/install.texi (Configuring and compiling): Document use of
35231 cross-test-ssh.sh.
35232 * INSTALL: Regenerated.
35233
bff64913
PT
352342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35235
35236 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35237 EOPNOTSUPP.
35238
25fe8932
JM
352392012-10-25 Joseph Myers <joseph@codesourcery.com>
35240
35241 * Makeconfig (run-program-prefix): Fix comment.
35242
cc1290d0
JM
352432012-10-24 Joseph Myers <joseph@codesourcery.com>
35244 Jim Blandy <jimb@codesourcery.com>
35245
35246 * Makeconfig (test-wrapper): New variable,
35247 (test-wrapper-env): Likewise.
35248 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35249 (run-built-tests): Define to yes.
35250 (run-program-prefix): Use $(test-wrapper).
35251 (built-program-cmd): Likewise.
35252 * Rules (make-test-out): Use $(test-wrapper-env) and
35253 $(host-built-program-cmd).
35254 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35255 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35256 tst-pathopt.sh.
35257 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35258 $(test-wrapper-env) to tst-rtld-load-self.sh.
35259 ($(objpfx)order2.out): Use $(test-wrapper).
35260 ($(objpfx)tst-initorder.out): Likewise.
35261 ($(objpfx)tst-initorder2.out): Likewise.
35262 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35263 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35264 (test_wrapper_env): New variable. Use it to run ld.so.
35265 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35266 Use it to run ld.so.
35267 (test_wrapper_env): Likewise.
35268 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35269 $(test-wrapper) to run-iconv-test.sh.
35270 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35271 (ICONV): Use $test_wrapper.
35272 * posix/Makefile ($(objpfx)globtest.out): Pass
35273 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35274 globtest.sh, not $(run-program-prefix).
35275 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35276 (test_wrapper): Likewise.
35277 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35278 set together with run_via_rtld_prefix.
35279 (run_program_prefix): Define in terms of test_wrapper and
35280 run_via_rtld_prefix.
35281
6e6249d0
RM
352822012-10-24 Roland McGrath <roland@hack.frob.com>
35283
35284 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35285 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35286 Targets removed.
35287
35288 [BZ #14743]
35289 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35290 Declare __clock_getres, __clock_gettime, __clock_settime,
35291 __clock_nanosleep, and __clock_getcpuclockid.
35292 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35293 Remove librt_hidden_def (clock_gettime).
35294 * sysdeps/unix/clock_gettime.c: Likewise.
35295 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35296 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35297 * rt/clock_getres.c: Define __clock_getres as an alias.
35298 * sysdeps/posix/clock_getres.c: Likewise.
35299 * rt/clock_settime.c: Define __clock_settime as an alias.
35300 * sysdeps/unix/clock_settime.c: Likewise.
35301 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35302 * sysdeps/unix/clock_nanosleep.c: Likewise.
35303 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35304 * rt/clock-compat.c: New file.
35305 * rt/Makefile (librt-routines): Add clock-compat and move
35306 $(clock-routines) to ...
35307 (routines): ... here, new variable.
35308 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35309 Don't add get_clockfreq here.
35310 * rt/Versions (libc: GLIBC_2.17): New version set.
35311 Add clock_* symbols here.
35312 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35313 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35314 (GLIBC_2.17): Add clock_* symbols.
35315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35317 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35319 Likewise.
35320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35321 Likewise.
35322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35326 * NEWS: Mention the move.
35327
35328 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35329 Use __open, __read, __close rather than their public counterparts.
35330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35331 (__get_clockfreq_via_cpuinfo): Likewise.
35332 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35333 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35334
35335 * config.h.in (HAVE_IFUNC): New #undef.
35336 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35337 was successful.
35338 * configure: Regenerated.
35339
0cae3f4b
MF
353402012-10-24 Mike Frysinger <vapier@gentoo.org>
35341
35342 * configure.in: Move READELF check to start of file.
35343 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35344 libc_cv_asm_gnu_indirect_function in the process.
35345 * configure: Regenerated.
35346
8175a253
MF
353472012-10-24 Mike Frysinger <vapier@gentoo.org>
35348
35349 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35350 send the output to /dev/null.
35351 (libc_cv_cc_with_libunwind): Likewise.
35352 (libc_cv_as_noexecstack): Likewise.
35353 * configure: Regenerate.
35354
0708a7d1
JM
353552012-10-24 Joseph Myers <joseph@codesourcery.com>
35356
10b40d85
JM
35357 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35358
0708a7d1
JM
35359 * posix/globtest.sh (TMPDIR): Do not set.
35360 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35361 (testout): Likewise.
35362
9fddec1a
AJ
353632012-10-24 Andreas Jaeger <aj@suse.de>
35364
3a8db22f
AJ
35365 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35366 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35367 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35368 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35369 posix_fadvise64, posix_fallocate64.
35370
9fddec1a
AJ
35371 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35372 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35373 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35374 Likewise.
35375 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35376 Likewise.
35377 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35378
35379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35380 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35381 <bits/fcntl-linux.h>.
35382 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35383
35384 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35385 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35386 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35387 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35388 [__WORDSIZE != 64]: Likewise.
35389
ebfd1bbd
JM
353902012-10-23 Joseph Myers <joseph@codesourcery.com>
35391
03ac099f
JM
35392 * Makeconfig (run-built-tests): New variable.
35393 * Rules [$(cross-compiling) = yes]: Change condition to
35394 [$(run-built-tests) = no].
35395 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35396 to [$(run-built-tests) = yes].
35397 * elf/Makefile [$(cross-compiling) = no]: Likewise
35398 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35399 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35400 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35401 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35402 * io/Makefile [$(cross-compiling) = no]: Likewise.
35403 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35404 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35405 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35406 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35407 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35408 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35409 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35410 * string/Makefile [$(cross-compiling) = no]: Likewise.
35411
ebfd1bbd
JM
35412 * posix/Makefile ($(objpfx)globtest.out): Pass
35413 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35414 $(rtld-installed-name).
35415 * posix/globtest.sh (elf_objpfx): Remove variable.
35416 (rtld_installed_name): Likewise.
35417 (library_path): Likewise.
35418 (run_program_prefix): New variable. Use for running globtest
35419 binary.
35420
166bca24
JB
354212012-10-23 Jim Blandy <jimb@codesourcery.com>
35422 Joseph Myers <joseph@codesourcery.com>
35423
35424 * Makeconfig (host-built-program-cmd): New variable.
35425 * elf/Makefile (tst-stackguard1-ARGS): Use
35426 $(host-built-program-cmd).
35427 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35428 (tst-spawn-ARGS): Likewise.
35429 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35430
88866099
JM
354312012-10-23 Joseph Myers <joseph@codesourcery.com>
35432 Jim Blandy <jimb@codesourcery.com>
35433
35434 * Makeconfig (run-via-rtld-prefix): New variable.
35435 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35436 (built-program-cmd): Likewise.
35437
b4b4c296
AJ
354382012-10-22 Andreas Jaeger <aj@suse.de>
35439
35440 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35441 __O_RSYNC if it exists, otherwise to O_SYNC.
35442
6fb54a22
JB
354432012-10-22 Jim Blandy <jimb@codesourcery.com>
35444 Joseph Myers <joseph@codesourcery.com>
35445
35446 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35447 /dev/null.
35448 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35449 from /dev/null
35450 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35451 /dev/null.
35452
481b90b9
AJ
354532012-10-22 Andreas Jaeger <aj@suse.de>
35454
2a0e2669
AJ
35455 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35456 Define always.
35457 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35458
76e38f9a
AJ
35459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35460 bits/fcntl-linux.h.
35461
7cd37b43
AJ
35462 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35463 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35464
481b90b9
AJ
35465 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35466 to __O_LARGEFILE.
35467 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35468 to __O_LARGEFILE.
35469
aba75984
JB
354702012-10-21 Jim Blandy <jimb@codesourcery.com>
35471 Joseph Myers <joseph@codesourcery.com>
35472
35473 * config.make.in (NM): New variable.
35474
88d4247f
AJ
354752012-10-21 Andreas Jaeger <aj@suse.de>
35476
35477 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35478 definitions and declarations that are provided by
35479 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35480
f2eed205
L
354812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 [BZ #14683]
35484 * elf/Makefile (tests-static): Add tst-leaks1-static.
35485 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35486 ($(objpfx)tst-leaks1-static): New rule.
35487 ($(objpfx)tst-leaks1-static-mem): Likewise.
35488 (tst-leaks1-static-ENV): New macro.
35489 * elf/dl-open.c (dl_open_worker): Check the main application
35490 only if SHARED is defined.
35491 * elf/tst-leaks1-static.c: New file.
35492
335e6931
AJ
354932012-10-20 Andreas Jaeger <aj@suse.de>
35494
35495 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35496 generic values for Linux.
35497 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35498 and declarations that are provided by <bits/fcntl-linux.h> and
35499 include <bits/fcntl-linux.h>.
35500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35501 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35502
ac5c94d3
RM
355032012-10-20 Roland McGrath <roland@hack.frob.com>
35504
35505 * io/fcntl.h: Move include of <bits/types.h> to the top and
35506 include it unconditionally.
35507
de54b33a
L
355082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35509
228cfb01
L
35510 * wcsmbs/Makefile (tests-ifunc): New variable.
35511 (tests): Add $(tests-ifunc).
35512 * wcsmbs/test-wcschr-ifunc.c: New file.
35513 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35514 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35515 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35516 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35517 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35518
69f07e5f
L
35519 * string/Makefile (tests-ifunc): New variable.
35520 (tests): Add $(tests-ifunc).
35521 * string/test-memccpy.c (TEST_NAME): New macro.
35522 * string/test-memchr.c (TEST_NAME): Likewise.
35523 * string/test-memcmp.c (TEST_NAME): Likewise.
35524 * string/test-memcpy.c (TEST_NAME): Likewise.
35525 * string/test-memmem.c (TEST_NAME): Likewise.
35526 * string/test-memmove.c (TEST_NAME): Likewise.
35527 * string/test-memset.c (TEST_NAME): Likewise.
35528 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35529 * string/test-stpcpy.c (TEST_NAME): Likewise.
35530 * string/test-stpncpy.c (TEST_NAME): Likewise.
35531 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35532 * string/test-strcasestr.c (TEST_NAME): Likewise.
35533 * string/test-strcat.c (TEST_NAME): Likewise.
35534 * string/test-strchr.c (TEST_NAME): Likewise.
35535 * string/test-strcmp.c(TEST_NAME): Likewise.
35536 * string/test-strcpy.c (TEST_NAME): Likewise.
35537 * string/test-strcspn.c (TEST_NAME): Likewise.
35538 * string/test-strlen.c (TEST_NAME): Likewise.
35539 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35540 * string/test-strncmp.c (TEST_NAME): Likewise.
35541 * string/test-strncpy.c (TEST_NAME): Likewise.
35542 * string/test-strnlen.c (TEST_NAME): Likewise.
35543 * string/test-strpbrk.c (TEST_NAME): Likewise.
35544 * string/test-strrchr.c (TEST_NAME): Likewise.
35545 * string/test-strspn.c (TEST_NAME): Likewise.
35546 * string/test-strstr.c (TEST_NAME): Likewise.
35547 * string/test-bcopy-ifunc.c: New file.
35548 * string/test-bzero-ifunc.c: Likewise.
35549 * string/test-memccpy-ifunc.c: Likewise.
35550 * string/test-memchr-ifunc.c: Likewise.
35551 * string/test-memcmp-ifunc.c: Likewise.
35552 * string/test-memcpy-ifunc.c: Likewise.
35553 * string/test-memmem-ifunc.c: Likewise.
35554 * string/test-memmove-ifunc.c: Likewise.
35555 * string/test-mempcpy-ifunc.c: Likewise.
35556 * string/test-memset-ifunc.c: Likewise.
35557 * string/test-rawmemchr-ifunc.c: Likewise.
35558 * string/test-stpcpy-ifunc.c: Likewise.
35559 * string/test-stpncpy-ifunc.c: Likewise.
35560 * string/test-strcasecmp-ifunc.c: Likewise.
35561 * string/test-strcasestr-ifunc.c: Likewise.
35562 * string/test-strcat-ifunc.c: Likewise.
35563 * string/test-strchr-ifunc.c: Likewise.
35564 * string/test-strchrnul-ifunc.c: Likewise.
35565 * string/test-strcmp-ifunc.c: Likewise.
35566 * string/test-strcpy-ifunc.c: Likewise.
35567 * string/test-strcspn-ifunc.c: Likewise.
35568 * string/test-strlen-ifunc.c: Likewise.
35569 * string/test-strncasecmp-ifunc.c: Likewise.
35570 * string/test-strncat-ifunc.c: Likewise.
35571 * string/test-strncmp-ifunc.c: Likewise.
35572 * string/test-strncpy-ifunc.c: Likewise.
35573 * string/test-strnlen-ifunc.c: Likewise.
35574 * string/test-strpbrk-ifunc.c: Likewise.
35575 * string/test-strrchr-ifunc.c: Likewise.
35576 * string/test-strspn-ifunc.c: Likewise.
35577 * string/test-strstr-ifunc.c: Likewise.
35578
de54b33a
L
35579 * debug/Makefile (tests-ifunc): New variable.
35580 (tests): Add $(tests-ifunc).
35581 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35582 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35583 * debug/test-stpcpy_chk-ifunc.c: New file.
35584 * debug/test-strcpy_chk-ifunc.c: Likewise.
35585
88481c16
SP
355862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35587
35588 [BZ #13601]
35589 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35590 header is not read in.
35591
135948bd
JM
355922012-10-19 Joseph Myers <joseph@codesourcery.com>
35593
89f1c388
JM
35594 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35595 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35596 directly. Pass built executable to script as
35597 $(built-program-cmd).
35598 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35599 $testprogram without using LD_LIBRARY_PATH and $ldso.
35600
e40a0d21
JM
35601 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35602 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35603 $(rtld-installed-name).
35604 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35605 (rtld_installed_name): Likewise.
35606 (library_path): Likewise.
35607 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35608 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35609 $(run-program-prefix) to tst-tables.sh.
35610 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35611 it to run tst-table-from and tst-table-to.
35612 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35613 Pass it to tst-table.sh.
35614 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35615 $(run-program-prefix) to tst-gettext.sh.
35616 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35617 tst-translit.sh.
35618 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35619 tst-gettext2.sh.
35620 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35621 to run tst-gettext.
35622 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35623 to run tst-gettext2.
35624 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35625 to run tst-translit.
35626 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35627 $(run-program-prefix) to tst-mtrace.sh.
35628 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35629 to run tst-mtrace.
35630 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35631 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35632 $(rtld-installed-name).
35633 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35634 (rtld_installed_name): Likewise.
35635 (run_program_prefix): New variable. Use it to run wordexp-test.
35636
728e272a
JM
35637 * Makeconfig (ARCH): Remove all definitions.
35638 (machine): Likewise.
35639 [ARCH]: Remove conditional code.
35640 [!objdir]: Give error.
35641 [!objdir] (objpfx): Remove.
35642 [!objdir] (common-objpfx): Likewise.
35643 [!objdir] (common-objdir): Likewise.
35644 * configure.in (config_makefile): Remove. Hardcode Makefile in
35645 AC_CONFIG_FILES call.
35646 * configure: Regenerated.
35647
d528cdcf
JM
35648 [BZ #13888]
35649 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35650 or TMPDIR.
35651 (testout): Likewise.
35652
135948bd
JM
35653 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35654 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35655 $(rtld-installed-name).
35656 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35657 (rtld_installed_name): Likwise.
35658 (runit): Remove function.
35659 (run_getconf): New variable, Use it for running getconf binary.
35660
38c78296
L
356612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35662
35663 [BZ #14716]
35664 * string/test-memmem.c (check_result): New function.
35665 (do_one_test): Use it.
35666 (check1): New function.
35667 (test_main): Use it.
35668
d077f65f
MT
356692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35670
35671 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35672
ced52c71
JM
356732012-10-18 Joseph Myers <joseph@codesourcery.com>
35674
35675 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35676 (_G_LSEEK64): Likewise.
35677 (_G_MMAP64): Likewise.
35678 (_G_FSTAT64): Likewise.
35679 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35680 (_G_LSEEK64): Likewise.
35681 (_G_MMAP64): Likewise.
35682 (_G_FSTAT64): Likewise.
35683 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35684 unconditional. Call __mmap64 directly.
35685 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35686 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35687 __lseek64 directly.
35688 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35689 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35690 __mmap64 directly.
35691 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35692 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35693 __lseek64 directly.
35694 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35695 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35696 __lseek64 directly.
35697 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35698 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35699 __lseek64 directly.
35700 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35701 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35702 __fxstat64 directly.
35703 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35704 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35705 unconditional.
35706 (freopen64) [!_G_OPEN64]: Remove conditional code.
35707 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35708 unconditional.
35709 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35710 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35711 unconditional.
35712 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35713 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35714 unconditional.
35715 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35716 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35717 unconditional.
35718 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35719 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35720 unconditional.
35721 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35722 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35723 unconditional.
35724 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35725 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35726 unconditional.
35727 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35728
b741de23
SP
357292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35730
35731 [BZ #12140]
35732 * manual/memory.texi (Malloc Tunable Parameters): Add note
35733 about free list pointers overwriting some perturb bytes.
35734 Wording suggested by Roland McGrath.
35735
f9b9d9c9
JM
357362012-10-17 Joseph Myers <joseph@codesourcery.com>
35737
35738 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35739 (lgamma_test): Likewise.
35740 (tgamma_test): Likewise.
35741
172a631a
FW
357422012-10-16 Florian Weimer <fweimer@redhat.com>
35743
35744 [BZ #14700]
35745 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35746 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35747
e9f37252
MK
357482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35749
35750 * NEWS: Mention BZ #14716.
35751 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35752 when removing AVAILABLE1_USES_J macro.
35753
d394eb74
L
357542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35755
35756 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35757 (__bswap_64): __uint64_t for unsigned 64-bit int.
35758
ca38dc17
AS
357592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35760
35761 * include/string.h (memmem): Declare libc hidden alias.
35762 * string/memmem.c (memmem): Define libc hidden alias.
35763 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35764 __read, __close instead of open, read, close.
35765
9a387d1f
L
357662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35767
ac49ecaf
L
35768 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35769 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35770 global and hidden.
35771 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35772 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35773 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35774 Likewise.
35775 (__rawmemchr_sse2): Likewise.
35776 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35777 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35778 (__strchr_sse2): Likewise.
35779 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35780 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35781 (__strcasecmp_sse2): Likewise.
35782 (__strncasecmp_sse2): Likewise.
35783 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35784 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35785 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35786 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35787 (__strrchr_sse2): Likewise.
35788 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35789 ifunc-impl-list.c.
35790 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35791 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35792 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35793 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35794 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35795 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35796 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35797 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35798 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35799 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35800 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35801 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35802 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35803 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35804 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35805 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35806 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35807 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35808 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35809 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35810 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35811 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35812 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35813 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35814 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35815 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35816 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35817 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35818 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35819 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35820
b090e8ea
L
35821 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35822 global and hidden.
35823 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35824 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35825 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35826 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35827 Likewise.
35828 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35829 Likewise.
35830 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35831 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35832 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35833 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35834 ifunc-impl-list.c.
35835 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35836 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35837 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35838 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35839 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35840 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35841 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35842 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35843 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35844 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35845 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35846 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35847 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35848 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35849 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35850 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35851 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35852 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35853 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35854 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35855 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35856 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35857 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35858 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35859 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35860 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35861 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35862 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35863 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35864 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35865 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35866 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35867 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35868 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35869 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35870 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35871 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35872 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35873 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35874 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35875 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35876
11dd4af6
L
35877 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35878 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35879 * include/ifunc-impl-list.h: New file.
35880 * misc/ifunc-impl-list.c: Likewise.
35881 * misc/Makefile (routines): Add ifunc-impl-list.
35882 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35883 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35884 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35885 TEST_NAME]: New variables.
11dd4af6
L
35886 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35887 are defined.
35888 (test_init): Call __libc_ifunc_impl_list to initialize
35889 func_list if TEST_IFUNC and TEST_NAME are defined.
35890
9a387d1f
L
35891 * string/Makefile (strop-tests): Add bcopy and bzero.
35892 * string/test-bcopy.c: New file.
35893 * string/test-bzero.c: Likewise.
35894 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35895 defined.
35896 * string/test-memset.c: Support bzero test if TEST_BZERO is
35897 defined.
35898 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35899 __libc_memmove.
35900 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35901 __libc_memset.
35902 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35903 of memset.
35904
472371b9
JM
359052012-10-10 Joseph Myers <joseph@codesourcery.com>
35906
1e4a9536
JM
35907 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35908 * configure: Regenerated.
35909
d173d12e
JM
35910 * Makeconfig (+link-static-before-libc): Don't include
35911 $(link-static-libc).
35912
472371b9
JM
35913 * libio/libio.h (_IO_pos_t): Remove.
35914
89a3ad0b
AO
359152012-10-10 Alexandre Oliva <aoliva@redhat.com>
35916
35917 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35918 McGrath.
35919
e7451425
AO
359202012-10-10 Alexandre Oliva <aoliva@redhat.com>
35921
35922 * crypt/crypt-entry.c: Include fips-private.h.
35923 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35924 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35925 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35926 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35927
4ba74a35
AO
359282012-10-10 Alexandre Oliva <aoliva@redhat.com>
35929
35930 * crypt/crypt-private.h: Include stdbool.h.
35931 (_ufc_setup_salt_r): Return bool.
35932 * crypt/crypt-entry.c: Include errno.h.
35933 (__crypt_r): Return NULL with EINVAL for bad salt.
35934 * crypt/crypt_util.c (bad_for_salt): New.
35935 (_ufc_setup_salt_r): Check that salt is long enough and within
35936 the specified alphabet.
35937 * crypt/badsalttest.c: New file.
35938 * crypt/Makefile (tests): Add it.
35939 ($(objpfx)badsalttest): New.
35940
f96f1242
MK
359412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35942
35943 * NEWS: Add entry for BZ #14602.
35944
0e8e0c1c
JM
359452012-10-09 Joseph Myers <joseph@codesourcery.com>
35946
35947 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35948 type-generic.
35949 * math/libm-test.inc: Update comment listing what functions and
35950 macros are tested.
35951 (isgreater_test): New function.
35952 (isgreaterequal_test): Likewise.
35953 (isless_test): Likewise.
35954 (islessequal_test): Likewise.
35955 (islessgreater_test): Likewise.
35956 (isunordered_test): Likewise.
35957 (main): Call the new functions.
35958
273edc5e
RM
359592012-10-09 Roland McGrath <roland@hack.frob.com>
35960
b8493de0
RM
35961 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35962 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35963 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35964 * sysdeps/i386/configure: Regenerated.
35965 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35966 * sysdeps/mach/configure: Regenerated.
35967 * sysdeps/mach/hurd/configure: Regenerated.
35968 * sysdeps/powerpc/configure: Regenerated.
35969 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35970 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35971 * sysdeps/s390/s390-32/configure: Regenerated.
35972 * sysdeps/s390/s390-64/configure: Regenerated.
35973 * sysdeps/sh/configure: Regenerated.
35974 * sysdeps/sparc/configure: Regenerated.
35975 * sysdeps/unix/sysv/linux/configure: Regenerated.
35976 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35977 * sysdeps/x86_64/configure: Regenerated.
35978
273edc5e
RM
35979 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35980 defined. Don't check if MAP is NULL.
35981
c8450f70
JM
359822012-10-09 Joseph Myers <joseph@codesourcery.com>
35983
35984 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35985 (_G_stat64): Likewise.
35986 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35987 (_G_stat64): Likewise.
35988 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35989 instead of struct _G_stat64.
35990 * libio/fileops.c (mmap_remap_check): Likewise.
35991 (decide_maybe_mmap): Likewise.
35992 (_IO_new_file_seekoff): Likewise.
35993 (_IO_file_stat): Likewise.
35994 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35995 _G_off64_t.
35996 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35997 instead of struct _G_stat64.
35998 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35999
57e605ba
MK
360002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36001
36002 [BZ #14602]
36003 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36004 Replace with ...
36005 (CHECK_EOL): New macro.
36006 (two_way_short_needle): Check beginning of haystack for EOL. Use
36007 CHECK_EOL.
36008 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36009 Replace with CHECK_EOL.
36010 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36011 Replace with CHECK_EOL.
36012
ef1bb361
JM
360132012-10-08 Joseph Myers <joseph@codesourcery.com>
36014
36015 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36016 type-generic.
36017 * math/libm-test.inc: Update comment listing what functions and
36018 macros are tested.
36019 (finite_test): New function.
36020 (isinf_test): Likewise.
36021 (isnan_test): Likewise.
36022 (fpclassify_test): Test subnormal input.
36023 (isfinite_test): Likewise.
36024 (isnormal_test): Likewise.
36025 (main): Call the new functions.
36026
55f11534
JN
360272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36028
36029 [BZ #14660]
36030 * Makerules (%.dynsym): Force C locale when running
36031 $(OBJDUMP) --dynamic-syms.
36032
1ab29350
AS
360332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36034
36035 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36036 <stdint.h>.
36037
f1ecb7ef
DM
360382012-10-06 David S. Miller <davem@davemloft.net>
36039
36040 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36041 upper 32-bits of the length value in %o2 since we use branch-on-register
36042 tests which consider the entire 64-bit register.
36043
5d41d91a
L
360442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36045
36046 * string/test-strstr.c (check2): Add a test for page boundary.
36047
3baddb72
DM
360482012-10-05 David S. Miller <davem@davemloft.net>
36049
36050 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36051 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36052 file.
36053 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36054 sysdep_routines.
36055 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36056 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36057 and bzero when HWCAP_SPARC_CRYPTO is present.
36058
9cee5585
L
360592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36060
d7e0dab9
L
36061 [BZ #14602]
36062 * string/test-strstr.c (check2): New function.
36063 (test_main): Call check2.
36064
03759f47
L
36065 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36066 and bug-strchr1.
36067 * string/bug-strcasestr1.c (do_test): Moved to ...
36068 * string/test-strcasestr.c (check1): Here. New function.
36069 (do_one_test): Break out result checking code into ...
36070 (check_result): This. New function.
36071 (do_one_test): Call check_result.
36072 (test_main): Call check1.
36073 * string/bug-strchr1.c (do_test): Moved to ...
36074 * string/test-strchr.c (check1): Here. New function.
36075 (do_one_test): Break out result checking code into ...
36076 (check_result): This. New function.
36077 (do_one_test): Call check_result.
36078 (test_main): Call check1.
36079 * string/bug-strstr1.c (main): Moved to ...
046f153e 36080 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36081 (do_one_test): Break out result checking code into ...
36082 (check_result): This. New function.
36083 (do_one_test): Call check_result.
36084 (test_main): Call check1.
36085 * string/bug-strcasestr1.c: Removed.
36086 * string/bug-strchr1.c: Likewise.
36087 * string/bug-strstr1.c: Likewise.
36088
53cea63e
L
36089 * elf/Makefile (dl-routines): Add hwcaps.
36090 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36091 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36092 (_dl_important_hwcaps): Moved to ...
36093 * elf/dl-hwcaps.c: Here. New file.
36094 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36095
9cee5585 36096 [BZ #14557]
bb859b06
L
36097 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36098 if IS_IN_rtld isn't defined.
36099
9cee5585
L
36100 * elf/dl-support.c (_dl_sysinfo_map): New.
36101 Include "get-dynamic-info.h" and "setup-vdso.h".
36102 (_dl_non_dynamic_init): Call setup_vdso.
36103 * elf/dynamic-link.h: Don't include <assert.h>.
36104 (elf_get_dynamic_info): Moved to ...
36105 * elf/get-dynamic-info.h: Here. New file.
36106 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36107 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36108 * elf/setup-vdso.h: Here. New file.
36109 * elf/rtld.c: Include "setup-vdso.h".
36110 (dl_main): Call setup_vdso.
36111
23c31b76
JM
361122012-10-05 Joseph Myers <joseph@codesourcery.com>
36113
28234b07
JM
36114 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36115 creal in comment listing functions tested. List finite, isinf,
36116 isnan, isless, islessequal, isgreater, isgreaterequal,
36117 islessgreater, isunordered, lgamma_r and pow10 as functions and
36118 macros not tested. Mention which functions not tested are aliases
36119 for other functions. Fix typo. Note that signs of NaNs are not
36120 tested.
36121
23c31b76
JM
36122 * scripts/config.guess: Update from config.git.
36123 * scripts/config.sub: Likewise.
36124
9043e228
RM
361252012-10-04 Roland McGrath <roland@hack.frob.com>
36126
36127 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36128 * misc/madvise.c (madvise): Renamed to __madvise.
36129 Make madvise a weak alias.
36130 * include/sys/mman.h: Declare __madvise.
36131 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36132 * sysdeps/unix/syscalls.list
36133 (madvise): Make __madvise the strong name, and madvise a weak alias.
36134 * sysdeps/unix/sysv/linux/syscalls.list
36135 (madvise, mmap): Remove redundant entries.
36136 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36137 * malloc/malloc.c (mtrim): Likewise.
36138 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36139
f57f8055
RM
361402012-10-03 Roland McGrath <roland@hack.frob.com>
36141
36142 * sysdeps/mach/hurd/dl-cache.c: File removed.
36143 * config.h.in (USE_LDCONFIG): New #undef.
36144 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36145 * configure: Regenerated.
36146 * elf/Makefile (dl-routines): Add dl-cache only under
36147 [$(use-ldconfig) = yes].
36148 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36149 cache on [USE_LDCONFIG].
36150 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36151 [USE_LDCONFIG].
36152 * elf/rtld.c (dl_main): Likewise.
36153
5bb0c10a
PT
361542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36155
36156 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36157 _SC_LEVEL4_CACHE_LINESIZE.
36158
010188c6
RM
361592012-10-03 Roland McGrath <roland@hack.frob.com>
36160
36161 * sysdeps/unix/bsd/confstr.h: File removed.
36162
b6c5ec07
AO
361632012-10-02 Alexandre Oliva <aoliva@redhat.com>
36164
36165 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36166 sys/sdt-config.h.
36167
408223d4
RM
361682012-10-02 Roland McGrath <roland@hack.frob.com>
36169
36170 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36171 Make 'mapoff' field ElfW(Off) rather than off_t.
36172
bb9510dc
DL
361732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36174
fc997c6e
DL
36175 * nscd/Makefile: Remove nscd-cflags and all its users.
36176 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36177 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36178
bb9510dc
DL
36179 [BZ #10631]
36180 * malloc.c (malloc_printerr): Clarify error message.
36181
05699367
L
361822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36183
36184 [BZ #14648]
36185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36186 Set bit_FMA_Usable if FMA is supported.
36187 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36188 macro.
36189 (bit_FMA4_Usable): Updated.
36190 (index_FMA_Usable): New macro.
36191 (CPUID_FMA): Likewise
36192 (HAS_FMA): Defined with bit_FMA_Usable.
36193
51367701
RM
361942012-10-01 Roland McGrath <roland@hack.frob.com>
36195
36196 * bits/types.h (__swblk_t): Type removed.
36197 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36198 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36200 (__SWBLK_T_TYPE): Likewise.
36201 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36202 (__SWBLK_T_TYPE): Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36204 (__SWBLK_T_TYPE): Likewise.
36205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36206 (__SWBLK_T_TYPE): Likewise.
36207
4d57bf63 362082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36209 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36210
36211 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36212 (xdr_mapname): Use YPMAXMAP as maxsize.
36213 (xdr_peername): Use YPMAXPEER as maxsize.
36214 (xdr_keydat): Use YPAXRECORD as maxsize.
36215 (xdr_valdat): Use YPMAXRECORD as maxsize.
36216
93c65d43
RM
362172012-10-01 Roland McGrath <roland@hack.frob.com>
36218
497a03d6
RM
36219 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36220
93c65d43
RM
36221 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36222 * csu/init-first.c: ... here.
36223 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36224 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36226 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36227 * sysdeps/i386/init-first.c: File removed.
36228 * sysdeps/sh/init-first.c: File removed.
36229
bec749fd
JM
362302012-10-01 Joseph Myers <joseph@codesourcery.com>
36231
36232 [BZ #14645]
36233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36234 if x * y might underflow to zero and z is zero.
36235 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36236 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36237 * math/libm-test.inc (min_subnorm_value): New variable.
36238 (fma_test): Add more tests.
36239 (fma_test_towardzero): Likewise.
36240 (fma_test_downward): Likewise
36241 (fma_test_upward): Likewise.
36242 (initialize): Set min_subnorm_value.
36243
8ec5b013
JM
362442012-09-29 Joseph Myers <joseph@codesourcery.com>
36245
36246 [BZ #14638]
36247 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36248 0 + 0.
36249 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36250 mode for addition resulting in exact zero.
36251 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36253 exact 0 + 0.
36254 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36255 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36256 * math/libm-test.inc (fma_test): Add more tests.
36257 (fma_test_towardzero): New function.
36258 (fma_test_downward): Likewise.
36259 (fma_test_upward): Likewise.
36260 (main): Call the new functions.
36261
b1fa802e
DM
362622012-09-28 David S. Miller <davem@davemloft.net>
36263
36264 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36265
d3b9fd9e
RM
362662012-09-28 Roland McGrath <roland@hack.frob.com>
36267
ea4d37b3
RM
36268 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36269 instead of SIGALRM.
36270
ac51c949
RM
36271 * sysdeps/gnu/_G_config.h: Moved to ...
36272 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36273 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36274 * sysdeps/generic/_G_config.h: ... here.
36275
28c195f7
RM
36276 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36277
848917f9
RM
36278 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36279
6bacf05b
RM
36280 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36281 Conditionalize target on [libnss_test1.so-version].
36282
91363dbb
RM
36283 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36284
cc87f7d8
RM
36285 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36286 (elfobjdir): Move out of conditionals.
36287
b1c608fe
RM
36288 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36289 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36290 (__nss_lookup_function): Conditionalize label remove_from_tree on
36291 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36292
1d9a6d96
DM
362932012-09-28 David S. Miller <davem@davemloft.net>
36294
36295 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36296 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36297 file.
36298 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36299 sysdep_routines.
36300 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36301 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36302 when HWCAP_SPARC_CRYPTO is present.
36303
72581615
PT
363042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36305
36306 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36307
715a900c
JL
363082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36309
36310 [BZ #6530]
36311 * stdio-common/vfprintf.c (process_string_arg): Revert
36312 2000-07-22 change.
36313
363142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36315
36316 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36317 for testcase.
36318 * stdio-common/tst-sprintf.c: Include <locale.h>
36319 (main): Test sprintf's handling of incomplete multibyte
36320 characters.
36321
9bac1d86
L
363222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36323
36324 * elf/dl-runtime.c (VERSYMIDX): Removed.
36325 * elf/dl-version.c (VERSYMIDX): Likewise.
36326 * elf/do-rel.h (VERSYMIDX): Likewise.
36327 (VALIDX): Likewise.
36328 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36329 * elf/rtld.c (VALIDX): Likewise.
36330 (ADDRIDX): Likewise.
9bac1d86
L
36331 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36332 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36333 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36334 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36335 (VALIDX): Likewise.
36336 (ADDRIDX): Likewise.
9bac1d86 36337
b31606c0
PT
363382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36339
36340 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36341
11541177
JL
363422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36343
36344 [BZ #11438]
36345 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36346 to global scope.
36347 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36348 addresses are in the same scope as 192.0.2/24.
36349 * posix/gai.conf: Document new scope table defaults.
36350
adb26fae
SP
363512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36352
36353 [BZ #5298]
36354 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36355 for ftell. Compute offsets from write pointers instead.
36356 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36357
4573c6b0
SP
363582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36359
36360 [BZ #14543]
36361 * libio/Makefile (tests): New test case tst-fseek.
36362 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36363 combination works in wide mode.
36364 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36365 state when the external buffer state changes.
36366
aa9bbfe6
DM
363672012-09-27 David S. Miller <davem@davemloft.net>
36368
36369 [BZ #14376]
36370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36371 pass reloc->r_addend in as the 'high' argument to
36372 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36373
784421e7
DM
36374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36375
c39bc8b8
PT
363762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36377
36378 * rt/tst-aio2.c: Include <pthread.h>.
36379 * rt/tst-aio3.c: Likewise.
36380
1ccc2399
SE
363812012-09-27 Steve Ellcey <sellcey@mips.com>
36382
36383 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36384
31ed4153
L
363852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36386
25f5f885
L
36387 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36388 contents on [SHARED].
31ed4153 36389
b7bfe116
MP
363902012-09-26 Marek Polacek <polacek@redhat.com>
36391
36392 [BZ #14530]
36393 [BZ #13741]
36394 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36395 for C++ and GCC <4.3 as well as for non GCC compilers.
36396
43c4edba
MT
363972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36398
36399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36400
6a1bf82f
RM
364012012-09-25 Roland McGrath <roland@hack.frob.com>
36402
36403 * Makefile.in (all, install): Declare with .PHONY.
36404 Reported by Michael Hope <michael.hope@linaro.org>.
36405
8ad11b9a
TMQMF
364062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36407
36408 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36409 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36410 system header.
36411 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36412 Likewise.
36413 (sydep_routines): Add the new and the internal functions.
36414 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36415 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36417 (GLIBC_2.17): Add the new function.
36418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36419 (GLIBC_2.17): Likewise.
36420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36421 (GLIBC_2.17): Likewise.
36422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36423 (GLIBC_2.17): Likewise.
36424 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36425
7e2fca8d
AM
364262012-09-25 Alan Modra <amodra@gmail.com>
36427
36428 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36429 Add release barrier before setting once_control to say
36430 initialisation is done. Add hints on lwarx. Use macro in
36431 place of isync.
36432 (clear_once_control): Add release barrier.
36433
b87c4b24
JM
364342012-09-25 Joseph Myers <joseph@codesourcery.com>
36435
d032e0d2
JM
36436 [BZ #13629]
36437 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36438 specially.
36439 * math/s_clog10.c (__clog10): Likewise.
36440 * math/s_clog10f.c (__clog10f): Likewise.
36441 * math/s_clog10l.c (__clog10l): Likewise.
36442 * math/s_clogf.c (__clogf): Likewise.
36443 * math/s_clogl.c (__clogl): Likewise.
36444 * math/Makefile (libm-calls): Add x2y2m1.
36445 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36446 (__x2y2m1): Likewise.
36447 (__x2y2m1l): Likewise.
36448 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36449 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36450 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36451 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36452 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36453 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36454 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36455 * sysdeps/i386/fpu/libm-test-ulps: Update.
36456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36457
b87c4b24
JM
36458 [BZ #14621]
36459 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36460 int as type of variable DEPTH.
36461 (glob): Use size_t instead of int as type of variables NEWCOUNT
36462 and OLD_PATHC.
36463
6d3bf199
LD
364642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36465
22bf5c17
LD
36466 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36467 Add s_sincosf-sse2.
36468 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36469 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36470 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36471 macros for using routine as __sincosf_ia32.
36472 Use macro for function declaration and weak_alias.
36473 * sysdeps/i386/fpu/libm-test-ulps: Update.
36474
36475 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36477
36478 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36479 subnormal argument.
36480 * math/s_cexpf.c (__cexpf): Likewise.
36481 * math/s_csinf.c (__csinf): Likewise.
36482 * math/s_csinhf.c (__csinhf): Likewise.
36483 * math/s_ctanf.c (__ctanf): Likewise.
36484 * math/s_ctanhf.c (__ctanhf): Likewise.
36485 * math/s_ccosh.c (__ccoshf): Likewise.
36486 * math/s_cexp.c (__cexpl): Likewise.
36487 * math/s_csin.c (__csin): Likewise.
36488 * math/s_csinh.c (__csinh): Likewise.
36489 * math/s_ctan.c (__ctan): Likewise.
36490 * math/s_ctanh.c (ctanh): Likewise.
36491 * math/s_ccoshl.c (__ccoshl): Likewise.
36492 * math/s_cexpl.c (__cexpl): Likewise.
36493 * math/s_csinl.c (__csinl): Likewise.
36494 * math/s_csinhl.c (__csinhl): Likewise.
36495 * math/s_ctanl.c (__ctanl): Likewise.
36496 * math/s_ctanhl.c (__ctanhl): Likewise.
36497
203e5603
JM
364982012-09-25 Joseph Myers <joseph@codesourcery.com>
36499
36500 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36501 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36502 (_IO_off_t): Define to __off_t, not _G_off_t.
36503 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36504 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36505 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36506 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36507 type of __dummy and __dummy2 fields.
36508 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36509 (_G_ssize_t): Likewise.
36510 (_G_off_t): Likewise.
36511 (_G_pid_t): Likewise.
36512 (_G_uid_t): Likewise.
36513 (_G_wchar_t): Likewise.
36514 (_G_wint_t): Likewise.
36515 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36516 (_G_ssize_t): Likewise.
36517 (_G_off_t): Likewise.
36518 (_G_pid_t): Likewise.
36519 (_G_uid_t): Likewise.
36520 (_G_wchar_t): Likewise.
36521 (_G_wint_t): Likewise.
36522 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36523 (_G_ssize_t): Likewise.
36524 (_G_off_t): Likewise.
36525 (_G_pid_t): Likewise.
36526 (_G_uid_t): Likewise.
36527 (_G_wchar_t): Likewise.
36528 (_G_wint_t): Likewise.
36529
9fab36eb
SP
365302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36531
36532 * malloc/arena.c: Include malloc-sysdep.h.
36533 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36534 is sufficient to shrink the heap or an unmap is needed.
36535 * sysdeps/generic/malloc-sysdep.h: New file. Define
36536 new function check_may_shrink_heap.
36537 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36538 new function check_may_shrink_heap.
36539
2b4f00d1
SP
365402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36541
36542 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36543 comments.
36544
9a9028b1
DL
365452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36546
57c69bef
DL
36547 * catgets/test-gencat.sh: Add "set -e".
36548 * elf/tst-pathopt.sh: Likewise.
36549 * grp/tst_fgetgrent.sh: Likewise.
36550 * iconvdata/run-iconv-test.sh: Likewise.
36551 * intl/tst-gettext.sh: Likewise.
36552 * intl/tst-gettext2.sh: Likewise.
36553 * intl/tst-gettext4.sh: Likewise.
36554 * intl/tst-gettext6.sh: Likewise.
36555 * intl/tst-translit.sh: Likewise.
36556 * io/ftwtest-sh: Likewise.
36557 * libio/test-freopen.sh: Likewise.
36558 * malloc/tst-mtrace.sh: Likewise.
36559 * posix/globtest.sh: Likewise.
36560 * posix/tst-getconf.sh: Likewise.
36561 * posix/wordexp-tst.sh: Likewise.
36562 * stdio-common/tst-printf.sh: Likewise.
36563 * stdio-common/tst-unbputc.sh: Likewise.
36564 * stdlib/tst-fmtmsg.sh: Likewise.
36565 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36566 * catgets/Makefile: Do not specify -e option when running
36567 testsuite shell scripts.
36568 * elf/Makefile: Likewise.
36569 * grp/Makefile: Likewise.
36570 * iconvdata/Makefile: Likewise.
36571 * intl/Makefile: Likewise.
36572 * io/Makefile: Likewise.
36573 * libio/Makefile: Likewise.
36574 * malloc/Makefile: Likewise.
36575 * posix/Makefile: Likewise.
36576 * stdio-common/Makefile: Likewise.
36577 * stdlib/Makefile: Likewise.
36578 * sysdeps/x86_64/Makefile: Likewise.
36579
9a9028b1
DL
36580 * io/ftwtest-sh: Add copyright header.
36581 * posix/globtest.sh: Likewise.
36582 * posix/tst-getconf.sh: Likewise.
36583 * posix/wordexp-tst.sh: Likewise.
36584 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36585
ced6f16e
L
365862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36587
94b32c39
L
36588 [BZ #13679]
36589 * Makeconfig (+link): Defined as $(+link-static) if
36590 $(build-shared) isn't yes.
36591 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36592 isn't yes.
36593 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36594
189e935b
L
36595 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36596
ced6f16e
L
36597 [BZ #14562]
36598 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36599 new chunk size with MALLOC_ALIGN_MASK.
36600
a9f8e53a
JM
366012012-09-24 Joseph Myers <joseph@codesourcery.com>
36602
36603 [BZ #5044]
36604 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36605 <rounding-mode.h>.
36606 (__printf_fphex): Determine rounding using get_rounding_mode and
36607 round_away.
36608 * stdio-common/tst-printf-round.c (struct hex_test): New
36609 structure.
36610 (hex_tests): New variable.
36611 (test_hex_in_one_mode): New function.
36612 (do_test): Also run tests for hex float output.
36613
43153109
JM
366142012-09-21 Joseph Myers <joseph@codesourcery.com>
36615
36616 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36617 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36618 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36619 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36620 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36621 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36622 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36624
8a26625d
JM
366252012-09-20 Joseph Myers <joseph@codesourcery.com>
36626
36627 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36628 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36629 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36630 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36631
f3fd569c
DL
366322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36633
36634 [BZ #14579]
36635 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36636 mode only.
36637 * elf/tst-rtld-load-self.sh: New test.
36638 * elf/Makefile: Run it.
36639
63bbedd4
JM
366402012-09-18 Joseph Myers <joseph@codesourcery.com>
36641
36642 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36643 (tst-writev-ENV): Remove.
36644 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36645
626f8b6a
CM
366462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36647
36648 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36649
b7aaa4d6
JM
366502012-09-17 Joseph Myers <joseph@codesourcery.com>
36651
36652 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36653 unconditional.
36654 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36655 Likewise.
36656 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36657 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36658 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36659 Likewise.
36660
65513990
L
366612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36662
36663 [BZ #14587]
36664 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36665 * config.make.in (have-cpp-asm-debuginfo): Removed.
36666 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36667 * configure: Regenerated.
36668
784761be
JM
366692012-09-14 Joseph Myers <joseph@codesourcery.com>
36670
36671 [BZ #5044]
36672 * stdio-common/printf_fp.c: Include <stdbool.h> and
36673 <rounding-mode.h>.
36674 (___printf_fp): Determine rounding using get_rounding_mode and
36675 round_away.
36676 * stdio-common/tst-printf-round.c: New file.
36677 * stdio-common/Makefile (tests): Add tst-printf-round.
36678 (link-libm): New variable.
36679 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36680
9503345f
L
366812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36682
36683 [BZ #14576]
36684 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36685 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36686 Likewise.
36687 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36688 Likewise.
36689
ad35fc00
JM
366902012-09-13 Joseph Myers <joseph@codesourcery.com>
36691
36692 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36693 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36694 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36695 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36696
6c9b0f68
JM
366972012-09-12 Joseph Myers <joseph@codesourcery.com>
36698
36699 [BZ #14518]
36700 * include/rounding-mode.h: New file.
36701 * sysdeps/generic/get-rounding-mode.h: Likewise.
36702 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36703 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36704 (MAX_VALUE): New macro.
36705 (MIN_VALUE): Likewise.
36706 (overflow_value): New function.
36707 (underflow_value): Likewise.
36708 (round_and_return): Use overflow_value and underflow_value to
36709 determine return values in overflow and underflow cases. Use
36710 round_away to determine rounding depending on rounding mode.
36711 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36712 determine return values in overflow and underflow cases.
36713 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36714 (struct test_results): New structure.
36715 (struct test): Use struct test_results to store expected results
36716 for all rounding modes.
36717 (TEST): Include expected results for all rounding modes.
36718 (test_in_one_mode): New function.
36719 (do_test): Use test_in_one_mode to compute and check results.
36720 Check results for all rounding modes.
36721 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36722 $(link-libm).
36723
19fcedd5
AM
367242012-12-09 Allan McRae <allan@archlinux.org>
36725
1e9d84cd 36726 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36727
8bbfd2f1
JM
367282012-09-11 Joseph Myers <joseph@codesourcery.com>
36729
36730 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36731 (_G_int32_t): Likewise.
36732 (_G_uint16_t): Likewise.
36733 (_G_uint32_t): Likewise.
36734 (_G_HAVE_BOOL): Likewise.
36735 (_G_HAVE_ATEXIT): Likewise.
36736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36737 (_G_HAVE_IO_FILE_OPEN): Likewise.
36738 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36739 (_G_int32_t): Likewise.
36740 (_G_uint16_t): Likewise.
36741 (_G_uint32_t): Likewise.
36742 (_G_HAVE_BOOL): Likewise.
36743 (_G_HAVE_ATEXIT): Likewise.
36744 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36745 (_G_HAVE_IO_FILE_OPEN): Likewise.
36746 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36747 (_G_int32_t): Likewise.
36748 (_G_uint16_t): Likewise.
36749 (_G_uint32_t): Likewise.
36750 (_G_HAVE_BOOL): Likewise.
36751 (_G_HAVE_ATEXIT): Likewise.
36752 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36753 (_G_HAVE_IO_FILE_OPEN): Likewise.
36754
b1dc5912
L
367552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36756
36757 * csu/libc-tls.c: Update copyright years.
36758
0e886ef9
JM
367592012-09-10 Joseph Myers <joseph@codesourcery.com>
36760
28361c5e
JM
36761 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36762 [!_G_USING_THUNKS]: Remove conditional code.
36763 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36764 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36765
0e886ef9
JM
36766 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36767 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36768 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36769 (_G_VTABLE_LABEL_PREFIX): Likewise.
36770 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36771 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36772 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36773 (_G_VTABLE_LABEL_PREFIX): Likewise.
36774 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36775 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36776 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36777 (_G_VTABLE_LABEL_PREFIX): Likewise.
36778 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36779
bcba7aa2
L
367802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36781
36782 * libio/Makefile: Include ../Makeconfig before tests.
36783 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36784 only if $(build-shared) is yes.
36785
06585ee8
L
36786 * iconv/gconv_db.c: Update copyright years.
36787
80ccd52c
LD
367882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36789
36790 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36791 unwind info if defined PIC. Fix special cases description.
36792 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36793
36794 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36795 DP_HI_MASK entry.
36796 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36797
691bc9c1
L
367982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36799
3d9b46b3
L
36800 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36801
de2139a9
L
36802 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36803 is NULL.
36804
5ca78dd0
L
36805 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36806 (LDLIBS-tst-chk4): This.
36807 (LDFLAGS-tst-chk5): Renamed to ...
36808 (LDLIBS-tst-chk5): This.
36809 (LDFLAGS-tst-chk6): Renamed to ...
36810 (LDLIBS-tst-chk6): This.
36811 (LDFLAGS-tst-lfschk4): Renamed to ...
36812 (LDLIBS-tst-lfschk4): This.
36813 (LDFLAGS-tst-lfschk5): Renamed to ...
36814 (LDLIBS-tst-lfschk5): This.
36815 (LDFLAGS-tst-lfschk6): Renamed to ...
36816 (LDLIBS-tst-lfschk6): This.
36817
691bc9c1
L
36818 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36819 on $(common-objpfx)soversions.mk.
36820
65cafb1c
JM
368212012-09-07 Joseph Myers <joseph@codesourcery.com>
36822
36823 [BZ #10014]
36824 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36825 example host name.
36826
c78ab094
SP
368272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36828
36829 * malloc/arena.c (arena_get_retry): New function that gets
36830 another arena for the caller to try its request on.
36831 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36832 current arena cannot fulfill the request.
36833 (__libc_memalign): Likewise.
36834 (__libc_memalign): Likewise.
36835 (__libc_pvalloc): Likewise.
36836 (__libc_calloc): Likewise.
36837
01f49f59
JT
368382012-09-05 John Tobey <john.tobey@gmail.com>
36839
36840 [BZ #13542]
36841 * manual/arith.texi (Operations on Complex): Fix description
36842 of carg branch cut.
36843
4c23fed5
JM
368442012-09-06 Joseph Myers <joseph@codesourcery.com>
36845
1d3c8572
JM
36846 [BZ #10014]
36847 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36848 host name.
36849
4c23fed5
JM
36850 [BZ #10038]
36851 * manual/memory.texi (Memory): Make order of menu items match
36852 order of sections.
36853
04570aaa
L
368542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36855
36856 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36857 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36858 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36859
b80af2f4
L
368602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36861
36862 * csu/libc-tls.c (static_dtv): Renamed to ...
36863 (_dl_static_dtv): This. Make it global.
36864 (_dl_initial_dtv): Removed.
36865 (__libc_setup_tls): Updated.
36866 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36867 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36868 DL_INITIAL_DTV.
36869
2abe9f15
PM
368702012-09-06 Petr Machata <pmachata@redhat.com>
36871
36872 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36873 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36874 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36875 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36876
0948c3af
L
368772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36878
36879 [BZ #14545]
36880 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36881 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36882 freeing dtv[-1].
36883
a5055ad1
L
368842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36885
36886 [BZ #14544]
36887 * Makeconfig (link-static-before-libc): Replace $(+prector)
36888 with $(+prectorT).
36889 (link-static-after-libc): Replace $(+postctor) with
36890 $(+postctorT).
36891 (link-bounded): Replace $(+prector)/$(+postctor) with
36892 $(+prectorT)/$(+postctorT).
36893 (+prectorT): New macro.
36894 (+postctorT): Likewise.
36895
ed8c2ecd
JM
368962012-09-06 Joseph Myers <joseph@codesourcery.com>
36897
36898 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36899 (round_str): Handle values above the maximum for IBM long double
36900 as inexact.
36901 * stdlib/tst-strtod-round.c (tests): Regenerated.
36902
14c996c8
AK
369032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36904
36905 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36906 assembler flag.
36907 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36908 zarch_nohighgprs around the zarch optimized routines.
36909 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36910 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36911 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36912 for zarch.
36913
430d6ce6
DM
369142012-09-05 David S. Miller <davem@davemloft.net>
36915
36916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36917
57f41c40
AS
36918 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36919 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36920 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36921 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36922 entries.
36923
24d4e01b
AO
369242012-09-05 Alexandre Oliva <aoliva@redhat.com>
36925
36926 * malloc/arena.c: Fold copyright years.
36927 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36928
61d58174
AO
369292012-09-05 Alexandre Oliva <aoliva@redhat.com>
36930
36931 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36932
20196a5e
AO
369332012-09-05 Alexandre Oliva <aoliva@redhat.com>
36934
36935 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36936
5c447383
AO
369372012-09-05 Alexandre Oliva <aoliva@redhat.com>
36938
36939 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36940 change internal state upon failure.
36941
fad64255
AO
369422012-09-05 Alexandre Oliva <aoliva@redhat.com>
36943
36944 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36945 * malloc/memusage.c (mmap): Likewise.
36946 (mmap64, mremap): Likewise. Adjust name in comment.
36947
1ffb8c90
SP
369482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36949
36950 * libio/fileops.c: Fix typos in comments.
36951 * libio/oldfileops.c: Likewise.
36952 * libio/wfileops.c: Likewise.
36953
6ef9cc37
SP
369542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36955
36956 [BZ #1349]
36957 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36958 (tst-malloc-usable-ENV): Set environment for test case.
36959 * malloc/hooks.c (malloc_check_get_size): New function to get
36960 requested size.
36961 * malloc/malloc.c (musable): Use malloc_check_get_size.
36962 * malloc/tst-malloc-usable.c: New test case.
36963
4d038ae3
AS
369642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36965
36966 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36967
c4e85184
AM
369682012-09-05 Allan McRae <allan@archlinux.org>
36969
b9dafc56 36970 [BZ #13966]
c4e85184
AM
36971 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36972 determine header location.
36973 * configure: Regenerated.
36974
e1343020
AS
369752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36976
36977 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36978 float format.
36979 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
36980 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36981 format.
e1343020
AS
36982 (test): Regenerate.
36983
0a9f1987
DM
369842012-09-04 David S. Miller <davem@davemloft.net>
36985
36986 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36987 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36988 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36989
29237804
FW
369902012-09-04 Florian Weimer <fweimer@redhat.com>
36991
36992 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36993 failures.
36994
edb3cb88
FW
36995 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36996
60160d83
JM
369972012-09-04 Joseph Myers <joseph@codesourcery.com>
36998
36999 [BZ #9914]
37000 * libio/iogetdelim.c: Include <limits.h>.
37001 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37002 + len + 1 would overflow.
37003
bcd6c8dc
AJ
370042012-09-03 Andreas Jaeger <aj@suse.de>
37005
37006 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37007 * sysdeps/i386/fpu/libm-test-ulps: Update.
37008
4ffffbd2
LD
370092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37010
37011 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37012 Add s_sinf-sse2, s_conf-sse2.
37013
37014 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37015 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37016 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37017 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37018
37019 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37020 for using routine as __sinf_ia32.
37021 Use macro for function declaration and weak_alias.
37022 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37023 for using routine as __cosf_ia32.
37024 Use macro for function declaration and weak_alias.
37025
37026 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37027 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37028
37029 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37030 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37032
37033 * math/libm-test.inc (cos_test): Add more test cases.
37034 (sin_test): Likewise.
37035 (sincos_test): Likewise.
37036
511fa286
AK
370372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37038
37039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37040 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37041 hidden.
37042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37043
5f30cfec
L
370442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37045
37046 [BZ #14538]
37047 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37048 first element of the GOT.
37049 (elf_machine_load_address): Return the difference between
37050 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37051
0786794f
AM
370522012-09-01 Allan McRae <allan@archlinux.org>
37053
5f30cfec
L
37054 [BZ #13412]
37055 * configure.in (AWK): Require gawk version 3.0 or later.
37056 * configure: Regenerated.
0786794f 37057
26889eac
JM
370582012-09-01 Joseph Myers <joseph@codesourcery.com>
37059
37060 * sysdeps/unix/sysv/linux/kernel-features.h
37061 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37062 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37063 [__NR_clock_getres]: Make code unconditional.
37064 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37065 (clock_getcpuclockid): Remove code left unreachable by removal of
37066 conditionals.
37067 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37068 code unconditional.
37069 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37070 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37071 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37072 Make code unconditional.
37073 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37074 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37075 * sysdeps/unix/sysv/linux/clock_settime.c
37076 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37077 conditional code.
37078 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37079 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37080
d22e28b0
L
370812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37082
37083 [BZ #14476]
37084 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37085 scripts/test-installation.pl.
37086
37087 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37088 and $ld_so_version if it is set.
37089
050af9c4
SP
370902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37091
37092 [BZ #14516]
37093 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37094 failure if reading from procfs failed.
37095 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37096
ad845c0b
JM
370972012-08-27 Joseph Myers <joseph@codesourcery.com>
37098
37099 * sysdeps/unix/sysv/linux/kernel-features.h
37100 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37101 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37102 Remove conditional code.
37103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37104 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37105 Remove conditional code.
37106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37107 * sysdeps/unix/sysv/linux/i386/fxstat.c
37108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37110 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37113 * sysdeps/unix/sysv/linux/i386/lxstat.c
37114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37116 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37117 Remove conditional code.
37118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37119 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37120 Remove conditional code.
37121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37122 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37123 <kernel-features.h>.
37124 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37125 Remove.
37126 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37127 Remove conditional code.
37128 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37129 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37130 Remove conditional.
37131
5dbf56af
MF
371322012-08-27 Mike Frysinger <vapier@gentoo.org>
37133
37134 [BZ #5400]
37135 * NEWS: Add fixed bug number.
37136
d6e70f43
JM
371372012-08-27 Joseph Myers <joseph@codesourcery.com>
37138
7efb4737
JM
37139 [BZ #14519]
37140 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37141 underflowing exponent in case of negative sign.
37142 * stdlib/tst-strtod-round-data: Add more tests.
37143 * stdlib/tst-strtod-round.c (tests): Regenerated.
37144
af92131a
JM
37145 [BZ #3479]
37146 * stdlib/strtod_l.c (NDIG): Remove.
37147 (HEXNDIG): Likewise.
37148 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37149 smallest representable value.
37150 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37151 lie within an exact representation of 1/2 ulp of the result.
37152 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37153 unconditionally.
37154 (TENS_P9_IDX): Define unconditionally.
37155 (TENS_P9_SIZE): Likewise.
37156 (TENS_P10_IDX): Likewise.
37157 (TENS_P10_SIZE): Likewise.
37158 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37159 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37160 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37161 entries for 10^2^13 and 10^2^14.
37162 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37163 (TENS_P13_IDX): Define.
37164 (TENS_P13_SIZE): Likewise.
37165 (TENS_P14_IDX): Likewise.
37166 (TENS_P14_SIZE): Likewise.
37167 (_fpioconst_pow10): Change array size to
37168 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37169 unconditional.
37170 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37171 1024]: Add entries for 10^2^13 and 10^2^14.
37172 [LAST_POW10 > _LAST_POW10]: Remove #error.
37173 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37174 (_fpioconst_pow10): Change array size to
37175 FPIOCONST_POW10_ARRAY_SIZE.
37176 * stdlib/gen-fpioconst.c: New file.
37177 * stdlib/gen-tst-strtod-round.c: Likewise.
37178 * stdlib/tst-strtod-round-data: Likewise.
37179 * stdlib/tst-strtod-round.c: Likewise.
37180 * stdlib/Makefile (tests): Add tst-strtod-round.
37181
d6e70f43
JM
37182 [BZ #14459]
37183 * stdlib/strtod_l.c: Include <stdint.h>.
37184 (NDEBUG): Do not define.
37185 (round_and_return): Change EXPONENT parameter to type intmax_t.
37186 Rearrange calculations to avoid internal overflow possibilities.
37187 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37188 Rearrange calculations to avoid internal overflow possibilities.
37189 Assert that number fits inside MPNSIZE limbs.
37190 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37191 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37192 calculations and add assertions to avoid internal overflow
37193 possibilities. Add casts to avoid signed/unsigned operations.
37194 * stdlib/tst-strtod-overflow.c: New file.
37195 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37196
1f529f7d
MP
371972012-08-25 Marek Polacek <polacek@redhat.com>
37198
37199 * time/time.h: Fix some typos in comments.
37200
59a629f1
RM
372012012-08-23 Roland McGrath <roland@hack.frob.com>
37202
37203 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37204 * posix/tst-rfc3484-2.c: Likewise.
37205 * posix/tst-rfc3484-3.c: Likewise.
37206
d3bafbc9
SM
372072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37208
37209 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37210 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37211
4efcc022
JM
372122012-08-23 Joseph Myers <joseph@codesourcery.com>
37213
37214 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37215 #include of fxstatat64.c.
37216
3cc3ef96
RM
372172012-08-22 Roland McGrath <roland@hack.frob.com>
37218
f04e2132
RM
37219 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37220 * shadow/getspent_r.c: Likewise.
37221 * shadow/getspnam.c: Likewise.
37222 * shadow/getspnam_r.c: Likewise.
37223 * gshadow/getsgent.c: Likewise.
37224 * gshadow/getsgent_r.c: Likewise.
37225 * gshadow/getsgnam.c: Likewise.
37226 * gshadow/getsgnam_r.c: Likewise.
37227 * inet/getnetbyad.c: Likewise.
37228 * inet/getnetbyad_r.c: Likewise.
37229 * inet/getnetbynm.c: Likewise.
37230 * inet/getnetbynm_r.c: Likewise.
37231 * inet/getnetent.c: Likewise.
37232 * inet/getnetent_r.c: Likewise.
37233 * inet/getproto.c: Likewise.
37234 * inet/getproto_r.c: Likewise.
37235 * inet/getprtent.c: Likewise.
37236 * inet/getprtent_r.c: Likewise.
37237 * inet/getprtname.c: Likewise.
37238 * inet/getprtname_r.c: Likewise.
37239 * inet/getrpcbyname.c: Likewise.
37240 * inet/getrpcbyname_r.c: Likewise.
37241 * inet/getrpcbynumber.c: Likewise.
37242 * inet/getrpcbynumber_r.c: Likewise.
37243 * inet/getrpcent.c: Likewise.
37244 * inet/getrpcent_r.c: Likewise.
37245 * inet/getaliasent.c: Likewise.
37246 * inet/getaliasent_r.c: Likewise.
37247 * inet/getaliasname.c: Likewise.
37248 * inet/getaliasname_r.c: Likewise.
37249 * nscd/getgrgid_r.c: Likewise.
37250 * nscd/getgrnam_r.c: Likewise.
37251 * nscd/gethstbyad_r.c: Likewise.
37252 * nscd/gethstbynm3_r.c: Likewise.
37253 * nscd/getpwnam_r.c: Likewise.
37254 * nscd/getpwuid_r.c: Likewise.
37255 * nscd/getsrvbynm_r.c: Likewise.
37256 * nscd/getsrvbypt_r.c: Likewise.
37257 * nscd/gai.c: Likewise.
37258
c53d909c
RM
37259 * configure.in (build_nscd): New substituted variable, set
37260 by --disable-build-nscd and defaults to $use_nscd.
37261 * configure: Regenerated.
37262 * config.make.in (build-nscd): New substituted variable.
37263 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37264 Change conditional to require [$(build-nscd) = yes] as well.
37265 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37266
3cc3ef96
RM
37267 [BZ# 13696]
37268 * configure.in (use_nscd): New substituted variable, set by
37269 --disable-nscd. If enabled, define USE_NSCD.
37270 * configure: Regenerated.
37271 * config.h.in: Add USE_NSCD.
37272 * config.make.in (use-nscd): New substituted variable.
37273 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37274 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37275 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37276 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37277 (CFLAGS-getgrnam_r.c): Likewise.
37278 (CFLAGS-initgroups.c): Likewise.
37279 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37280 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37281 Variables removed.
37282 * inet/getnetgrent_r.c
37283 (nscd_setnetgrent): New function, broken out of ...
37284 (setnetgrent): ... here. Call it.
37285 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37286 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37287 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37288 * nscd/Makefile (routines, aux): Move definitions after include of
37289 Makeconfig. Conditionalize on [$(use-nscd) != no].
37290 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37291 Conditionalize on [USE_NSCD].
37292 (is_nscd, nscd_init_cb): Likewise.
37293 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37294 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37295 * nss/nss_db/db-init.c: Likewise.
37296 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37297 [USE_NSCD].
37298 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37299 (make_request): Use it.
37300 (cache_valid_p): New function.
37301 (__check_pf): Use it.
37302 * NEWS: Add item for --disable-nscd.
37303
07e51550
DL
373042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37305
37306 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37307 to support sed >= 4.2.1-20-ga9bf076.
37308 * configure: Regenerated.
37309
35a5b08b
RM
373102012-08-22 Roland McGrath <roland@hack.frob.com>
37311
37312 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37313 Conditionalize whole body on [IREL].
37314
8479f23a
JL
373152012-08-22 Jeff Law <law@redhat.com>
37316
37317 [BZ #14505]
37318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37319 if the family is PF_UNSPEC.
37320
48da0b21
MF
373212012-08-22 Mike Frysinger <vapier@gentoo.org>
37322
37323 * Makerules (lib-version): Rename from V.
37324 (install-lib-nosubdir): Change V to lib-version.
37325
15d0da8c
WS
373262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37327
37328 [BZ #14252]
37329 * powerpc32/power6/wcschr.c: New file.
37330 * powerpc32/power6/wcscpy.c: New file.
37331 * powerpc32/power6/wcsrchr.c: New file.
37332 * powerpc64/power6/wcschr.c: New file.
37333 * powerpc64/power6/wcscpy.c: New file.
37334 * powerpc64/power6/wcsrchr.c: New file.
37335
bcca0895
MK
373362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37337
37338 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37339 (two_way_short_needle): Use it.
5a4aaa33
RM
37340 * string/strstr.c (AVAILABLE1_USES_J): Define.
37341 * string/strcasestr.c: Likewise.
99677e57
MK
37342
37343 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37344 array references.
37345 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37346
400726de
MK
37347 [BZ #11607]
37348 * NEWS: Add an entry.
37349 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37350 define their defaults.
37351 (two_way_short_needle): Detect end-of-string on-the-fly.
37352 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37353 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37354 * string/bug-strcasestr1.c: New test.
37355 * string/Makefile: Run it.
37356
20a71f2c
MK
373572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37358
37359 [BZ #11607]
37360 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37361 the first character.
37362
21ad0558
RM
373632012-08-21 Roland McGrath <roland@hack.frob.com>
37364
37365 * csu/elf-init.c (__libc_csu_irel): Function removed.
37366 * csu/libc-start.c (apply_irel): New function.
37367 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37368
0e1d9911
JM
373692012-08-21 Joseph Myers <joseph@codesourcery.com>
37370
37371 * sysdeps/unix/sysv/linux/kernel-features.h
37372 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37373 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37374 <kernel-features.h>.
37375 [__NR_fadvise64_64]: Make code unconditional.
37376 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37377 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37378 !__NR_fadvise64_64)]: Likewise.
37379 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37380 !__NR_fadvise64_64))]: Likewise.
37381 [__NR_fadvise64]: Make code unconditional.
37382 [!__NR_fadvise64]: Remove conditional code.
37383 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37384 <kernel-features.h>.
37385 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37386 unconditional.
37387 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37388 conditional code.
37389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37390 not include <kernel-features.h>.
37391 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37392 unconditional.
37393 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37394 conditional code.
37395 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37396 include <kernel-features.h>.
37397 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37398 unconditional.
37399 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37400 conditional code.
37401
14a50c9d
WS
374022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37403
37404 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37405 slight instruction rearrangements per scrollpipe analysis.
37406 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37407
c0f4faf0
RM
374082012-08-20 Roland McGrath <roland@hack.frob.com>
37409
696da859
RM
37410 * manual/syslog.texi (syslog; vsyslog, closelog):
37411 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37412 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37413
c0f4faf0
RM
37414 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37415 DSOCAPS to match condition on defining it.
37416
348363b2
JM
374172012-08-20 Joseph Myers <joseph@codesourcery.com>
37418
a35cbf28
JM
37419 * sysdeps/unix/sysv/linux/kernel-features.h
37420 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37430
445f7ecd
JM
37431 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37432 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37433
348363b2
JM
37434 * sysdeps/unix/sysv/linux/kernel-features.h
37435 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37436 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37437 unconditional.
37438 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37439 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37440 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37441 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37442 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37443 Make code unconditional.
37444 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37445 (__mmap64) [!__NR_mmap2]: Likewise.
37446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37447 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37448 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37450 [__NR_mmap2]: Make code unconditional.
37451 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37452 (__mmap64) [!__NR_mmap2]: Likewise.
37453
bc5bc0e5
AK
374542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37455
37456 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37457
88d506de
AJ
374582012-08-18 Andreas Jaeger <aj@suse.de>
37459
37460 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37461
493387d2
MF
374622012-08-18 Mike Frysinger <vapier@gentoo.org>
37463
37464 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37465 * include/unistd.h (__have_sock_cloexec): Likewise.
37466 (__have_pipe2): Likewise.
37467 (__have_dup3): Likewise.
37468
a277af22
MF
374692012-08-18 Mike Frysinger <vapier@gentoo.org>
37470
37471 [BZ #9685]
37472 * include/unistd.h (__have_pipe2): Change define into an extern int.
37473 (__have_dup3): Likewise.
37474 * socket/have_sock_cloexec.c: Include fcntl.h.
37475 (__have_pipe2): New variable.
37476 (__have_dup3): Likewise.
37477
fdab8fd3
MF
374782012-08-17 Mike Frysinger <vapier@gentoo.org>
37479
37480 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37481
31035e80
MP
374822012-08-17 Marek Polacek <polacek@redhat.com>
37483
37484 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37485 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37486
3bd9e993
RM
374872012-08-17 Roland McGrath <roland@hack.frob.com>
37488
c91c505f
RM
37489 * configure.in: Add AC_SUBST for sysheaders.
37490 * configure: Regenerated.
37491 * config.make.in (sysheaders): New substituted variable.
37492
7c6f9d53
RM
37493 * sysdeps/unix/mkfifo.c: Moved ...
37494 * sysdeps/posix/mkfifo.c: ... here.
37495 * sysdeps/unix/mkfifoat.c: Moved ...
37496 * sysdeps/posix/mkfifoat.c: ... here.
37497
37498 * sysdeps/unix/utime.c: Moved ...
37499 * sysdeps/posix/utime.c: ... here.
37500
37501 * sysdeps/unix/time.c: Moved ...
37502 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37503 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37504 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37505
37506 * sysdeps/unix/nice.c: Moved ...
37507 * sysdeps/posix/nice.c: ... here.
37508
37509 * sysdeps/unix/alarm.c: Moved ...
37510 * sysdeps/posix/alarm.c: ... here.
37511
3bd9e993
RM
37512 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37513
d1f09384
JL
375142012-08-17 Jeff Law <law@redhat.com>
37515
37516 * intl/Makefile (codeset_mo): New variable.
37517 ($(codeset_mo)): New target.
37518 (tst-codeset.out): Depend on that. Remove explicit rule.
37519 (tst-gettext3.out, tst-gettext5.out): Likewise.
37520 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37521 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37522 * intl/tst-codeset.sh: Remove.
37523 * intl/tst-gettext3.sh: Likewise.
37524 * intl/tst-gettext5.sh: Likewise.
37525
2ae1ae5c
RM
375262012-08-17 Roland McGrath <roland@hack.frob.com>
37527
c31fdb83
RM
37528 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37529 * sysdeps/unix/syscalls.list: ... here.
37530
a0844057
RM
37531 * sysdeps/posix/getaddrinfo.c
37532 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37533 (gaiconf_init, gaiconf_reload): Use them.
37534 [!_STATBUF_ST_NSEC]
37535 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37536 Define using time_t rather than struct timespec.
37537
750c1f2a
RM
37538 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37539 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37540 Macros removed.
37541 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37542 [!NO_THREADS].
37543 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37544 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37545 Likewise.
37546
2ae1ae5c
RM
37547 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37548 __libc_cleanup_push argument.
37549
e66a42f5
RM
37550 * bits/param.h: New file.
37551 * misc/sys/param.h: New file.
37552 * include/sys/param.h: New file.
37553 * misc/Makefile (headers): Add bits/param.h.
37554 * sysdeps/generic/sys/param.h: File removed.
37555 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37556 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37557 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37558 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37559
b7c08a66
RM
37560 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37561 last change.
37562
b2e1c562
RM
37563 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37564 [_IO_MTSAFE_IO].
37565 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37566 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37567 New macros.
37568
c75ccd4c
RM
37569 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37570 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37571 rather than -D_IO_MTSAFE_IO conditionally.
37572 * stdio-common/Makefile (CPPFLAGS): Likewise.
37573 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37574 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37575 Use $(libio-mtsafe).
37576 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37577 of -D_IO_MTSAFE_IO.
37578 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37579 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37580 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37581 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37582 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37583 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37584 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37585 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37586 (CFLAGS-fread_u_chk.c): Likewise.
37587 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37588 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37589 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37590 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37591 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37592 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37593 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37594 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37595 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37596
37597 * libio/Makefile: Test [$(libc-reentrant) = yes]
37598 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37599
37600 * Makeconfig
37601 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37602 * sysdeps/pthread/configure: File removed.
37603 * sysdeps/pthread/Makeconfig: New file.
37604 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37605 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37606
d9195db8
GB
376072012-08-16 Gary Benson <gbenson@redhat.com>
37608
37609 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37610 unmapping the first object in a namespace.
37611
86466cd9
RM
376122012-08-16 Roland McGrath <roland@hack.frob.com>
37613
37614 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37615 (__internal_setnetgrent): ... this. Add internal_function to
37616 definition. Add libc_hidden_def.
37617 (setnetgrent): Update caller.
37618 (internal_endnetgrent): Renamed to ...
37619 (__internal_endnetgrent): ... this. Add internal_function to
37620 definition. Add libc_hidden_def.
37621 (endnetgrent): Update caller.
37622 (internal_getnetgrent_r): Renamed to ...
37623 (__internal_getnetgrent_r): ... this. Add internal_function to
37624 definition. Add libc_hidden_def.
37625 (__getnetgrent_r): Update caller.
37626 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37627
c3c8283c
JM
376282012-08-16 Joseph Myers <joseph@codesourcery.com>
37629
37630 * stdlib/longlong.h: Update from GCC.
37631
db1ee0a8
RM
376322012-08-16 Roland McGrath <roland@hack.frob.com>
37633
37634 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37635 on _QL, which is set by umul_ppmm but never used.
37636 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37637 variables, which are set by GMP macros but never used.
37638 * stdio-common/_itowa.c (_itowa): Likewise.
37639 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37640 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37641
30f69637
CD
376422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37643
37644 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37645 struct La_sh_regs is not constant.
37646 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37647 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37648 and struct La_sparc64_regs are not constant.
37649
93a78ac4
JM
376502012-08-16 Joseph Myers <joseph@codesourcery.com>
37651
37652 * sysdeps/unix/sysv/linux/kernel-features.h
37653 (__ASSUME_POSIX_TIMERS): Remove.
37654 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37656 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37657 Make code unconditional.
37658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37659 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37660 Make code unconditional.
37661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37662 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37663 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37665 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37666 Make code unconditional.
37667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37668 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37669 (__libc_missing_posix_timers): Remove.
37670
dd924cd7
RM
376712012-08-15 Roland McGrath <roland@hack.frob.com>
37672
4b4f2771
RM
37673 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37674 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37675
601c888b
RM
37676 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37677
176790a7
RM
37678 * elf/dl-sym.c: Include <stdlib.h>.
37679
329bc018
RM
37680 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37681 constants, which avoids warnings in 32-bit builds.
37682
e04e272d
RM
37683 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37684 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37685
952bf94a
RM
37686 * misc/lseek.c: File moved to ...
37687 * io/lseek.c: ... here.
37688
7c99b50a
RM
37689 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37690
dd924cd7
RM
37691 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37692 shifting LEN more than 31 bits at once.
37693
b3f479a8
LD
376942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37695
37696 [BZ #14195]
8c4ae0d4
RM
37697 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37698 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37699 * string/test-strncasecmp.c (check1): Renamed to...
37700 (bz12205): ...this.
37701 (bz14195): Add new testcase for two empty input strings and N > 0.
37702 (test_main): Call new testcase, adapt for renamed function.
37703
9c55864e
AJ
377042012-08-15 Andreas Jaeger <aj@suse.de>
37705
37706 [BZ #14090]
37707 * crypt/md5test2.c: New test, based on test supplied by Serge
37708 Belyshev <belyshev@depni.sinp.msu.ru>.
37709 * crypt/Makefile (xtests): Add md5test-giant..
37710 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37711
02dcb6c5
PE
377122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37713
37714 [BZ #14090]
37715 * crypt/md5.c (md5_process_block): Don't assume the buffer
37716 length is less than 2**32.
37717 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37718 length is less than 2**64.
37719
a3f95dcc
RM
377202012-08-15 Roland McGrath <roland@hack.frob.com>
37721
be75d758
RM
37722 * string/str-two-way.h: Include <sys/param.h>.
37723 (MAX): Macro removed.
37724
7312ca90
RM
37725 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37726 Move #define and #undef of memmove to just before and after
37727 including <string.h>.
37728
9a0a5486
RM
37729 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37730 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37731 and after including <string.h>. Move declarations of
37732 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37733 to before #include "string/memmove.c".
37734
67cc348d
RM
37735 * include/dirent.h: Declare __getdirentries.
37736
a3f95dcc
RM
37737 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37738 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37739
ca98e171
MF
377402012-08-14 Mike Frysinger <vapier@gentoo.org>
37741
37742 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37743 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37744 * sysdeps/i386/configure: Regenerated.
37745 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37746 STABS_CURRENT_FILE, and STABS_FUN.
37747 (END): Remove call to STABS_FUN_END.
37748 (STABS_CURRENT_FILE1): Delete.
37749 (STABS_CURRENT_FILE): Likewise.
37750 (STABS_FUN): Likewise.
37751 (STABS_FUN_END): Likewise.
37752 (STABS_FUN2): Likewise.
37753 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37754 * sysdeps/x86_64/configure: Regenerated.
37755
5908bf46
RM
377562012-08-14 Roland McGrath <roland@hack.frob.com>
37757
37758 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37759 * elf/dl-lookup.c: Likewise.
5908bf46 37760
f2c05b9e
JM
377612012-08-14 Joseph Myers <joseph@codesourcery.com>
37762
37763 * sysdeps/unix/sysv/linux/kernel-features.h
37764 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37765 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37766 unconditionally.
37767 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37768 unconditionally.
37769 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37770 condition on __ASSUME_CLONE_THREAD_FLAGS.
37771
e11f5155
AJ
377722012-08-14 Andreas Jaeger <aj@suse.de>
37773
37774 * sysdeps/i386/fpu/libm-test-ulps: Update.
37775
51a9ba86
MK
377762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37777
2fdd4f78
AJ
37778 * include/atomic.h (atomic_exchange_and_add): Split into ...
37779 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37780 New atomic macros.
51a9ba86 37781
ba6cba9e
MT
377822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37783
37784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37785
42443a47
JL
377862012-08-13 Jeff Law <law@redhat.com>
37787
37788 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37789 null byte in the output string.
37790
121dce05
JM
377912012-08-10 Joseph Myers <joseph@codesourcery.com>
37792
37793 * sysdeps/unix/sysv/linux/kernel-features.h
37794 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37795 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37796 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37797 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37798 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37799 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37800 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37801
bf51f568
JL
378022012-08-09 Jeff Law <law@redhat.com>
37803
37804 [BZ #13939]
37805 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37806 When avoid_arena is set, don't retry in the that arena. Pick the
37807 next one, whatever it might be.
37808 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37809 (arena_lock): Pass in new parameter to arena_get2.
37810 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37811 arena_get2.
37812 (__libc_malloc): Unify retrying after main arena failure with
37813 __libc_memalign version.
37814 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37815
f85fa270
L
378162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37817
37818 [BZ #14166]
37819 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37820 to __redirect_strstr.
37821 (__strstr_sse42): Use typeof __redirect_strstr.
37822 (__strstr_ia32): Likewise.
37823 (__libc_strstr): New prototype.
37824 (strstr): Renamed to ...
37825 (__libc_strstr): This.
37826 (strstr): New strong alias of __libc_strstr.
37827 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37828 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37829 __redirect_time.
37830 Include <time.h>.
37831 (__libc_time): New prototype.
37832 (time_ifunc): Replace time with __libc_time.
37833 (time): New strong alias and hidden definition of __libc_time.
37834 (__GI_time): Remove strong alias.
37835 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37836 Include <stddef.h>.
37837 (memmove): Redefined to __redirect_memmove.
37838 (__memmove_sse2): Use typeof __redirect_memmove.
37839 (__memmove_ssse3): Likewise.
37840 (__memmove_ssse3_back): Likewise.
37841 (__libc_memmove): New prototype.
37842 (memmove): Renamed to ...
37843 (__libc_memmove): This.
37844 (memmove): New strong alias of __libc_memmove.
37845
33b4a91e
MS
378462012-08-08 Mark Salter <msalter@redhat.com>
37847
37848 * elf/elf.h
37849 (R_MN10300_TLS_GD): Define.
37850 (R_MN10300_TLS_LD): Likewise.
37851 (R_MN10300_TLS_LDO): Likewise.
37852 (R_MN10300_TLS_GOTIE): Likewise.
37853 (R_MN10300_TLS_IE): Likewise.
37854 (R_MN10300_TLS_LE): Likewise.
37855 (R_MN10300_TLS_DTPMOD): Likewise.
37856 (R_MN10300_TLS_DTPOFF): Likewise.
37857 (R_MN10300_TLS_TPOFF): Likewise.
37858 (R_MN10300_SYM_DIFF): Likewise.
37859 (R_MN10300_ALIGN): Likewise.
37860 (R_MN10300_NUM): Update.
37861
b36137f1
JM
378622012-08-08 Joseph Myers <joseph@codesourcery.com>
37863
37864 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37865 Remove.
37866
cdd915fd
RM
378672012-08-08 Roland McGrath <roland@hack.frob.com>
37868
a2433aac
RM
37869 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37870
cdd915fd
RM
37871 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37872 sysdeps/unix -> sysdeps/posix move.
37873 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37874
bf9b740a
AM
378752012-08-07 Allan McRae <allan@archlinux.org>
37876
37877 [BZ #14303]
37878 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37879 (SUNOS_CPP): Likewise.
37880 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37881 not found.
37882 (open_input): Call CPP using execvp.
37883
93df14ee
JM
378842012-08-07 Joseph Myers <joseph@codesourcery.com>
37885
37886 * sysdeps/unix/sysv/linux/kernel-features.h
37887 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37888 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37889 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37890 (__ASSUME_WAITID_SYSCALL): Likewise.
37891 * sysdeps/unix/sysv/linux/dl-execstack.c
37892 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37893 code unconditional.
37894 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37895 conditional code.
37896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37897 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37898 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37899 code.
37900 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37901 unconditional.
37902 [__ASSUME_WAITID_SYSCALL]: Likewise.
37903 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37904
d34689de
RM
379052012-08-07 Roland McGrath <roland@hack.frob.com>
37906
a281decc
RM
37907 * sysdeps/unix/closedir.c: Renamed to ...
37908 * sysdeps/posix/closedir.c: ... here.
37909 * sysdeps/unix/dirfd.c: Renamed to ...
37910 * sysdeps/posix/dirfd.c: ... here.
37911 * sysdeps/unix/dirstream.h: Renamed to ...
37912 * sysdeps/posix/dirstream.h: ... here.
37913 * sysdeps/unix/fdopendir.c: Renamed to ...
37914 * sysdeps/posix/fdopendir.c: ... here.
37915 * sysdeps/unix/opendir.c: Renamed to ...
37916 * sysdeps/posix/opendir.c: ... here.
37917 * sysdeps/unix/readdir.c: Renamed to ...
37918 * sysdeps/posix/readdir.c: ... here.
37919 * sysdeps/unix/readdir_r.c: Renamed to ...
37920 * sysdeps/posix/readdir_r.c: ... here.
37921 * sysdeps/unix/rewinddir.c: Renamed to ...
37922 * sysdeps/posix/rewinddir.c: ... here.
37923 * sysdeps/unix/seekdir.c: Renamed to ...
37924 * sysdeps/posix/seekdir.c: ... here.
37925 * sysdeps/unix/telldir.c: Renamed to ...
37926 * sysdeps/posix/telldir.c: ... here.
37927 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37928 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37929 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37930 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37931
22895b47
RM
37932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37933 * bits/fcntl.h: ... here.
37934
707a53b6
RM
37935 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37936 not 0.
37937 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37938 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37939 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37940 (struct flock): Move l_start, l_len to the beginning.
37941 Use __pid_t for l_pid.
37942 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37943 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37944 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37945 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37946 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37947 [__USE_LARGEFILE64] (struct flock64): New type.
37948 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37949
f0bd3e25
RM
37950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37951 * bits/dirent.h: ... here.
37952
d34689de
RM
37953 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37954 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37955
6dad2c06
JM
379562012-08-07 Joseph Myers <joseph@codesourcery.com>
37957
37958 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37959 Change from 2.6.0 to 2.6.16.
37960 * sysdeps/unix/sysv/linux/configure: Regenerated.
37961 * sysdeps/unix/sysv/linux/kernel-features.h
37962 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37963 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37964 version.
37965 (__ASSUME_UTIMES): Likewise.
37966 (__ASSUME_CLONE_STOPPED): Remove.
37967 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37968 architectures, not kernel version.
37969 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37970 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37971 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37972 (__ASSUME_WAITID_SYSCALL): Likewise.
37973 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37974 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37975 * README: State 2.6.16 as minimum Linux kernel version. Do not
37976 refer to older versions.
37977
03af9520
RM
379782012-08-06 Roland McGrath <roland@hack.frob.com>
37979
8e49df1d
RM
37980 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37981 Define alphasort64 as an alias.
37982 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37983 Define versionsort64 as an alias.
37984 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37985 Define scandir64 as an alias.
37986 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37987 Define scandirat64 as an alias.
37988 * dirent/alphasort64.c (alphasort64):
37989 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37990 * dirent/versionsort64.c: Likewise.
37991 * dirent/scandir64.c: Likewise.
37992 * dirent/scandirat64.c: Likewise.
37993 * sysdeps/wordsize-64/alphasort.c: File removed.
37994 * sysdeps/wordsize-64/alphasort64.c: File removed.
37995 * sysdeps/wordsize-64/scandir.c: File removed.
37996 * sysdeps/wordsize-64/scandir64.c: File removed.
37997 * sysdeps/wordsize-64/scandirat.c: File removed.
37998 * sysdeps/wordsize-64/scandirat64.c: File removed.
37999 * sysdeps/wordsize-64/versionsort.c: File removed.
38000 * sysdeps/wordsize-64/versionsort64.c: File removed.
38001 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38002 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38003 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38004 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38005 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38006 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38007 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38008 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38009
38010 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38011 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38012 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38013 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38014 [defined __arch64__ || defined __sparcv9]
38015 (__INO_T_MATCHES_INO64_T): New macro.
38016 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38017 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38018 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38019 * sysdeps/unix/sysv/linux/bits/dirent.h
38020 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38021 (_DIRENT_MATCHES_DIRENT64): New macro.
38022
03af9520
RM
38023 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38024 Define lockf64 as an alias.
38025 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38026 Define fseeko64 as an alias.
38027 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38028 Define ftello64 as an alias.
38029 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38030 Define _IO_fgetpos64 and fgetpos64 as aliases.
38031 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38032 Define _IO_fsetpos64 and fsetpos64 as aliases.
38033 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38034 Conditionalize body on this.
38035 * libio/fseeko64.c: Likewise.
38036 * libio/ftello64.c: Likewise.
38037 * libio/iofgetpos64.c: Likewise.
38038 * libio/iofsetpos64.c: Likewise.
38039 * sysdeps/wordsize-64/lockf.c: File removed.
38040 * sysdeps/wordsize-64/lockf64.c: File removed.
38041 * sysdeps/wordsize-64/fseeko.c: File removed.
38042 * sysdeps/wordsize-64/fseeko64.c: File removed.
38043 * sysdeps/wordsize-64/ftello.c: File removed.
38044 * sysdeps/wordsize-64/ftello64.c: File removed.
38045 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38046 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38047 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38048 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38049 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38050 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38051 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38053 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38055 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38056 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38057 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38059
38060 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38062 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38064 [defined __arch64__ || defined __sparcv9]
38065 (__OFF_T_MATCHES_OFF64_T): New macro.
38066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38067 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38068 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38069 (__OFF_T_MATCHES_OFF64_T): New macro.
38070
c5757acd
L
380712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38072
38073 * stdlib/secure-getenv.c (__secure_getenv): Replace
38074 GLIBC_2_16 with GLIBC_2_17.
38075
3a31811e
L
380762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38077
38078 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38080
faa2bccb
DM
380812012-08-03 David S. Miller <davem@davemloft.net>
38082
38083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38084
85fe1997
JM
380852012-08-03 Joseph Myers <joseph@codesourcery.com>
38086
38087 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38088 Remove.
38089 (__ASSUME_CORRECT_SI_PID): Likewise.
38090 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38091 (__ASSUME_TMPFS_NAME): Likewise.
38092 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38093 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38094 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38095 (HAVE_AUX_SECURE): Make definition unconditional.
38096 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38097 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38098
4f75b7a0
RM
380992012-08-03 Roland McGrath <roland@hack.frob.com>
38100
38101 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38102 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38103 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38104 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38105 __eloop_threshold instead of SYMLOOP_MAX.
38106
38107 * sysdeps/generic/eloop-threshold.h: New file.
38108 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38109 of MAXSYMLINKS.
38110 * elf/chroot_canon.c (chroot_canon): Likewise.
38111
7aab07e4
JM
381122012-08-03 Joseph Myers <joseph@codesourcery.com>
38113
38114 [BZ #13717]
38115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38116 Change to 2.6.0 everywhere.
38117 * sysdeps/unix/sysv/linux/configure: Regenerated.
38118 * sysdeps/unix/sysv/linux/kernel-features.h
38119 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38120 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38121 kernel versions.
38122 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38123 (__ASSUME_FUTEX_REQUEUE): Remove.
38124 (__ASSUME_STATFS64): Define unconditionally.
38125 (__ASSUME_AT_SECURE): Likewise.
38126 (__ASSUME_CORRECT_SI_PID): Likewise.
38127 (__ASSUME_TGKILL): Define without depending on kernel version for
38128 i386.
38129 (__ASSUME_UTIMES): Likewise.
38130 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38131 kernel version.
38132 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38133 (__ASSUME_TMPFS_NAME): Likewise.
38134 * README: Update reference to Linux kernel versions.
38135
b67e9372
MP
381362012-08-02 Marek Polacek <polacek@redhat.com>
38137
1f529f7d 38138 [BZ# 14150]
b67e9372
MP
38139 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38140 libc_cv_asm_type_prefix with %.
38141 * configure: Regenerated.
d2441631
RM
38142 * include/libc-symbols.h: Remove comment about
38143 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38144 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38145 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38146 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38147 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38148 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38149 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38150 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38151 * elf/tst-unique2mod1.c: Likewise.
38152 * elf/tst-unique1mod2.c: Likewise.
38153 * elf/tst-unique1mod1.c: Likewise.
38154 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38155 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38156 Replace ASM_TYPE_DIRECTIVE with .type.
38157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38158 * sysdeps/i386/sysdep.h: Likewise.
38159 * sysdeps/x86_64/sysdep.h: Likewise.
38160 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38162 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38163 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38164 * sysdeps/powerpc/powerpc32/sysdep.h:
38165 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38166 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38167 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38168 * sysdeps/i386/fpu/e_powf.S: Likewise.
38169 * sysdeps/i386/fpu/e_expl.S: Likewise.
38170 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38171 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38172 * sysdeps/i386/fpu/e_pow.S: Likewise.
38173 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38174 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38175 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38176 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38177 * sysdeps/i386/fpu/e_log2.S: Likewise.
38178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38179 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38180 * sysdeps/i386/fpu/e_powl.S: Likewise.
38181 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38182 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38183 * sysdeps/i386/fpu/e_logl.S: Likewise.
38184 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38185 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38186 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38187 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38188 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38189 * sysdeps/i386/fpu/e_log.S: Likewise.
38190 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38191 * sysdeps/i386/fpu/e_logf.S: Likewise.
38192 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38193 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38194 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38195 * sysdeps/i386/fpu/e_log10.S: Likewise.
38196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38201 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38202 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38203 * sysdeps/i386/i686/strtok.S: Likewise.
38204 * sysdeps/i386/i386-mcount.S: Likewise.
38205 * sysdeps/i386/strtok.S: Likewise.
38206 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38207 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38208 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38209 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38210 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38211 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38212 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38213 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38214 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38215 * sysdeps/x86_64/_mcount.S: Likewise.
38216 * sysdeps/x86_64/strtok.S: Likewise.
38217 * sysdeps/sh/_mcount.S: Likewise.
38218
2747bf9a
RM
382192012-08-01 Roland McGrath <roland@hack.frob.com>
38220
38221 * libio/iofopen.c: Include <fcntl.h>.
38222 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38223 (_IO_fopen64, fopen64): Define as aliases.
38224 * libio/iofopen64.c: Include <fcntl.h>.
38225 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38226 Conditionalize body on this.
38227 * sysdeps/wordsize-64/iofopen.c: File removed.
38228 * sysdeps/wordsize-64/iofopen64.c: File removed.
38229
3fb791b8
MP
382302012-08-01 Marek Polacek <polacek@redhat.com>
38231
38232 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38233 Use dlfcn directly instead of a variable.
38234 (binfmt-subdir): Do not define.
38235 (dlfcn): Likewise.
38236
a9f1039f
JM
382372012-08-01 Joseph Myers <joseph@codesourcery.com>
38238
23bddc06
JM
38239 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38240 Remove all definitions.
38241 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38242 <kernel-features.h>.
38243 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38244 (miss_F_GETOWN_EX): Remove all definitions.
38245 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38246 macro definition.
38247 [!__ASSUME_FCNTL64]: Remove conditional code.
38248 [__ASSUME_FCNTL64]: Make code unconditional.
38249 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38250 <kernel-features.h>.
38251 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38252 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38253 (lockf64) [__NR_fcntl64]: Make code unconditional.
38254 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38255
a9f1039f
JM
38256 * sysdeps/unix/sysv/linux/kernel-features.h
38257 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38258 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38259 Make code unconditional.
38260 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38261 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38263 [__NR_vfork]: Make code unconditional.
38264 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38265 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38267 [__NR_vfork]: Make code unconditional.
38268 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38269 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38270
09c0ee5f
RM
382712012-08-01 Roland McGrath <roland@hack.frob.com>
38272
48aec5b9
RM
38273 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38274 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38275
cd97c966
RM
38276 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38277 Define mkstemp64 as an alias.
3f55550c
RM
38278 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38279 Define mkstemps64 as an alias.
cd97c966
RM
38280 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38281 Define mkostemp64 as an alias.
b8625cfc
RM
38282 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38283 Define mkostemps64 as an alias.
cd97c966
RM
38284 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38285 Conditionalize body on this.
38286 * misc/mkostemp64.c: Likewise.
b8625cfc 38287 * misc/mkostemps64.c: Likewise.
3f55550c 38288 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38289 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38290 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38291 * sysdeps/wordsize-64/mkostemp.c: File removed.
38292 * sysdeps/wordsize-64/mkstemp.c: File removed.
38293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38294 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38295 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38297
09c0ee5f
RM
38298 [BZ #14138]
38299 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38300 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38301 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38302 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38303
38304 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38305 compat_symbol macros from <shlib-compat.h> rather than the underlying
38306 default_symbol_version and symbol_version macros, so that DEFAULT
38307 lines in shlib-versions are respected.
38308 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38309
7e66ee51
FW
383102012-08-01 Florian Weimer <fweimer@redhat.com>
38311
38312 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38313 Declare with warn_unused_result.
38314 (setgid, setregid, setegid, setresgid): Likewise.
38315 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38316 Likewise.
38317 * WUR-REPORT: Remove set*id functions.
38318
d2a54255
PT
383192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38320
38321 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38322
7ecdb005
RM
383232012-07-31 Roland McGrath <roland@hack.frob.com>
38324
b4180a5e 38325 [BZ #10191]
789bd351
RM
38326 * include/sys/socket.h (__libc_accept, __libc_accept4):
38327 Add attribute_hidden.
38328 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38329
40ce302d
RM
38330 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38331 use of PTR_MANGLE.
38332 * inet/getnetgrent_r.c (setup): Likewise.
38333
7ecdb005
RM
38334 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38335
e2eabb2c
DM
383362012-07-31 David S. Miller <davem@davemloft.net>
38337
38338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38339
d0419dbf
JM
383402012-07-31 Joseph Myers <joseph@codesourcery.com>
38341
38342 [BZ #13629]
38343 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38344 value between 1.0 and 2.0 and smaller part has absolute value less
38345 than 1.0.
38346 * math/s_clog10.c (__clog10): Likewise.
38347 * math/s_clog10f.c (__clog10f): Likewise.
38348 * math/s_clog10l.c (__clog10l): Likewise.
38349 * math/s_clogf.c (__clogf): Likewise.
38350 * math/s_clogl.c (__clogl): Likewise.
38351 * math/libm-test.inc (clog_test): Add more tests.
38352 (clog10_test): Likewise.
38353 * sysdeps/i386/fpu/libm-test-ulps: Update.
38354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38355
2bc13872
FW
383562012-07-31 Florian Weimer <fweimer@redhat.com>
38357
38358 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38359 Exit with zero in case no suitable GID is found, and write a
38360 message to standard error.
38361
bea9b193
RM
383622012-07-30 Roland McGrath <roland@hack.frob.com>
38363
38364 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38365 rather than to 1.
38366 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38367 (MAXPATHLEN): Removed.
38368 (NOGROUP, NODEV): New macros.
38369 (setbit, clrbit, isset, isclr): New macros.
38370 (howmany, roundup, powerof2): New macros.
38371 (DEV_BSIZE): New macro.
38372
38373 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38374 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38375
38376 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38377 definition on [!__NO_LONG_DOUBLE_MATH].
38378
38379 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38380 PTR_MANGLE and PTR_DEMANGLE.
38381
38382 * socket/accept4.c (accept4): Rename to __libc_accept4.
38383 Define accept4 as a weak alias.
38384
38385 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38386 on [_DIRENT_HAVE_D_TYPE].
38387 * io/ftw.c (ftw_dir): Likewise.
38388
38389 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38390
38391 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38392
38393 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38394 Use the BSD numbers rather than the arbitrary ones we had.
38395 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38396 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38397 (SIGXCPU, SIGXFSZ): New macros.
38398 (_NSIG): Now 32.
38399
38400 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38401 initializer on [_LIBC_REENTRANT].
38402
38403 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38404 definitions inside [_POSIX_MAPPED_FILES].
38405
38406 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38407
38408 * dirent/opendir.c: Include <fcntl.h>.
38409
38410 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38411 (__libc_getspecific): Likewise.
38412 (__libc_key_create): Likewise.
38413
38414 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38415 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38416 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38417 (tmpfile64): Define as alias.
38418 * sysdeps/wordsize-64/tmpfile.c: File removed.
38419 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38420 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38421 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38422
38423 * stdio-common/vfscanf.c: Include <stdbool.h>.
38424 * nss/makedb.c: Likewise.
38425 * stdio-common/_i18n_number.h: Likewise.
38426 * argp/argp-help.c: Likewise.
38427 * posix/wordexp.c: Likewise.
38428 * sysdeps/posix/spawni.c: Likewise.
38429 * nss/nss_files/files-initgroups.c: Likewise.
38430 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38431 * nss/nss_files/files-initgroups.c: Likewise.
38432 * nss/nss_db/db-netgrp.c: Likewise.
38433 * nss/nss_db/db-initgroups.c: Likewise.
38434 * io/fchmodat.c: Include <sys/stat.h>.
38435
38436 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38437 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38438
38439 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38440 [HAVE_MMAP].
38441
38442 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38443 Add multiple inclusion protection.
38444
e5abc686
DM
384452012-07-27 David S. Miller <davem@davemloft.net>
38446
38447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38448
815e6fa3
GB
384492012-07-27 Gary Benson <gbenson@redhat.com>
38450
38451 [BZ #14298]
38452 * elf/rtld.c: Include <stap-probe.h>.
38453 (dl_main): Added static probes "init_start" and "init_complete".
38454 * elf/dl-load.c: Include <stap-probe.h>.
38455 (lose): Take new parameter "nsid".
38456 Added static probe "map_failed".
38457 (_dl_map_object_from_fd): Pass namespace id to lose.
38458 Added static probe "map_start".
38459 (open_verify): Pass namespace id to lose.
38460 * elf/dl-open.c: Include <stap-probe.h>.
38461 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38462 and "reloc_complete".
38463 * elf/dl-close.c: Include <stap-probe.h>.
38464 (_dl_close_worker): Added static probes "unmap_start" and
38465 "unmap_complete".
38466 * elf/rtld-debugger-interface.txt: New file documenting the above.
38467
9f98c16c
RM
384682012-07-26 Roland McGrath <roland@hack.frob.com>
38469
38470 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38471 rather than a string variable.
38472 * sunrpc/rpc_main.c (h_output): Likewise.
38473 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38474
f3c22df3
PT
384752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38476
38477 * inet/check_native.c: New file.
38478
3129cfc6
JM
384792012-07-26 Joseph Myers <joseph@codesourcery.com>
38480
da865e95
JM
38481 [BZ #13629]
38482 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38483 if larger part has absolute value 1.0.
38484 * math/s_clog10.c (__clog10): Likewise.
38485 * math/s_clog10f.c (__clog10f): Likewise.
38486 * math/s_clog10l.c (__clog10l): Likewise.
38487 * math/s_clogf.c (__clogf): Likewise.
38488 * math/s_clogl.c (__clogl): Likewise.
38489 * math/libm-test.inc (clog_test): Add more tests.
38490 (clog10_test): Likewise.
38491 * sysdeps/i386/fpu/libm-test-ulps: Update.
38492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38493
3129cfc6
JM
38494 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38495 (pltexit): Likewise.
38496 (La_regs): Likewise.
38497 (La_retval): Likewise.
38498 (int_retval): Likewise.
38499 Update #error for removed macros to refer only to definitions in
38500 tst-audit.h.
38501 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38502 macro.
38503 (pltexit): Likewise.
38504 (La_regs): Likewise.
38505 (La_retval): Likewise.
38506 (int_retval): Likewise.
38507 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38508 macro.
38509 (pltexit): Likewise.
38510 (La_regs): Likewise.
38511 (La_retval): Likewise.
38512 (int_retval): Likewise.
38513 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38514 macro.
38515 (pltexit): Likewise.
38516 (La_regs): Likewise.
38517 (La_retval): Likewise.
38518 (int_retval): Likewise.
38519 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38520 macro.
38521 (pltexit): Likewise.
38522 (La_regs): Likewise.
38523 (La_retval): Likewise.
38524 (int_retval): Likewise.
38525 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38526 macro.
38527 (pltexit): Likewise.
38528 (La_regs): Likewise.
38529 (La_retval): Likewise.
38530 (int_retval): Likewise.
38531 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38532 macro.
38533 (pltexit): Likewise.
38534 (La_regs): Likewise.
38535 (La_retval): Likewise.
38536 (int_retval): Likewise.
38537 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38538 macro definitions in tst-audit.h.
38539 * sysdeps/i386/tst-audit.h: New file.
38540 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38541 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38542 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38543 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38544 * sysdeps/sh/tst-audit.h: Likewise.
38545 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38546 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38547 * sysdeps/x86_64/tst-audit.h: Likewise.
38548
bfc07087
AJ
385492012-07-26 Andreas Jaeger <aj@suse.de>
38550
b1b2aaf8
AJ
38551 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38552 ptrace.
38553
38554 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38555 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38556 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38557 PTRACE_O_MASK.
38558 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38559 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38560 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38561
bfc07087
AJ
38562 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38563 value.
38564
38565 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38566 _sigsys.
38567 (si_call_addr, si_syscall, si_arch): Define new macro.
38568 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38569 _sigsys.
38570 (si_call_addr, si_syscall, si_arch): Define new marcro.
38571 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38572 _sigsys.
38573 (si_call_addr, si_syscall, si_arch): Define new macro.
38574 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38575 _sigsys.
38576 (si_call_addr, si_syscall, si_arch): Define new macro.
38577
89b4b02f
JM
385782012-07-25 Joseph Myers <joseph@codesourcery.com>
38579
38580 [BZ #13717]
38581 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38582 Change to 2.4.21 where previously 2.4.1.
38583 * sysdeps/unix/sysv/linux/configure: Regenerated.
38584 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38585 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38586 Linux kernel version.
38587 (__ASSUME_STD_AUXV): Remove.
38588 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38589 kernel version.
38590 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38591 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38592 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38593 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38594 (__ASSUME_NETLINK_SUPPORT): Likewise.
38595 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38596 (__no_netlink_support): Remove conditional definition.
38597 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38598 Remove.
38599 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38600 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38601 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38602 (if_nameindex_ioctl): Remove.
38603 (if_nameindex_netlink): Do not handle __no_netlink_support.
38604 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38605 code.
38606 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38607 Remove conditional code.
38608 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38609 code.
38610 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38611 unconditional.
38612 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38613 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38614 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38615 Remove.
38616 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38617 [!__ASSUME_STD_AUXV]: Remove conditional code.
38618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38619 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38620 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38622 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38623 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38624 code.
38625 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38627 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38628 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38629 conditional code.
38630 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38632 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38633 code.
38634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38635 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38636 conditional code.
38637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38638 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38639 code unconditional.
38640 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38641 conditional code.
38642 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38643 unconditional.
38644 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38645 conditional code.
38646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38647 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38648 unconditional.
38649 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38650 conditional code.
38651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38652 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38653 code unconditional.
38654 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38655 conditional code.
38656 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38657 unconditional.
38658 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38659 conditional code.
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38661 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38662 code unconditional.
38663 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38664 conditional code.
38665 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38666 unconditional.
38667 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38668 conditional code.
38669
842a39cd
AS
386702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38671
38672 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38673 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38674 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38675 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38676 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38677 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38678 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38679 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38680 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38681 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38682 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38683 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38684 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38685 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38686 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38687 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38688 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38689 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38690 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38692 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38693 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38694 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38695
84b3fd84
FW
386962012-07-25 Florian Weimer <fweimer@redhat.com>
38697
38698 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38699 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38700 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38701 Introduce __libc_secure_getenv.
0c7936d5
FW
38702 * stdlib/Versions (2.17): Add secure_getenv
38703 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38704 * stdlib/secure-getenv.c: Rename __secure_getenv to
38705 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38706 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38707 * stdlib/tst-secure-getenv.c: New.
38708 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38709 * manual/startup.texi (Environment Access): Document
38710 secure_getenv.
84b3fd84
FW
38711 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38712 __libc_secure_getenv.
38713 * inet/ruserpass.c (ruserpass): Likewise.
38714 * malloc/mtrace.c (mtrace): Likewise.
38715 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38716 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38717 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38718 * sysdeps/posix/tempname.c: Likewise. Evaluate
38719 HAVE_SECURE_GETENV.
38720 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38721 __secure_getenv to __libc_secure_getenv.
84b3fd84 38722 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38724 Likewise.
38725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38726 Likewise.
38727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38729 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38732 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38734
56e49b71
JM
387352012-07-25 Joseph Myers <joseph@codesourcery.com>
38736
38737 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38738 (struct La_i86_retval): Likewise.
38739 (struct La_x86_64_regs): Likewise.
38740 (struct La_x86_64_retval): Likewise.
38741 (struct La_x32_regs): Likewise.
38742 (struct La_x32_retval): Likewise.
38743 (struct La_ppc32_regs): Likewise.
38744 (struct La_ppc32_retval): Likewise.
38745 (struct La_ppc64_regs): Likewise.
38746 (struct La_ppc64_retval): Likewise.
38747 (struct La_sh_regs): Likewise.
38748 (struct La_sh_retval): Likewise.
38749 (struct La_s390_32_regs): Likewise.
38750 (struct La_s390_32_retval): Likewise.
38751 (struct La_s390_64_regs): Likewise.
38752 (struct La_s390_64_retval): Likewise.
38753 (struct La_sparc32_regs): Likewise.
38754 (struct La_sparc32_retval): Likewise.
38755 (struct La_sparc64_regs): Likewise.
38756 (struct La_sparc64_retval): Likewise.
38757 (struct audit_ifaces): Remove architecture-specific pltenter and
38758 pltexit members.
38759 * sysdeps/i386/ldsodefs.h: New file.
38760 * sysdeps/powerpc/ldsodefs.h: Likewise.
38761 * sysdeps/s390/ldsodefs.h: Likewise.
38762 * sysdeps/sh/ldsodefs.h: Likewise.
38763 * sysdeps/sparc/ldsodefs.h: Likewise.
38764 * sysdeps/x86_64/ldsodefs.h: Likewise.
38765
354691b7
MP
387662012-07-25 Marek Polacek <polacek@redhat.com>
38767
38768 [BZ #6808]
38769 * math/libm-test.inc (yn_test): Add another test.
38770 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38771 to ERANGE when the result is +-Inf.
38772 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38773 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38774 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38775 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38776
bf9e2071
JM
387772012-07-24 Joseph Myers <joseph@codesourcery.com>
38778
38779 * conform/data/time.h-data (NULL): Use macro-constant. Require
38780 equal to 0.
38781 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38782 clock_t.
38783 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38784
57633811
TS
387852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38786
38787 * configure.in <sysdeps resolving>: Correct printing
38788 Implies_before.
38789 * configure: Regenerate.
38790
c23c33b0
TS
387912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38792
38793 * math/w_ilogb.c: Include <limits.h>.
38794 * math/w_ilogbl.c: Likewise.
38795
b5982523
JM
387962012-07-20 Joseph Myers <joseph@codesourcery.com>
38797
38798 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38799 va_copy. Document allowing for unavailable va_copy only as
38800 pre-C99 compatibility.
38801 * manual/string.texi (Copying and Concatenation): Use va_copy
38802 instead of __va_copy in concat example.
38803
ac4ea442
PT
388042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38805
38806 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38807 (__sendto): Use create_address_port. Initialize APORT and deallocate
38808 it if not null.
38809
f98eafbd
PT
38810 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38811 with O_NOLINK passed to __file_name_lookup.
38812
898c7aab
PT
38813 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38814 with O_NOLINK passed to __file_name_lookup.
38815
0ced335a
PT
38816 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38817 negative N or less than NGIDS.
38818
b3404dbd
PT
38819 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38820 type to string_t. Set ERANGE as errno and return it if NAME is not big
38821 enough. Use memcpy instead of strncpy.
38822
0f48659e
JM
388232012-07-20 Joseph Myers <joseph@codesourcery.com>
38824
38825 * elf/Makefile (check-data): Remove.
38826 (localplt.data): New vpath directive.
38827 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38828 instead of $(check-data).
38829 * scripts/data/localplt-generic.data: Move to ...
38830 * sysdeps/generic/localplt.data: ... here.
38831 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38832 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38833 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38835 ... here.
38836 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38838 ... here.
38839 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38841 ... here.
38842 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38843 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38844 ... here.
38845 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38847 ... here.
38848 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38850 ... here.
38851
d37cbdaa
AZ
388522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38853
38854 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38855 PPC32 and PPC64 files.
38856 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38857 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38858
46f85fc2
AK
388592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38860
38861 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38862 __makecontext_ret to ...
38863 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38864 ... here and call exit if uc_link is NULL. New file.
38865 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38866 __makecontext_ret.S.
38867 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38868 __makecontext_ret to ...
38869 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38870 ... here and call exit if uc_link is NULL. New file.
38871 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38872 __makecontext_ret.S.
38873
08f43f9b
AK
388742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38875
38876 * elf/elf.h (R_390_IRELATIVE): New definition.
38877 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38878 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38879 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38880 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38881 (elf_machine_lazy_rel): Likewise.
38882 * sysdeps/s390/dl-irel.h: New file.
38883 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38884 * sysdeps/s390/s390-64/memset.S: New asm code.
38885 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38886 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38887 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38888 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38889 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38890 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38891 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38892 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38893 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38894 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38895 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38896 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38897 * sysdeps/s390/s390-32/memset.S: New asm code.
38898 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38899
3b05db33
MP
389002012-07-17 Marek Polacek <polacek@redhat.com>
38901
38902 [BZ #14349]
38903 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38904 * sysdeps/s390/s390-64/configure.in: Likewise.
38905 * sysdeps/sparc/configure.in: Likewise.
38906 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38907 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38908 * sysdeps/i386/configure.in: Likewise.
38909 * sysdeps/x86_64/configure.in: Likewise.
38910 * sysdeps/sh/configure.in: Likewise.
38911 * sysdeps/s390/s390-32/configure: Regenerated.
38912 * sysdeps/s390/s390-64/configure: Likewise.
38913 * sysdeps/x86_64/configure: Likewise.
38914 * sysdeps/sh/configure: Likewise.
38915 * sysdeps/powerpc/powerpc64/configure: Likewise.
38916 * sysdeps/powerpc/powerpc32/configure: Likewise.
38917 * sysdeps/sparc/configure: Likwise.
38918 * sysdeps/i386/configure: Likewise.
38919
a66877c6
MP
38920 * elf/dl-open.c: Comment fixes.
38921
cfc82fd8
JM
389222012-07-17 Joseph Myers <joseph@codesourcery.com>
38923
bd29910a
JM
38924 * Makefile [CXX] (check-data): Remove.
38925 [CXX] (c++-types.data): New vpath directive.
38926 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38927 vpath. Do not allow for C++ type data being missing.
38928 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38929 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38930 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38931 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38932 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38933 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38934 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38936 ... here.
38937 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38939 ... here.
38940 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38941 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38942 ... here.
38943 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38945 ... here.
38946 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38948 ... here.
38949 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38951 ... here.
38952 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38953 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38954 ... here.
38955 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38957
cfc82fd8
JM
38958 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38959 definitions to architecture-specific files.
38960 (TLS_IE): Likewise.
38961 (TLS_LD): Likewise.
38962 (TLS_GD): Likewise.
38963 * sysdeps/i386/tls-macros.h: New file.
38964 * sysdeps/powerpc/tls-macros.h: Likewise.
38965 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38966 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38967 * sysdeps/sh/tls-macros.h: Likewise.
38968 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38969 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38970 * sysdeps/x86_64/tls-macros.h: Likewise.
38971
f7db3170
TS
389722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38973
07cbfc23
TS
38974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38975 zero value for regular exit case.
38976
f7db3170
TS
38977 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38978 (__start_context): Preserve zero value for regular exit case.
38979
dc97c227
TS
389802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38981 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38982
38983 * manual/setjmp.texi (setcontext): Clarify normal process
38984 termination when uc_link is the null pointer.
38985 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38986 exit call.
38987
d0cd7d02
AS
389882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38989
38990 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38991 preprocessor. Test for each exception mask separately.
38992
dd318934
AJ
389932012-07-16 Andreas Jaeger <aj@suse.de>
38994
38995 * po/ru.po: Update from translation team.
38996
8048311a
JM
389972012-07-15 Joseph Myers <joseph@codesourcery.com>
38998
38999 * conform/data/string.h-data (NULL): Use macro-constant. Require
39000 equal to 0.
39001 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39002 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39003 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39004 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39006
b637d46e
AJ
390072012-07-13 Andreas Jaeger <aj@suse.de>
39008
39009 * po/fr.po: Update from translation team.
39010
541428fe
MP
390112012-07-12 Marek Polacek <polacek@redhat.com>
39012
39013 [BZ #14173]
39014 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39015 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39016 loop condition.
39017
ec332e94
JM
390182012-07-12 Joseph Myers <joseph@codesourcery.com>
39019
39020 [BZ #13717]
39021 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39022 Change to 2.4.1 where previously 2.4.0.
39023 * sysdeps/unix/sysv/linux/configure: Regenerated.
39024 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39025 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39026 version.
39027 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39028 (__ASSUME_AT_CLKTCK): Remove.
39029 (__ASSUME_AT_PAGESIZE): Likewise.
39030 (__ASSUME_AT_XID): Likewise.
39031 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39032 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39033 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39034 unconditionally.
39035 (HAVE_AUX_PAGESIZE): Likewise.
39036 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39037 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39038 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39039
7b6e99be
JB
390402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39041
39042 [BZ #14307]
39043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39044 the temporary buffer used to invoke __gethostbyname2_r,
39045 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39046 host_data / struct gaih_addrtuple.
39047 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39048 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39049 header file nss/nsswitch.h.
39050 * nss/nsswitch.h (global scope): Add definition of implementation
39051 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39052 resolv/nss_dns/dns-host.c).
39053
608404eb
AJ
390542012-07-11 Andreas Jaeger <aj@suse.de>
39055
39056 * po/fr.po: Update from translation team.
39057
71220aca
AJ
39058 * po/sv.po: Update from translation team
39059 * po/fr.po: Another update from translation team.
39060
28cfe843
AZ
390612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39062
39063 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39064 for subnormals or multiply small sinh result by itself.
39065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39067
6b90f981
DM
390682012-07-11 David S. Miller <davem@davemloft.net>
39069
39070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39071
c6825772
AS
390722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39073
39074 [BZ #14347]
39075 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39076 (INTERNAL_MARK): Shift it here.
39077
7b8e0d49
MP
390782012-07-10 Marek Polacek <polacek@redhat.com>
39079
39080 [BZ #14151]
39081 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39082 libc_cv_asm_global_directive with .globl.
39083 * configure: Regenerated.
39084 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39085 with .globl.
39086 * sysdeps/i386/configure: Regenerated.
39087 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39088 with .globl.
39089 * sysdeps/x86_64/configure: Regenerated.
39090 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39091 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39092 * elf/tst-unique2mod2.c: Likewise.
39093 * elf/tst-unique2mod1.c: Likewise.
39094 * elf/tst-unique1mod2.c: Likewise.
39095 * elf/tst-unique1mod1.c: Likewise.
39096 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39097 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39098 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39099 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39100 * sysdeps/mach/sysdep.h: Likewise.
39101 * sysdeps/i386/sysdep.h: Likewise.
39102 * sysdeps/i386/i386-mcount.S: Likewise.
39103 * sysdeps/x86_64/_mcount.S: Likewise.
39104 * sysdeps/x86_64/sysdep.h: Likewise.
39105 * sysdeps/sh/_mcount.S: Likewise.
39106 * sysdeps/sh/sysdep.h: Likewise.
39107 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39108 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39109 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39110 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39111 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39112 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39113 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39114 * locale/localeinfo.h: Likewise.
39115 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39116 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39117
6c55cda3
RM
391182012-07-09 Roland McGrath <roland@hack.frob.com>
39119
39120 [BZ #14336]
39121 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39122 system".
39123 * manual/message.texi (The Uniforum approach): Likewise.
39124 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39125 (glibc iconv Implementation): Likewise.
39126
638a572e
JM
391272012-07-09 Joseph Myers <joseph@codesourcery.com>
39128
39129 [BZ #14337]
39130 * math/s_clog.c (__clog): Avoid scaling a value down where that
39131 could result in underflow.
39132 * math/s_clog10.c (__clog10): Likewise.
39133 * math/s_clog10f.c (__clog10f): Likewise.
39134 * math/s_clog10l.c (__clog10l): Likewise.
39135 * math/s_clogf.c (__clogf): Likewise.
39136 * math/s_clogl.c (__clogl): Likewise.
39137 * math/libm-test.inc (clog_test): Add more tests.
39138 (clog10_test): Likewise.
39139 * sysdeps/i386/fpu/libm-test-ulps: Update.
39140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39141
261f4859
AS
391422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39143
0abaf3e4
AS
39144 [BZ #14283]
39145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39146 by 7 not 8 to examine high bit of fractional part.
39147
261f4859
AS
39148 [BZ #14042]
39149 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39150 for call to __mcount_internal.
39151 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39152 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39153 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39154
f17ac40d
JM
391552012-07-06 Joseph Myers <joseph@codesourcery.com>
39156
9ad63c23
JM
39157 [BZ #14154]
39158 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39159 approximation for values within 0x1p-13f of an odd multiple of
39160 pi/4.
39161 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39162 exception. Add more tests.
39163 * sysdeps/i386/fpu/libm-test-ulps: Update.
39164
f17ac40d
JM
39165 [BZ #6778]
39166 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39167 inputs and return -1 for them. Do not check for +Inf in case not
39168 reachable for +Inf.
39169 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39170 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39171 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39172 and return -1 for them. Do not check for +Inf in case not
39173 reachable for +Inf.
39174 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39175 define.
39176 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39177 and return -1 for them. Do not check for +Inf in case not
39178 reachable for +Inf.
39179 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39180 spurious underflow.
39181 * sysdeps/i386/fpu/libm-test-ulps: Update.
39182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39183
fb21f89b
MF
391842012-07-06 Mike Frysinger <vapier@gentoo.org>
39185
39186 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39187
cdfe2c5e
JM
391882012-07-05 Joseph Myers <joseph@codesourcery.com>
39189
39190 [BZ #14157]
39191 [BZ #14331]
39192 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39193 could result in spurious underflow. Scale down values above
39194 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39195 * math/s_csqrtf.c (__csqrtf): Likewise.
39196 * math/s_csqrtl.c (__csqrtl): Likewise.
39197 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39198 spurious underflow.
39199 * sysdeps/i386/fpu/libm-test-ulps: Update.
39200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39201
70d35b67
AS
392022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39203
704bc459
AS
39204 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39205 xopen-msg.sed.
39206 * catgets/xopen-msg.awk: New file.
39207 * catgets/xopen-msg.sed: Removed.
39208
70d35b67
AS
39209 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39210 po2text.sed.
39211 * intl/po2test.awk: New file.
39212 * intl/po2test.sed: Removed.
39213
ca61cf32
JM
392142012-07-04 Joseph Myers <joseph@codesourcery.com>
39215
39216 [BZ #14328]
39217 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39218 or multiply small sinh result by itself.
39219 * math/s_ctanf.c (__ctanf): Likewise.
39220 * math/s_ctanh.c (__ctanh): Likewise.
39221 * math/s_ctanhf.c (__ctanhf): Likewise.
39222 * math/s_ctanhl.c (__ctanhl): Likewise.
39223 * math/s_ctanl.c (__ctanl): Likewise.
39224 * math/libm-test.inc (ctan_test_tonearest): New function.
39225 (ctan_test_towardzero): Likewise.
39226 (ctan_test_downward): Likewise.
39227 (ctan_test_upward): Likewise.
39228 (ctanh_test_tonearest): Likewise.
39229 (ctanh_test_towardzero): Likewise.
39230 (ctanh_test_downward): Likewise.
39231 (ctanh_test_upward): Likewise.
39232 (main): Call these new functions.
39233 * sysdeps/i386/fpu/libm-test-ulps: Update.
39234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39235
ca48a46a
MF
392362012-07-03 Mike Frysinger <vapier@gentoo.org>
39237
39238 * .gitignore: Delete /ports entry.
39239
9d63d37d
AJ
392402012-07-03 Andreas Jaeger <aj@suse.de>
39241
39242 * po/bg.po: Update from translation team.
39243 * po/cs.po: Likewise.
39244 * po/de.po: Likewise.
39245 * po/hr.po: Likewise.
39246 * po/nl.pl: Likewise.
39247 * po/pl.po: Likewise.
39248 * po/vi.po: Likewise.
39249
370ca3d2
JM
392502012-07-03 Joseph Myers <joseph@codesourcery.com>
39251
95f5a9a8
JM
39252 * Makeconfig [!+link] (+link-before-libc): New variable.
39253 [!+link] (+link-after-libc): Likewise.
39254 [!+link] (+link-tests): Likewise.
39255 [!+link] (+link): Define in terms of $(+link-before-libc) and
39256 $(+link-after-libc).
39257 [!+link-static] (+link-static-before-libc): New variable.
39258 [!+link-static] (+link-static-after-libc): Likewise.
39259 [!+link-static] (+link-static-tests): Likewise.
39260 [!+link-static] (+link-static): Define in terms of
39261 $(+link-static-before-libc) and $(+link-static-after-libc).
39262 [build-shared] (link-libc-before-gnulib): New variable.
39263 [build-shared] (link-libc-tests): Likewise.
39264 [build-shared] (link-libc): Define in terms of
39265 $(link-libc-before-gnulib).
39266 [!build-shared] (link-libc-tests): New variable.
39267 (link-libc-static-tests): New variable.
39268 [!gnulib] (gnulib-arch): New variable.
39269 [!gnulib] (gnulib-tests): Likewise.
39270 [!gnulib] (static-gnulib-arch): Likewise.
39271 [!gnulib] (static-gnulib-tests): Likewise.
39272 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39273 Define with "=" instead of ":=".
39274 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39275 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39276 * Rules (binaries-all-notests): New variable.
39277 (binaries-all-tests): Likewise.
39278 (binaries-static-notests): Likewise.
39279 (binaries-static-tests): Likewise.
39280 (binaries-all): Define using $(binaries-all-notests) and
39281 $(binaries-all-tests).
39282 (binaries-static): Define using $(binaries-static-notests) and
39283 $(binaries-static-tests).
39284 (binaries-shared-tests): New variable.
39285 (binaries-shared-notests): Likewise.
39286 (binaries-shared): Remove variable.
39287 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39288 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39289 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39290 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39291 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39292 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39293 * elf/Makefile (sln-modules): New variable.
39294 (extra-objs): Add $(sln-modules:=.o).
39295 (ldconfig-modules): Add static-stubs.
39296 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39297 * elf/static-stubs.c: New file.
39298
7a845b2c
JM
39299 [BZ #14283]
39300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39301 by 7 not 8 to examine high bit of fractional part. Use volatile
39302 variables when splitting into final array of floats if
39303 __FLT_EVAL_METHOD__ != 0.
39304 * math/libm-test.inc (cos_test): Add another test.
39305 (sin_test): Likewise.
39306 * sysdeps/i386/fpu/libm-test-ulps: Update.
39307
e2283f38
JM
39308 [BZ #14273]
39309 * math/libm-test.inc (cosh_test): Add more tests.
39310
370ca3d2
JM
39311 * version.h (RELEASE): Set to "development".
39312 (VERSION): Set to "2.16.90".
39313
ee9247c3
CD
393142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39315
39316 * NEWS: Update copyright. Remove last-updated date.
39317 Mention math library bug fixes and timezone data changes.
39318 * README: Mention GNU/Hurd, x32, and HPPA support status.
39319
4648c381
TS
393202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39321
39322 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39323
aac78a43
AJ
393242012-06-27 Andreas Jaeger <aj@suse.de>
39325
39326 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39327
ed3dbfad
AJ
393282012-06-25 Andreas Jaeger <aj@suse.de>
39329
39330 * sysdeps/s390/fpu/libm-test-ulps: Update.
39331
4d0ee855
AS
393322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39333 Thomas Schwinge <thomas@codesourcery.com>
39334
39335 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39336 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39337 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39338 fanotify_mark.
39339
af1bce34
TS
393402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39341
a9fa33ba
TS
39342 * sysdeps/mach/start.c: Remove file.
39343 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39344 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39345 * sysdeps/sh/init-first.c: Likewise.
39346
58f902b8
TS
39347 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39348 registers for frame unwinding purposes, add CFI directives.
39349 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39351 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39352 Likewise.
39353
1518f58b
TS
39354 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39355 __fortify_fail returning.
39356 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39357
db9b5059
TS
39358 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39359 sysdeps/sh/____longjmp_chk.S.
39360 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39361 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39362 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39363 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39364
967705fe
TS
39365 * sysdeps/sh/abort-instr.h: New file.
39366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39367 process in case exit returns.
39368
a9def8c4
TS
39369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39370 initialize the GOT register before use.
39371
2a649725
TS
39372 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39373 calculation of ARGC > 4.
39374
af1bce34
TS
39375 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39376 meaningful names to some local labels.
39377
d230f50a
KK
393782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39379 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39380
39381 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39382 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39383 (__arch_compare_and_exchange_val_16_acq): Likewise.
39384 (__arch_compare_and_exchange_val_32_acq): Likewise.
39385 (atomic_exchange_and_add): Fix gUSA sequence.
39386 (atomic_add): Likewise.
39387 (atomic_add_negative): Likewise.
39388 (atomic_add_zero): Likewise.
39389 (atomic_bit_test_set): Likewise.
39390
0479b305
AS
393912012-06-22 Andreas Schwab <schwab@redhat.com>
39392
39393 [BZ #13579]
39394 * include/link.h (struct link_map): Add l_free_initfini.
39395 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39396 l_initfini.
39397 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39398 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39399 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39400 set.
39401
0e3933b9
CD
394022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39403
39404 * configure.in: Use AC_LANG_SOURCE.
39405 * configure: Regenerate.
39406
4248b1b1
RM
394072012-06-22 Roland McGrath <roland@hack.frob.com>
39408
39409 * configure.in (libc_cv_localstatedir): New substituted variable.
39410 * configure: Regenerated.
39411 * config.make.in (localstatedir): New variable, substituted from
39412 libc_cv_localstatedir.
39413 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39414 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39415 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39416 * sysdeps/gnu/configure: Regenerated.
39417
006dd861
JL
394182012-06-21 Jeff Law <law@redhat.com>
39419
39420 [BZ #14277]
39421 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39422 free. Simplify list management for _LIBC case.
39423
79662d42
JM
394242012-06-21 Joseph Myers <joseph@codesourcery.com>
39425
b7abb4bf
JM
39426 [BZ #14273]
39427 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39428 Clear sign bit of 64-bit integer value before comparing against
39429 overflow value.
39430
79662d42
JM
39431 * sysdeps/mach/configure: Regenerated.
39432
1f150908
L
394332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 [BZ #14278]
39436 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39437
28363bbf
JL
394382012-06-21 Jeff Law <law@redhat.com>
39439
39440 [BZ #13882]
39441 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39442 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39443 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39444 * elf/dl-open.c (dl_open_worker): Likewise.
39445
09615db4
CD
394462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39447
39448 * scripts/list-sources.sh: Scan PORTS for translations.
39449 * po/libc.pot: Regenerated.
39450
2174c6dd
AJ
394512012-06-21 Andreas Jaeger <aj@suse.de>
39452
39453 [BZ #12194]
39454 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39455 warning.
39456 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39457 * bits/byteswap-16.h (__bswap_16): Likewise.
39458 * bits/byteswap.h (__bswap_constant_16): Likewise.
39459
3ee947b1
L
394602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39461
39462 [BZ #14117]
a2f34833
L
39463 * sysdeps/i386/fpu_control.h: Removed.
39464 * sysdeps/x86_64/fpu_control.h: Moved to ...
39465 * sysdeps/x86/fpu_control.h: Here.
39466
3ee947b1
L
39467 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39468 (_FPU_SETCW): Likewise.
39469
ed1825f8
L
394702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39471
25f1282a
L
39472 [BZ #14117]
39473 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39474 * sysdeps/x86/fpu/bits/mathinline.h: This.
39475 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39476
ed1825f8
L
39477 [BZ #14050]
39478 [BZ #14117]
39479 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39480 functions if __x86_64__ is defined.
39481
36d54b74
CLT
394822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39483
39484 * string/endian.h: Add !__ASSEMBLER__ condition for including
39485 conversion interfaces.
39486
10285c21
JM
394872012-06-15 Joseph Myers <joseph@codesourcery.com>
39488
39489 [BZ #14241]
39490 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39491 of ABS(x) in calculating zero to negative powers other than odd
39492 integers.
39493 * math/libm-test.inc (pow_test): Add more tests.
39494
06c5abbd
AJ
394952012-06-15 Andreas Jaeger <aj@suse.de>
39496
39497 * manual/contrib.texi (Contributors): Update entry of Liubov
39498 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39499 Machado Filho.
39500
a3aeac40
CH
395012012-06-15 Cyril Hrubis <metan@ucw.cz>
39502
39503 * string/string.h: Add __wur to GNU version of strerror_r.
39504
49bdf4c1
L
395052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39506
39507 [BZ #14229]
39508 * string/Makefile (tests): Add tst-strtok_r.
39509 * string/tst-strtok_r.c: New file.
39510 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39511 RAX_LP/RDX_LP on SAVE_PTR.
39512
834f9b8d
RM
395132012-06-14 Roland McGrath <roland@hack.frob.com>
39514
39515 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39516
75fa1921
JM
395172012-06-14 Joseph Myers <joseph@codesourcery.com>
39518
39519 * libm_test.inc (csqrt_test): Allow more spurious underflow
39520 exceptions.
39521 (j0_test): Likewise.
39522 (j1_test): Likewise.
39523 (y0_test): Likewise.
39524 (y1_test): Likewise.
39525
771766df
CD
395262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39527
39528 * po/Makefile (libc.pot): Use UTF-8 charset.
39529
ceb9e56b
PP
395302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39531
39532 [BZ #14210]
39533 Suppress sign-conversion warning from FD_SET.
39534 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39535 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39536 not unsigned long int.
39537 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39538
ddb28975
L
395392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39540
39541 [BZ #14050]
39542 [BZ #14117]
39543 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39544 __extern_always_inline instead of __extern_inline.
39545 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39546 (__signbit): Likewise.
39547 (__signbitl): Support C++ namespace.
39548 (lrintf): New inline function.
39549 (lrint): Likewise.
39550 (llrintf): Likewise.
39551 (llrint): Likewise.
39552 (fmaxf): Likewise.
39553 (fmax): Likewise.
39554 (fminf): Likewise.
39555 (fmin): Likewise.
39556 (rint): Likewise.
39557 (rintf): Likewise.
39558 (ceil): Likewise.
39559 (ceilf): Likewise.
39560 (floor): Likewise.
39561 (floorf): Likewise.
39562 (nearbyint): Likewise.
39563 (nearbyintf): Likewise.
39564
d7b4fb26
TS
395652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39566
39567 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39568 non-default versions.
39569
eb55f5c2
RM
395702012-06-11 Roland McGrath <roland@hack.frob.com>
39571
39572 [BZ #14218]
39573 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39574
366af02c
TS
395752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39576
99ff6e5c
TS
39577 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39578 (FE_UPWARD, FE_DOWNWARD): Don't define.
39579 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39580 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39581
366af02c
TS
39582 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39583 reading it.
39584 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39585 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39586
793ea851
KK
395872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39588
39589 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39590 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39591 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39592 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39593
a728a38f
L
395942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39595
39596 [BZ #14117]
c08010c7
L
39597 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39598 * sysdeps/i386/fpu/Implies: New file.
39599 * sysdeps/x86_64/fpu/Implies: Likewise.
39600 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39601 * sysdeps/x86/fpu/bits/fenv.h: This.
39602
a728a38f
L
39603 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39604 __SSE_MATH__.
39605
6e230d11
SP
396062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39607
39608 [BZ #14134]
39609 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39610 character 0xffff that matches the last element of the
39611 conversion table.
39612
1b671feb
AZ
396132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39614
39615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39616 fmodl commit.
39617
6043738b
AZ
396182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39619
39620 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39621 values higher than 25.6283.
39622
34ae0b32
AZ
396232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39624
39625 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39626 subnormal exponent extraction and add some __builtin_expect.
39627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39628 Fix for subnormal mantissa calculation.
39629
1214ec8f
MF
396302012-06-04 Mike Frysinger <vapier@gentoo.org>
39631
39632 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39633 cpu2 is -1 and errno is not ENOSYS.
39634
f3d1f93c
L
396352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39636
39637 [BZ #14117]
0e4a3cd7
L
39638 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39639 * sysdeps/x86/bits/string.h: This.
39640 * sysdeps/x86_64/bits/string.h: Removed.
39641
6704c645
L
39642 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39643 if not compiling for x86-64, but compiling for >= i486.
39644
48495318
L
39645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39646 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39647
14adcbfc
L
39648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39649 New macro from Linux kernel 3.4.0.
39650 (FP_XSTATE_MAGIC2): Likewise.
39651 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39652 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39653 (struct _fpx_sw_bytes): New struct.
39654 (struct _xsave_hdr): Likewise.
39655 (struct _ymmh_state): Likewise.
39656 (struct _xstate): Likewise.
39657
68e408ab
L
39658 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39659 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39660 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39661 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39662 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39663 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39664
f3d1f93c
L
39665 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39666 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39667 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39668 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39669 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39670 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39671
d9dc34cd
TMQMF
396722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39673
39674 [BZ #13743]
39675 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39676 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39677 (sysdep_headers): Include sys/platform/ppc.h.
39678 * sysdeps/powerpc/test-gettimebase.c: Test for
39679 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39680 * manual/Makefile (appendices): Include platform.texi.
39681 * manual/contrib.texi (Contributors): Update @node pointers.
39682 * manual/maint.texi (Maintenance): Likewise.
39683 (Platform): New node.
39684 * manual/platform.texi: New file. Document the new features.
39685
4af3879c
SP
396862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39687 Jakub Jelinek <jakub@redhat.com>
39688
39689 [BZ #14188]
39690 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39691 where __builtin_expect is unavailable.
39692
2fd6ff13
DM
396932012-06-03 David S. Miller <davem@davemloft.net>
39694
39695 * stdlib/longlong.h: Updated from GCC.
39696
173f7220
AS
396972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39698
39699 [BZ #14042]
39700 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39701 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39702 __mcount_internal.
39703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39704 (GLIBC_2.16): Likewise.
39705
f34a1c6f
L
397062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39707
39708 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39709
88a4576f
JM
397102012-06-01 Joseph Myers <joseph@codesourcery.com>
39711
ea32bcdd
JM
39712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39713 (default-abi): New variable.
39714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39715 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39716 variable.
39717 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39718 Likewise.
39719 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39720 Likewise.
39721 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39722 Likewise.
39723
88a4576f
JM
39724 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39725 definition. Document in comment.
39726
402fe938
DM
397272012-06-01 David S. Miller <davem@davemloft.net>
39728
39729 * stdlib/longlong.h: Updated from GCC.
39730
3553723f
L
397312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39732
39733 [BZ #14117]
3bd872c4
L
39734 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39735 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39736 sys/debugreg.h sys/io.h here.
39737 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39738 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39739 sys/io.h.
39740 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39741 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39743 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39745 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39746
3553723f
L
39747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39748 Define only if __x86_64__ is defined.
39749
4842e4fe
JM
397502012-06-01 Joseph Myers <joseph@codesourcery.com>
39751
c5bfe3d5
JM
39752 [BZ #14048]
39753 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39754 Use int64_t for variable i.
39755 * math/libm-test.inc (fmod_test): Add more tests.
39756
4842e4fe
JM
39757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39758 z computation is not scheduled after fetestexcept.
39759 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39760 Use math_force_eval instead of asm to ensure calculation scheduled
39761 before exception test.
39762 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39763 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39764
efb73488
AJ
397652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39766
39767 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39768 computation is not scheduled after fetestexcept.
39769
29bcce7c
L
397702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39771
39772 [BZ #14117]
39773 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39774 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39775
73a68f94
AZ
397762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39777
39778 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39779 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39780
67b6df78
L
397812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39782
edf2933a 39783 [BZ #14117]
ebc64a18
L
39784 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39785 <bits/wordsize.h>.
39786 (__WCHAR_MIN): Support __WORDSIZE == 64.
39787 (__WCHAR_MAX): Likewise.
39788
edf2933a
L
39789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39790 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39791
57c6cf40
L
39792 [BZ #14183]
39793 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39794 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39795
67b6df78 39796 [BZ #14117]
8eb6281e
L
39797 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39799
aac639f4
L
39800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39801 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39802
67b6df78
L
39803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39804 Defined to 1 if __x86_64__ isn't defined.
39805 (_STAT_VER_LINUX_OLD): New.
39806 (st_atime): Remove duplicate.
39807 (st_mtime): Likewise.
39808 (st_ctime): Likewise.
39809
1c2cfe81
DM
398102012-05-31 David S. Miller <davem@davemloft.net>
39811
39812 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39813 entries.
39814
5be8418c
AS
398152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39816
e7725326
AS
39817 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39818 gen-libm-test.pl.
39819
5be8418c
AS
39820 [BZ #14132]
39821 * elf/dl-reloc.c: Include <_itoa.h>.
39822 (_dl_reloc_bad_type): Remove use of INTUSE.
39823 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39824 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39825 * stdio-common/psiginfo.c (psiginfo): Likewise.
39826 * stdio-common/psignal.c (psignal): Likewise.
39827 * string/strsignal.c (strsignal): Likewise.
39828 * include/signal.h (_sys_siglist): Declare hidden proto.
39829 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39830 INTVARDEF with libc_hidden_data_def.
39831 * stdio-common/itoa-udigits.c: Likewise.
39832 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39833 (_itoa_lower_digits_internal): Remove declaration.
39834 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39835 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39836 (_sys_sigabbrev_internal): Remove aliases.
39837 (_sys_siglist): Define hidden alias.
39838
507352f1
MT
398392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39840
39841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39842 bits/sysctl.h.
39843
42bbb1c3
L
398442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39845
39846 [BZ #14117]
6bd784b6
L
39847 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39848 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39849
8bca20f0
L
39850 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39851 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39852 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39853 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39854 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39855 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39856
f9e890a9
L
39857 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39858 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39859 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39860
471101a1
L
39861 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39862 with __addr.
39863 (insw): Likewise.
39864 (insl): Likewise.
39865 (outsb): Likewise.
39866 (outsw): Likewise.
39867 (outsl): Likewise.
39868
6451c862
L
39869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39871 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39872
a254b8c9
L
39873 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39874 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39875 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39876 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39877 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39878 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39879
b8dfdd92
L
39880 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39881 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39882
578cd270
L
39883 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39884 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39885
de662f5f
L
39886 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39887 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39888 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39889
25653439
L
39890 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39891 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39892 to ...
39893 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39894
6bad24a0
L
39895 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39896 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39897 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39898
42bbb1c3
L
39899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39900 for x86-64.
39901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39902
2d10d547
JM
399032012-05-31 Joseph Myers <joseph@codesourcery.com>
39904
39905 * math/math.h (M_El): Use two more decimal places.
39906 (M_LOG2El): Likewise.
39907 (M_LOG10El): Likewise.
39908 (M_LN2l): Likewise.
39909 (M_LN10l): Likewise.
39910 (M_PIl): Likewise.
39911 (M_PI_2l): Likewise.
39912 (M_PI_4l): Likewise.
39913 (M_1_PIl): Likewise.
39914 (M_2_PIl): Likewise.
39915 (M_2_SQRTPIl): Likewise.
39916 (M_SQRT2l): Likewise.
39917 (M_SQRT1_2l): Likewise.
39918
f230c29b
DM
399192012-05-31 David S. Miller <davem@davemloft.net>
39920
39921 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39922 values between float registers.
39923 * sysdeps/sparc/sparc64/memset.S: Likewise.
39924 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39925
fed806c3
MF
399262012-05-31 Mike Frysinger <vapier@gentoo.org>
39927
39928 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39929 -D_FORTIFY_SOURCE=1.
39930 (CPPFLAGS-tst-longjmp_chk.c): Define.
39931 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39932 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39933 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39934 CFLAGS-tst-wchar-h.c.
39935
30917259
MP
399362012-05-31 Marek Polacek <polacek@redhat.com>
39937
39938 [BZ #14132]
39939 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39940 __endmntent_internal): Remove declaration.
39941 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39942 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39943 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39944
1c58d5dc
DM
399452012-05-30 David S. Miller <davem@davemloft.net>
39946
39947 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39948 (___Q_simulate_exceptions): Use real FP ops rather than writing
39949 into the %fsr.
39950 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39951 Likewise.
39952
7dc00e0d
L
399532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39954
39955 [BZ #14117]
0bd53985
L
39956 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39957 * sysdeps/x86/bits/xtitypes.h: This.
39958
3a257e66
L
39959 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39960 * sysdeps/x86/bits/wordsize.h: This.
39961
62f62904
L
39962 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39963 * sysdeps/x86/bits/huge_vall.h: This.
39964
404fe9d9
L
39965 * sysdeps/i386/bits/select.h: Removed.
39966 * sysdeps/x86_64/bits/select.h: Renamed to ...
39967 * sysdeps/x86/bits/select.h: This.
39968
d48d0446
L
39969 * sysdeps/i386/bits/setjmp.h: Removed.
39970 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39971 * sysdeps/x86/bits/setjmp.h: This.
39972
7dc00e0d
L
39973 * sysdeps/i386/bits/mathdef.h: Removed.
39974 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39975 * sysdeps/x86/bits/mathdef.h: This.
39976
03277f8f
AS
399772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39978
39979 [BZ #14132]
39980 * include/sys/socket.h (__connect_internal)
39981 (__libc_sa_len_internal): Remove declaration.
39982 (__connect, __libc_sa_len): Declare hidden_proto.
39983 (SA_LEN): Remove use of INTUSE.
39984 * socket/connect.c: Add libc_hidden_def.
39985 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39986 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39987 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39988 alias.
39989 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39990 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39991 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39992 of adding _internal alias.
39993
13764867
L
399942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39995
39996 [BZ #14117]
6bd97696
L
39997 * sysdeps/i386/bits/link.h: Removed.
39998 * sysdeps/i386/bits/linkmap.h: Likewise.
39999 * sysdeps/x86_64/bits/link.h: Renamed to ...
40000 * sysdeps/x86/bits/link.h: This.
40001 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40002 * sysdeps/x86/bits/linkmap.h: This.
40003
f726f0bb
L
40004 * sysdeps/i386/bits/endian.h: Removed.
40005 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40006 * sysdeps/x86/bits/endian.h: This.
40007
13764867
L
40008 * sysdeps/i386/bits/byteswap.h: Removed.
40009 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40010 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40011 * sysdeps/x86/bits/byteswap.h: This.
40012 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40013 * sysdeps/x86/bits/byteswap-16.h: This.
40014 * sysdeps/i386/Implies: Add x86.
40015 * sysdeps/x86_64/Implies: Likewise.
40016
ae251b0b
DM
400172012-05-30 David S. Miller <davem@davemloft.net>
40018
40019 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40020 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40021 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40022 (FP_TRAPPING_EXCEPTIONS): Define.
40023 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40024 (FP_TRAPPING_EXCEPTIONS): Define.
40025 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40026 subnormals only when inexact has been signalled or underflow
40027 exceptions are enabled.
40028 (_FP_PACK_CANONICAL): Likewise.
40029
d5c90867
L
400302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40031
40032 [BZ #14183]
40033 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40034 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40035
63f1549e
RH
400362012-05-30 Richard Henderson <rth@twiddle.net>
40037
8d8f2279
RH
40038 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40039 with #ifndef NOT_IN_libc.
40040
63f1549e
RH
40041 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40042 marked to avoid plt entry.
40043
0ab0291b
L
400442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40045
40046 [BZ #14112]
40047 * Makeconfig (default-abi): New macro.
40048 (abi-includes): Likewise.
40049 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40050 $(abi-$(default-abi)-lib-soname) for soname if defined.
40051 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40052 abi-variants.
40053 * Makefile (installed-stubs): Likewise.
40054 * include/stubs-biarch.h: Removed.
40055 * scripts/lib-names.awk: Only handle one library at a time.
40056 * scripts/soversions.awk: Remove WORDSIZE support.
40057 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40058 entries.
40059 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40060 Removed.
40061 (syscall-list-default-condition): Likewise.
40062 (syscall-list-default-condition): Likewise.
40063 (syscall-list-includes): Likewise.
40064 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40065 syscall-list-* with abi-*. Handle undefined abi-variants.
40066 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40067 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40068 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40069 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40070 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40071 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40072 Removed.
40073 (syscall-list-32-options): Likewise.
40074 (syscall-list-32-condition): Likewise.
40075 (syscall-list-64-options): Likewise.
40076 (syscall-list-64-condition): Likewise.
40077 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40078 macro.
40079 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40080 Renamed to ...
40081 (abi-*): This.
40082 (abi-64-ld-soname): New macro.
40083 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40084 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40085 Renamed to ...
40086 (abi-*): This.
40087 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40088 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40089
4da0431d
JM
400902012-05-30 Joseph Myers <joseph@codesourcery.com>
40091
3a85279c
JM
40092 * sysdeps/unix/sysv/linux/kernel-features.h
40093 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40094 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40095 include <kernel-features.h>.
40096 [!__NR_ftruncate64]: Remove conditional code.
40097 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40098 [__NR_ftruncate64]: Make code unconditional.
40099 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40100 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40101 include <kernel-features.h>.
40102 [!__NR_ftruncate64]: Remove conditional code.
40103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40104 [__NR_ftruncate64]: Make code unconditional.
40105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40107 include <kernel-features.h>.
40108 [!__NR_ftruncate64]: Remove conditional code.
40109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40110 [__NR_ftruncate64]: Make code unconditional.
40111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40113 include <kernel-features.h>.
40114 [!__NR_ftruncate64]: Remove conditional code.
40115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40116 [__NR_ftruncate64]: Make code unconditional.
40117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40118
4da0431d
JM
40119 * configure.in (libc_cv_fpie): Weaken to a compile test using
40120 LIBC_TRY_CC_OPTION.
40121 * configure: Regenerated.
40122
11ef492c
AK
401232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40124
40125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40129 Refreshed.
40130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40136 Refreshed.
40137
d66ef399
DM
401382012-05-27 David S. Miller <davem@davemloft.net>
40139
40140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40141 (___Q_zero): New.
40142 (__Q_simulate_exceptions): Return void. Change to simulate
40143 exceptions by writing into the %fsr.
40144 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40145 (__Qp_handle_exceptions): Likewise.
40146 (numbers): Delete.
40147 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40148 __Qp_handle_exceptions.
40149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40150 __Qp_handle_exceptions.
40151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40152 as unused and give dummy FP_RND_NEAREST initializer.
40153 (FP_INHIBIT_RESULTS): Define.
40154 (___Q_simulate_exceptions): Update declaration.
40155 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40156 formatting.
40157 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40158 as unused and give dummy FP_RND_NEAREST initializer.
40159 (__Qp_handle_exceptions): Update declaration.
40160 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40161 formatting.
40162
04fb54b5
TS
401632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40164
40165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40166 the temporary FPU control word.
40167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40168 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40173 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40174 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40175 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40176 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40178
3f99608f
KK
401792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40180
40181 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40182 fields.
40183
65a4de4e
CLT
401842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40185
40186 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40187 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40190 Likewise.
40191 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40192 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40193 Likewise.
40194
15749d40
UD
401952012-05-27 Ulrich Drepper <drepper@gmail.com>
40196
40197 * po/h.po: Update from translation team.
40198
25dbcb27
AS
401992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40200
3d3f8e55
AS
40201 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40202
25dbcb27
AS
40203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40204 handling of denormals.
40205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40206 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40212 Likewise.
40213
7ad47a80 402142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40215
40216 [BZ #14152]
40217 * math/libm-test.inc (fma_test): Don't always expect underflow
40218 exception.
40219
9c6ea9fa
SP
402202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40221
40222 [BZ #12416]
40223 * elf/tst-execstack.c: Include stackinfo.h.
40224 (do_test): Adjust test case to ensure that pthread_getattr_np
40225 behaviour remains the same after marking stack executable.
40226
a8239222
JM
402272012-05-25 Joseph Myers <joseph@codesourcery.com>
40228
40229 * sysdeps/unix/sysv/linux/kernel-features.h
40230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40232 kernel-features.h.
40233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40235 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40236 kernel-features.h.
40237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40239
918b5606
L
402402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40241
40242 * configure.in: Define the default includes to being none.
40243 * configure: Regenerated.
40244
3a097cc7
RM
402452012-05-25 Roland McGrath <roland@hack.frob.com>
40246
8422c9a5
RM
40247 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40248 * sysdeps/x86_64/setjmp.S: Likewise.
40249 * sysdeps/i386/bsd-setjmp.S: Likewise.
40250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40251 * sysdeps/i386/setjmp.S: Likewise.
40252 * sysdeps/i386/__longjmp.S: Likewise.
40253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40255
3a097cc7
RM
40256 * include/stap-probe.h: New file.
40257 * configure.in: Handle --enable-systemtap.
40258 * configure: Regenerated.
40259 * config.h.in (USE_STAP_PROBE): New #undef.
40260 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40261 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40263
21708942
JM
402642012-05-25 Joseph Myers <joseph@codesourcery.com>
40265
40266 [BZ #13717]
40267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40268 to 2.4.0 where earlier.
40269 * sysdeps/unix/sysv/linux/configure: Regenerated.
40270 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40271 <kernel-features.h>.
40272 [__ASSUME_32BITUIDS]: Make code unconditional.
40273 [!__ASSUME_32BITUIDS]: Remove conditional code.
40274 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40275 <kernel-features.h>.
40276 [__ASSUME_32BITUIDS]: Make code unconditional.
40277 [!__ASSUME_32BITUIDS]: Remove conditional code.
40278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40279 [__ASSUME_32BITUIDS]: Make code unconditional.
40280 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40281 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40282 <kernel-features.h>.
40283 [__ASSUME_32BITUIDS]: Make code unconditional.
40284 [!__ASSUME_32BITUIDS]: Remove conditional code.
40285 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40286 <kernel-features.h>.
40287 [__ASSUME_32BITUIDS]: Make code unconditional.
40288 [!__ASSUME_32BITUIDS]: Remove conditional code.
40289 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40290 <kernel-features.h>.
40291 [__ASSUME_32BITUIDS]: Make code unconditional.
40292 [!__ASSUME_32BITUIDS]: Remove conditional code.
40293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40294 <kernel-features.h>.
40295 [__ASSUME_32BITUIDS]: Make code unconditional.
40296 [!__ASSUME_32BITUIDS]: Remove conditional code.
40297 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40298 <kernel-features.h>.
40299 [__ASSUME_32BITUIDS]: Make code unconditional.
40300 [!__ASSUME_32BITUIDS]: Remove conditional code.
40301 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40302 <kernel-features.h>.
40303 [__ASSUME_32BITUIDS]: Make code unconditional.
40304 [!__ASSUME_32BITUIDS]: Remove conditional code.
40305 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40306 <kernel-features.h>.
40307 [__ASSUME_32BITUIDS]: Make code unconditional.
40308 [!__ASSUME_32BITUIDS]: Remove conditional code.
40309 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40310 <kernel-features.h>.
40311 [__ASSUME_32BITUIDS]: Make code unconditional.
40312 [!__ASSUME_32BITUIDS]: Remove conditional code.
40313 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40314 <kernel-features.h>.
40315 [__ASSUME_32BITUIDS]: Make code unconditional.
40316 [!__ASSUME_32BITUIDS]: Remove conditional code.
40317 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40318 <kernel-features.h>.
40319 [__ASSUME_32BITUIDS]: Make code unconditional.
40320 [!__ASSUME_32BITUIDS]: Remove conditional code.
40321 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40322 <kernel-features.h>.
40323 [__NR_setresgid] (__setresgid): Do not declare.
40324 [__ASSUME_32BITUIDS]: Make code unconditional.
40325 [!__ASSUME_32BITUIDS]: Remove conditional code.
40326 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40327 <kernel-features.h>.
40328 [__NR_setresuid] (__setresuid): Do not declare.
40329 [__ASSUME_32BITUIDS]: Make code unconditional.
40330 [!__ASSUME_32BITUIDS]: Remove conditional code.
40331 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40332 <kernel-features.h>.
40333 [__ASSUME_32BITUIDS]: Make code unconditional.
40334 [!__ASSUME_32BITUIDS]: Remove conditional code.
40335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40336 <kernel-features.h>.
40337 [__ASSUME_32BITUIDS]: Make code unconditional.
40338 [!__ASSUME_32BITUIDS]: Remove conditional code.
40339 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40340 <kernel-features.h>.
40341 [__ASSUME_32BITUIDS]: Make code unconditional.
40342 [!__ASSUME_32BITUIDS]: Remove conditional code.
40343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40344 <kernel-features.h>.
40345 [__ASSUME_32BITUIDS]: Make code unconditional.
40346 [!__ASSUME_32BITUIDS]: Remove conditional code.
40347 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40348 <kernel-features.h>.
40349 [__ASSUME_32BITUIDS]: Make code unconditional.
40350 [!__ASSUME_32BITUIDS]: Remove conditional code.
40351 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40352 <kernel-features.h>.
40353 [__ASSUME_32BITUIDS]: Make code unconditional.
40354 [!__ASSUME_32BITUIDS]: Remove conditional code.
40355 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40356 <kernel-features.h>.
40357 [__ASSUME_32BITUIDS]: Make code unconditional.
40358 [!__ASSUME_32BITUIDS]: Remove conditional code.
40359 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40360 <kernel-features.h>.
40361 [__ASSUME_32BITUIDS]: Make code unconditional.
40362 [!__ASSUME_32BITUIDS]: Remove conditional code.
40363 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40364 <kernel-features.h>.
40365 [__ASSUME_32BITUIDS]: Make code unconditional.
40366 [!__ASSUME_32BITUIDS]: Remove conditional code.
40367 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40368 <kernel-features.h>.
40369 [__ASSUME_32BITUIDS]: Make code unconditional.
40370 [!__ASSUME_32BITUIDS]: Remove conditional code.
40371 * sysdeps/unix/sysv/linux/kernel-features.h
40372 (__ASSUME_SETRESUID_SYSCALL): Remove.
40373 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40374 (__ASSUME_32BITUIDS): Likewise.
40375 (__ASSUME_LDT_WORKS): Likewise.
40376 (__ASSUME_O_DIRECTORY): Likewise.
40377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40378 architecture but not kernel version.
40379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40380 (__ASSUME_MMAP2_SYSCALL): Likewise.
40381 (__ASSUME_STAT64_SYSCALL): Likewise.
40382 (__ASSUME_IPC64): Likewise.
40383 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40384 <kernel-features.h>.
40385 [__ASSUME_32BITUIDS]: Make code unconditional.
40386 [!__ASSUME_32BITUIDS]: Remove conditional code.
40387 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40388 <kernel-features.h>.
40389 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40390 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40391 132096]: Remove conditional code.
40392 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40394 <kernel-features.h>.
40395 [__ASSUME_32BITUIDS]: Make code unconditional.
40396 [!__ASSUME_32BITUIDS]: Remove conditional code.
40397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40398 <kernel-features.h>.
40399 [__ASSUME_32BITUIDS]: Make code unconditional.
40400 [!__ASSUME_32BITUIDS]: Remove conditional code.
40401 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40402 <kernel-features.h>.
40403 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40404 unconditional.
40405 (__setresgid): Do not declare.
40406 [__ASSUME_32BITUIDS]: Make code unconditional.
40407 [!__ASSUME_32BITUIDS]: Remove conditional code.
40408 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40409 <kernel-features.h>.
40410 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40411 unconditional.
40412 (__setresuid): Do not declare.
40413 [__ASSUME_32BITUIDS]: Make code unconditional.
40414 [!__ASSUME_32BITUIDS]: Remove conditional code.
40415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40416 <kernel-features.h>.
40417 [__ASSUME_32BITUIDS]: Make code unconditional.
40418 [!__ASSUME_32BITUIDS]: Remove conditional code.
40419 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40420 <kernel-features.h>.
40421 [__ASSUME_32BITUIDS]: Make code unconditional.
40422 [!__ASSUME_32BITUIDS]: Remove conditional code.
40423
a386f1cc
RH
404242012-05-25 Richard Henderson <rth@twiddle.net>
40425
40426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40427 dl_hwcap to ifunc resolver.
40428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40429 elf_ifunc_invoke.
40430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40431 dl_hwcap to ifunc resolver.
40432 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40433
b6550497
JM
404342012-05-24 Joseph Myers <joseph@codesourcery.com>
40435
40436 [BZ #14153]
40437 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40438 for |x| <= 2**-26, not 2**-57.
40439 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40440 exception.
40441
b0bc23a1
JL
404422012-05-24 Jeff Law <law@redhat.com>
40443
40444 * stdio-common/Makefile (tests): Add bug25.
40445 * stdio-common/bug25.c: New test.
40446
347c92e9
L
404472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40448
40449 [BZ #13576]
40450 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40451 multiple of MALLOC_ALIGNMENT in size.
40452 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40453
6bcc8b3f
JM
404542012-05-24 Joseph Myers <joseph@codesourcery.com>
40455
40456 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40457 Require >= 256.
40458 (FILENAME_MAX): Use macro-int-constant.
40459 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40460 (_IOFBF): Use macro-int-constant.
40461 (_IOLBF): Likewise.
40462 (_IONBF): Likewise.
40463 (SEEK_CUR): Likewise.
40464 (SEEK_END): Likewise.
40465 (SEEK_SET): Likewise.
40466 (TMP_MAX): Likewise.
40467 (EOF): Use macro-int-constant. Require < 0.
40468 (NULL): Use macro-constant. Require == 0.
40469 (stdin): Require type to be FILE *.
40470 (stdout): Likewise.
40471 (stderr): Likewise.
40472 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40473 macro-int-constant.
40474 (EXIT_SUCCESS): Likewise.
40475 (NULL): Use macro-constant. Require == 0.
40476 (RAND_MAX): Use macro-int-constant.
40477 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40478 [C99-based standards] (strtof): Require function.
40479 [C99-based standards] (strtold): Likewise.
40480 [C99-based standards] (strtoll): Likewise.
40481 [C99-based standards] (strtoull): Likewise.
40482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40483 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40484 [ISO || ISO99 || ISO11] (math.h): Likewise.
40485 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40488
d18ea0c5
AS
404892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40490
40491 [BZ #14132]
56d25bb8
AS
40492 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40493 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40494 * intl/dgettext.c (DCGETTEXT): Likewise.
40495 * intl/gettext.c (DCGETTEXT): Likewise.
40496 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40497 * posix/regex_internal.h (gettext): Likewise.
40498 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40499 Remove declaration.
40500 * include/argz.h (__argz_count_internal)
40501 (__argz_stringify_internal): Remove declaration.
40502 (__argz_count, __argz_stringify): Declare hidden proto.
40503 * intl/dcgettext.c: Remove use of INTDEF.
40504 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40505 * string/argz-stringify.c: Likewise.
40506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40508 Declare hidden proto.
d18ea0c5
AS
40509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40511 Declare hidden proto.
40512 * include/stdio.h (__asprintf_internal): Don't declare.
40513 (__asprintf): Don't define as macro. Declare hidden proto.
40514 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40515 (__fsetlocking): Declare hidden proto.
40516 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40517 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40518 hidden proto.
40519 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40520 (_IO_setlinebuf): Remove use of INTUSE.
40521 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40522 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40523 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40524 Remove declaration.
40525 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40526 (_IO_do_flush): Remove use of INTUSE.
40527 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40528 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40529 (_IO_adjust_column, _IO_least_wmarker)
40530 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40531 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40532 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40533 (_IO_default_doallocate, _IO_wdefault_doallocate)
40534 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40535 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40536 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40537 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40538 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40539 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40540 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40541 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40542 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40543 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40544 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40545 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40546 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40547 proto.
40548 (_IO_flush_all_internal, _IO_adjust_column_internal)
40549 (_IO_default_uflow_internal, _IO_default_finish_internal)
40550 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40551 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40552 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40553 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40554 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40555 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40556 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40557 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40558 (_IO_file_close_internal, _IO_file_close_it_internal)
40559 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40560 (_IO_file_init_internal, _IO_file_attach_internal)
40561 (_IO_file_fopen_internal, _IO_file_read_internal)
40562 (_IO_file_sync_internal, _IO_file_seek_internal)
40563 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40564 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40565 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40566 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40567 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40568 (_IO_list_all_internal, _IO_link_in_internal)
40569 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40570 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40571 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40572 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40573 (_IO_do_write_internal, _IO_padn_internal)
40574 (_IO_getline_info_internal, _IO_getline_internal)
40575 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40576 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40577 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40578 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40579 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40580 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40581 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40582 with libc_hidden_ver, remove use of INTUSE.
40583 * libio/genops.c: Likewise.
40584 * libio/freopen.c: Likewise.
40585 * libio/freopen64.c: Likewise.
40586 * libio/iofclose.c: Likewise.
40587 * libio/iofdopen.c: Likewise.
40588 * libio/iofflush.c: Likewise.
40589 * libio/iofflush_u.c: Likewise.
40590 * libio/iofgets.c: Likewise.
40591 * libio/iofgets_u.c: Likewise.
40592 * libio/iofopen.c: Likewise.
40593 * libio/iofopncook.c: Likewise.
40594 * libio/iofread.c: Likewise.
40595 * libio/iofread_u.c: Likewise.
40596 * libio/ioftell.c: Likewise.
40597 * libio/iofwrite.c: Likewise.
40598 * libio/iogetline.c: Likewise.
40599 * libio/iogets.c: Likewise.
40600 * libio/iogetwline.c: Likewise.
40601 * libio/iopadn.c: Likewise.
40602 * libio/iopopen.c: Likewise.
40603 * libio/ioseekoff.c: Likewise.
40604 * libio/ioseekpos.c: Likewise.
40605 * libio/iosetbuffer.c: Likewise.
40606 * libio/iosetvbuf.c: Likewise.
40607 * libio/ioungetc.c: Likewise.
40608 * libio/ioungetwc.c: Likewise.
40609 * libio/iovdprintf.c: Likewise.
40610 * libio/iovsprintf.c: Likewise.
40611 * libio/iovsscanf.c: Likewise.
40612 * libio/memstream.c: Likewise.
40613 * libio/obprintf.c: Likewise.
40614 * libio/oldfileops.c: Likewise.
40615 * libio/oldiofclose.c: Likewise.
40616 * libio/oldiofdopen.c: Likewise.
40617 * libio/oldiofopen.c: Likewise.
40618 * libio/oldiopopen.c: Likewise.
40619 * libio/oldstdfiles.c: Likewise.
40620 * libio/putc.c: Likewise.
40621 * libio/setbuf.c: Likewise.
40622 * libio/setlinebuf.c: Likewise.
40623 * libio/stdfiles.c: Likewise.
40624 * libio/strops.c: Likewise.
40625 * libio/vasprintf.c: Likewise.
40626 * libio/vscanf.c: Likewise.
40627 * libio/vsnprintf.c: Likewise.
40628 * libio/vswprintf.c: Likewise.
40629 * libio/wfiledoalloc.c: Likewise.
40630 * libio/wfileops.c: Likewise.
40631 * libio/wgenops.c: Likewise.
40632 * libio/wmemstream.c: Likewise.
40633 * libio/wstrops.c: Likewise.
40634 * libio/__fpurge.c: Likewise.
40635 * libio/__fsetlocking.c: Likewise.
40636 * assert/assert.c: Likewise.
40637 * debug/fgets_chk.c: Likewise.
40638 * debug/fgets_u_chk.c: Likewise.
40639 * debug/fread_chk.c: Likewise.
40640 * debug/fread_u_chk.c: Likewise.
40641 * debug/gets_chk.c: Likewise.
40642 * debug/obprintf_chk.c: Likewise.
40643 * debug/vasprintf_chk.c: Likewise.
40644 * debug/vdprintf_chk.c: Likewise.
40645 * debug/vsnprintf_chk.c: Likewise.
40646 * debug/vsprintf_chk.c: Likewise.
40647 * malloc/mtrace.c: Likewise.
40648 * misc/error.c: Likewise.
40649 * misc/syslog.c: Likewise.
40650 * stdio-common/asprintf.c: Likewise.
40651 * stdio-common/fxprintf.c: Likewise.
40652 * stdio-common/getw.c: Likewise.
40653 * stdio-common/isoc99_fscanf.c: Likewise.
40654 * stdio-common/isoc99_scanf.c: Likewise.
40655 * stdio-common/isoc99_vfscanf.c: Likewise.
40656 * stdio-common/isoc99_vscanf.c: Likewise.
40657 * stdio-common/isoc99_vsscanf.c: Likewise.
40658 * stdio-common/printf-prs.c: Likewise.
40659 * stdio-common/printf_fp.c: Likewise.
40660 * stdio-common/printf_fphex.c: Likewise.
40661 * stdio-common/printf_size.c: Likewise.
40662 * stdio-common/putw.c: Likewise.
40663 * stdio-common/scanf.c: Likewise.
40664 * stdio-common/sprintf.c: Likewise.
40665 * stdio-common/tmpfile.c: Likewise.
40666 * stdio-common/vfprintf.c: Likewise.
40667 * stdio-common/vfscanf.c: Likewise.
40668 * stdlib/strfmon_l.c: Likewise.
40669 * sunrpc/openchild.c: Likewise.
40670 * sunrpc/xdr_stdio.c: Likewise.
40671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40672 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40673
d6c33fda
RM
406742012-05-24 Roland McGrath <roland@hack.frob.com>
40675
c1487492
RM
40676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40677
40678 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40679 in the third column, to generate for the shared library an IFUNC
40680 that uses _dl_vdso_vsym.
40681 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40682 * Makeconfig (object-suffixes-noshared): New variable.
40683
40684 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40685 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40686 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40687 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40688
d6c33fda
RM
40689 [BZ #14132]
40690 * include/sys/time.h (__gettimeofday): Remove macro.
40691 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40692 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40693 Remove INTDEF.
40694 (__gettimeofday): Add libc_hidden_def.
40695 (gettimeofday): Add libc_hidden_weak.
40696 * sysdeps/mach/gettimeofday.c: Likewise.
40697 * sysdeps/posix/gettimeofday.c: Likewise.
40698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40701 (__gettimeofday_internal): Remove strong_alias.
40702 (__gettimeofday): Add libc_hidden_def.
40703 (gettimeofday): Add libc_hidden_weak.
40704 * sysdeps/unix/syscalls.list (gettimeofday):
40705 Remove __gettimeofday_internal alias.
40706
b5a2bbe6
L
407072012-05-24 Daniel Jacobowitz <drow@false.org>
40708 H.J. Lu <hongjiu.lu@intel.com>
40709
40710 [BZ #12495]
40711 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40712 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40713 (largebin_index_32_big): New.
40714 (largebin_index): Use it for 16-byte alignment.
40715 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40716 correction with front_misalign.
40717
cfba4fda
L
407182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40719
7f907421
L
40720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40722 Likewise.
40723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40724 Likewise.
40725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40726 Likewise.
40727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40728 Likewise.
40729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40730 Likewise.
40731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40732 Likewise.
40733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40734 Likewise.
40735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40736 Likewise.
40737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40738 Likewise.
40739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40740 Likewise.
40741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40742 Likewise.
40743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40744 Likewise.
40745
cfba4fda
L
40746 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40747 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40748
80bad0cc
JM
407492012-05-24 Joseph Myers <joseph@codesourcery.com>
40750
7a25eb06
JM
40751 [BZ #10846]
40752 [BZ #14036]
40753 * math/libm-test.inc (exp_test): Add test from bug 14036.
40754 (pow_test): Add test from bug 10846.
40755
795405f9
JM
40756 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40757 and other flags.
40758 (special_function): Do not include flags in test name.
40759 (parse_args): Likewise.
40760 * sysdeps/i386/fpu/libm-test-ulps: Update.
40761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40765
80bad0cc
JM
40766 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40767 exceptions.
40768 * math/libm-test.inc ("Philosophy"): Update comment about
40769 exception testing.
40770 (UNDERFLOW_EXCEPTION): New macro.
40771 (UNDERFLOW_EXCEPTION_OK): Likewise.
40772 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40773 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40774 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40775 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40776 (INVALID_EXCEPTION_OK): Update value.
40777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40778 (OVERFLOW_EXCEPTION_OK): Likewise.
40779 (IGNORE_ZERO_INF_SIGN): Likewise.
40780 (test_exceptions): Handle underflow exceptions.
40781 (acos_test): Update for underflow exception expectations.
40782 (cexp_test): Likewise.
40783 (clog_test): Likewise.
40784 (clog10_test): Likewise.
40785 (csqrt_test): Likewise.
40786 (ctan_test): Likewise.
40787 (ctanh_test): Likewise.
40788 (exp_test): Likewise.
40789 (exp10_test): Likewise.
40790 (exp2_test): Likewise.
40791 (expm1_test): Likewise.
40792 (fma_test): Likewise.
40793 (j0_test): Likewise.
40794 (jn_test): Likewise.
40795 (nexttoward_test): Likewise.
40796 (pow_test): Likewise.
40797 (scalbn_test): Likewise.
40798 (scalbln_test): Likewise.
40799 (tan_test): Likewise.
40800 (y1_test): Likewise.
40801 * sysdeps/i386/fpu/libm-test-ulps: Update.
40802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40803
9e0e3d0b
DM
408042012-05-23 David S. Miller <davem@davemloft.net>
40805
40806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40807 (__libc_sigaction): Remove unused local variables.
40808
ccd0a08f
L
408092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40810
40811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40812
62bdf9a6
PE
408132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40814
f8591f80
PE
40815 mktime: avoid signed integer overflow
40816 * time/mktime.c (__mktime_internal): Do not mishandle the case
40817 where diff == INT_MIN.
40818
94c7d826
PE
40819 mktime: simplify computation of average
40820 * time/mktime.c (ranged_convert): Use new time_t_avg function
40821 instead of rolling our own (probably-slower) code.
40822
ce73d683
PE
40823 mktime: do not assume signed right shift propagates sign bit
40824 * time/mktime.c (isdst_differ): New static function.
40825 (__mktime_internal): No need to normalize tm_isdst now.
40826 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40827 tm_isdst values.
40828
72a22e59
PE
40829 mktime: merge another wrapv change from gnulib
40830 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40831 from some compilers.
40832
68605433
PE
40833 mktime: remove incorrect attempt at unusual arithmetics
40834 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40835 The code didn't really work on such machines anyway.
40836 (TYPE_MINIMUM): Assume two's complement.
40837 (twos_complement_arithmetic): Verify that long_int and time_t
40838 are two's complement (or unsigned, in the latter case).
40839
03cf7fe3
PE
40840 mktime: check signed shifts on long_int and time_t, too
40841 * time/mktime.c (SHR): Check that shifts work as desired
40842 on the types long_int and time_t too, as SHR is used on
40843 such types.
40844
f04dfbc2
PE
40845 mktime: do not assume 'long' is wide enough
40846 * time/mktime.c (verify): Move decl up.
40847 (long_int): New type.
40848 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40849 to remove assumption in the code that 'long' is wide enough to
40850 store year values. This assumption is not true on x32 and on
40851 some non-glibc platforms.
40852
62bdf9a6
PE
40853 mktime: merge wrapv change from gnulib
40854 * time/mktime.c (WRAPV): New macro.
40855 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40856 (guess_time_tm, __mktime_internal): Do not assume that signed
40857 integer overflow wraps around; modern compilers generate code
40858 where this assumption is no longer valid.
40859
5e292e4f
L
408602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40861
40862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40863 Replace "jmp L(pseudo_end)" with "ret".
40864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40865 Likewise.
40866
8caf8c87
AJ
408672012-05-23 Andreas Jaeger <aj@suse.de>
40868
40869 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40870 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40871
1a09dc56
AJ
408722012-05-23 Andreas Jaeger <aj@suse.de>
40873 Maximilian Attems <max@stro.at>
40874
40875 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40876 New macros.
40877
1c87aba0
L
408782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40879
40880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40881 code so that pseudo_end is just ret and the stack pointer is
40882 correct also for static library in error case.
40883
40e45bd5
JM
408842012-05-23 Joseph Myers <joseph@codesourcery.com>
40885
c2670533
JM
40886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40887 move to syscalls.list.
40888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40892
40e45bd5
JM
40893 * manual/install.texi (Running make install): Do not mention Linux
40894 kernel version for which pt_chown is not needed.
40895 (Linux): Do not mention problems with nscd with 2.0 kernels.
40896 * INSTALL: Regenerated.
40897
be08eda5
AJ
408982012-05-23 Andreas Jaeger <aj@suse.de>
40899
40900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40901 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40902 macro.
40903 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40905 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40907 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40913 * sysdeps/unix/sysv/linux/bits/in.h
40914 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40915
a6a056bb
RM
409162012-05-22 Roland McGrath <roland@hack.frob.com>
40917
40918 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40919 (PREPARE_VERSION): Just use assert instead, it will be elided
40920 under [NDEBUG] anyway.
40921
c9009328
L
409222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * sysdeps/unix/sysv/linux/Makefile: Include
40925 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40926 (sysdep_routines): Remove sysctl.
c9009328
L
40927 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40928 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40930 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40931 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40932
73338355
AJ
409332012-05-22 Andreas Jaeger <aj@suse.de>
40934
40935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40936 that pseudo_end is just ret and the stack pointer is correct also
40937 for static library in error case.
40938
d44638b0
PP
409392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40940
40941 [BZ #14122]
40942 * nss/nsswitch.c (defconfig_entries): New variable.
40943 (__nss_database_lookup): Don't leak defconfig entries.
40944 (nss_parse_service_list): Don't leak on error paths.
40945 (free_database_entries): New function.
40946 (free_defconfig): New function.
40947 (free_mem): Move common code to free_database_entries.
40948
31a39bd8
L
409492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40950
da0331a8
L
40951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40952 Add arch_prctl.
40953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40954
31a39bd8
L
40955 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40956 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40958 New macro.
40959 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40960 (INTERNAL_SYSCALL_TYPES): Likewise.
40961 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40962 (LOAD_REGS_TYPES_[1-6]): Likewise.
40963 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40964 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40965
45470df3
AZ
409662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40967
40968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40969 copysignl for GLIBC_2_0.
40970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40971 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40973 logbl for GLIBC_2_0.
40974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40976
98a61bcb
L
409772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40978
a4f6e481
L
40979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40981
f63d5db6
L
40982 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40983 Use "neg %eax".
40984
98a61bcb
L
40985 * time/mktime.c: Update copyright years.
40986
95770f14
PE
409872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40988
6226efbd
PE
40989 mktime: merge comment-quoting-style change from gnulib
40990 * time/mktime.c: Quote 'like this' in comments.
40991 The GNU coding standards suggest that we no longer quote `like this',
40992 as "`" and "'" are typically rendered asymmetrically nowadays.
40993 The typical gnulib style is to quote 'like this' when quoting
40994 code, and "like this" when quoting English.
40995
b99e4f78
PE
40996 * time/mktime.c (compile-command): Add "-I.".
40997
643e01e6
PE
40998 mktime: merge mktime-internal.h change from gnulib
40999 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41000
2554247d
PE
41001 mktime: merge time_r change from gnulib
41002 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41003
826dd0ab
PE
41004 mktime: merge DEBUG change from gnulib
41005 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41006 case system <time.h> has a #define.
41007
bd83aabe
PE
41008 mktime: merge <sys/types.h> change from gnulib
41009 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41010 since <time.t> is now guaranteed to define time_t.
41011
95770f14
PE
41012 mktime: merge HAVE_CONFIG_H change from gnulib
41013 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41014
5e1a27a9
L
410152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41016
0e44a77e
L
41017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41018 Use "neg %eax".
41019
5e1a27a9
L
41020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41021 __rlim_t cast.
41022 (struct rusage): Use anonymous union to pad each field to
41023 __syscall_slong_t.
41024
46259bec
DM
410252012-05-21 David S. Miller <davem@davemloft.net>
41026
41027 * Makefules (o-iterator): Remove .s cases.
41028 (compile-command.s): Delete.
41029 (COMPILE.s): Delete.
41030 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41031
59f0c22e
JM
410322012-05-21 Joseph Myers <joseph@codesourcery.com>
41033
41034 * configure.in (libc_cv_predef_stack_protector): Only consider
41035 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41036 * configure: Regenerated.
41037
20c07380
L
410382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41039
bbb3154b
L
41040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41041 New macro. Use R*LP on int and pointer.
41042 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41043 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41044 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41045 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41046
20c07380
L
41047 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41048 [__WORDSIZE_TIME64_COMPAT32] instead of
41049 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41050 (struct utmp): Likewise.
41051 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41052 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41053 Renamed to ...
41054 (__WORDSIZE_TIME64_COMPAT32): This.
41055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41056 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41057 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41060 (__WORDSIZE_TIME64_COMPAT32): New macro.
41061
d8d1017e
AJ
410622012-05-21 Andreas Jaeger <aj@suse.de>
41063
41064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41065 only if [SHARED]. Add prototype for __wcschr_ia32.
41066
6c7fb145
RM
410672012-05-21 Roland McGrath <roland@hack.frob.com>
41068
41069 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41070 of %rbp unmolested in the jmp_buf while mangling the low bits.
41071 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41072 unmolested high bits of %rbp while demangling the low bits.
41073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41074
66274218
AJ
410752012-05-21 Andreas Jaeger <aj@suse.de>
41076
07c58f8f
AJ
41077 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41078 * sunrpc/svc_simple.c: Use it for registerrpc.
41079 * sunrpc/xcrypt.c: Use it for passwd2des.
41080
66274218
AJ
41081 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41082
61f65140
L
410832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41084
41085 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41086 Don't define if [__SYSCALL_WORDSIZE != 32].
41087 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41088 New macro.
41089
5fefb436
AJ
410902012-05-21 Bruno Haible <bruno@clisp.org>
41091 Andreas Jaeger <aj@suse.de>
41092
41093 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41094 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41095 inptr and inend for must_buffer_ch.
41096 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41097 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41098 * stdio-common/Makefile (tests): Remove bug15.
41099 (bug15-ENV): Remove macro.
41100 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41101 anymore.
41102
d8e272ab
AJ
411032012-05-19 Andreas Jaeger <aj@suse.de>
41104 Roland McGrath <roland@hack.frob.com>
41105
41106 * manual/contrib.texi: Completely rewritten. It contains now an
41107 alphabetical list of contributors and their contributions.
41108
4a56a162
RH
411092012-05-21 Richard Henderson <rth@twiddle.net>
41110
41111 * misc/getauxval.c (__getauxval): Use unsigned long int.
41112 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41113 (getauxval): Use unsigned long int.
41114
d024d23c
L
411152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41116
41117 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41118
cbc00a03
RM
411192012-05-21 Roland McGrath <roland@hack.frob.com>
41120
41121 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41122 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41123 __alignof__ (long double).
41124
478143fa
AZ
411252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41126
41127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41128
c7683a6d
RH
411292012-05-20 Richard Henderson <rth@twiddle.net>
41130
41131 * misc/getauxval.c: New file.
41132 * misc/sys/auxv.h: New file.
41133 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41134 (routines): Add getauxval.
41135 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41137 * elf/dl-sysdep.c (_dl_auxv): Remove.
41138 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41139 * elf/dl-support.c (_dl_auxv): New variable.
41140 (_dl_aux_init): Initialize it.
41141 * manual/startup.texi (Auxiliary Vector): New node.
41142 * sysdeps/generic/bits/hwcap.h: New file.
41143 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41144 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41145 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41146 * sysdeps/sparc/sysdep.h: ... here. Include it.
41147 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41150 Update.
c7683a6d
RH
41151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41159
a6f1845d
AZ
411602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41161
41162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41163
cbcbe830
DM
411642012-05-19 David S. Miller <davem@davemloft.net>
41165
41166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41167
e0b16cc2
JM
411682012-05-19 Joseph Myers <joseph@codesourcery.com>
41169
41170 [BZ #14123]
41171 * math/s_ccosh.c: Include <float.h>
41172 (__ccosh): Avoid internal overflow calculating sinh and cosh
41173 values before multiplying by sin and cos values.
41174 * math/s_ccoshf.c: Likewise.
41175 * math/s_ccoshl.c: Likewise.
41176 * math/s_csin.c: Likewise.
41177 * math/s_csinf.c: Likewise.
41178 * math/s_csinl.c: Likewise.
41179 * math/s_csinh.c: Likewise.
41180 * math/s_csinhf.c: Likewise.
41181 * math/s_csinhl.c: Likewise.
41182 * math/libm-test.inc (ccos_test): Add more tests.
41183 (ccosh_test): Likewise.
41184 (csin_test): Likewise.
41185 (csinh_test): Likewise.
41186 * sysdeps/i386/fpu/libm-test-ulps: Update.
41187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41188
6ad13e08
L
411892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41190
f66f0ce8
L
41191 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41192 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41193
6ad13e08
L
41194 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41195
b1d072a7
JM
411962012-05-19 Joseph Myers <joseph@codesourcery.com>
41197
41198 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41199 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41200 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41201 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41202 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41203 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41204 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41205 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41206 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41207 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41208 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41209 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41210 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41211 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41212 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41213 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41214 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41215 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41216 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41217 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41218 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41219 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41220 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41221 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41222 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41223 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41224 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41225 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41226 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41227 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41228 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41229
9eae47cb
AJ
412302012-05-18 Andreas Jaeger <aj@suse.de>
41231
41232 * csu/.gitignore: Delete.
41233
bb07f69f
L
412342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41235
41236 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41237 (timex): Use __syscall_slong_t.
41238
e6bdb741
AJ
412392012-05-18 Andreas Jaeger <aj@suse.de>
41240 Carlos O'Donell <carlos_odonell@mentor.com>
41241
41242 * manual/install.texi (Configuring and compiling): Update
41243 description about files modified in the source directory.
d6c33fda 41244 * INSTALL: Regenerated.
e6bdb741 41245
1b74487e
L
412462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41247
41248 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41249 value. Use "or" to set return value to -1.
41250 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41251 negate return value.
41252
a88b64b9
TMQMF
412532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41254
57f41c40
AS
41255 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41256 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41257 failure if the compiler has Graphite support disabled.
41258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41259 Likewise.
57f41c40
AS
41260 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41261 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41263 Likewise.
41264
3707636e
L
412652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41266
610b8622
L
41267 * sysdeps/x86_64/x32/_itoa.h: New file.
41268
7cd195df
L
41269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41270 getdents system call only if kernel and user dirents have the
41271 same d_ino and d_off.
41272
94b07d20
L
41273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41274 LLONG_MAX != LONG_MAX.
41275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41276 (_fitoa_word): Likewise.
41277
18298070
L
41278 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41279 years.
41280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41283
553c7ea4
L
41284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41285 include <bits/wordsize.h>. Check __x86_64__ instead of
41286 __WORDSIZE.
41287 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41288 if __x86_64__ is defined. Use anonymous union on fpstate.
41289
3707636e
L
41290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41291 anonymous union.
41292
b53ef01a
AS
412932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41294
37fb1dc0
AS
41295 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41296 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41298 Refer to _rtld_local_ro instead of _rtld_global_ro.
41299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41300 Likewise.
41301 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41302 Likewise.
41303 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41304 Likewise.
41305 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41306 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41307 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41308
b53ef01a
AS
41309 * sysdeps/powerpc/powerpc32/dl-machine.c
41310 (__elf_machine_runtime_setup) [PROF]: Don't reference
41311 _dl_prof_resolve.
41312
7a185db2
AJ
413132012-05-18 Andreas Jaeger <aj@suse.de>
41314
41315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41316 function only available for GCCs before 3.4 since GCC 3.4
41317 introduced a builtin.
41318 (lrint): Likewise.
41319 (llrintf): Likewise.
41320 (llrint): Likewise.
41321 (fmaxf): Likewise.
41322 (fmax): Likewise.
41323 (fminf): Likewise.
41324 (fmin): Likewise.
41325 (rint): Likewise.
41326 (rintf): Likewise.
41327 (nearbyint): Likewise.
41328 (nearbyintf): Likewise.
41329 (ceil): Likewise.
41330 (ceilf): Likewise.
41331 (floor): Likewise.
41332 (floorf): Likewise.
41333
3e5aef87
L
413342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41335
428bd707
L
41336 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41337 on both fields and cast pointer to __syscall_ulong_t.
41338
3e5aef87
L
41339 * bits/types.h (__fsword_t): New type.
41340 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41341 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41343 (__FSWORD_T_TYPE): Likewise.
41344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41345 (__FSWORD_T_TYPE): Likewise.
41346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41347 (__FSWORD_T_TYPE): Likewise.
41348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41349 (__FSWORD_T_TYPE): Likewise.
41350 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41351 __SWORD_TYPE with __fsword_t.
41352 (statfs64): Likewise.
41353
1ba7c3dc
DM
413542012-05-17 David S. Miller <davem@davemloft.net>
41355
41356 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41357
59910343
AJ
413582012-05-17 Andreas Jaeger <aj@suse.de>
41359
41360 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41361 warning.
41362
2e4c1e9e
L
413632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41364
41365 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41366
de7f5ce7
AJ
413672012-05-17 Andreas Jaeger <aj@suse.de>
41368
41369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41370 when it is used.
41371
286abc3d
CM
413722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41373
41374 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41375
477cc68e
L
413762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41377
41378 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41379 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41380
1a0994f5
CD
413812012-05-17 Andreas Jaeger <aj@suse.de>
41382 Carlos O'Donell <carlos_odonell@mentor.com>
41383
41384 [BZ #14059]
41385 * sysdeps/x86_64/multiarch/init-arch.h
41386 (bit_YMM_Usable): Rename to...
41387 (bit_AVX_Usable): ... this.
41388 (bit_FMA4_Usable): New macro.
41389 (bit_XMM_state): New macro.
41390 (bit_YMM_state): New macro.
41391 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41392 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41393 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41394 (CPUID_OSXSAVE): New macro.
41395 (CPUID_AVX): New macro.
41396 (CPUID_FMA4): New macro.
41397 (index_YMM_Usable): Rename to...
41398 (index_AVX_Usable): ... this.
41399 (HAS_AVX): Use HAS_ARCH_FEATURE.
41400 (HAS_FMA4): Likewise.
41401 (HAS_YMM_USABLE): Remove.
41402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41403 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41404 are present.
41405 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41406 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41407 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41408 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41409 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41410
0af797de
CM
414112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41412
41413 * math/libm-test.c: Support platforms without multiple rounding modes.
41414 * math/bug-nextafter.c: Support platforms without FP exceptions.
41415 * math/bug-nexttoward.c: Likewise.
41416 * math/test-fenv.c: Likewise.
41417 * math/test-misc.c: Likewise.
41418 * stdlib/bug-getcontext.c: Likewise.
41419
e39745ff
AJ
414202012-05-17 Andreas Jaeger <aj@suse.de>
41421
41422 * manual/examples/search.c (critter_cmp): Change signature to
41423 avoid warnings.
41424 * manual/string.texi (Collation Functions): Likewise.
41425
48970aba
L
414262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41427
41428 * bits/types.h: Fold copyright years.
41429 * bits/typesizes.h: Likewise.
41430 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41434 * time/time.h: Likewise.
41435
bedee953
PP
414362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41437
41438 [BZ #208]
41439 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41440 in instead of returning them. Return void.
41441 (__libc_mallinfo): Accumulate over all arenas.
41442 (__malloc_stats): Adjust for change in int_mallinfo interface.
41443
61653dfb
RM
414442012-05-16 Roland McGrath <roland@hack.frob.com>
41445
30b99d79
RM
41446 [BZ #10375]
41447 * configure.in (NM): Add AC_CHECK_TOOL for it.
41448 (libc_extra_cflags): New substituted variable.
41449 Check for -fstack-protector being used implicitly.
41450 * configure: Regenerated.
41451 * config.make.in (config-extra-cflags): New variable,
41452 gets @libc_extra_cflags@.
41453 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41454
61653dfb
RM
41455 [BZ #10375]
41456 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41457 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41458 * configure: Regenerated.
41459 * config.make.in (CPPUNDEFS): New substituted variable.
41460 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41461 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41462 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41463
661768bb
L
414642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41465
41466 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41467 (mq_attr): Use __syscall_slong_t.
41468
d4261567
L
414692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41470
41471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41472 Check __x86_64__ instead of __WORDSIZE.
41473 (_STAT_VER_LINUX): Likewise.
41474 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41475 __syscall_ulong_t and __syscall_slong_t.
41476 (stat64): Likewise.
41477
cf3ff365
L
414782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41479
41480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41481
76cf3e4d
L
414822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41483
41484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41485
a637753a
L
414862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41487
41488 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41489 __syscall_ulong_t.
41490
d5e05119
L
41491 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41492 include <bits/wordsize.h>. Check __x86_64__ instead of
41493 __WORDSIZE.
41494 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41495 defined.
41496 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41497
f62ee380
L
41498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41499 include <bits/wordsize.h>. Check __x86_64__ instead of
41500 __WORDSIZE.
41501 (user_regs_struct): Use "__extension__ unsigned long long"
41502 instead of "unsigned long" if __x86_64__ is defined.
41503 (user): Likewise. Pad after pointer field if __ILP32__ is
41504 defined.
41505
4e124ced
JM
415062012-05-16 Joseph Myers <joseph@codesourcery.com>
41507
6a3951a0
JM
41508 * configure.in (makeinfo): Require version 4.5 or later. Allow
41509 versions 5 to 9.
41510 * configure: Regenerated.
41511 * manual/install.texi (texinfo): Increase version requirement to
41512 4.5 or later.
41513 * INSTALL: Regenerated.
41514
4e124ced
JM
41515 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41516
953ca31a
L
415172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41518
41519 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41520
617aca05
L
41521 * sysdeps/x86_64/x32/ffs.c: New file.
41522
5762f7ae
L
41523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41524 __syscall_ulong_t.
41525 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41526 defined. Use __syscall_ulong_t.
41527 (shminfo): Use __syscall_ulong_t.
41528 (shm_info): Likewise.
41529
a26b6856
L
41530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41531 __syscall_ulong_t.
41532
cb2b9ef7
L
41533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41534 <bits/wordsize.h>.
41535 (msgqnum_t): Use __syscall_ulong_t.
41536 (msglen_t): Likewise.
41537 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41538 __syscall_ulong_t.
41539
34683bb0
L
41540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41542
84a68786
L
41543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41544
48baa5f1
L
41545 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41546 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41547
180be88b
L
41548 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41549 __syscall_slong_t.
41550
5e90c8ad
L
41551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41552 include <bits/wordsize.h>. Check __x86_64__ instead of
41553 __WORDSIZE.
41554
23dfb58b
L
41555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41556 "unsigned long long int" if __x86_64__ is defined.
41557 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41558
ce5d54b0
L
41559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41561 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41562
13dc9eac
L
41563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41564 <stdint.h>.
41565 (GET_PC): Cast to uintptr_t first.
41566 (GET_FRAME): Likewise.
41567 (GET_STACK): Likewise.
41568
a7895d15
L
41569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41598
656416c9
AS
415992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41600
5bd66283
AS
41601 * Makerules (+depfiles): Also collect depfiles from .oS in
41602 $(extra-objs).
41603 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41604 .oS, $(libnldbl-routines)).
41605
656416c9
AS
41606 * Makerules (native-compile-mkdep-flags): Define.
41607 * sunrpc/Makefile (extra-objs): Add $(addprefix
41608 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41609 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41610 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41611 calling $(make-target-directory).
41612
a46f2169
L
416132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41614
41615 * bits/types.h (__snseconds_t): Removed.
41616 * time/time.h (struct timespec): Replace __snseconds_t with
41617 __syscall_slong_t.
41618 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41619 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41620 Likewise.
41621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41622 (__SNSECONDS_T_TYPE): Likewise.
41623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41624 (__SNSECONDS_T_TYPE): Likewise.
41625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41626 (__SNSECONDS_T_TYPE): Likewise.
41627
6af6528b
L
416282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41629
41630 * sysdeps/mach/hurd/bits/typesizes.h
41631 (__SYSCALL_SLONG_TYPE): New macro.
41632 (__SYSCALL_ULONG_TYPE): Likewise.
41633
de986b56
L
416342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41635
41636 * bits/types.h (__syscall_slong_t): New type.
41637 (__syscall_ulong_t): Likewise.
41638
41639 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41640 (__SYSCALL_ULONG_TYPE): Likewise.
41641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41642 (__SYSCALL_SLONG_TYPE): Likewise.
41643 (__SYSCALL_ULONG_TYPE): Likewise.
41644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41645 (__SYSCALL_SLONG_TYPE): Likewise.
41646 (__SYSCALL_ULONG_TYPE): Likewise.
41647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41648 (__SYSCALL_SLONG_TYPE): Likewise.
41649 (__SYSCALL_ULONG_TYPE): Likewise.
41650
85736dc7
L
416512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41652
41653 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41654 Add sigaltstack-offsets.sym.
41655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41656 <sigaltstack-offsets.h>.
41657 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41658 longjmp_msg pointer.
41659 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41660 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41661 signal stack.
41662 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41663
cc03b296
JM
416642012-05-15 Joseph Myers <joseph@codesourcery.com>
41665
a9538892
JM
41666 * elf/stackguard-macros.h: Remove file.
41667 * sysdeps/generic/stackguard-macros.h: New file.
41668 * sysdeps/i386/stackguard-macros.h: Likewise.
41669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41675 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41676 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41677 <elf/stackguard-macros.h>.
41678
cc03b296
JM
41679 [BZ #14109]
41680 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41681 __aligned__ in attribute.
41682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41683 (gregset_t): Likewise.
41684
93171016
L
416852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41686
41687 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41688 * sysdeps/x86_64/64/Implies-after: Here. New file.
41689 * sysdeps/x86_64/x32/Implies-after: New file.
41690
d86813a0
L
416912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41692
41693 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41694 and access return value for _dl_profile_fixup. Use R10_LP to
41695 load frame size.
41696
2953ec75
L
416972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41698
41699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41700
3b550e9e
L
417012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41702
41703 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41704 * sysdeps/x86_64/x32/sysdep.h: New file.
41705
eda41706
L
417062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41707
41708 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41709 * sysdeps/x86_64/setjmp.S: Likewise.
41710
9ea01d93
AZ
417112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41712
41713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41715 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41717 remove unused global constant.
41718
02a91938
CM
417192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41720
41721 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41722 include of <not-cancel.h>.
41723
6540185f
RM
417242012-05-15 Roland McGrath <roland@hack.frob.com>
41725
41726 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41727
509072a0
AJ
417282012-05-15 Jeff Law <law@redhat.com>
41729 Andreas Jaeger <aj@suse.de>
41730
41731 [BZ #13594]
41732 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41733 out from...
41734 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41735 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41737 code changing __hst_map_handle.map.
41738
ba75122d
RM
417392012-05-15 Roland McGrath <roland@hack.frob.com>
41740
41741 * configure.in (sysnames): Look for Implies-before and Implies-after
41742 files.
41743 * configure: Regenerated.
41744
890d8bd8
L
417452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41746
41747 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41748 8-byte data alignment with LP_SIZE alignment.
41749
f6ee6623
L
417502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41751
41752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41753 into R10_LP.
41754
ea2626f6
L
417552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41756
41757 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41758
085f715e
L
417592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41760
41761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41762 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41764 Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41766
be8498fc
L
417672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41768
41769 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41770 (stackinfo_sub_sp): Likewise.
41771
70bc83b9
L
417722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41773
41774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41775 RAX_LP.
41776
9bc0b730
L
417772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41778
41779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41780 into R*_LP.
41781
6d2850e7
L
417822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41783
41784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41785 sizes into R*_LP.
41786
3cb84561
L
417872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41788
41789 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41790
54e2ed81
L
417912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41792
41793 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41794 into R11_LP and load __x86_64_shared_cache_size_half into
41795 R8_LP.
41796
8a17f349
L
417972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41798
41799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41800 R8_LP.
41801
777b1eea
AZ
418022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41803
41804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41805 logb for POWER7.
41806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41807 logbf for POWER7.
41808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41809 logbl for POWER7.
41810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41811 powerpc32/power7/fpu/s_logb.c via #include.
41812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41813 powerpc32/power7/fpu/s_logbf.c via #include.
41814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41815 powerpc32/power7/fpu/s_logbl.c via #include.
41816
d20d4ac2
JM
418172012-05-15 Joseph Myers <joseph@codesourcery.com>
41818
41819 * README.libm: Remove file.
41820
6cdef1ab
L
418212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41822
41823 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41824 count for x32. Use R*_LP and omit operand-size suffix.
41825
0b254d8f
L
418262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41827
41828 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41829 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41830 * sysdeps/x86_64/x32/shlib-versions: New file.
41831
ceb809dc
RM
418322012-05-14 Roland McGrath <roland@hack.frob.com>
41833
41834 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41835 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41836 Use _dl_fatal_printf instead.
41837
37f1abd4
JM
418382012-05-14 Joseph Myers <joseph@codesourcery.com>
41839
41840 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41841 set if not set by the user. Do not allow for being unset.
41842 * sysdeps/unix/sysv/linux/configure: Regenerated.
41843
11de3a33
L
418442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41845
41846 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41847 the `q' suffix from lea and replace .quad with ASM_ADDR.
41848
e02f153a
L
418492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41850
41851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41852 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41853 instead of $17.
41854 (PTR_DEMANGLE): Likewise.
41855
520ae0fd
L
418562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41857
41858 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41859 (LP_OP): Likewise.
41860 (ASM_ADDR): Likewise.
41861 (RAX_LP): Likewise.
41862 (RBP_LP): Likewise.
41863 (RBX_LP): Likewise.
41864 (RCX_LP): Likewise.
41865 (RDI_LP): Likewise.
41866 (RSI_LP): Likewise.
41867 (RSP_LP): Likewise.
41868 (R8_LP): Likewise.
41869 (R9_LP): Likewise.
41870 (R10_LP): Likewise.
41871 (R10_LP): Likewise.
41872 (R11_LP): Likewise.
41873 (R12_LP): Likewise.
41874 (R13_LP): Likewise.
41875 (R14_LP): Likewise.
41876 (R15_LP): Likewise.
41877
b985be81
L
418782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * sysdeps/x86_64/x32/dl-machine.h: New file.
41881
6a4888ff
AJ
418822012-05-14 Andreas Jaeger <aj@suse.de>
41883
41884 * manual/Makefile (subdir): Remove export of subdir.
41885 (all): Remove target.
41886 (.PHONY): Remove all from list.
41887 (mkinstalldirs): Remove.
41888 (.PHONY): Remove installdirs from list.
41889 ($(inst_infodir)/libc.info): Use make-target-directory.
41890 (installdirs): Remove.
41891 (subdir_%): Remove.
41892 (glibc-targets): Remove.
41893 (lib): Remove.
41894 (stubs): Remove.
41895 ($(objpfx)stubs ../po/manual.pot): Remove.
41896 ($(objpfx)stamp%): Remove.
41897 (make-target-directory): Remove.
41898 (subdir_install): Remove.
41899 (routines): Remove.
41900 (aux): Remove.
41901 (sources): Remove.
41902 (objects): Remove.
41903 (headers): Remove.
41904
41905 [BZ #13750]
41906 * manual/.gitignore: Remove, it's not needed anymore.
41907 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41908 all files in it.
41909 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41910 directory.
41911 (texis): Renamed to $(objpfx)texis.
41912 (texis-path): New, contains path to generated files.
41913 (chapters.%): Use texis-path for complete path, add extra argument
41914 libc-texinfo.sh.
41915 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41916 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41917 (summary,texi, stamp-summary): Use complete path of
41918 files. Generate files in build dir.
41919 (dir-add.texi): Build in build dir.
41920 (libm-err.texi,stamp-libm-err): Likewise.
41921 (version.texi, stamp-version): Likewise.
41922 (.%c.texi): Likewise.
41923 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41924 (mostlyclean): Remove target.
41925 (realclean): Remove target.
41926 (generated): Add new variable with contents from mostlyclean and
41927 realclean, remove entries duplicated in common-mostlyclean, add
41928 stamp-libm-err and stamp-version.
41929 (generated-dirs): Add libc directory.
41930 ($(inst_infodir)/libc.info): Install files from build dir.
41931
41932 * manual/install.texi (Configuring and compiling): Adjust since
41933 the info files are not part of the tar ball anymore.
41934
7ac77294
AJ
419352012-05-14 Andreas Jaeger <aj@suse.de>
41936
41937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41938 variable.
41939
ffb7875d
JM
419402012-05-14 Joseph Myers <joseph@codesourcery.com>
41941
41942 [BZ #13717]
41943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41944 to 2.2.0 where earlier.
41945 * sysdeps/unix/sysv/linux/configure: Regenerated.
41946 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41947 Remove conditional code.
41948 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41949 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41950 Remove conditional code.
41951 [!__NR_lchown]: Likewise.
41952 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41953 [__NR_lchown]: Likewise.
41954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41955 comment referencing __ASSUME_LCHOWN_SYSCALL.
41956 * sysdeps/unix/sysv/linux/i386/sigaction.c
41957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41960 Remove conditional code.
41961 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41962 (__protocol_available): Remove #if 0 code.
41963 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41964 conditional code.
41965 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41966 * sysdeps/unix/sysv/linux/kernel-features.h
41967 (__ASSUME_GETCWD_SYSCALL): Don't define.
41968 (__ASSUME_REALTIME_SIGNALS): Likewise.
41969 (__ASSUME_PREAD_SYSCALL): Likewise.
41970 (__ASSUME_PWRITE_SYSCALL): Likewise.
41971 (__ASSUME_POLL_SYSCALL): Likewise.
41972 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41973 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41974 non-SPARC.
41975 (__ASSUME_SIOCGIFNAME): Don't define.
41976 (__ASSUME_MSG_NOSIGNAL): Likewise.
41977 (__ASSUME_SENDFILE): Define unconditionally.
41978 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41979 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41980 conditional code.
41981 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41982 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41984 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41987 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42012 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42013 Remove conditional code.
42014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42015 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42016 Remove conditional code.
42017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42019 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42020 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42021 Remove conditional code.
42022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42023 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42024 Remove conditional code.
42025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42026 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42027 Remove conditional code.
42028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42029 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42030 Remove conditional code.
42031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42032 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42033 Remove conditional code.
42034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42035 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42038 * sysdeps/unix/sysv/linux/sigaction.c
42039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42041 * sysdeps/unix/sysv/linux/sigpending.c
42042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42044 * sysdeps/unix/sysv/linux/sigprocmask.c
42045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42047 * sysdeps/unix/sysv/linux/sigsuspend.c
42048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42051 (__libc_missing_rt_sigs): Remove.
42052 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42053 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42054 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42055 Remove conditional code.
42056 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42057 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42058 return 1.
42059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42063
1bfb7291
AJ
420642012-05-14 Andreas Jaeger <aj@suse.de>
42065
caae5a81
AJ
42066 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42067 it's not used in glibc.
42068 (__coshm1): Likewise.
42069 (__acosh1p): Likewise.
42070 (__sgn): Likewise.
42071
1bfb7291
AJ
42072 * manual/string.texi (Copying and Concatenation): Add missing
42073 variable in concat example.
42074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42075
c044d724
L
420762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42077
144c5467 42078 [BZ #14103]
c044d724
L
42079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42080 __builtin_clzl with __builtin_clzll.
42081
2523c62b
L
420822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42083
42084 [BZ #14104]
42085 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42086 libc_freeres_ptr.
42087
d7bb4c42
LD
420882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42089
42090 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42091 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42092 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42094
9dc4e1fb
MF
420952012-05-14 Mike Frysinger <vapier@gentoo.org>
42096
42097 * NEWS: Update ia64 info.
42098
c7df0112
AS
420992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42100
42101 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42102 used as bcopy.
42103
dc70356c
TS
421042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42105
42106 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42107 * sysdeps/unix/syscalls.list (dup3): Likewise.
42108 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42109 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42110
9fb1a21f
L
421112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42112
42113 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42114 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42115
4822a2a5
L
421162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42117
42118 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42119 thread pointer.
42120 (TLS_IE): Use mov/add instead of movq/addq to load thread
42121 pointer.
42122 (TLS_GD_PREFIX): New.
42123 (TLS_GD): Use it.
42124
842b81d6
DM
421252012-05-11 David S. Miller <davem@davemloft.net>
42126
42127 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42128 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42129 (_FPU_SETCW): Likewise.
42130
1cf463cd
L
421312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42132
42133 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42134 is 32-byte aligned.
42135
60cc4a18
AS
421362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42137
42138 [BZ #11837]
42139 * iconvdata/gb18030.c: Update tables.
42140 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42141 characters specially.
42142 (BODY for TO_LOOP): Add encoding of missing ranges.
42143
febb44a4
TS
421442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42145
42146 [BZ #13673]
42147 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42148 * sysdeps/mach/hurd/dup3.c: Likewise.
42149 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42150 * sysdeps/powerpc/memmove.c:: Likewise.
42151
0a10fb9e
L
421522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42153
42154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42155 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42156
df8a552f
L
421572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42158
42159 * elf/elf.h (R_X86_64_RELATIVE64): New.
42160 (R_X86_64_NUM): Updated.
42161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42162 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42163 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42164 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42165 tst-quad1pie tst-quad2pie
42166 (modules-names): Add tst-quadmod1 tst-quadmod2.
42167 ($(objpfx)tst-quad1): New dependency.
42168 ($(objpfx)tst-quad2): Likewise.
42169 ($(objpfx)tst-quad1pie): Likewise.
42170 ($(objpfx)tst-quad2pie): Likewise.
42171 * sysdeps/x86_64/tst-quad1.c: New file.
42172 * sysdeps/x86_64/tst-quad1pie.c: New file.
42173 * sysdeps/x86_64/tst-quad2.c: Likewise.
42174 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42175 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42176 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42177 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42178 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42179
f34d6f84
ST
421802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42181
f42d41d1
ST
42182 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42183 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42184 * streams/stropts.h (t_scalar_t): Define type.
42185
3c3571fc
ST
42186 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42187 (_PATH_PRESERVE): Set to "/var/lib".
42188 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42189
61f06bd3
ST
42190 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42191 instead of int.
42192
918d4d71
ST
42193 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42194 if __dir_mkfile succeeded.
42195
f34d6f84
ST
42196 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42197 checking for _hurd_dtablesize. Unlock it right after having
42198 finished _hurd_dtable allocation.
42199
10589b4a
TS
422002012-05-10 Thomas Schwinge <thomas@schwinge.name>
42201
674cdbc7
TS
42202 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42203 * sysdeps/mach/hurd/configure: Regenerated.
42204 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42205 special-casing to...
42206 * sysdeps/gnu/configure.in: ... this new file.
42207 * sysdeps/unix/sysv/linux/configure: Regenerated.
42208 * sysdeps/gnu/configure: New generated file.
42209
8e41b99f
TS
42210 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42211 for Linux: use nsec instead of usec, as well as:
42212 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42213 members of type struct timespec.
42214 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42215 New macros.
42216 (struct stat64): Likewise.
42217 (_STATBUF_ST_NSEC): New macro.
42218 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42219
10589b4a
TS
42220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42221 __strtoul_internal rather than strtoul.
42222
63643c85
PT
422232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42224
42225 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42226 and reject them.
42227
3faebe6a
ST
422282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42229
42230 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42231 which preserves existing values.
42232 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42233
c6474b07
PT
422342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42235
42236 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42237 TIMEOUT values. Return EINVAL for NFDS values either negative or
42238 greater than FD_SETSIZE.
42239
1043890b
ST
422402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42241
42242 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42243 allocated, call __vm_protect to finish enabling the existing space, and
42244 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42245 allocate the remainder.
42246
37ed8b9b
PT
422472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42248
42249 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42250 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42251
db653660
ST
422522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42253
37ed8b9b
PT
42254 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42255 sysdeps/mach/hurd/readlink.c.
b29d4053 42256
db653660
ST
42257 * posix/tst-sysconf.c (posix_options): Only use
42258 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42259 _POSIX_SYNCHRONIZED_IO when they are defined
42260 * sysdeps/mach/hurd/bits/posix_opt.h:
42261 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42262 (_XOPEN_REALTIME): Undefine macro.
42263 (_XOPEN_REALTIME_THREADS): Undefine macro.
42264 (_XOPEN_SHM): Undefine macro.
42265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42266 macro to -1.
42267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42268 macro to -1.
42269 (_POSIX_ASYNC_IO): Undefine macro.
42270 (_POSIX_PRIORITIZED_IO): Undefine macro.
42271 (_POSIX_SPIN_LOCKS): Define macro to -1.
42272
ee16e894
ST
42273 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42274 SA_NODEFER, SA_RESETHAND.
42275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42276 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42277 F_DUPFD_CLOEXEC.
42278
6103ae3b
TS
422792012-05-10 Thomas Schwinge <thomas@schwinge.name>
42280
42281 * elf/Makefile (pldd-modules): Define unconditionally.
42282
80b4e5f3
TS
422832012-05-10 Thomas Schwinge <thomas@schwinge.name>
42284
42285 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42286
edadcbd6
ST
422872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42288
42289 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42290 Return ENOENT when name is empty.
42291 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42292
80694780
TS
422932012-05-10 Thomas Schwinge <thomas@schwinge.name>
42294
1792c087
TS
42295 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42296
80694780
TS
42297 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42298
6b645f0d
ST
422992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42300
80694780
TS
42301 Fix mlock in all cases except non-readable pages.
42302 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42303 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42304
6b645f0d
ST
42305 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42306 (__mkdir): When path is `/', just fail with EEXIST.
42307 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42308
e468f8a3
TS
423092012-05-10 Thomas Schwinge <thomas@schwinge.name>
42310
42311 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42312 <sys/uio.h> (for writev).
42313 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42314 and <sys/param.h> (for MIN).
42315
a4186cff
PT
423162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42317
42318 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42319 REQUESTED_TIME. Properly set the remaining time and return EINTR
42320 if interrupted.
42321
510bbf14
TS
423222012-05-10 Thomas Schwinge <thomas@schwinge.name>
42323
42324 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42325 Depend on against $(link-rpcuserlibs).
42326
5d5722e8
ST
423272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42328
a4186cff
PT
42329 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42330 (__libc_stack_end): Do not use attribute_relro.
42331 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42332 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42333 to libthread-provided value.
a4186cff
PT
42334 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42335 attribute_relro.
5d5722e8 42336
37233df9
TS
423372012-05-10 Thomas Schwinge <thomas@schwinge.name>
42338
be971a2b
TS
42339 [BZ #3748]
42340 * bits/libc-lock.h (__libc_once_get): New macro.
42341 * sysdeps/mach/bits/libc-lock.h: Likewise.
42342 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42344 instead of using implementation details.
42345
37233df9
TS
42346 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42347 * libio/freopen.c: Likewise.
42348 * libio/freopen64.c: Likewise.
42349 * misc/syslog.c: Likewise.
42350 * nscd/connections.c: Likewise.
42351 * nscd/netgroupcache.c: Likewise.
42352 * sysdeps/posix/getcwd.c: Likewise.
42353
38de94a5
RM
423542012-05-10 Roland McGrath <roland@hack.frob.com>
42355
42356 * math/w_ilogbf.c: Add #include <limits.h>.
42357
67530489
ST
423582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42359
a4186cff 42360 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42361 path instead of returning without unlocking.
42362
67530489
ST
42363 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42364 immediate-write ioctls.
42365 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42366
5aa3a74a
TS
423672012-05-10 Thomas Schwinge <thomas@schwinge.name>
42368
18bad2ae
TS
42369 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42370 __builtin_frame_address instead of making assumptions about the
42371 location of the return address relative to DATA. Force early load of
42372 the return address.
42373 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42374 __builtin_frame_address.
42375
5aa3a74a
TS
42376 dup3 for GNU Hurd.
42377 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42378 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42379 implement dup3 and do some further code clean-ups.
42380 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42381 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42382
ecd0de9a
ST
423832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42384
cd9fa985
ST
42385 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42386
a4186cff
PT
42387 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42388 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42389 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42390 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42391 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42392 d->port.lock.
802ca5a5 42393
a4186cff
PT
42394 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42395 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42396 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42397
bcf55240
TS
423982012-05-10 Thomas Schwinge <thomas@schwinge.name>
42399
6960eb42
TS
42400 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42401 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42402 definitions.
42403
eb43375f
TS
42404 accept4 for GNU Hurd.
42405 * include/sys/socket.h (__libc_accept4): New prototype.
42406 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42407 to implement __libc_accept4.
42408 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42409 __libc_accept4.
42410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42411
bcf55240
TS
42412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42413 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42414 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42415 signal-defines.sym.
42416
6178c55b
ST
424172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42418
a4186cff 42419 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42420
6f080c2f
TS
424212012-05-10 Thomas Schwinge <thomas@schwinge.name>
42422
42423 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42424 assertion on O_CLOEXEC flag.
42425 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42426 * hurd/intern-fd.c: Likewise.
42427 * hurd/port2fd.c: Likewise.
42428
bcfe3a54
ST
424292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42430
42431 [BZ #3906]
42432 * bits/in.h (IPV6_PKTINFO): Define new macro.
42433 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42434
89c9aa49
AZ
424352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42436
42437 [BZ #13954]
42438 [BZ #13955]
42439 [BZ #13956]
42440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42442 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42446 * math/libm-test.inc (logb_test) : Additional logb tests.
42447
021db4be
AJ
424482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42449 Andreas Jaeger <aj@suse.de>
42450
42451 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42452 * configure: Regenerated.
42453 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42454 * config.make.in (link-obsolete-rpc): New substituted variable.
42455 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42456 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42457 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42458 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42459 so that libc.a contains the symbols.
42460 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42461 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42462 * sunrpc/auth_none.c: Likewise.
42463 * sunrpc/auth_unix.c: Likewise.
42464 * sunrpc/authdes_prot.c: Likewise.
42465 * sunrpc/authuxprot.c: Likewise.
42466 * sunrpc/clnt_gen.c: Likewise.
42467 * sunrpc/clnt_perr.c: Likewise.
42468 * sunrpc/clnt_raw.c: Likewise.
42469 * sunrpc/clnt_simp.c: Likewise.
42470 * sunrpc/clnt_tcp.c: Likewise.
42471 * sunrpc/clnt_udp.c: Likewise.
42472 * sunrpc/clnt_unix.c: Likewise.
42473 * sunrpc/des_crypt.c: Likewise.
42474 * sunrpc/des_soft.c: Likewise.
42475 * sunrpc/get_myaddr.c: Likewise.
42476 * sunrpc/key_call.c: Likewise.
42477 * sunrpc/key_prot.c: Likewise.
42478 * sunrpc/netname.c: Likewise.
42479 * sunrpc/pm_getmaps.c: Likewise.
42480 * sunrpc/pm_getport.c: Likewise.
42481 * sunrpc/pmap_clnt.c: Likewise.
42482 * sunrpc/pmap_prot.c: Likewise.
42483 * sunrpc/pmap_prot2.c: Likewise.
42484 * sunrpc/pmap_rmt.c: Likewise.
42485 * sunrpc/publickey.c: Likewise.
42486 * sunrpc/rpc_cmsg.c: Likewise.
42487 * sunrpc/rpc_common.c: Likewise.
42488 * sunrpc/rpc_dtable.c: Likewise.
42489 * sunrpc/rpc_prot.c: Likewise.
42490 * sunrpc/rpc_thread.c: Likewise.
42491 * sunrpc/rtime.c: Likewise.
42492 * sunrpc/svc.c: Likewise.
42493 * sunrpc/svc_auth.c: Likewise.
42494 * sunrpc/svc_raw.c: Likewise.
42495 * sunrpc/svc_run.c: Likewise.
42496 * sunrpc/svc_tcp.c: Likewise.
42497 * sunrpc/svc_udp.c: Likewise.
42498 * sunrpc/svc_unix.c: Likewise.
42499 * sunrpc/svcauth_des.c: Likewise.
42500 * sunrpc/xcrypt.c: Likewise.
42501 * sunrpc/xdr.c: Likewise.
42502 * sunrpc/xdr_array.c: Likewise.
42503 * sunrpc/xdr_float.c: Likewise.
42504 * sunrpc/xdr_intXX_t.c: Likewise.
42505 * sunrpc/xdr_mem.c: Likewise.
42506 * sunrpc/xdr_rec.c: Likewise.
42507 * sunrpc/xdr_ref.c: Likewise.
42508 * sunrpc/xdr_sizeof.c: Likewise.
42509 * sunrpc/xdr_stdio.c: Likewise.
42510
b5c086a2
RM
425112012-05-10 Roland McGrath <roland@hack.frob.com>
42512
42513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42514 change. Update copyright years.
42515
6d74dd09
JM
425162012-05-10 Joseph Myers <joseph@codesourcery.com>
42517
42518 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42519
28e72501
MK
425202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42521 Joseph Myers <joseph@codesourcery.com>
42522 Paul Pluzhnikov <ppluzhnikov@google.com>
42523
42524 [BZ #14012]
42525 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42526 requiring rpcgen.
42527 [cross-compiling] (extra-libs): Likewise.
42528 [cross-compiling] (extra-libs-others): Likewise.
42529 [cross-compiling] (librpcsvc-routines): Likewise.
42530 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42531 [cross-compiling] (omit-deps): Likewise.
42532 (sunrpc-CPPFLAGS): New variable.
42533 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42534 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42535 (cross-rpcgen-objs): New variable.
42536 (extra-objs): Append $(cross-rpcgen-objs).
42537 ($(cross-rpcgen-objs)): New rule.
42538 ($(objpfx)cross-rpcgen): Likewise.
42539 (rpcgen-cmd): Define to use $(built-program-file). Expand
42540 comment.
42541 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42542 ($(objpfx)x%.stmp): Likewise.
42543 * sunrpc/proto.h [IS_IN_build] (_): Define.
42544 [IS_IN_build] (_libc_intl_domainname): Likewise.
42545
c8c59454
L
425462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42547
42548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42549 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42550 and R_X86_64_TPOFF64.
42551
6f27cd16
JM
425522012-05-10 Joseph Myers <joseph@codesourcery.com>
42553
42554 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42555 sysdeps/unix/sysv/syscalls.list.
42556 (stime): Likewise.
42557 (utime): Likewise.
42558 * sysdeps/unix/sysv/syscalls.list: Remove file.
42559
02467e1c
PE
425602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42561
42562 [BZ #3440]
42563 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42564 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42565 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42566 (__LC_IDENTIFICATION): Make these macros useful in #if
42567 expressions, as required by C99.
42568
da392631
AS
425692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42570
42571 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42572 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42573 after this.
42574
8115f29b
L
425752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42576
42577 * stdlib/longlong.h: Updated from GCC.
42578
bdd74070
AJ
425792012-05-09 Andreas Jaeger <aj@suse.de>
42580
edfe0dbe
AJ
42581 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42582 default is first entry.
42583 (run_mode): Set type.
42584 (main): Remove informal message about syslog.
42585 (options): Fix typo.
42586
bcfe3a54
ST
42587 [BZ #14053]
42588 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42589 to asm.
bcfe3a54
ST
42590 (lrint): Likewise.
42591 (llrintf): Likewise.
42592 (llrint): Likewise.
42593 (rint): Likewise.
42594 (rintf): Likewise.
42595 (nearbyint): Likewise.
42596 (nearbyintf): Likewise.
bdd74070 42597
91d8d69e
AJ
425982012-05-09 Andreas Jaeger <aj@suse.de>
42599 Pedro Alves <palves@redhat.com>
42600
42601 * nscd/nscd.c (run_mode): Use enum.
42602 (main): Cleanup coding style issue.
42603
bb90b80b
AJ
426042012-05-09 Alexandre Oliva <aoliva@redhat.com>
42605 Andreas Jaeger <aj@suse.de>
42606
bcfe3a54
ST
42607 * nscd/nscd.c (go_background): Replaced with...
42608 (run_mode): ... this.
bb90b80b 42609 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42610 (options): Add -F --foreground.
42611 (main): Implement it.
42612 (parse_opt): Parse it.
bb90b80b 42613
1a4b75a1
AJ
426142012-05-09 Andreas Jaeger <aj@suse.de>
42615
42616 [BZ #14083]
42617 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42618 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42619 -Wconversion warning.
42620 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42621 Likewise.
42622
b1cc2472
JM
426232012-05-09 Joseph Myers <joseph@codesourcery.com>
42624
42625 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42626 == 0.
42627 (LC_ALL): Use macro-int-constant.
42628 (LC_COLLATE): Likewise.
42629 (LC_CTYPE): Likewise.
42630 (LC_MESSAGES): Likewise.
42631 (LC_MONETARY): Likewise.
42632 (LC_NUMERIC): Likewise.
42633 (LC_TIME): Likewise.
42634 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42635 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42637 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42638 Specify type.
42639 [C99-based standards] (float_t): Expect type.
42640 [C99-based standards] (double_t): Expect type.
42641 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42642 type.
42643 [C99-based standards] (HUGE_VALL): Likewise.
42644 [C99-based standards] (INFINITY): Likewise.
42645 [C99-based standards] (NAN): Likewise.
42646 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42647 [C99-based standards] (FP_NAN): Likewise.
42648 [C99-based standards] (FP_NORMAL): Likewise.
42649 [C99-based standards] (FP_SUBNORMAL): Likewise.
42650 [C99-based standards] (FP_ZERO): Likewise.
42651 [C99-based standards] (FP_FAST_FMA): Use
42652 optional-macro-int-constant. Specify type. Require == 1.
42653 [C99-based standards] (FP_FAST_FMAF): Likewise.
42654 [C99-based standards] (FP_FAST_FMAL): Likewise.
42655 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42656 [C99-based standards] (FP_ILOGBNAN): Likewise.
42657 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42658 Specify type.
42659 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42660 [C99-based standards] (math_errhandling): Specify type.
42661 [ISO99 || ISO11] (signgam): Do not allow.
42662 [non-C99-based standards] (copysignf): Do not allow.
42663 [non-C99-based standards] (exp2f): Likewise.
42664 [non-C99-based standards] (log2f): Likewise.
42665 [non-C99-based standards] (modff): Allow.
42666 [non-C99-based standards] (erff): Do not allow.
42667 [non-C99-based standards] (erfcf): Likewise.
42668 [non-C99-based standards] (gammaf): Likewise.
42669 [non-C99-based standards] (hypotf): Likewise.
42670 [non-C99-based standards] (j0f): Likewise.
42671 [non-C99-based standards] (j1f): Likewise.
42672 [non-C99-based standards] (jnf): Likewise.
42673 [non-C99-based standards] (lgammaf): Likewise.
42674 [non-C99-based standards] (tgammaf): Likewise.
42675 [non-C99-based standards] (y0f): Likewise.
42676 [non-C99-based standards] (y1f): Likewise.
42677 [non-C99-based standards] (ynf): Likewise.
42678 [non-C99-based standards] (isnanf): Likewise.
42679 [non-C99-based standards] (acoshf): Likewise.
42680 [non-C99-based standards] (asinhf): Likewise.
42681 [non-C99-based standards] (atanhf): Likewise.
42682 [non-C99-based standards] (cbrtf): Likewise.
42683 [non-C99-based standards] (expm1f): Likewise.
42684 [non-C99-based standards] (ilogbf): Likewise.
42685 [non-C99-based standards] (log1pf): Likewise.
42686 [non-C99-based standards] (logbf): Likewise.
42687 [non-C99-based standards] (nextafterf): Likewise.
42688 [non-C99-based standards] (remainderf): Likewise.
42689 [non-C99-based standards] (rintf): Likewise.
42690 [non-C99-based standards] (scalbf): Likewise.
42691 [non-C99-based standards] (copysignl): Likewise.
42692 [non-C99-based standards] (exp2l): Likewise.
42693 [non-C99-based standards] (log2l): Likewise.
42694 [non-C99-based standards] (modfl): Allow.
42695 [non-C99-based standards] (erfl): Do not allow.
42696 [non-C99-based standards] (erfcl): Likewise.
42697 [non-C99-based standards] (gammal): Likewise.
42698 [non-C99-based standards] (hypotl): Likewise.
42699 [non-C99-based standards] (j0l): Likewise.
42700 [non-C99-based standards] (j1l): Likewise.
42701 [non-C99-based standards] (jnl): Likewise.
42702 [non-C99-based standards] (lgammal): Likewise.
42703 [non-C99-based standards] (tgammal): Likewise.
42704 [non-C99-based standards] (y0l): Likewise.
42705 [non-C99-based standards] (y1l): Likewise.
42706 [non-C99-based standards] (ynl): Likewise.
42707 [non-C99-based standards] (isnanl): Likewise.
42708 [non-C99-based standards] (acoshl): Likewise.
42709 [non-C99-based standards] (asinhl): Likewise.
42710 [non-C99-based standards] (atanhl): Likewise.
42711 [non-C99-based standards] (cbrtl): Likewise.
42712 [non-C99-based standards] (expm1l): Likewise.
42713 [non-C99-based standards] (ilogbl): Likewise.
42714 [non-C99-based standards] (log1pl): Likewise.
42715 [non-C99-based standards] (logbl): Likewise.
42716 [non-C99-based standards] (nextafterl): Likewise.
42717 [non-C99-based standards] (remainderl): Likewise.
42718 [non-C99-based standards] (rintl): Likewise.
42719 [non-C99-based standards] (scalbl): Likewise.
42720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42721 [non-C99-based standards] (FP_*): Do not allow.
42722 [C99-based standards] (FP_*): Change to
42723 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42724 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42725 allow.
42726 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42727 (SIG_ERR): Likewise.
42728 [X/Open-based standards] (SIG_HOLD): Likewise.
42729 (SIG_IGN): Likewise.
42730 (SIGABRT): Use macro-int-constant. Specify type. Require
42731 positive value.
42732 (SIGFPE): Likewise.
42733 (SIGILL): Likewise.
42734 (SIGINT): Likewise.
42735 (SIGSEGV): Likewise.
42736 (SIGTER): Likewise.
42737 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42738 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42739 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42740 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42741 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42742 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42743 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42749 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42751 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42752 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42753 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42754 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42755 [X/Open-based standards] (SIGTRAP): Likewise.
42756 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42757 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42758 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42759 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42760 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42761 allow.
42762
b9f1922d
IW
427632012-05-08 Ian Wienand <ianw@vmware.com>
42764
42765 [BZ #14080]
42766 * time/tzset.c (__tzset_parse_tz): Update default rules for
42767 daylight time changes in the Energy Policy Act of 2005.
42768
1db86e88
AJ
427692012-05-09 Andreas Jaeger <aj@suse.de>
42770
42771 [BZ #13983]
42772 * elf/ldconfig.c (parse_conf): Change string to make clear that
42773 ldconfig only issued a warning if ld.so.conf does not exist.
42774
dee4a4e3
DM
427752012-05-08 David S. Miller <davem@davemloft.net>
42776
ee0db190
DM
42777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42778 movxtod instead of popping the value on the stack.
42779
dee4a4e3
DM
42780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42781
6a43ec98
CD
427822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42783
42784 * config.h.in: Add HAVE_ARM_PCS_VFP.
42785
05c2c961
RMG
427862012-05-08 Roland Mc Grath <roland@hack.frob.com>
42787
bcfe3a54
ST
42788 [BZ #13979]
42789 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42790 checking but the checks are disabled for any reason.
05c2c961 42791
4b30f61a
L
427922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42793
42794 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42795 and ELF64_R_TYPE with ELFW(R_TYPE).
42796
eee2bc67
JM
427972012-05-08 Joseph Myers <joseph@codesourcery.com>
42798
7ea5391a
JM
42799 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42800 (ulimit): Likewise.
42801
eee2bc67
JM
42802 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42803 (settimeofday): Likewise.
42804
abb66a67
MF
428052012-05-08 Mike Frysinger <vapier@gentoo.org>
42806
42807 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42808 a struct th_u2 inside the union, and move tu_block/tu_code into
42809 a new th_u3 union of tu_block/tu_code inside of that. Move
42810 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42811 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42812 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42813 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42814 (th_stuff): Change to th_u1.tu_stuff.
42815 (th_data): Define.
42816 (th_msg): Change to th_u1.th_u2.tu_data.
42817
7f18b530
DM
428182012-05-07 David S. Miller <davem@davemloft.net>
42819
05760585
DM
42820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42821
7f18b530
DM
42822 [BZ #14074]
42823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42824 (SETUP_PIC_REG): Use it.
42825 (SETUP_PIC_REG_LEAF): Use it.
42826
495fd99f
JM
428272012-05-07 Joseph Myers <joseph@codesourcery.com>
42828
42829 [BZ #13885]
42830 [BZ #13923]
42831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42832 USE_AS_EXPM1L.
42833 (EXPL_FINITE): Likewise.
42834 (FLDLOG): Likewise.
42835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42836 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42837 e_expl.S.
42838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42839 USE_AS_EXPM1L.
42840 (EXPL_FINITE): Likewise.
42841 (FLDLOG): Likewise.
42842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42843 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42844 e_expl.S.
42845 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42846 test of -max_value argument for long double.
42847 * sysdeps/i386/fpu/libm-test-ulps: Update.
42848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42849
6693d694
DM
428502012-05-06 David S. Miller <davem@davemloft.net>
42851
42852 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42853 quad soft-float symbols whose references which are compiler
42854 generated.
42855 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42856
6c23e11c
JM
428572012-05-06 Joseph Myers <joseph@codesourcery.com>
42858
d8b82cad
JM
42859 [BZ #13884]
42860 [BZ #13914]
42861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42862 USE_AS_EXP10L.
42863 (EXPL_FINITE): Likewise.
42864 (FLDLOG): Likewise.
42865 (c0): Likewise.
42866 (c1): Likewise.
42867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42868 Adjust comments for base varying.
42869 (__expl_finite): Change alias to EXPL_FINITE.
42870 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42871 e_expl.S.
42872 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42873 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42875 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42877 USE_AS_EXP10L.
42878 (EXPL_FINITE): Likewise.
42879 (FLDLOG): Likewise.
42880 (c0): Likewise.
42881 (c1): Likewise.
42882 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42883 Adjust comments for base varying.
42884 (__expl_finite): Change alias to EXPL_FINITE.
42885 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42886 tests for bugs.
42887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42888
6c23e11c
JM
42889 [BZ #14064]
42890 * math/libm-test.inc (check_float_internal): Correct ulp
42891 calculation for subnormal expected results.
42892
29ba805c
AJ
428932012-05-06 Andreas Jaeger <aj@suse.de>
42894
42895 * Makeconfig (+math-flags): New, set to -frounding-math.
42896 (+cflags): Add +math-flags so that all of glibc gets compiled with
42897 it.
42898
42899 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42900
7b17aeda
JM
429012012-05-05 Joseph Myers <joseph@codesourcery.com>
42902
5779f134
JM
42903 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42904 Disable one test.
42905
41498f4d
JM
42906 [BZ #13787]
42907 [BZ #13922]
42908 [BZ #14036]
42909 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42910 (__ieee754_expl): Allow for and saturate large arguments.
42911 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42912 (u_threshold): Likewise.
42913 (__exp): Call __ieee754_exp before checking for overflow and
42914 underflow.
42915 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42916 (u_threshold): Likewise.
42917 (__expf): Call __ieee754_expf before checking for overflow and
42918 underflow.
42919 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42920 (u_threshold): Likewise.
42921 (__expl): Call __ieee754_expl before checking for overflow and
42922 underflow.
42923 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42924 (__ieee754_expl): Allow for and saturate large arguments.
42925 * math/libm-test.inc (exp_test): Add another test. Do not allow
42926 missing overflow exception on overflow.
42927 (expm1_test): Do not allow missing overflow exception on overflow.
42928
6698b8bf
JM
42929 * sysdeps/i386/fpu/e_expl.c: Move to ...
42930 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42931 rather than using inline asm.
42932 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42933 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42934 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42935
7b17aeda
JM
42936 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42937 (nice): Likewise.
42938 (poll): Likewise.
42939 (signal): Likewise.
42940 (time): Likewise.
42941 (times): Likewise.
42942
f7c85819
JM
429432012-05-04 Joseph Myers <joseph@codesourcery.com>
42944
42945 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42946 sysdeps/unix/common/syscalls.list.
42947 (fchmod): Likewise.
42948 (fchown): Likewise.
42949 (ftruncate): Likewise.
42950 (getrusage): Likewise.
42951 (gettimeofday): Likewise.
42952 (setpgid): Likewise.
42953 (setregid): Likewise.
42954 (setreuid): Likewise.
42955 (sigaction): Likewise.
42956 (truncate): Likewise.
42957 (vhangup): Likewise.
42958 * sysdeps/unix/common/syscalls.list: Remove file.
42959 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42960 * sysdeps/unix/sysv/linux/Implies: Likewise.
42961
336270d0
L
429622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42963
42964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42967 Moved to ...
42968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42969 Here.
42970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42971 to ...
42972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42974 to ...
42975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42977 to ...
42978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42980 to ...
42981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42983 to ...
42984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42986 to ...
42987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42989 to ...
42990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42991 Here.
42992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42993 to ...
42994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42995 Here.
42996 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42997 to ...
42998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43000 Moved to ...
43001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43002 Here.
43003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43004 to ...
43005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43006
d128e450
JM
430072012-05-04 Joseph Myers <joseph@codesourcery.com>
43008
fa8ee516
JM
43009 * sysdeps/unix/common/bits/dirent.h: Remove file.
43010 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43011
d128e450
JM
43012 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43013 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43014 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43015 * sysdeps/unix/bsd/isatty.c: Likewise.
43016 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43017 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43018 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43019
ff8faaf0 430202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43021
62881be4 43022 [BZ #13563]
31dc8730
AZ
43023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43024 long double comparison inaccuracies.
43025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43027
6fef930c
AS
430282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43029
43030 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43032
8f203e6c
JM
430332012-05-04 Joseph Myers <joseph@codesourcery.com>
43034
43035 [BZ #14049]
43036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43037 nonzero digits before rounding a hex value.
43038 * stdlib/tst-strtod.c (tests): Add another test.
43039
5197d9c2
AK
430402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43041
43042 * sysdeps/s390/fpu/libm-test-ulps: Update.
43043
f0c1dedf
AJ
430442012-05-03 Andreas Jaeger <aj@suse.de>
43045
43046 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43047 does not get optimized out.
43048 (malloc_opt_barrier): New.
43049
a65ef2ae 430502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43051 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43052
2b942cb7 43053 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43054 intermediate file deletion.
2b942cb7 43055 (generated): Add .symlist files.
a65ef2ae 43056
54b71e02
JM
430572012-05-03 Joseph Myers <joseph@codesourcery.com>
43058
43059 [BZ #13775]
43060 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43061 Redirect under this condition.
43062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43063 [__USE_GNU] (__dprintf_chk): Not under this condition.
43064 [__USE_GNU] (__vdprintf_chk): Likewise.
43065 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43066 under this condition.
43067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43068 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43069 [__USE_XOPEN2K8] (vdprintf): Likewise.
43070 [__USE_GNU] (__dprintf_chk): Not under this condition.
43071 [__USE_GNU] (__vdprintf_chk): Likewise.
43072 [__USE_GNU] (dprintf): Likewise.
43073 [__USE_GNU] (vdprintf): Likewise.
43074
d3dfcc41
RM
430752012-05-03 Roland McGrath <roland@hack.frob.com>
43076
43077 * elf/Makefile (common-generated): Set this instead of generated for
43078 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43079 $(all-built-dso)-derived lists.
43080
7ac30cc5
AJ
430812012-05-03 Andreas Jaeger <aj@suse.de>
43082
0c51e550
AJ
43083 * sysdeps/i386/fpu/libm-test-ulps: Update.
43084
7ac30cc5
AJ
43085 * FAQ: Removed.
43086 * FAQ.in: Likewise.
43087 * scripts/gen-FAQ.pl: Likewise.
43088 * manual/install.texi (Installation): Point to online location of
43089 FAQ.
43090 * Makefile (files-for-dist): Remove FAQ.
43091 (FAQ): Remove.
43092
d4c2917f
AM
430932012-05-02 Allan McRae <allan@archlinux.org>
43094
43095 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43096 (LDFLAGS-reldepmod5.so): Likewise.
43097 (LDFLAGS-reldep6mod1.so): Likewise.
43098 (LDFLAGS-reldep6mod4.so): Likewise.
43099 (LDFLAGS-reldep8mod3.so): Likewise.
43100 (LDFLAGS-unload4mod1.so): Likewise.
43101 (LDFLAGS-unload4mod2.so): Likewise.
43102 (LDFLAGS-tst-initorder): Likewise.
43103 (LDFLAGS-tst-initordera2.so): Likewise.
43104 (LDFLAGS-tst-initordera3.so): Likewise.
43105 (LDFLAGS-tst-initordera4.so): Likewise.
43106 (LDFLAGS-tst-initorderb2.so): Likewise.
43107 (LDFLAGS-noload): Likewise.
43108 (LDFLAGS-next): Likewise.
43109 (LDFLAGS-order2mod1.so): Likewise.
43110 (LDFLAGS-order2mod2.so): Likewise.
43111 (LDFLAGS-tst-initorder2): Likewise.
43112 (LDFLAGS-tst-initorder2a.so): Likewise.
43113 (LDFLAGS-tst-initorder2b.so): Likewise.
43114 (LDFLAGS-tst-initorder2c.so): Likewise.
43115 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43116
d77f993f
DM
431172012-05-02 David S. Miller <davem@davemloft.net>
43118
43119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43120
171a70b4
PP
431212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43122
43123 [BZ #14055]
43124 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43125
0be196ad
AJ
431262012-05-02 Andreas Jaeger <aj@suse.de>
43127
43128 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43129 since we manipulate rounding mode.
43130 (CPPFLAGS-test-idouble.c): Likewise.
43131 (CPPFLAGS-test-ifloat.c): Likewise.
43132 (CFLAGS-test-ldouble.c): Likewise.
43133 (CFLAGS-test-double.c): Likewise.
43134 (CFLAGS-test-float.c): Likewise.
43135 (CFLAGS-test-misc.c): Likewise.
43136 (CFLAGS-test-test-fenv.c): Likewise.
43137
4f9d04aa
AZ
431382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43139
2b942cb7
RM
43140 [BZ #2550]
43141 [BZ #2570]
43142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43143 comparisons to determine direction to adjust input.
4f9d04aa 43144
82a79e7d
RM
431452012-05-01 Roland McGrath <roland@hack.frob.com>
43146
f5a01ca9
RM
43147 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43148 output to the target.
43149
90fe4186
RM
43150 * scripts/localplt.awk: New file.
43151 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43152 (check-localplt-CFLAGS): Variable removed.
43153 ($(all-built-dso:=.jmprel)): New static pattern rule.
43154 (generated): Add those targets.
43155 (localplt-built-dso): New variable.
43156 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43157
43158 * elf/check-localplt.c: File removed.
43159
82397ed6
RM
43160 * scripts/check-execstack.awk: New file.
43161 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43162 (check-execstack-CFLAGS): Variable removed.
43163 ($(objpfx)check-execstack.h): Target removed.
43164 ($(objpfx)execstack-default): New target.
43165 (generated): Add that instead of check-execstack.h.
43166 ($(all-built-dso:=.phdr)): New static pattern rule.
43167 (generated): Add those targets.
43168 * elf/check-execstack.c: File removed.
43169
82a79e7d
RM
43170 * scripts/check-textrel.awk: New file.
43171 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43172 (check-textrel-CFLAGS): Variable removed.
43173 (all-built-dso): Use := to define.o
43174 ($(all-built-dso:=.dyn)): New static pattern rule.
43175 (generated): Add those targets.
43176 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43177 * config.make.in (READELF): New substituted variable.
43178 * elf/check-textrel.c: File removed.
43179
62fde54f 431802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43181
615605c9
JM
43182 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43183 allow.
43184 * conform/data/ctype.h-data [C99-based standards] (isblank):
43185 Expect function.
43186 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43187 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43189 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43190 Specify type. Require positive value.
43191 (EILSEQ): Likewise.
43192 (ERANGE): Likewise.
43193 [ISO || POSIX] (EILSEQ): Do not expect.
43194 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43195 Specify type. Require positive value.
43196 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43197 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43198 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43199 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43200 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43201 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43202 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43203 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43204 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43205 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43206 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43207 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43208 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43209 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43210 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43211 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43212 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43213 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43214 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43215 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43216 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43217 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43218 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43219 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43220 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43221 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43222 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43223 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43224 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43225 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43226 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43227 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43228 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43229 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43230 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43231 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43232 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43233 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43234 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43235 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43236 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43237 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43238 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43239 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43240 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43241 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43242 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43243 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43244 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43245 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43246 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43247 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43248 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43249 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43250 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43251 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43252 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43253 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43254 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43255 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43256 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43257 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43258 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43259 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43260 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43261 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43262 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43263 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43264 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43265 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43266 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43267 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43268 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43269 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43270 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43271 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43272 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43273 Require >= 2.
43274 (FLT_ROUNDS): Expect as macro, not constant.
43275 (FLT_MANT_DIG): Use macro-int-constant.
43276 (DBL_MANT_DIG): Likewise.
43277 (LDBL_MANT_DIG): Likewise.
43278 (FLT_DIG): Likewise.
43279 (DBL_DIG): Likewise.
43280 (LDBL_DIG): Likewise.
43281 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43282 (DBL_MIN_EXP): Likewise.
43283 (LDBL_MIN_EXP): Likewise.
43284 (FLT_MAX_EXP): Use macro-int-constant.
43285 (DBL_MAX_EXP): Likewise.
43286 (LDBL_MAX_EXP): Likewise.
43287 (FLT_MAX_10_EXP): Likewise.
43288 (DBL_MAX_10_EXP): Likewise.
43289 (LDBL_MAX_10_EXP): Likewise.
43290 (FLT_MAX): Use macro-constant.
43291 (DBL_MAX): Likewise.
43292 (LDBL_MAX): Likewise.
43293 (FLT_EPSILON): Use macro-constant. Give upper bound.
43294 (DBL_EPSILON): Likewise.
43295 (LDBL_EPSILON): Likewise.
43296 (FLT_MIN): Likewise.
43297 (DBL_MIN): Likewise.
43298 (LDBL_MIN): Likewise.
43299 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43300 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43301 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43302 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43303 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43304 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43305 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43306 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43307 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43308 [ISO11] (FLT_TRUE_MIN): Likewise.
43309 [ISO11] (LDBL_TRUE_MIN): Likewise.
43310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43311 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43312 (SCHAR_MIN): Use macro-int-constant. Specify type.
43313 (SCHAR_MAX): Likewise.
43314 (UCHAR_MAX): Likewise.
43315 (CHAR_MIN): Likewise.
43316 (CHAR_MAX): Likewise.
43317 (MB_LEN_MAX): Use macro-int-constant.
43318 (SHRT_MIN): Use macro-int-constant. Specify type.
43319 (SHRT_MAX): Likewise.
43320 (USHRT_MAX): Likewise.
43321 (INT_MAX): Likewise.
43322 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43323 bound negative.
43324 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43325 bound with "U".
43326 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43327 bound with "L".
43328 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43329 bound negative. Suffix upper bound with "L".
43330 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43331 bound with "UL".
43332 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43333 Specify type.
43334 [C99-based standards] (LLONG_MAX): Likewise.
43335 [C99-based standards] (ULLONG_MAX): Likewise.
43336 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43337 == 0.
43338 [ISO11] (max_align_t): Require type.
43339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43340
c9140a62
JM
43341 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43342 from $CFLAGS, without defining away __attribute__ calls.
43343 (checknamespace): Use $CFLAGS_namespace.
43344
9af0bf29
JM
43345 * conform/conformtest.pl (@keywords): Only include C99 keywords
43346 for standards based on C99 or C11.
43347
343222a2
JM
43348 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43349 Disable tests.
43350 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43351 UNIX98]: Likewise.
43352
661f8cf0
JM
43353 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43354 usability of symbols in #if.
43355
ee74b9cb
JM
43356 * conform/conformtest.pl: If macro or constant types start
43357 "promoted:", expect the symbol to be of the following type
43358 promoted by the integer promotions.
62fde54f 43359
aafc49b3
JM
43360 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43361 in one place. Also handle "macro-constant".
43362
fefdf574
JM
43363 * conform/conformtest.pl: Only accept expected macro values with
43364 "==". Parse all "macro" lines in one place.
43365 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43366
f2d922fe
JM
43367 * conform/conformtest.pl: Handle braced types on "constant" lines
43368 instead of handling "typed-constant".
43369 * conform/data/signal.h-data: Use "constant" instead of
43370 "typed-constant".
43371
d22956c9
JM
43372 * conform/conformtest.pl: Handle "optional-" at start of lines in
43373 one place rather than duplicating several cases. Handle each
43374 format of "macro" line with initial "optional-".
43375
028e2e38
JM
43376 * conform/conformtest.pl: Only accept expected constant or
43377 optional-constant values with "==". Parse all "constant" lines in
43378 one place. Parse all "optional-constant" lines in one place.
43379 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43380 * conform/data/fmtmsg.h-data: Likewise.
43381 * conform/data/netinet/in.h-data: Likewise.
43382 * conform/data/tar.h-data: Likewise.
43383 * conform/data/limits.h-data: Use "==" form on "constant" and
43384 "optional-constant" lines.
43385
1b8f2850
JM
43386 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43387 Use -std=c99 for XOPEN2K.
43388 (@knownproblems): Remove.
43389 (newtoken): Don't check %isknown.
43390
a05a144b
JM
43391 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43392 Do not expect macro.
43393 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43394 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43395 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43396 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43397 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43398 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43399 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43400 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43401 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43402 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43403 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43404 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43405 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43406 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43407 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43408 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43409 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43410 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43411 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43412 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43413 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43417 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43418 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43419 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43420 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43421 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43422 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43423 [XPG3] (acosh): Likewise.
43424 [XPG3] (asinh): Likewise.
43425 [XPG3] (atanh): Likewise.
43426 [XPG3] (cbrt): Likewise.
43427 [XPG3] (expm1): Likewise.
43428 [XPG3] (ilogb): Likewise.
43429 [XPG3] (log1p): Likewise.
43430 [XPG3] (logb): Likewise.
43431 [XPG3] (nextafter): Likewise.
43432 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43433 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43434 [XPG3] (remainder): Likewise.
43435 [XPG3] (rint): Likewise.
43436 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43437 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43438 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43439 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43440 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43441 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43442 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43443 [UNIX98 || XOPEN2K] (scalb): Expect.
43444 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43445 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43446 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43447 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43448 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43449 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43450 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43451 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43452 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43453 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43454 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43455 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43456 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43457 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43458 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43459 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43460 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43461 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43462 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43463 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43464 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43465 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43466 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43467 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43468 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43469 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43470 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43471 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43472 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43473 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43474 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43475 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43476 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43477 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43478 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43479 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43480 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43481 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43482 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43483 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43484 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43485 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43486 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43487 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43488 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43489 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43490 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43491 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43492 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43493 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43494 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43495 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43496 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43497 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43498 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43499 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43500 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43501 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43506 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43507 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43508 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43509 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43510 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43511 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43512 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43513 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43514 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43515 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43516 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43517 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43518 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43519 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43520 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43521 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43522 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43524 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43525 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43526 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43527 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43528 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43529 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43530 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43531 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43532 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43533 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43534 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43535 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43536 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43537 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43538 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43539 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43540 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43541 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43542 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43543 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43544 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43545 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43546 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43547 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43548 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43549 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43550 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43551 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43553 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43554 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43555 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43556 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43557 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43558 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43559 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43560 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43562 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43563 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43564 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43565 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43566 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43567 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43568 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43569 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43570 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43571 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43572 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43573 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43574 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43581
73c5ebe3
JM
43582 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43583 _XOPEN_SOURCE_EXTENDED for XPG4.
43584
39c33b6c
JM
43585 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43586
62fde54f
JM
43587 * Makeconfig (localtime): Remove variable.
43588 (inst_localtime-file): Likewise.
43589
0741d64c
AS
435902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43591
43592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43593 Update.
43594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43595 Update.
43596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43597 Update.
43598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43599 Update.
43600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43601 Update.
43602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43603 Update.
43604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43605 Update.
43606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43607 Update.
43608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43609 Update.
43610
7cb029ee
JM
436112012-05-01 Joseph Myers <joseph@codesourcery.com>
43612
43613 [BZ #2550]
43614 [BZ #2570]
43615 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43616 comparisons to determine direction to adjust input.
43617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43618 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43620 Likewise.
43621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43622 Likewise.
43623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43624 Likewise.
43625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43627 Likewise.
43628 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43629 Likewise.
43630 * math/libm-test.inc (nexttoward_test): Add more tests.
43631
412bd966
AS
436322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43633
43634 [BZ #14040]
43635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43636 in version GLIBC_2.1, not GLIBC_2.0.
43637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43638 Likewise.
43639
9568c0c2
JM
436402012-04-30 Joseph Myers <joseph@codesourcery.com>
43641
adfbc8ac
JM
43642 [BZ #13942]
43643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43644 (1 - x) * (1 + x).
43645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43646 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43647 * math/libm-test.inc (acos_test): Add more tests.
43648 (asin_test): Likewise.
43649 * sysdeps/i386/fpu/libm-test-ulps: Update.
43650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43651
5ba3cc69
JM
43652 [BZ #14034]
43653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43654 of square root.
43655 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43656 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43657 * math/libm-test.inc (acos_test_tonearest): New function.
43658 (acos_test_towardzero): Likewise.
43659 (acos_test_downward): Likewise.
43660 (acos_test_upward): Likewise.
43661 (asin_test_tonearest): Likewise.
43662 (asin_test_towardzero): Likewise.
43663 (asin_test_downward): Likewise.
43664 (asin_test_upward): Likewise.
43665 (main): Call the new functions.
43666 * sysdeps/i386/fpu/libm-test-ulps: Update.
43667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43668
9568c0c2
JM
43669 [BZ #13884]
43670 [BZ #13924]
43671 * math/e_exp10.c: Include <float.h>.
43672 (__ieee754_exp10): Handle underflow here rather than multiplying
43673 large negative argument by M_LN10.
43674 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43675 of __ieee754_expf.
43676 * math/e_exp10l.c: Include <float.h>.
43677 (__ieee754_exp10l): Handle underflow here rather than multiplying
43678 large negative argument by M_LN10l.
43679 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43680 spurious overflow exception on underflow.
43681
5ac3ea17
MP
436822012-04-29 Marek Polacek <polacek@redhat.com>
43683
43684 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43685 (__fortify_function): New macro.
43686 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43687 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43688 __extern_always_inline.
43689 * libio/bits/stdio2.h: Likewise.
43690 * libio/bits/stdio.h: Likewise.
43691 * string/string.h: Likewise.
43692 * string/bits/string3.h: Likewise.
43693 * include/stdio.h: Likewise.
43694 * stdlib/bits/stdlib.h: Likewise.
43695 * stdlib/stdlib.h: Likewise.
43696 * rt/bits/mqueue2.h: Likewise.
43697 * rt/mqueue.h: Likewise.
43698 * posix/bits/unistd.h: Likewise.
43699 * posix/unistd.h: Likewise.
43700 * io/bits/poll2.h: Likewise.
43701 * io/bits/fcntl2.h: Likewise.
43702 * io/fcntl.h: Likewise.
43703 * io/sys/poll.h: Likewise.
43704 * misc/bits/syslog.h: Likewise.
43705 * misc/bits/syslog-ldbl.h: Likewise.
43706 * misc/sys/syslog.h: Likewise.
43707 * socket/bits/socket2.h: Likewise.
43708 * socket/sys/socket.h: Likewise.
43709 * debug/tst-chk1.c: Likewise.
43710 * wcsmbs/bits/wchar2.h: Likewise.
43711 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43712 * wcsmbs/wchar.h: Likewise.
43713
ecf0ebfb
AJ
437142012-04-29 Andreas Jaeger <aj@suse.de>
43715
43716 * Makerules (tests): Remove enable-check-abi protection.
43717 (check-abi-warn): Remove.
43718 (check-abi-%): Remove check-abi-warn usage.
43719
43720 * configure.in: Remove check-abi configure option.
43721 * configure: Regenerated.
43722 * config.make.in (enable-check-abi): Remove.
43723
6d5c57fa
AS
437242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43725
24c5d07e 43726 [BZ #14033]
ded5180a
AS
43727 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43728 double functions to double *_finite functions.
43729
7e0d315d
AS
43730 [BZ #13941]
43731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43732 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43733 LDBL_MIN_EXP.
43734 * stdio-common/Makefile (tests): Add tst-sprintf3.
43735 * stdio-common/tst-sprintf3.c: New file.
43736
6d5c57fa
AS
43737 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43738 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43739
0749ff8b
JM
437402012-04-28 Joseph Myers <joseph@codesourcery.com>
43741
43742 * conform/conformtest.pl: Remove duplicate typed-constant
43743 handling.
43744
8dbd5d7b
DM
437452012-04-28 David S. Miller <davem@davemloft.net>
43746
43747 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43748 (check-abi-%): Remove AWK script prerequisite and explicit
43749 abilist directory.
43750 (check-abi): Rewrite to just diff the symlist with the abilist.
43751 (config-tls, config-abi-config): Delete, no longer used.
43752 (update-abi-%): Remove AWK script and explicit abilist directory.
43753 (update-abi): Rewrite to simply compare and conditionally copy the
43754 symlist and the sysdep abilist file. Remove update-abi-config
43755 checks.
43756 * abilist/ld.abilist: Remove.
43757 * abilist/libBrokenLocale.abilist: Remove.
43758 * abilist/libanl.abilist: Remove.
43759 * abilist/libcrypt.abilist: Remove.
43760 * abilist/libdl.abilist: Remove.
43761 * abilist/librt.abilist: Remove.
43762 * abilist/libthread_db.abilist: Remove.
43763 * abilist/libutil.abilist: Remove.
43764 * scripts/extract-abilist.awk: Remove.
43765 * scripts/merge-abilist.awk: Remove.
43766 * sysdeps/generic/libcidn.abilist: New file.
43767 * sysdeps/generic/libnss_compat.abilist: New file.
43768 * sysdeps/generic/libnss_db.abilist: New file.
43769 * sysdeps/generic/libnss_dns.abilist: New file.
43770 * sysdeps/generic/libnss_files.abilist: New file.
43771 * sysdeps/generic/libnss_hesiod.abilist: New file.
43772 * sysdeps/generic/libnss_nis.abilist: New file.
43773 * sysdeps/generic/libnss_nisplus.abilist: New file.
43774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43777 file.
43778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43780 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43782 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43787 file.
43788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43789 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43790 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43791 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43792 file.
43793 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43796 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43798 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43799 file.
43800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43803 file.
43804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43806 New file.
43807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43808 New file.
43809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43810 New file.
43811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43812 New file.
43813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43814 New file.
43815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43816 New file.
43817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43818 New file.
43819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43820 New file.
43821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43822 New file.
43823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43824 New file.
43825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43826 New file.
43827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43828 New file.
43829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43830 New file.
43831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43832 file.
43833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43834 New file.
43835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43836 New file.
43837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43838 file.
43839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43840 New file.
43841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43842 New file.
43843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43844 file.
43845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43846 New file.
43847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43848 New file.
43849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43850 New file.
43851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43852 New file.
43853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43854 New file.
43855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43856 New file.
43857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43859 file.
43860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43861 New file.
43862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43863 file.
43864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43865 file.
43866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43867 file.
43868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43869 file.
43870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43871 file.
43872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43873 New file.
43874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43875 file.
43876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43877 file.
43878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43879 New file.
43880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43881 file.
43882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43884 file.
43885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43886 New file.
43887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43888 file.
43889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43890 file.
43891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43892 file.
43893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43894 file.
43895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43896 file.
43897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43898 New file.
43899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43900 file.
43901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43902 file.
43903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43904 New file.
43905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43906 file.
43907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43908 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43909 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43910 file.
43911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43912 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43915 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43916 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43917 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43919 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43920 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43923 file.
43924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43925 New file.
43926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43927 file.
43928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43929 file.
43930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43931 file.
43932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43933 file.
43934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43935 file.
43936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43937 New file.
43938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43939 New file.
43940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43941 file.
43942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43943 New file.
43944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43945 file.
43946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43948 file.
43949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43950 New file.
43951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43952 file.
43953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43954 file.
43955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43956 file.
43957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43958 file.
43959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43960 file.
43961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43962 New file.
43963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43964 New file.
43965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43966 file.
43967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43968 New file.
43969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43970 file.
43971
41d73a1b
JM
439722012-04-28 Joseph Myers <joseph@codesourcery.com>
43973
43974 * conform/conformtest.pl: Fix typo in handling typed-constant from
43975 allow-header.
43976
28aeeda4
JM
439772012-04-27 Joseph Myers <joseph@codesourcery.com>
43978
adae8f5e
JM
43979 * README: Cut down references to pre-2.6 Linux kernels and
43980 Linuxthreads. Update lists of configurations in libc and ports
43981 and sort alphabetically. Say "or newer" with Linux kernel version
43982 requirements.
43983
28aeeda4
JM
43984 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43985
a462cb63
RA
439862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43987
43988 [BZ #887]
43989 * math/libm-test.inc (logb_test_downward): New test to expose
43990 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43991 rounding mode.
43992
6ad3493e
JM
439932012-04-27 Joseph Myers <joseph@codesourcery.com>
43994
43995 [BZ #14027]
43996 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43997 to be done.
43998 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43999 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44000
2ce4f015
JM
440012012-04-26 Joseph Myers <joseph@codesourcery.com>
44002
5aeb141a
JM
44003 * sysdeps/unix/i386/brk.S: Remove file.
44004 * sysdeps/unix/i386/dl-brk.S: Likewise.
44005 * sysdeps/unix/i386/pipe.S: Likewise.
44006 * sysdeps/unix/i386/sigreturn.S: Likewise.
44007 * sysdeps/unix/i386/syscall.S: Likewise.
44008 * sysdeps/unix/i386/vfork.S: Likewise.
44009 * sysdeps/unix/i386/wait.S: Likewise.
44010
7143acae
JM
44011 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44012 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44013
2ce4f015
JM
44014 * configure.in (arm*-none*): Do not allow without
44015 --enable-hacker-mode.
44016 (netbsd*): Remove case setting base_os.
44017 (386bsd*): Likewise.
44018 (freebsd*): Likewise.
44019 (bsdi*): Likewise.
44020 (osf*): Likewise.
44021 (sunos*): Likewise.
44022 (ultrix*): Likewise.
44023 (newsos*): Likewise.
44024 (dynix*): Likewise.
44025 (*bsd*): Likewise.
44026 (sysv*): Likewise.
44027 (isc*): Likewise.
44028 (esix*): Likewise.
44029 (sco*): Likewise.
44030 (minix*): Likewise.
44031 (irix4*): Likewise.
44032 (irix6*): Likewise.
44033 (solaris[2-9]*): Likewise.
44034 (none): Likewise.
44035 * configure: Regenerated.
44036
0ac229c8
AZ
440372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44038
44039 [BZ #11521]
44040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44041 overflow or cancellation in calculating denominator.
44042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44044 down expression to avoid unexpected rounding in newer GCCs.
44045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44046
33f244f4
DM
440472012-04-26 David S. Miller <davem@davemloft.net>
44048
44049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44050 long-double compat symbols.
44051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44064
cfa1f3e8
DM
440652012-04-25 David S. Miller <davem@davemloft.net>
44066
44067 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44068 HWCAP_* values only after the memory barriers have been defined.
44069 (atomic_full_barrier): Define.
44070 (atomic_read_barrier): Define.
44071 (atomic_write_barrier): Define.
44072
6e236b92
SP
440732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44074
44075 * shlib-versions: Add libgcc_s version information.
44076 * sysdeps/generic/libgcc_s.h: Remove.
44077 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44078 libgcc_s.h.
44079 * sysdeps/gnu/unwind-resume.c: Likewise.
44080 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44081
aab39a09
DM
440822012-04-25 David S. Miller <davem@davemloft.net>
44083
44084 * sysdeps/unix/sparc/brk.S: Delete.
44085 * sysdeps/unix/sparc/dl-brk.S: Delete.
44086 * sysdeps/unix/sparc/pipe.S: Delete.
44087 * sysdeps/unix/sparc/sysdep.S: Delete.
44088 * sysdeps/unix/sparc/sysdep.h: Delete.
44089 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44091 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44093 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44094 (JUMPTARGET): Remove.
44095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44096 sysdeps/unix/sparc/sysdep.h
44097 (ENTRY, END): Remove.
44098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44099
a3cc4f48
JM
441002012-04-25 Joseph Myers <joseph@codesourcery.com>
44101
2ed8cda2
JM
44102 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44103 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44104 -DIS_IN_build.
44105
35d76d59
JM
44106 * timezone/README: Update upstream location and email address for
44107 tzcode and tzdata.
44108 * timezone/zdump.c: Update from tzcode 2012b.
44109 * timezone/zic.c: Likewise.
44110
a3cc4f48
JM
44111 * configure.in (libc_cv_as_needed): Remove test.
44112 * configure: Regenerated.
44113 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44114 conditional definition.
44115 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44116 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44117 * config.make.in (have-as-needed): Remove variable.
44118
ceab42c3
SP
441192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44120 Paul Pluzhnikov <ppluzhnikov@google.com>
44121
44122 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44123 strings correctly.
44124
3ce2865f
CLT
441252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44126
44127 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44128 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44129 * sysdeps/sh/strlen.S: Likewise.
44130
f37e0d68
JM
441312012-04-24 Joseph Myers <joseph@codesourcery.com>
44132
ae186e9a
JM
44133 * sysdeps/unix/fork.S: Remove file.
44134 * sysdeps/unix/i386/fork.S: Likewise.
44135 * sysdeps/unix/sparc/fork.S: Likewise.
44136
b96914af
JM
44137 * sysdeps/unix/system.c: Remove file.
44138 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44139
f37e0d68
JM
44140 * sysdeps/unix/getegid.S: Remove file.
44141 * sysdeps/unix/geteuid.S: Likewise.
44142
87ef29ca
RM
441432012-04-24 Roland McGrath <roland@hack.frob.com>
44144
83bcd236
RM
44145 * scripts/check-localplt.awk: New file.
44146 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44147 of diff.
44148 * scripts/data/localplt-generic.data: Add a comment.
44149
87ef29ca
RM
44150 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44151 NODE when __dir_mkfile failed.
44152 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44153 Reported by Ludovic Courtès <ludo@gnu.org>.
44154
e5a6e567
AJ
441552012-04-24 Andreas Jaeger <aj@suse.de>
44156
44157 * Makerules (common-clean): Also remove gen-as-const-headers
44158 files.
44159
c1820385
JM
441602012-04-24 Joseph Myers <joseph@codesourcery.com>
44161
44162 * Makerules (native-compile): Do not change working directory for
44163 build. Use $(OUTPUT_OPTION) in command.
44164 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44165
94e02fc4
AZ
441662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44167
44168 [BZ #13886]
44169 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44170 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44171 * math/libm-test.inc (floor_test): Add more tests.
44172 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44173
3a533ca3
JM
441742012-04-24 Joseph Myers <joseph@codesourcery.com>
44175
940ab4b3
JM
44176 * sysdeps/unix/getdents.c: Remove file.
44177 * sysdeps/unix/sysv/getdents.c: Likewise.
44178 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44179
90e037bd
JM
44180 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44181 sysdeps/unix/mman/syscalls.list.
44182 (mmap): Likewise.
44183 (mprotect): Likewise.
44184 (msync): Likewise.
44185 (munmap): Likewise.
44186 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44187 * sysdeps/unix/mman/syscalls.list: Remove.
44188 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44189
3a533ca3
JM
44190 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44191 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44192 * configure: Regenerated.
44193 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44194 $(libgcc_s_suffix).
44195 * config.make.in (libgcc_s_suffix): Remove variable.
44196
1ad743de
JM
441972012-04-23 Joseph Myers <joseph@codesourcery.com>
44198
4ad451e2
JM
44199 * sysdeps/unix/sysv/gethostname.c: Move to ...
44200 * sysdeps/posix/gethostname.c: ... here.
44201
5e37ce39
JM
44202 * sysdeps/unix/execve.S: Remove file.
44203
1ad743de
JM
44204 * sysdeps/unix/_exit.S: Remove file.
44205
4e681b5b
AJ
442062012-04-23 Andreas Jaeger <aj@suse.de>
44207
44208 [BZ #13739]
44209 * manual/Makefile: Remove make dist support, there's no
44210 need for a stand-alone documentation tar ball.
44211 (TEXI2DVI): Define always, it's not in Makeconfig.
44212 (dist): Removed.
44213 (tar-it): Removed.
44214 (edition): Removed.
44215 (glibc-doc-$(edition).tar): Removed
44216 (%.Z): Removed.
44217 (%.gz): Removed.
44218 (%.uu): Removed.
44219 (ETAGS): Remove, it's in Makeconfig.
44220 (move-if-change): Remove, it's in Makeconfig.
44221
38686a03 442222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44223
44224 [BZ #13970]
44225 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44226 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44227 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44228 (strtod_l, strtof_l, strtold_l): Remove __wur.
44229 It is not necessarily an error to ignore strtol's return value.
44230 One can reliably look at the stored endptr to decide whether
44231 the number had valid syntax.
44232
7c0616fa
AJ
442332012-04-21 Andreas Jaeger <aj@suse.de>
44234
803cb6b7 44235 [BZ #13739]
7c0616fa
AJ
44236 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44237
b0fe253f
JM
442382012-04-21 Joseph Myers <joseph@codesourcery.com>
44239
44240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44241 * sysdeps/unix/sysv/Versions: Remove file.
44242
8280f22d
MT
442432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44244
44245 [BZ #13927]
44246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44247
75ce411f 442482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44249
44250 [BZ #7064]
44251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44252 version from __vm86.
44253
097d59fa
JM
442542012-04-20 Joseph Myers <joseph@codesourcery.com>
44255
a90f3bcb
JM
44256 * sysdeps/unix/common/lxstat.c: Remove file.
44257 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44258
edc7ea78
JM
44259 * sysdeps/unix/sysv/Makefile: Remove file.
44260
cb78c221
JM
44261 * sysdeps/unix/sysv/direct.h: Remove file.
44262
efa6a45f
JM
44263 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44264 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44265 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44266 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44267 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44268 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44269 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44270
9c9f2d0c
JM
44271 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44272
4541c83b
JM
44273 * sysdeps/unix/xmknod.c: Remove file.
44274 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44275
f5d153a0
JM
44276 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44277
aa746595
JM
44278 * sysdeps/unix/sysv/i386/time.S: Remove file.
44279
cce5905e
JM
44280 * sysdeps/unix/fxstat.c: Remove file.
44281 * sysdeps/unix/xstat.c: Likewise.
44282 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44283
37fa3841
JM
44284 * sysdeps/unix/sysv/sigaction.c: Remove file.
44285
ff1962a3
JM
44286 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44287 (sysdep_headers): Remove variable.
44288 [termio.h not in sysdep_headers] (generated): Likewise.
44289 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44290 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44291 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44292 * sysdeps/unix/sysv/tcflow.c: Likewise.
44293 * sysdeps/unix/sysv/tcflush.c: Likewise.
44294 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44295 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44296 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44297 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44298 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44299
e7740d31
JM
44300 * sysdeps/unix/siglist.c: Remove file.
44301
ee06f18b
JM
44302 * sysdeps/unix/getppid.S: Remove file.
44303
097d59fa
JM
44304 * sysdeps/unix/mkdir.c: Remove file.
44305 * sysdeps/unix/rmdir.c: Likewise.
44306
ff3d51ec
AS
443072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44308
44309 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44310 ERR_MAX value.
44311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44312 errlist-compat value.
44313
50f81fd7
DM
443142012-04-18 David S. Miller <davem@davemloft.net>
44315
44316 * sysdeps/generic/memcopy.h (reg_char): Delete.
44317 * debug/strcat_chk.c: Use char, not reg_char.
44318 * debug/strcpy_chk.c: Likewise.
44319 * debug/strncat_chk.c: Likewise.
44320 * debug/strncpy_chk.c: Likewise.
44321 * string/memchr.c: Likewise.
44322 * string/memrchr.c: Likewise.
44323 * string/rawmemchr.c: Likewise.
44324 * string/strcat.c: Likewise.
44325 * string/strchr.c: Likewise.
44326 * string/strchrnul.c: Likewise.
44327 * string/strcmp.c: Likewise.
44328 * string/strcpy.c: Likewise.
44329 * string/strncat.c: Likewise.
44330 * string/strncmp.c: Likewise.
44331 * string/strncpy.c: Likewise.
44332
8ff41c46
WS
443332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44334
44335 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44336 __builtin_memcopy is called when src and dest ranges are known to not
44337 overlap.
44338
6b652f46
WS
443392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44340
44341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44342 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44343 fwd_align_merge macro call.
44344 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44345 bwd_align_merge macro call.
44346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44347
b282631e
WS
443482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44349
44350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44351 bwd_align_merge macros.
44352 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44353 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44355
95aa737c
DM
443562012-04-18 David S. Miller <davem@davemloft.net>
44357
44358 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44359
7a99a614
AJ
443602012-04-18 Andreas Jaeger <aj@suse.de>
44361
44362 [BZ# 6794]
44363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44364 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44366
44367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44368 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44370
44371 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44372 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44373 Adjust for changed ldbl-128 files.
44374
44375 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44376 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44378
e5270c23
DM
443792012-04-17 David S. Miller <davem@davemloft.net>
44380
44381 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44382
fb5e92c9
AS
443832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44384
44385 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44386 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44387 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44388 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44389 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44390 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44391
76da7265
AZ
443922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44393
44394 [BZ #6794]
44395 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44396 * math/libm-test.inc: Add ilogb errno and exception tests.
44397 * math/w_ilogb.c: New file: ilogb wrapper.
44398 * math/w_ilogbf.c: New file: ilogbf wrapper.
44399 * math/w_ilogbl.c: New file: ilogbl wrapper.
44400 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44401 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44402 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44403 exception being thrown with 0.0 as argument.
44404 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44405 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44406 exception being thrown with 0.0 as argument.
44407 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44408 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44409 exception being thrown with 0.0 as argument.
44410 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44411 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44412 exception being thrown with 0.0 as argument.
44413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44414 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44416 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44419 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44420 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44421 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44422
0396e69d
PB
444232012-04-17 Petr Baudis <pasky@ucw.cz>
44424
44425 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44426 with altivec.
44427
750b5926
MP
444282012-04-16 Marek Polacek <polacek@redhat.com>
44429
44430 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44431
751728a1
MP
444322012-04-16 Marek Polacek <polacek@redhat.com>
44433
44434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44435 operands of fdivp instruction.
44436
34a27407
L
444372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44438
44439 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44440 * elf/tst-auditmod3b.c: Likewise.
44441 * elf/tst-auditmod4b.c: Likewise.
44442 * elf/tst-auditmod5b.c: Likewise.
44443 * elf/tst-auditmod6b.c: Likewise.
44444 * elf/tst-auditmod6c.c: Likewise.
44445 * elf/tst-auditmod7b.c: Likewise.
44446 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44447 * sysdeps/x86_64/preconfigure.in: Likewise.
44448 * sysdeps/x86_64/preconfigure: Regenerated.
44449
7e73e17d
L
444502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44451
44452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44453 __ILP32__.
44454
c7a6ab72
AB
444552012-04-13 Antoine Balestrat <merkil33@gmail.com>
44456
44457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44458 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44459
a9e8e0e0
CL
444602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44461
44462 [BZ #13973]
44463 * locale/iso-639.def: Fix gl language name. Spotted by
44464 Yaron Shahrabani.
44465
ec98af7d
RM
444662012-04-12 Roland McGrath <roland@hack.frob.com>
44467
44468 [BZ #2074]
44469 * libio/libio.h (__io_write_fn): Update comment.
44470
247c3ede
PB
444712012-04-12 Petr Baudis <pasky@ucw.cz>
44472
44473 [BZ #2074]
44474 * stdio.texi (Hook Functions): The user provided writer function
44475 is not allowed to return -1.
44476
55939d6d
DM
444772012-04-11 David S. Miller <davem@davemloft.net>
44478
44479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44480
90020f5a
MF
444812012-04-11 Mike Frysinger <vapier@gentoo.org>
44482
44483 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44484 Add a leading slash to rtkaio.
44485
288f9098
JM
444862012-04-11 Jim Meyering <meyering@redhat.com>
44487
90020f5a
MF
44488 [BZ #11959]
44489 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44490 It is not necessarily an error to ignore fwrite's return
44491 value. One can reliably use ferror to test for errors after
44492 the fact.
288f9098 44493
4be2b570
L
444942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44495
44496 * bits/types.h (__snseconds_t): New type.
44497 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44498
44499 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44501 (__SNSECONDS_T_TYPE): Likewise.
44502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44503 (__SNSECONDS_T_TYPE): Likewise.
44504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44505 (__SNSECONDS_T_TYPE): Likewise.
44506
288f9098 445072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44508
44509 [BZ #2636]
44510 * manual/time.texi (Processor Time): Return type of times is
44511 elapsed real time since an arbitrary point in the past.
44512 (CPU Time): Move CLK_TCK from here...
44513 (Processor Time): ...to here. Correct description.
44514 * manual/conf.texi (Constants for Sysconf): Correct description of
44515 _SC_CLK_TCK.
44516
d7dd4413
DM
445172012-04-10 David S. Miller <davem@davemloft.net>
44518
44519 [BZ #13967]
44520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44521 where the is a gap between DT_REL(A) and DT_JMPREL.
44522
b46068fc
L
445232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44524
44525 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44528
73d65cc3
SP
445292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44530
44531 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44532 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44533 (dl_main): Handle --inhibit-cache.
44534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44535 _dl_inhibit_cache.
44536 * elf/dl-load.c (_dl_map_object): Use it.
44537 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44538
bcc8d661
JM
445392012-04-09 Joseph Myers <joseph@codesourcery.com>
44540
8f9a2fae
JM
44541 [BZ #13872]
44542 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44543 (__ieee754_powl): Saturate large exponents rather than testing for
44544 overflow of y*log2(x).
44545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44546 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44547 exceptions.
44548
bcc8d661
JM
44549 [BZ #11521]
44550 * math/s_ctan.c: Include <float.h>.
44551 (__ctan): Avoid internal overflow or cancellation in calculating
44552 denominator.
44553 * math/s_ctanf.c: Likewise.
44554 * math/s_ctanl.c: Likewise.
44555 * math/s_ctanh.c: Likewise.
44556 * math/s_ctanhf.c: Likewise.
44557 * math/s_ctanhl.c: Likewise.
44558 * math/libm-test.inc (ctan_test): Add more tests.
44559 (ctanh_test): Likewise.
44560 * sysdeps/i386/fpu/libm-test-ulps: Update.
44561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44562
823fbbb4
AJ
445632012-04-09 Andreas Jaeger <aj@suse.de>
44564
03879793
AJ
44565 [BZ #6894]
44566 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44567 is an optional BSD extension.
44568
823fbbb4
AJ
44569 [BZ #10254]
44570 * manual/stdio.texi (Opening Streams): Document additional fopen
44571 parameters.
44572
8de131cb
RM
445732012-04-09 Roland McGrath <roland@hack.frob.com>
44574
44575 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44576 %eax without telling the compiler.
44577
c0ed9d7d
CD
445782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44579
44580 [BZ # 13963]
44581 * manual/install.texi: Use sourceware.org.
44582
c483f6b4
JM
445832012-04-09 Joseph Myers <joseph@codesourcery.com>
44584
d7dd9453
JM
44585 [BZ #13873]
44586 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44587 (__ieee754_pow): Generate overflow and underflow using huge*huge
44588 and tiny*tiny rather than just returning constant infinity or zero
44589 for large exponents.
44590 * math/libm-test.inc (pow_test): Require overflow exceptions for
44591 applicable cases of large exponents.
44592
c483f6b4
JM
44593 [BZ #706]
44594 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44595 (__ieee754_pow): Use iterative multiplication algorithm only for
44596 integer exponents with absolute value below 1024. Check for odd
44597 integer exponents when using algorithm for real exponents.
44598 * math/libm-test.inc (pow_test): Add more tests.
44599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44600
d2de7579
JM
446012012-04-08 Joseph Myers <joseph@codesourcery.com>
44602
44603 [BZ #13705]
44604 * math/libm-test.inc (exp_test): Do not allow overflow exception
44605 on underflow test.
44606
f77f1232
AJ
446072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44608
44609 [BZ #13705]
44610 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44611 instead of __kernel_standard_f.
44612
3884932b
MF
446132012-04-08 Mike Frysinger <vapier@gentoo.org>
44614
44615 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44616 * sysdeps/x86_64/memset_chk.S: Likewise.
44617
54472e9c
AJ
446182012-04-08 Andreas Jaeger <aj@suse.de>
44619
6ab0fbfc
AJ
44620 [BZ #10153]
44621 * manual/startup.texi (Environment Access): Describe return value
44622 for putenv and setenv.
44623
61efba8c
AJ
44624 [BZ #6895]
44625 * manual/filesys.texi (Directory Entries): Add description for
44626 DT_LNK.
44627
95c3f29a
AJ
44628 [BZ #6890]
44629 * manual/filesys.texi (Directory Entries): Clarify that it's file
44630 system not operating system in the description of DT_UNKNOWN.
44631
54472e9c
AJ
44632 [BZ #6578]
44633 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44634
624254b1
SC
446352012-04-08 Stephen Compall <s11@member.fsf.org>
44636
44637 [BZ #6649]
44638 * manual/llio.texi (Opening and Closing Files): Add cross
44639 reference to explain mode argument.
44640
1e4920e0
MF
446412012-04-07 Mike Frysinger <vapier@gentoo.org>
44642
44643 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44644 * sysdeps/x86_64/memset_chk.S: Likewise.
44645
5ed848f3
DM
446462012-04-07 David S. Miller <davem@davemloft.net>
44647
44648 * elf/elf.h (R_SPARC_WDISP10): Define.
44649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44650 R_SPARC_SIZE32.
44651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44652 R_SPARC_SIZE64 and R_SPARC_H34.
44653
96154cd8
CD
446542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44655
44656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44657 conditions and remove no longer applicable assertion.
44658
9904dc47
L
446592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44660
44661 * bits/byteswap.h: Include <features.h>.
44662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44664
f8887d0a
L
446652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44666
44667 * bits/byteswap.h (__bswap_16): Removed.
44668 Include <bits/byteswap-16.h> to get __bswap_16.
44669 * sysdeps/i386/bits/byteswap.h: Likewise.
44670 * sysdeps/s390/bits/byteswap.h: Likewise.
44671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44672 * bits/byteswap-16.h: New file.
44673 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44675 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44676 * string/Makefile (headers): Add bits/byteswap-16.h.
44677
62470f60
PP
446782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44679
44680 [BZ #13895]
44681 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44682 extra indirection.
44683 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44684 * nss/tst-nss-static.c: New.
44685
4dad7bab
RM
446862012-04-06 Robert Millan <rmh@gnu.org>
44687
44688 [BZ #6486]
44689 * manual/llio.texi (File Position Primitive): lseek
44690 refers to WHENCE when it really means OFFSET.
44691
e9142a17
AJ
446922012-04-06 Andreas Jaeger <aj@suse.de>
44693
2c040eff
AJ
44694 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44695 strncmp declarations.
44696
e9142a17
AJ
44697 * abilist/libc.abilist: Add __poll and __ppoll.
44698
ff9f1c5f
DM
446992012-04-05 David S. Miller <davem@davemloft.net>
44700
dcd2ae90
DM
44701 * scripts/check-local-headers.sh: Accept a host triplet in the
44702 path matched by the exclude regexp.
44703
993eb054
DM
44704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44705 definition.
44706 * sysdeps/powerpc/powerpc32/dl-machine.h
44707 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44708 * sysdeps/s390/s390-32/dl-machine.h
44709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44710 * sysdeps/sparc/sparc32/dl-machine.h
44711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44712 * sysdeps/sparc/sparc64/dl-machine.h
44713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44714
ff9f1c5f
DM
44715 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44716 lazy binding.
48e2e132 44717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44718 undefined symbol errors.
44719
48e2e132 44720 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44721 DT_NEEDED entries.
44722
e80d6f94
MM
447232012-04-05 Michael Matz <matz@suse.de>
44724
44725 [BZ #13592]
44726 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44727
349fa79f
AJ
447282012-04-05 Andreas Jaeger <aj@suse.de>
44729
44730 [BZ #13908]
44731 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44732 comment.
44733
f402708f
KK
447342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44735
44736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44737 which ROUND is no valid rounding mode.
44738
2ecccfc9
KK
447392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44740
44741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44742 read again.
44743 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44744
8a53f50f
KK
447452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44746
44747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44748 an exception using FPU order intentionally.
44749
447502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44751
44752 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44753 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44754 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44755 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44756
d653abb7
SJ
447572012-04-05 Simon Josefsson <simon@josefsson.org>
44758
44759 [BZ #12340]
44760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44761 EINVAL when BUFLEN is too smal.
44762
c3b1bf7d
TS
447632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44764
44765 [BZ #13553]
44766 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44767 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44768
b1aa60f3
AJ
447692012-04-03 Andreas Jaeger <aj@suse.de>
44770
c3b1bf7d 44771 [BZ #13938]
67f60a26
AJ
44772 * manual/setjmp.texi (System V contexts): Fix sentence.
44773
b1aa60f3
AJ
44774 [BZ #13926]
44775 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44776 New macro for this case.
44777 [!__GNUC__] (__bswap_64): New inline function for this case.
44778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44779 * bits/byteswap.h: Likewise.
44780 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44781 ull, guard with __GLIBC_HAVE_LONG_LONG.
44782
44783 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44784 __GLIBC_HAVE_LONG_LONG.
44785
44786 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44787 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44788
39c59c35
TMQMF
447892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44790
44791 [BZ #13691]
44792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44793 inptr and inend, rather than using last_ch.
44794
135ffda8
DM
447952012-04-02 David S. Miller <davem@davemloft.net>
44796
44797 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44798 * stdio-common/printf-parse.h (read_int): Change return type to
44799 'int', return -1 on INT_MAX overflow.
44800 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44801 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44802 overflows INT_MAX. Check for overflow of in-format-string precision
44803 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44804 SIZE_MAX not INT_MAX for integer overflow test.
44805 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44806 skip the construct in the format string but do not record anything.
44807 * stdio-common/bug22.c: Adjust to test both width/prevision
44808 INT_MAX overflow as well as total length INT_MAX overflow. Check
44809 explicitly for proper errno values.
44810
228c019e
TS
448112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44812
302cadd3
TS
44813 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44814 CHAR_MAX.
44815 * string/test-strcmp.c [! WIDE]: Likewise.
44816 * time/tst-mktime2.c: Likewise for INT_MAX.
44817 * string/test-string.h: #include <sys/param.h> for MIN.
44818
228c019e
TS
44819 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44820 * sysdeps/i386/init-first.c (init): Likewise.
44821 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44822 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44823 * sysdeps/sh/init-first.c (init): Likewise.
44824
cfa633f5
UD
448252012-04-01 Ulrich Drepper <drepper@gmail.com>
44826
44827 * po/ru.po: Update from translation team.
d1635ef8 44828 * po/vi.po: Likewise.
cfa633f5 44829
6cd0a5ea
SP
448302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44831
44832 * resolv/nss_dns/dns-host.c: Merge copyright years.
44833
4b43400f
LD
448342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44835
44836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44837 Optimize memcpy with prefetch if
44838 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44839 src, dst pointers have unequal 16 byte alignments.
44840
48c41d04
SP
448412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44842
44843 [BZ #13928]
44844 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44845 from a CNAME entry and return the minimum ttl for the query.
44846 (gaih_getanswer_slice): Likewise.
44847
b8dc394d
JL
448482012-03-30 Jeff Law <law@redhat.com>
44849
44850 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44851 due to long keys.
44852 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44853 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44854
2f5a5ed0
JL
44855 * resolv/nss_dns/dns-host.c: Update copyright year.
44856
1d39e359
UD
448572012-03-30 Ulrich Drepper <drepper@gmail.com>
44858
c030f70c 44859 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44860 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44861
1d39e359
UD
44862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44863 comments for sendmmsg.
44864
448652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44866
44867 [BZ #13691]
44868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44869 with only 1 character between 0x0041 and 0x01b0.
44870 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44871 * wcsmbs/tst-mbsnrtowcs.c: New file.
44872
20fde227
DM
448732012-03-29 David S. Miller <davem@davemloft.net>
44874
44875 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44876 small copies by hand.
44877
984a4237
JL
448782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44879
44880 [BZ #13761]
57f41c40
AS
44881 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44882 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44883 group memberships.
984a4237 44884
18c9d62b
DM
448852012-03-28 David S. Miller <davem@davemloft.net>
44886
88d85d4f
DM
44887 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44888 that branches into memcpy.
44889 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44892 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44894 bits.
44895 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44896 implementation too.
44897 * sysdeps/sparc/mempcpy.S: New file.
44898
e5aa83e1
DM
44899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44900 the IFUNC routine in the libc case.
44901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44902
88570753
DM
44903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44905 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44906 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44907 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44908 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44909 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44910 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44911
249d7567
DM
44912 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44913 loop to 256 bytes instead of 64 bytes and fix test signedness.
44914
18c9d62b
DM
44915 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44916 * sysdeps/sparc/sparc32/Makefile: rather than here...
44917 * sysdeps/sparc/sparc64/Makefile: and here.
44918
05f3d1f6
UD
449192012-03-28 Ulrich Drepper <drepper@gmail.com>
44920
44921 * malloc/mallocbug.c: Avoid warnings about unused variables.
44922
86ae07a8
JL
449232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44924
44925 [BZ #13760]
44926 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44927 in the right place. Discard and retry query if response is
44928 larger than input buffer size.
44929
41bf21a1
JM
449302012-03-28 Joseph Myers <joseph@codesourcery.com>
44931
d6270972
JM
44932 [BZ #369]
44933 [BZ #2678]
44934 [BZ #3866]
44935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44936 x for large integer exponent.
44937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44938 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44939 sign of result as needed afterwards.
44940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44942 result for underflowing pow the same as for overflow.
44943 (__kernel_standard_l): Handle powl overflow and underflow here
44944 rather than calling __kernel_standard.
44945 * math/libm-test.inc (pow_test): Add more tests.
44946
414fca03 44947 [BZ #3868]
41bf21a1
JM
44948 [BZ #13879]
44949 [BZ #13910]
44950 [BZ #13911]
44951 [BZ #13912]
44952 [BZ #13913]
44953 [BZ #13915]
44954 [BZ #13916]
44955 [BZ #13917]
44956 [BZ #13918]
44957 [BZ #13919]
44958 [BZ #13920]
44959 [BZ #13921]
44960 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44961 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44962 (__kernel_standard_l): New function.
44963 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44964 __kernel_standard.
44965 * math/w_acosl.c (__acosl): Likewise.
44966 * math/w_asinl.c (__asinl): Likewise.
44967 * math/w_atan2l.c (__atan2l): Likewise.
44968 * math/w_atanhl.c (__atanhl): Likewise.
44969 * math/w_coshl.c (__coshl): Likewise.
44970 * math/w_exp10l.c (__exp10l): Likewise.
44971 * math/w_exp2l.c (__exp2l): Likewise.
44972 * math/w_fmodl.c (__fmodl): Likewise.
44973 * math/w_hypotl.c (__hypotl): Likewise.
44974 * math/w_j0l.c (__j0l, __y0l): Likewise.
44975 * math/w_j1l.c (__j1l, __y1l): Likewise.
44976 * math/w_jnl.c (__jnl, __ynl): Likewise.
44977 * math/w_lgammal.c (__lgammal): Likewise.
44978 * math/w_log10l.c (__log10l): Likewise.
44979 * math/w_log2l.c (__log2l): Likewise.
44980 * math/w_logl.c (__logl): Likewise.
44981 * math/w_powl.c (__powl): Likewise.
44982 * math/w_remainderl.c (__remainderl): Likewise.
44983 * math/w_scalbl.c (sysv_scalbl): Likewise.
44984 * math/w_sinhl.c (__sinhl): Likewise.
44985 * math/w_sqrtl.c (__sqrtl): Likewise.
44986 * math/w_tgammal.c (__tgammal): Likewise.
44987 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44988 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44989 * math/libm-test.inc (acos_test): Add more tests.
44990 (acosh_test): Likewise.
44991 (asin_test): Likewise.
44992 (atanh_test): Likewise.
44993 (exp_test): Likewise.
44994 (exp10_test): Likewise.
44995 (exp2_test): Likewise.
44996 (expm1_test): Likewise.
44997 (lgamma_test): Likewise.
44998 (log_test): Likewise.
44999 (log10_test): Likewise.
45000 (log1p_test): Likewise.
45001 (log2_test): Likewise.
45002 (pow_test): Do not allow some spurious overflow exceptions.
45003 (sqrt_test): Add more tests.
45004 (tgamma_test): Likewise.
45005 (y0_test): Likewise.
45006 (y1_test): Likewise.
45007 (yn_test): Likewise.
45008
dd62fda6
AB
450092012-03-27 Anton Blanchard <anton@samba.org>
45010
45011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45012 MAP_HUGETLB.
45013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45016
1e3cdfda
AJ
450172012-03-27 David S. Miller <davem@davemloft.net>
45018
b855ab85
DM
45019 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45020
1e3cdfda
AJ
45021 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45022 have-as-vis3 check.
45023
450242012-03-27 Andreas Jaeger <aj@suse.de>
45025
45026 * sysdeps/x86_64/elf/configure.in: Moved to ...
45027 * sysdeps/x86_64/configure.in: ... here.
45028 * sysdeps/x86_64/elf/start.S: Moved to ...
45029 * sysdeps/x86_64/start.S: ... here.
45030 * sysdeps/x86_64/elf/configure: Delete.
45031
45032 * sysdeps/x86_64/configure.in: Merge contents from
45033 sysdeps/i386/configure.in (without i686 check).
45034
45035 * sysdeps/i386/elf/Versions: Merge into ...
45036 * sysdeps/i386/Versions: ... this.
45037 * sysdeps/i386/elf/Versions: Delete file.
45038 * sysdeps/i386/elf/start.S: Moved to ...
45039 * sysdeps/i386/start.S: ...here.
45040 * sysdeps/i386/elf/configure.in: Merge into...
45041 * sysdeps/i386/configure.in: ...here.
45042 * sysdeps/i386/elf/configure.in: Delete file.
45043 * sysdeps/i386/elf/configure: Delete file.
45044
45045 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45046 * debug/backtracesyms.c: ... here.
45047 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45048 * debug/backtracesymsfd.c: ... here.
45049 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45050 * sysdeps/generic/ifunc-sel.h: ... here.
45051
45052 * sysdeps/unix/i386/start.c: Delete file.
45053 * sysdeps/unix/sparc/start.c: Delete file.
45054 * sysdeps/unix/start.c: Delete file.
45055
45056 * sysdeps/sh/elf/configure.in: Moved to ...
45057 * sysdeps/sh/configure.in: ... here.
45058 * sysdeps/sh/elf/start.S: Moved to ...
45059 * sysdeps/sh/start.S: ... here.
45060 * sysdeps/sh/elf/configure: Delete file.
45061
45062 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45063 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45064 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45065 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45066 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45067 * sysdeps/powerpc/powerpc64/start.S: here.
45068 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45069 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45070 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45071 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45072 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45073
45074 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45075 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45076 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45077 * sysdeps/powerpc/powerpc32/start.S: ... here.
45078 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45079 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45080 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45081
45082 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45083 * sysdeps/powerpc/ifunc-sel.h: ... here.
45084 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45085 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45086
45087 * sysdeps/sparc/elf/configure.in: Moved to ...
45088 * sysdeps/sparc/configure.in: ... here.
45089 * sysdeps/sparc/elf/configure: Delete file.
45090 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45091 * sysdeps/sparc/sparc32/start.S: ... here.
45092 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45093 * sysdeps/sparc/sparc64/start.S: ... here.
45094 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45095 * sysdeps/sparc/sparc32/Makefile: ... this.
45096 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45097 * sysdeps/sparc/sparc64/Makefile: ... this.
45098
45099 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45100 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45101 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45102 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45103 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45104 * sysdeps/s390/s390-32/setjmp.S: ... here.
45105 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45106 * sysdeps/s390/s390-32/configure.in: ... here.
45107 * sysdeps/s390/s390-32/elf/configure: Delete file.
45108 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45109 * sysdeps/s390/s390-32/start.S: ... here.
45110
45111 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45112 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45113 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45114 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45115 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45116 * sysdeps/s390/s390-64/setjmp.S: ... here.
45117 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45118 * sysdeps/s390/s390-64/configure.in: ... here
45119 * sysdeps/s390/s390-64/elf/configure: Delete file.
45120 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45121 * sysdeps/s390/s390-64/start.S: ... here.
45122 * sysdeps/s390/s390-64/elf/configure: Delete.
45123
45124 * configure.in: Remove support for elf directories in sysdeps.
45125
45126 * configure: Regenerated.
45127 * sysdeps/i386/configure: Regenerated.
45128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45130 * sysdeps/s390/s390-32/configure: Regenerated.
45131 * sysdeps/s390/s390-64/configure: Regenerated.
45132 * sysdeps/sh/configure: Regenerated.
45133 * sysdeps/sparc/configure: Regenerated.
45134 * sysdeps/x86_64/configure: Regenerated.
45135
a3f61311
AS
451362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45137
c876e002
AS
45138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45139
a3f61311
AS
45140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45141 denormal result into account.
45142
ac4c54f0
RM
451432012-03-25 Roland McGrath <roland@hack.frob.com>
45144
45145 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45146 Reported by Allan McRae <allan@archlinux.org>.
45147
6a9b9c02
JL
451482012-03-23 Jeff Law <law@redhat.com>
45149
45150 * nss/getnssent.c (__nss_getent): Fix typo.
45151
4c42a0c1
DM
451522012-03-23 David S. Miller <davem@davemloft.net>
45153
45154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45155
1532c7ac
L
451562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45157
45158 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45159 to pad to uint64_t for each field.
45160 (dl_tls_index): Replace unsigned long with uint64_t.
45161
3ff42526
PP
451622012-03-23 Daniel Jacobowitz <dmj@google.com>
45163 Paul Pluzhnikov <ppluzhnikov@google.com>
45164
45165 [BZ #6528]
45166 * grp/Makefile (otherlibs): Don't set it.
45167 * inet/Makefile (otherlibs): Likewise.
45168 * login/Makefile (otherlibs): Likewise.
45169 * nscd/Makefile (otherlibs): Likewise.
45170 * posix/Makefile (otherlibs): Likewise.
45171 * pwd/Makefile (otherlibs): Likewise.
45172 * rt/Makefile (otherlibs): Likewise.
45173 * sunrpc/Makefile (otherlibs): Likewise.
45174 * nss/Makefile (otherlibs): Likewise.
45175 Add libnss_files to routines and static-only-routines.
45176 ($(objpfx)getent): Remove rule.
45177 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45178 static-only-routines.
45179
7c69cd14
JM
451802012-03-22 Joseph Myers <joseph@codesourcery.com>
45181
45182 [BZ #13892]
45183 * math/s_cexp.c: Include <float.h>.
45184 (__cexp): Handle exp result overflowing not necessarily
45185 overflowing both real and imaginary parts of result.
45186 * math/s_cexpf.c: Likewise.
45187 * math/s_cexpl.c: Likewise.
45188 * math/libm-test.inc (cexp_test): Add more tests.
45189 * sysdeps/i386/fpu/libm-test-ulps: Update.
45190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45191
81b035fe
L
451922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45193
45194 * include/link.h (ELFW): New macro.
45195 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45196 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45197
1da7940c
L
451982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45199
45200 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45201 with uint64_t.
45202
b749dbb9
L
452032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45204
45205 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45206 declaration.
45207 (struct La_x32_retval): Likewise.
45208
2ff87f3f
L
452092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45210
45211 * sysdeps/x86_64/preconfigure.in: New file.
45212 * sysdeps/x86_64/preconfigure: New generated file.
45213
c0df8e69
JM
452142012-03-22 Joseph Myers <joseph@codesourcery.com>
45215
48e44791
JM
45216 [BZ #13824]
45217 * math/e_exp2l.c: Include <float.h>.
45218 (__ieee754_exp2l): Handle overflow and underflow cases
45219 separately. Only pass fractional part of argument to
45220 __ieee754_expl.
45221 * math/libm-test.inc (exp2_test): Add more tests.
45222
c0df8e69
JM
45223 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45224 negating x to take absolute value.
45225 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45226 Likewise.
45227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45229 Likewise.
45230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45231 computing low part if x was negated.
45232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45233
c8e43ba7
L
452342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45235
45236 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45237 la_x32_gnu_pltexit.
45238 (pltexit): Cast int_retval to ptrdiff_t.
45239 * elf/tst-auditmod3b.c: Likewise.
45240 * elf/tst-auditmod4b.c: Likewise.
45241 * elf/tst-auditmod5b.c: Likewise.
45242 * elf/tst-auditmod6b.c: Likewise.
45243 * elf/tst-auditmod6c.c: Likewise.
45244 * elf/tst-auditmod7b.c: Likewise.
45245
45246 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45247 and x32_gnu_pltexit.
45248
45249 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45250 __ELF_NATIVE_CLASS.
45251 (La_x32_regs): New macro.
45252 (La_x32_retval): Likewise.
45253 (la_x32_gnu_pltenter): New function prototype.
45254 (la_x32_gnu_pltexit): Likewise.
45255
7998fa78
AS
452562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45257
dcb33988
AS
45258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45259 exponent.
45260
233fc563
AS
45261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45262
7998fa78
AS
45263 * configure.in (libc_cv_cc_nofma): Check for option to disable
45264 generation of FMA instructions.
45265 * configure: Regenerate.
45266 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45267 * sysdeps/ieee754/dbl-64/Makefile: New file.
45268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45269 Remove brandred-fma4.
45270 (CFLAGS-brandred-fma4.c): Remove.
45271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45273 define.
45274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45275 define.
45276
8e95c99a
L
452772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45278
45279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45280 LLONG_MAX != LONG_MAX.
45281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45282 (_fitoa_word): Likewise.
45283 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45284 LLONG_MAX != LONG_MAX.
45285 * stdio-common/_itowa.h: Include <_itoa.h>.
45286 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45287 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45288 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45289 only if not defined.
45290 (_ITOA_WORD_TYPE): Likewise.
45291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45292 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45293
6f4db457
DM
452942012-03-21 David S. Miller <davem@davemloft.net>
45295
45296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45297
7785fe5a
L
452982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45299
45300 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45301 of x86_64 when setting libc_cv_slibdir, libdir and
45302 libc_cv_localedir.
45303 * sysdeps/unix/sysv/linux/configure: Regenerated.
45304
4535cd55
JM
453052012-03-21 Joseph Myers <joseph@codesourcery.com>
45306
45307 * manual/lang.texi (Old Varargs): Remove section.
45308 (How Variadic): Update menu.
45309 (va_start): Do not mention varargs.h.
45310
17228132
TS
453112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45312 Joseph Myers <joseph@codesourcery.com>
45313
45314 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45315 link test.
45316 * configure: Regenerated.
45317
8149f976
TS
453182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45319
05f3d1f6
UD
45320 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45321 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45322 conformtest.pl
8149f976 45323
1a4ac776
JM
453242012-03-21 Joseph Myers <joseph@codesourcery.com>
45325
be22ce65
JM
45326 * NOTES: Remove.
45327 * Makefile (files-for-dist): Remove NOTES.
45328 (NOTES): Remove rule.
45329 * README: Don't refer to NOTES.
45330 * manual/creature.texi: Don't include macros.texi.
45331 * manual/intro.texi (creature.texi): Remove comment referring to
45332 NOTES.
45333
40b601fb
JM
45334 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45335 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45336 * configure: Regenerated.
45337 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45338 LIBC_TRY_CC_OPTION.
45339 (libc_cv_as_i686): Likewise.
45340 (libc_cv_cc_avx): Likewise.
45341 (libc_cv_cc_sse2avx): Likewise.
45342 (libc_cv_cc_fma4): Likewise.
45343 (libc_cv_cc_novzeroupper): Likewise.
45344 * sysdeps/i386/configure: Regenerated.
45345
1a4ac776
JM
45346 [BZ #13883]
45347 * sysdeps/i386/fpu/s_cexp.S: Remove.
45348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45350 * math/libm-test.inc (cexp_test): Add more tests.
45351 * sysdeps/i386/fpu/libm-test-ulps: Update.
45352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45353
a458e7fe
AM
453542012-03-21 Allan McRae <allan@archlinux.org>
45355
45356 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45357
0cb7efc5
JM
453582012-03-21 Joseph Myers <joseph@codesourcery.com>
45359
45360 [BZ #13871]
45361 * math/w_exp2.c: Do not include <float.h>.
45362 (o_threshold, u_threshold): Remove.
45363 (__exp2): Calculate result before checking finiteness and calling
45364 __kernel_standard.
45365 * math/w_exp2f.c: Likewise.
45366 * math/w_exp2l.c: Likewise.
45367 * math/libm-test.inc (exp2_test): Require overflow exception for
45368 1e6 input.
2460d3aa
JM
45369
45370 [BZ #3866]
45371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45372 range of signed 64-bit integers before using fistpll. Remove
45373 checks for whether integers fit in mantissa bits.
45374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45375 the range of signed 32-bit integers before using fistpl. Remove
45376 checks for whether integers fit in mantissa bits.
45377 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45378 (__ieee754_powl): Test for y outside the range of signed 64-bit
45379 integers before using fistpll. Reduce 64-bit values to 63-bit
45380 ones as needed.
45381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45382 divide-by-zero is raised for zero to large negative powers.
45383 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45384 (__ieee754_powl): Test for y outside the range of signed 64-bit
45385 integers before using fistpll. Reduce 64-bit values to 63-bit
45386 ones as needed.
45387 * math/libm-test.inc (pow_test): Add more tests.
45388
eb96ffb0
L
453892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45390
45391 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45392 <stdio-common/_itoa.h>.
45393 * debug/segfault.c: Likewise.
45394 * elf/dl-cache.c: Likewise.
45395 * elf/dl-minimal.c: Likewise.
45396 * elf/dl-misc.c: Likewise.
45397 * elf/dl-sysdep.c: Likewise.
45398 * elf/dl-version.c: Likewise.
45399 * elf/rtld.c: Likewise.
45400 * hurd/hurdsock.c: Likewise.
45401 * hurd/lookup-retry.c: Likewise.
45402 * malloc/malloc.c: Likewise.
45403 * malloc/mtrace.c: Likewise.
45404 * nscd/nscd_getgr_r.c: Likewise.
45405 * nscd/nscd_getpw_r.c: Likewise.
45406 * nscd/nscd_getserv_r.c: Likewise.
45407 * posix/getopt_init.c: Likewise.
45408 * posix/wordexp.c: Likewise.
45409 * stdio-common/_itoa.c: Likewise.
45410 * stdio-common/printf_fphex.c: Likewise.
45411 * stdio-common/vfprintf.c: Likewise.
45412 * string/_strerror.c: Likewise.
45413 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45414 * sysdeps/i386/i686/hp-timing.h: Likewise.
45415 * sysdeps/mach/_strerror.c: Likewise.
45416 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45417 * sysdeps/mach/hurd/sethostid.c: Likewise.
45418 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45419 * sysdeps/mach/xpg-strerror.c: Likewise.
45420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45422 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45423 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45425 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45427 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45428 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45429 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45430 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45432 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45434 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45435 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45436 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45437 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45438 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45439 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45440 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45441
45442 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45443
45444 * stdio-common/_itoa.h: Moved to ...
45445 * sysdeps/generic/_itoa.h: Here.
45446
45447 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45448
45449 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45450 instead of "_itoa.h" and "_itowa.h".
45451 * stdio-common/vfprintf.: Likewise.
45452
d1af992d
L
454532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45454
45455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45456 <bits/wordsize.h>.
45457 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45458 (__signbit): Likwise.
45459 (llrintf): Likwise.
45460 (llrint): Likwise.
45461
114883e0
L
454622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45463
45464 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45465 __WORDSIZE != 64.
45466
c135cc1b
JM
454672012-03-20 Joseph Myers <joseph@codesourcery.com>
45468
45469 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45470 OVERFLOW_EXCEPTION_OK.
45471 * math/libm-test.inc ("Philosophy"): Update comment about
45472 exception testing.
45473 (OVERFLOW_EXCEPTION): Define.
45474 (OVERFLOW_EXCEPTION_OK): Likewise.
45475 (INVALID_EXCEPTION_OK): Renumber.
45476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45477 (IGNORE_ZERO_INF_SIGN): Likewise.
45478 (test_exceptions): Handle FE_OVERFLOW.
45479 (exp10_test): Expect overflow exceptions.
45480 (exp2_test): Likewise.
45481 (expm1_test): Likewise.
45482 (nextafter_test): Likewise.
45483 (pow_test): Likewise.
45484 (scalbn_test): Likewise.
45485 (scalbln_test): Likewise.
45486
95443d88
L
454872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45488
45489 * sysdeps/x86_64/bits/atomic.h
45490 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45491 64bit integer.
45492 (atomic_exchange_acq): Likewise.
45493 (__arch_exchange_and_add_body): Likewise.
45494 (__arch_add_body): Likewise.
45495 (atomic_add_negative): Likewise.
45496 (atomic_add_zero): Likewise.
45497
490df6c4
L
454982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45499
c2722551 45500 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45501 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45502
5e52b189
L
455032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45504
45505 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45506 Check __x86_64__ instead of __WORDSIZE.
45507
a9879d4c
L
455082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45509
45510 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45511
5df98260
DM
455122012-03-19 David S. Miller <davem@davemloft.net>
45513
e1497744
DM
45514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45515
5df98260
DM
45516 * sysdeps/sparc/fpu/fenv_private.h: New file.
45517 * sysdeps/sparc/fpu/math_private.h: Use it.
45518 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45519 Remove.
57f41c40 45520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45521 (libc_feholdexcept_setroundl): Remove.
45522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45523 Remove.
45524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45526
b4c35121
L
455272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45528
45529 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45530 int64_t instead of long int.
45531 (INSERT_WORDS64): Likwise.
45532
56965fd7
L
455332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45534
45535 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45536 _Unwind_GetCFA return to _Unwind_Ptr first.
45537
83d1aec8
JM
455382012-03-19 Joseph Myers <joseph@codesourcery.com>
45539
1897ad44
JM
45540 [BZ #13629]
45541 * math/s_clog.c: Include <float.h>.
45542 (__clog): Scale large or subnormal inputs.
45543 * math/s_clogf.c: Likewise.
45544 * math/s_clogl.c: Likewise.
45545 * math/s_clog10.c: Include <float.h>.
45546 (M_LOG10_2): Define.
45547 (__clog10): Scale large or subnormal inputs.
45548 * math/s_clog10f.c: Likewise.
45549 * math/s_clog10l.c: Likewise.
45550 * math/libm-test.inc (clog_test): Add more tests.
45551 (clog10_test): Likewise.
45552 * sysdeps/i386/fpu/libm-test-ulps: Update.
45553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45554
7726d6a9
JM
45555 [BZ #11451]
45556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45557 x and y.
45558 * math/libm-test.inc (atan2_test): Add another test.
45559
83d1aec8
JM
45560 * Makerules (common-objdir-compile): Remove.
45561 * sysdeps/unix/Makefile (config-generated): Do not add
45562 $(unix-generated) to variable.
45563 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45564 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45565 Remove rule.
45566 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45567 Likewise.
45568 [generic bits/local_lim.h] (before-compile): Do not append to
45569 variable.
45570 [generic bits/local_lim.h] (common-generated): Likewise.
45571 [generic sys/param.h] (before-compile): Do not append to variable.
45572 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45573 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45576 include.
45577 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45578 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45579 [generic sys/param.h] ($(addprefix
45580 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45581 [generic sys/param.h] (common-generated): Do not append to
45582 variable.
45583 [generic sys/param.h] (sysdep_headers): Likewise.
45584 [generic bits/errno.h] (before-compile): Do not append to
45585 variable.
45586 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45587 rule.
45588 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45589 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45590 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45591 [generic bits/errno.h] (common-generated): Do not append to
45592 variable.
45593 [generic bits/ioctls.h] (before-compile): Do not append to
45594 variable.
45595 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45596 rule.
45597 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45598 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45600 rule.
45601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45602 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45603 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45604 [generic bits/ioctls.h] (common-generated): Do not append to
45605 variable.
45606 [generic sys/syscall.h] (syscall.h): Remove variable.
45607 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45608 rule.
45609 [generic sys/syscall.h] (before-compile): Do not append to
45610 variable.
45611 [generic sys/syscall.h] (common-generated): Likewise.
45612 * sysdeps/unix/errnos-tmpl.c: Remove file.
45613 * sysdeps/unix/errnos.awk: Likewise.
45614 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45615 * sysdeps/unix/ioctls.awk: Likewise.
45616 * sysdeps/unix/mk-local_lim.c: Likewise.
45617 * sysdeps/unix/snarf-ioctls: Likewise.
45618
4851a949
RH
456192012-03-19 Richard Henderson <rth@twiddle.net>
45620
bd37f2ee
RH
45621 * sysdeps/i386/fpu/fenv_private.h: New file.
45622 * sysdeps/i386/fpu/math_private.h: Use it.
45623 (math_opt_barrier, math_force_eval): Remove.
45624 (libc_feholdexcept_setround_53bit): Remove.
45625 (libc_feupdateenv_53bit): Remove.
45626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45627 (math_opt_barrier, math_force_eval): Remove.
45628 (libc_feholdexcept): Remove.
45629 (libc_feholdexcept_setround): Remove.
45630 (libc_fetestexcept, libc_fesetenv): Remove.
45631 (libc_feupdateenv_test): Remove.
45632 (libc_feupdateenv, libc_feholdsetround): Remove.
45633 (libc_feresetround): Remove.
45634
d0adc922
RH
45635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45636 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45637
0fe0f1f8
RH
45638 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45639 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45640 (libc_feupdateenv_testl): New.
45641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45642 (libc_feupdateenv_testf): New.
45643 (libc_feupdateenv): Use libc_feupdateenv_test.
45644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45646
eb92c487
RH
45647 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45648 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45649 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45650 (libc_feresetround_noex): New.
45651 (libc_feresetround_noexf): New.
45652 (libc_feresetround_noexl): New.
45653 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45654 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45655 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45657 SET_RESTORE_ROUND.
45658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45660 (__cos): Likewise.
45661 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45663 SET_RESTORE_ROUND_NOEX.
45664 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45665 SET_RESTORE_ROUND_NOEXF.
45666 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45667 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45668 (libc_feholdsetroundf): New.
45669 (libc_feresetround, libc_feresetroundf): New.
45670
7d2e8012
RH
45671 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45672 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45673 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45674
b4dabbb4
RH
45675 * sysdeps/generic/math_private.h: Include <fenv.h>.
45676 (default_libc_feholdexcept): New.
45677 (default_libc_feholdexcept_setround): New.
45678 (default_libc_fesetenv, default_libc_feupdateenv): New.
45679 (libc_feholdexcept): Only define if undefined.
45680 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45681 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45682 (libc_feholdexcept_setroundl): Likewise.
45683 (libc_feholdexcept_setround_53bit): Likewise.
45684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45685 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45686 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45687 (libc_feupdateenv_53bit): Likewise.
45688 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45689 (libc_feholdexcept): Convert from macro to inline function.
45690 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45691 (libc_fesetenv, libc_feupdateenv): Likewise.
45692
4851a949
RH
45693 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45694 not previously defined.
45695 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45696 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45697 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45699 * sysdeps/ieee754/flt-32/math_private.h: New file.
45700 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45701 math_private.h below SET_FLOAT_WORD.
45702 (__isnan, __isinf_ns, __finite): Remove.
45703 (__isnanf, __isinf_nsf, __finitef): Remove.
45704
e79d442e
AS
457052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45706
45707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45708
90b80344
DM
457092012-03-17 David S. Miller <davem@davemloft.net>
45710
45711 [BZ #6471]
45712 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45713 for 2.16.
45714
edc21804
DM
457152012-03-16 David S. Miller <davem@davemloft.net>
45716
77e927af
DM
45717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45718 warnings.
45719
374976dd
DM
45720 [BZ #6471]
45721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45722 properly.
45723 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45724 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45725 sysdep_routines when subdir is sysvipc.
45726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45727 __getshmlba helper.
45728
edc21804
DM
45729 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45730
473c3ef3
L
457312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45732
45733 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45734 [__LP64__].
45735
eb0f39b6
L
457362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45737
45738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45740 (__lround): Renamed to ...
45741 (__llround): This. Replace long int with long long int.
45742 Define lround functions as aliases of llround functions.
45743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45744
6b6cd74b
L
457452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45746
45747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45748 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45749 adresses to uintptr_t. Replace "long int" and "unsigned long
45750 int" with "greg_t" on va_arg.
45751
f1a77b01
L
457522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45753
45754 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45755 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45756
45757 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45758 Move e_machine check before EI_CLASS check. Handle x32
45759 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45760 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45761 SKIP_EM_IA_64 and include
45762 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45763
45764 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45765 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45766 (add_system_dir): New macro.
45767
45768 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45770
11b90b9f
JM
457712012-03-16 Joseph Myers <joseph@codesourcery.com>
45772
c36e1d23
JM
45773 [BZ #2551]
45774 [BZ #2552]
45775 [BZ #2553]
45776 [BZ #2554]
45777 [BZ #2562]
45778 [BZ #2563]
45779 [BZ #2565]
45780 [BZ #2566]
45781 [BZ #2576]
45782 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45783 (y0): Likewise.
45784 * math/w_j0f.c (j0f): Likewise.
45785 (y0f): Likewise.
45786 * math/w_j0l.c (__j0l): Likewise.
45787 (__y0l): Likewise.
45788 * math/w_j1.c (j1): Likewise.
45789 (y1): Likewise.
45790 * math/w_j1f.c (j1f): Likewise.
45791 (y1f): Likewise.
45792 * math/w_j1l.c (__j1l): Likewise.
45793 (__y1l): Likewise.
45794 * math/w_jn.c (jn): Likewise.
45795 (yn): Likewise.
45796 * math/w_jnf.c (jnf): Likewise.
45797 (ynf): Likewise.
45798 * math/w_jnl.c (__jnl): Likewise.
45799 (__ynl): Likewise.
45800 * math/libm-test.inc (j0_test): Add more tests.
45801 (j1_test): Likewise.
45802 (jn_test): Likewise. Add trailing semicolon to existing test.
45803 (y0_test): Likewise.
45804 (y1_test): Likewise.
45805 * sysdeps/i386/fpu/libm-test-ulps: Update.
45806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45807
11b90b9f
JM
45808 [BZ #13851]
45809 [BZ #13854]
45810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45811 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45812 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45814 (__tanl): Set errno for infinite argument.
45815 * sysdeps/i386/fpu/mptan.c: Remove.
45816 * sysdeps/i386/fpu/s_tan.S: Likewise.
45817 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45818 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45819 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45820 * math/libm-test.inc (tan_test): Add more tests and enable more
45821 tests for double and long double.
45822 * sysdeps/i386/fpu/libm-test-ulps: Update.
45823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45824
6a1bd2a1
JK
458252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45826
45827 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45828 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45829
10a803e0
RM
458302012-03-16 Roland McGrath <roland@hack.frob.com>
45831
45832 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45833 * configure.in: Use it for both main tree and add-ons.
45834 * configure: Regenerated.
45835
f196c7f7
L
458362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45837
45838 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45839
8848d99d
JM
458402012-03-16 Joseph Myers <joseph@codesourcery.com>
45841
96cbe7f4
JM
45842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45843 in comment.
45844
8848d99d
JM
45845 [BZ #13851]
45846 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45847 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45848 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45850 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45851 infinite argument.
45852 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45854 != 0 for prec == 2.
45855 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45856 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45857 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45858 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45859 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45860 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45861 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45862 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45863 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45864 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45865 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45866 * math/libm-test.inc (cos_test): Add more tests and enable more
45867 tests for long double.
45868 (sin_test): Likewise.
45869 (sincos_test): Likewise.
45870 * sysdeps/i386/fpu/libm-test-ulps: Update.
45871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45872
dd7f4703
DM
458732012-03-16 David S. Miller <davem@davemloft.net>
45874
45875 * sysdeps/sparc/fpu/math_private.h: New file.
45876
006f1daa
DM
458772012-03-15 David S. Miller <davem@davemloft.net>
45878
c0c83bc8
DM
45879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45880 file.
e6a62e18 45881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45883 file.
e6a62e18
DM
45884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45890 sysdep routines.
45891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45892
88cb87d9
DM
45893 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45894 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45895
006f1daa 45896 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45898 sparc-ifunc.h
006f1daa 45899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45901 Likewise.
45902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45903 Likewise.
006f1daa
DM
45904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45908 Likewise.
006f1daa
DM
45909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45914 Likewise.
45915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45916 Likewise.
006f1daa
DM
45917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45941
11e0098e
AS
459422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45943
45944 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45945 scaling.
45946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45947
e85b09d0
AJ
459482012-03-15 Andreas Jaeger <aj@suse.de>
45949
45950 [BZ #13852]
45951 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45952 ieee754/flt-32 implementation for sin, cos and sincos.
45953 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45954 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45955 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45956 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45957 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45958 ieee754/flt-32 implementation for tan.
45959
45960 * math/libm-test.inc (cos_test): Enable some large input tests for
45961 float as well
45962 (sin_test): Likewise.
45963 (sincos_test): Likewise.
45964 (tan_test): Add tests for large input.
45965
45966 * sysdeps/i386/fpu/libm-test-ulps: Update.
45967
81c64153
AJ
459682012-03-15 Andreas Jaeger <aj@suse.de>
45969
45970 [BZ #13658]
45971 * math/libm-test.inc (cos_test): Add more test cases.
45972 (sin_test): Likewise.
45973 (sincos_test): Likewise.
45974
7bbfa5c6
AJ
459752012-03-15 Andreas Jaeger <aj@suse.de>
45976
45977 [BZ #13837]
45978 * math/libm-test.inc (cos_test): Add a test case for large input
45979 value.
45980 (sin_test): Likewise.
45981 (sincos_test): Likewise.
45982
57f41c40
AS
459832012-03-15 Andreas Jaeger <aj@suse.de>
45984 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
45985
45986 [BZ #13658]
0671f479 45987 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
45988 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45989 * sysdeps/i386/fpu/branred.c: Likewise.
45990 * sysdeps/i386/fpu/dosincos.c: Likewise.
45991 * sysdeps/i386/fpu/mpa.c: Likewise.
45992 * sysdeps/i386/fpu/s_cos.S: Likewise.
45993 * sysdeps/i386/fpu/s_sin.S: Likewise.
45994 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45995 * sysdeps/i386/fpu/sincos32.c: Likewise.
45996
45997 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45998 Define.
45999 (libc_feupdateenv_53bit): Define.
46000 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46001 Define.
46002 (libc_feupdateenv_53bit): Define.
46003
46004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46005 53 bit (without extend i386 double precision).
46006
46007 * math/libm-test.inc (sincos_test): Add tests for large input.
46008 (sin): Likewise.
46009 (cos): Likewise.
46010
46011 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46012
9cad04ea
AS
460132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46014
46015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46016
f7062b9a
DM
460172012-03-15 David S. Miller <davem@davemloft.net>
46018
46019 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46020 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46021 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46022 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46035 file.
f7062b9a 46036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46038 file.
f7062b9a 46039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46041 file.
f7062b9a 46042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46044 file.
f7062b9a
DM
46045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46047 fmin/fmax sysdep routines.
46048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46049
7bd951ff
DM
460502012-03-14 David S. Miller <davem@davemloft.net>
46051
559398ab
DM
46052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46081 routines.
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46083 file.
559398ab 46084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46086 file.
559398ab 46087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46089 file.
559398ab 46090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46092 file.
559398ab 46093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46095 file.
559398ab 46096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46098 file.
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46100 file.
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46102 file.
46103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46104 file.
46105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46106 New file.
46107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46108 file.
46109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46110 file.
559398ab 46111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46113 file.
559398ab 46114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46116 file.
559398ab 46117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46119 file.
559398ab 46120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46122 VIS3 routines.
559398ab
DM
46123
46124 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46125 New file.
46126
5a1c1e32
DM
46127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46128
eae47a36
DM
46129 * sysdeps/sparc/configure.in: New file.
46130 * sysdeps/sparc/configure: Generate.
46131 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46132 * configure: Regenerate.
46133 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46134 * config.make.in (have-as-vis3): New.
46135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46136 available use -Av9d instead of -Av9a.
46137 * sysdeps/sparc/sparc64/Makefile: Likewise.
46138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46140 New file.
46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46142 file.
46143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46144 New file.
46145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46146 file.
eae47a36
DM
46147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46152
c0c83bc8
DM
46153 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46154 fzeros/fnegs to load 0x80000000 into a float register instead of
46155 using the stack.
7bd951ff
DM
46156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46157
bd951ccb
JM
461582012-03-14 Joseph Myers <joseph@codesourcery.com>
46159
46160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46161 bits/syscall.h.
46162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46164 ($(inst_includedir)/bits/syscall.h): Remove rule.
46165 ($(objpfx)bits/syscall.d): Include instead of
46166 $(objpfx)syscall-list.d.
46167 (generated): Change syscall-list.h and syscall-list.d to
46168 bits/syscall.h and bits/syscall.d.
46169
bb4e6db2
RM
461702012-03-14 Roland McGrath <roland@hack.frob.com>
46171
46172 [BZ #13846]
46173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46174
aa4a2ae1
JM
461752012-03-14 Joseph Myers <joseph@codesourcery.com>
46176
e456826d
JM
46177 [BZ #13841]
46178 * math/s_csqrt.c: Include <float.h>.
46179 (__csqrt): Scale large or subnormal inputs.
46180 * math/s_csqrtf.c: Likewise.
46181 * math/s_csqrtl.c: Likewise.
46182 * math/libm-test.inc (csqrt_test): Add more tests.
46183 * sysdeps/i386/fpu/libm-test-ulps: Update.
46184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46185
aa4a2ae1
JM
46186 [BZ #13840]
46187 * math/libm-test.inc (hypot_test): Add more tests.
46188
7c10fd35
DM
461892012-03-13 David S. Miller <davem@davemloft.net>
46190
46191 [BZ #13840]
46192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46193 double-precision for the calculation instead of scaling.
46194
f453b98b
JM
461952012-03-13 Joseph Myers <joseph@codesourcery.com>
46196
46197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46198 manipulate bits before adding and subtracting TWO52[sx].
46199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46201 Likewise.
46202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46203
09a3453f
DM
462042012-03-13 David S. Miller <davem@davemloft.net>
46205
8e59da90
DM
46206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46209 rtld-global-offsets.h
46210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46211
2a8ab7f2
DM
46212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46213 large parameters.
46214
10f62770
DM
46215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46216
5f0bdb18
DM
46217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46218 'err' in the ifdef scope in which it is actually used.
46219
09a3453f
DM
46220 * nss/nss_db/db-init.c: Include string.h
46221
b4b2eb5e
DM
462222012-03-12 David S. Miller <davem@davemloft.net>
46223
98bb2f1c
DM
46224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46225 masking out of the most significant byte of random value used.
46226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46227 Fix coding style in previous change.
46228
b4b2eb5e
DM
46229 * sysdeps/unix/sysv/linux/kernel-features.h
46230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46232 expression.
46233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46234 later.
46235
6e226b09
DM
462362012-03-11 David S. Miller <davem@davemloft.net>
46237
a1bcbd40
DM
46238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46241 for 'resultvar' otherwise things get truncated on 64-bit.
46242
cb9d6174
DM
46243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46244 Fix masking out of the most significant byte of random value used.
46245
6e226b09
DM
46246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46247
058c132d
AS
462482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46249
46250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46251
2d2cd515
DM
462522012-03-09 David S. Miller <davem@davemloft.net>
46253
46254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46255 variables with appropriate CPP guards.
57f41c40
AS
46256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46257 from the frame pointer, not the stack pointer. Correct layout
46258 comments. Fix test on resulting framesize and the management of
46259 the outregs buffer for pltexit. Preserve floating point return
46260 values across _dl_call_pltexit call.
2d2cd515
DM
46261 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46262 framesize and the management of the outregs buffer for pltexit.
46263 Preserve floating point return values across _dl_call_pltexit
46264 call.
57f41c40
AS
46265 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46266 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46267 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46268 (print_exit): Fix format string for return register value.
46269
9a07f9d0
JM
462702012-03-10 Joseph Myers <joseph@codesourcery.com>
46271
46272 * sunrpc/Makefile (others): Add rpcgen.
46273 ($(objpfx)rpcgen): Remove special build rule and dependency on
46274 libc.
46275 * sunrpc/rpcgen.c: New file.
46276
547b5e30
PE
462772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46278
c524201a
PE
46279 [BZ #13673]
46280 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46281 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46282 * sysdeps/i386/crti.S: Likewise.
46283 * sysdeps/i386/crtn.S: Likewise.
46284 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46285 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46286 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46287 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46288 * sysdeps/sh/crti.S: Likewise.
46289 * sysdeps/sh/crtn.S: Likewise.
46290 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46291
7b6235f2
PE
46292 [BZ #13673]
46293 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46294 with URL.
46295 * locale/programs/locfile-kw.gperf: Likewise.
46296 * locale/programs/charmap-kw.h: Regenerated.
46297 * locale/programs/locfile-kw.h: Likewise.
46298
547b5e30
PE
46299 [BZ #13673]
46300 * intl/plural.y: Replace FSF snail mail address with URL.
46301 * intl/plural.c: Regenerated.
46302
5f0a5dae
RH
463032012-03-09 Richard Henderson <rth@twiddle.net>
46304
46305 * include/math_private.h: Remove file.
46306 * math/math_private.h: Move file ...
46307 * sysdeps/generic/math_private.h: ... here.
46308
b8c03620
RH
46309 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46310 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46311 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46312
4e234f5d 46313 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46314 and <math_private.h>.
46315 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46316 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46317 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46318 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46319 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46320 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46321 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46322 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46323 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46326 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46327 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46329 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46330 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46331 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46332 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46333 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46334 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46335 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46336 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46337 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46338 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46339 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46340 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46341 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46342 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46344 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46345 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46347 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46348 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46349 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46350 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46351 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46352 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46353 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46354 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46355 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46356 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46357 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46358 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46359 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46360 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46361 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46362 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46364 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46365 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46366 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46367 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46368 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46369 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46370 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46372 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46373 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46374 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46375 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46377 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46394 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46395 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46396 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46399 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46403 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46404 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46405 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46406 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46407 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46409 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46410 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46411 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46412 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46413 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46414 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46415 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46416 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46417 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46418 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46419 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46420 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46421 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46422 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46423 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46424 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46425 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46426 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46427 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46428 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46429 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46430 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46431 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46432 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46433 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46434 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46435 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46436 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46437 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46438 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46439 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46440 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46441 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46442 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46443 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46444 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46445 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46446 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46447 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46448 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46449 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46450 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46451 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46452 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46453 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46454 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46455 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46456 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46457 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46458 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46459 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46460 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46461 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46462 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46463 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46464 * sysdeps/ieee754/k_standard.c: Likewise.
46465 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46466 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46467 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46468 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46469 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46470 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46471 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46472 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46473 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46474 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46475 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46476 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46477 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46478 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46479 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46480 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46481 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46482 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46483 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46484 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46485 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46486 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46487 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46488 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46490 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46491 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46492 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46493 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46494 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46495 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46496 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46497 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46498 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46499 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46500 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46501 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46502 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46503 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46504 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46505 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46506 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46507 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46508 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46509 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46510 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46511 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46513 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46514 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46515 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46516 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46517 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46518 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46519 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46520 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46531 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46533 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46534 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46538 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46539 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46540 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46541 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46547 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46552 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46580 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46583 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46584 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46585 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46587 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46588 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46592 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46594 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46595 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46597 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46598 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46612 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46613 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46614 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46617 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46618 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46625 * sysdeps/ieee754/s_lib_version.c: Likewise.
46626 * sysdeps/ieee754/s_matherr.c: Likewise.
46627 * sysdeps/ieee754/s_signgam.c: Likewise.
46628 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46629 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46630 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46631 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46632 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46633 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46634 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46635 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46636 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46637 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46638 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46639 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46640 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46641 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46642 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46643 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46644 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46645 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46646 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46647 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46649
1991fa03
JM
466502012-03-09 Joseph Myers <joseph@codesourcery.com>
46651
46652 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46653 * sunrpc/rpc_main.c: Likewise.
46654 * sunrpc/rpc_svcout.c: Likewise.
46655
60d6f5a6
DM
466562012-03-09 David S. Miller <davem@davemloft.net>
46657
46658 * include/math_private.h: New file.
46659
4962050e
JM
466602012-03-09 Joseph Myers <joseph@codesourcery.com>
46661
02a6f887
JM
46662 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46663 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46664 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46665 from <bits/socket_type.h>.
46666 (enum __socket_type): Don't define here.
46667 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46669 bits/socket_type.h.
46670
c6e013c1
JM
46671 [BZ #13566]
46672 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46673 checking __USE_GNU.
46674
4962050e
JM
46675 * Makerules ($(inst_includedir)/%.h): New rule.
46676 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46677 (install-others): Remove variable setting.
46678 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46679
38842f45
RH
466802012-03-08 Richard Henderson <rth@twiddle.net>
46681
67bb6da6
RH
46682 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46683 from macro to inline function; merge with the
46684 !__LIBC_INTERNAL_MATH_INLINES version.
46685 (__ieee754_sqrtf): Likewise.
46686
15194b4b
RH
46687 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46688 to inline function.
46689 (__rintf, __floor, __floorf): Likewise.
46690
64e21ede
RH
46691 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46692 macro to inline function.
46693 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46694
38842f45
RH
46695 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46696 not <math/math_private.h>.
46697
c64bf5fe
DM
466982012-03-08 David S. Miller <davem@davemloft.net>
46699
46700 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46701 copyright year.
46702 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46703
82d86f28
TS
467042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46705
46706 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46707 normalization.
46708 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46709 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46710
aea5d727
UD
467112012-03-08 Ulrich Drepper <drepper@gmail.com>
46712
46713 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46714 be defined individually, they must be defined as a block. Define
46715 S for printing a string instead of hidint the different by using a
46716 macro for adding the 'l'.
46717 * stdio-common/tst-fphex-wide.c: Adjust.
46718
70bca0a3
MP
467192012-03-07 Marek Polacek <polacek@redhat.com>
46720
46721 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46722
65b81130
MP
467232012-03-08 Marek Polacek <polacek@redhat.com>
46724
46725 [BZ #13806]
46726 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46727 * stdio-common/tst-fphex.c: Define a few macros to make the
46728 test reusable. Use them.
46729 * stdio-common/tst-fphex-wide.c: New file.
46730
07037eeb
JM
467312012-03-08 Joseph Myers <joseph@codesourcery.com>
46732
a7a93d50
JM
46733 [BZ #6911]
46734 * manual/macros.texi (gnusystems): New macro.
46735 (nongnusystems): Likewise.
46736 (gnulinuxhurdsystems): Likewise.
46737 (gnuhurdsystems): Likewise..
46738 (gnulinuxsystems): Likewise.
46739 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46740 variants of the GNU system, not "GNU system".
46741 * manual/conf.texi: Likewise.
46742 * manual/errno.texi: Likewise. Update example of errno macro
46743 expansion.
46744 * manual/filesys.texi: Likewise.
46745 (getumask): Document as specific to GNU/Hurd.
46746 * manual/install.texi: Likewise. Reword some references to
46747 GNU/Linux.
46748 * manual/intro.texi: Likewise.
46749 * manual/io.texi: Likewise.
46750 (File Name Portability): Detail which constraints are inapplicable
46751 to all GNU systems and which are only inapplicable to GNU/Hurd.
46752 * manual/job.texi: Likewise.
46753 * manual/llio.texi: Likewise.
46754 (O_NOCTTY): Document as present on GNU/Linux.
46755 * manual/maint.texi: Likewise.
46756 * manual/memory.texi: Likewise.
46757 * manual/pattern.texi: Likewise.
46758 * manual/pipe.texi: Likewise.
46759 * manual/process.texi: Likewise.
46760 * manual/resource.texi: Likewise.
46761 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46762 child on GNU/Hurd.
46763 * manual/setjmp.texi: Likewise.
46764 * manual/signal.texi: Likewise.
46765 * manual/startup.texi: Likewise.
46766 * manual/stdio.texi: Likewise.
46767 * manual/terminal.texi: Likewise.
46768 (ONLCR): Document as POSIX.
46769 (OXTABS): Document availability on GNU/Linux as XTABS.
46770 (ONOEOT): Document availability separately from other bits.
46771 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46772 * manual/time.texi: Likewise.
46773 * manual/users.texi: Likewise.
46774 * INSTALL: Regenerated.
46775 * sysdeps/gnu/errlist.c: Regenerated.
46776
07037eeb
JM
46777 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46778 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46779 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46780 puts.
46781 * configure: Regenerated.
46782
d1d3431a
JM
467832012-03-07 Joseph Myers <joseph@codesourcery.com>
46784
af6a1e37
JM
46785 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46786 default includes instead of AC_HEADER_CHECK.
46787 * sysdeps/i386/configure: Regenerated.
46788
d1d3431a
JM
46789 [BZ #10716]
46790 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46791 * math/s_cacoshf.c (__cacoshf): Likewise.
46792 * math/s_cacoshl.c (__cacoshl): Likewise.
46793 * math/s_casinh.c (__casinh): Set signs of result from argument.
46794 * math/s_casinhf.c (__casinhf): Likewise.
46795 * math/s_casinhl.c (__casinhl): Likewise.
46796 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46797 (casinh_test): Add more tests.
46798 * sysdeps/i386/fpu/libm-test-ulps: Update.
46799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46800
482ff4da
UD
468012012-03-07 Ulrich Drepper <drepper@gmail.com>
46802
872fda05
UD
46803 * po/zh_TW.po: Update from translation team.
46804
a4300c7a
UD
46805 * login/Makefile (distribute): Remove variable.
46806 * catgets/Makefile: Likewise.
46807 * mach/Makefile: Likewise.
46808 * malloc/Makefile: Likewise.
46809 * misc/Makefile: Likewise.
46810 * iconv/Makefile: Likewise.
46811 * nscd/Makefile: Likewise.
46812 * hurd/Makefile: Likewise.
46813 * manual/Makefile: Likewise.
46814 * locale/Makefile: Likewise.
46815 * intl/Makefile: Likewise.
46816 * conform/Makefile: Likewise.
46817 * nss/Makefile: Likewise.
46818 * time/Makefile: Likewise.
46819 * soft-fp/Makefile: Likewise.
46820 * dirent/Makefile: Likewise.
46821 * gmon/Makefile: Likewise.
46822 * po/Makefile: Likewise.
46823 * rt/Makefile: Likewise.
46824 * socket/Makefile: Likewise.
46825 * math/Makefile: Likewise.
46826 * signal/Makefile: Likewise.
46827 * debug/Makefile: Likewise.
46828 * elf/Makefile: Likewise.
46829 * timezone/Makefile: Likewise.
46830 * stdlib/Makefile: Likewise.
46831 * iconvdata/Makefile: Likewise.
46832 * sunrpc/Makefile: Likewise.
46833 * io/Makefile: Likewise.
46834 * argp/Makefile: Likewise.
46835 * inet/Makefile: Likewise.
46836 * hesiod/Makefile: Likewise.
46837 * grp/Makefile: Likewise.
46838 * csu/Makefile: Likewise.
46839 * wctype/Makefile: Likewise.
46840 * crypt/Makefile: Likewise.
46841 * libio/Makefile: Likewise.
46842 * string/Makefile: Likewise.
46843 * nis/Makefile: Likewise.
46844 * resolv/Makefile: Likewise.
46845 * stdio-common/Makefile: Likewise.
46846 * wcsmbs/Makefile: Likewise.
46847 * dlfcn/Makefile: Likewise.
46848 * posix/Makefile: Likewise.
46849
3b7c4e74 46850 [BZ #6959]
482ff4da
UD
46851 * timezone/Makefile: Don't install timezone files, just the programs
46852 and scripts.
46853
f72ed77d
UD
468542012-03-06 Ulrich Drepper <drepper@gmail.com>
46855
a000466f
UD
46856 * nss/databases.def: Add missing gshadow entry.
46857
f72ed77d
UD
46858 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46859
a53b7a4e
MP
468602012-03-06 Marek Polacek <polacek@redhat.com>
46861
46862 [BZ #13726]
46863 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46864 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46865 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46866 * stdio-common/tst-long-dbl-fphex.c: New file.
46867
e9258400
DM
468682012-03-06 David S. Miller <davem@davemloft.net>
46869
46870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46871 (set_obp_int): New function.
46872 (get_obp_int): New function.
46873 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46874 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46875 Avoid unused variable warnings on 'val' and use builtin_expect.
46876 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46877 __builtin_expect.
e9258400
DM
46878 (INLINE_CLONE_SYSCALL): Likewise.
46879
3bd2c723
DM
468802012-03-05 David S. Miller <davem@davemloft.net>
46881
46882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46883
bbb78d03
AS
468842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46885
884c5db4
AS
46886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46887
bbb78d03
AS
46888 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46889 only for |x| >= 40.
46890 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46891
1c9f702a 468922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46893
46894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46895 Replace gettimeofday with __vdso_gettimeofday.
46896
7be16f82
RM
46897 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46898 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46899 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46900
46901 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46902 time with __vdso_time.
46903
ed58a00f
JM
469042012-03-05 Joseph Myers <joseph@codesourcery.com>
46905
46906 * manual/lang.texi (size_t): Note types to which size_t may be
46907 equivalent with the GNU C Library, but do not describe when
46908 differences between them are significant.
46909
30ee4ced
AJ
469102012-03-05 Andreas Jaeger <aj@suse.de>
46911
46912 * sysdeps/i386/fpu/libm-test-ulps: Update.
46913
b7cd39e8
JM
469142012-03-05 Joseph Myers <joseph@codesourcery.com>
46915
46916 [BZ #3976]
46917 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46918 (__ieee754_pow): Save and restore rounding mode and use
46919 round-to-nearest for main computations.
46920 * math/libm-test.inc (pow_test_tonearest): New function.
46921 (pow_test_towardzero): Likewise.
46922 (pow_test_downward): Likewise.
46923 (pow_test_upward): Likewise.
46924 (main): Call the new functions.
46925 * sysdeps/i386/fpu/libm-test-ulps: Update.
46926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46927
46928 [BZ #3976]
46929 * math/libm-test.inc (cosh_test_tonearest): New function.
46930 (cosh_test_towardzero): Likewise.
46931 (cosh_test_downward): Likewise.
46932 (cosh_test_upward): Likewise.
46933 (sinh_test_tonearest): Likewise.
46934 (sinh_test_towardzero): Likewise.
46935 (sinh_test_downward): Likewise.
46936 (sinh_test_upward): Likewise.
46937 (main): Call the new functions.
46938 * sysdeps/i386/fpu/libm-test-ulps: Update.
46939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46940
6c6a98c9
TV
469412012-03-05 Tom de Vries <tom@codesourcery.com>
46942
46943 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46944 default stack guard is set in last bytes.
46945 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46946
21bb2d2e 469472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 46948
21bb2d2e 46949 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 46950
21bb2d2e
AJ
46951 [BZ #13656]
46952 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46953 possibly allocate from heap instead of stack.
46954 * stdio-common/bug-vfprintf-nargs.c: New file.
46955 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 46956
c6922934
AS
469572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46958
46959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46960
bc957d53
MP
469612012-03-03 Marek Polacek <polacek@redhat.com>
46962
46963 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46964 * math/math_private.h: Likewise.
46965 * stdlib/tst-strtod.c: Likewise.
46966 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46967 * sysdeps/x86_64/bits/atomic.h: Likewise.
46968
6358490d
DM
469692012-03-02 David S. Miller <davem@davemloft.net>
46970
46971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46975 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46976 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46977 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46978 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46979
01ae168d
RM
469802012-03-02 Roland McGrath <roland@hack.frob.com>
46981
d9a17c07
RM
46982 [BZ #13792]
46983 * manual/examples/README: New file, says the example source files
46984 can be used under GPL>=2.
46985 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46986 line containing just "*/".
46987 * manual/examples/add.c: Add copyright header (GPL>=2).
46988 * manual/examples/argp-ex1.c: Likewise.
46989 * manual/examples/argp-ex2.c: Likewise.
46990 * manual/examples/argp-ex3.c: Likewise.
46991 * manual/examples/argp-ex4.c: Likewise.
46992 * manual/examples/atexit.c: Likewise.
46993 * manual/examples/db.c: Likewise.
46994 * manual/examples/dir.c: Likewise.
46995 * manual/examples/dir2.c: Likewise.
46996 * manual/examples/execinfo.c: Likewise.
46997 * manual/examples/filecli.c: Likewise.
46998 * manual/examples/filesrv.c: Likewise.
46999 * manual/examples/fmtmsgexpl.c: Likewise.
47000 * manual/examples/genpass.c: Likewise.
47001 * manual/examples/inetcli.c: Likewise.
47002 * manual/examples/inetsrv.c: Likewise.
47003 * manual/examples/isockad.c: Likewise.
47004 * manual/examples/longopt.c: Likewise.
47005 * manual/examples/memopen.c: Likewise.
47006 * manual/examples/memstrm.c: Likewise.
47007 * manual/examples/mkfsock.c: Likewise.
47008 * manual/examples/mkisock.c: Likewise.
47009 * manual/examples/mygetpass.c: Likewise.
47010 * manual/examples/pipe.c: Likewise.
47011 * manual/examples/popen.c: Likewise.
47012 * manual/examples/rprintf.c: Likewise.
47013 * manual/examples/search.c: Likewise.
47014 * manual/examples/select.c: Likewise.
47015 * manual/examples/setjmp.c: Likewise.
47016 * manual/examples/sigh1.c: Likewise.
47017 * manual/examples/sigusr.c: Likewise.
47018 * manual/examples/stpcpy.c: Likewise.
47019 * manual/examples/strdupa.c: Likewise.
47020 * manual/examples/strftim.c: Likewise.
47021 * manual/examples/strncat.c: Likewise.
47022 * manual/examples/subopt.c: Likewise.
47023 * manual/examples/swapcontext.c: Likewise.
47024 * manual/examples/termios.c: Likewise.
47025 * manual/examples/testopt.c: Likewise.
47026 * manual/examples/testpass.c: Likewise.
47027 * manual/examples/timeval_subtract.c: Likewise.
47028
01ae168d
RM
47029 [BZ #13792]
47030 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47031 function to ...
47032 * manual/timeval_subtract.c.texi: ... here, new file.
47033
49efa33d
DM
470342012-03-02 David S. Miller <davem@davemloft.net>
47035
47036 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47037
28afd92d
JM
470382012-03-02 Joseph Myers <joseph@codesourcery.com>
47039
804360ed
JM
47040 [BZ #3976]
47041 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47042 (__sin): Save and restore rounding mode and use round-to-nearest
47043 for all computations.
47044 (__cos): Save and restore rounding mode and use round-to-nearest
47045 for all computations.
47046 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47047 <fenv.h>.
47048 (tan): Save and restore rounding mode and use round-to-nearest for
47049 all computations.
47050 * math/libm-test.inc (cos_test_tonearest): New function.
47051 (cos_test_towardzero): Likewise.
47052 (cos_test_downward): Likewise.
47053 (cos_test_upward): Likewise.
47054 (sin_test_tonearest): Likewise.
47055 (sin_test_towardzero): Likewise.
47056 (sin_test_downward): Likewise.
47057 (sin_test_upward): Likewise.
47058 (tan_test_tonearest): Likewise.
47059 (tan_test_towardzero): Likewise.
47060 (tan_test_downward): Likewise.
47061 (tan_test_upward): Likewise.
47062 (main): Call the new functions.
47063 * sysdeps/i386/fpu/libm-test-ulps: Update.
47064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47065
a6d06d7b
JM
47066 [BZ #10135]
47067 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47068 small n, then large n, before computing and testing k+n.
47069 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47071 Likewise.
47072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47073 Likewise.
47074 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47075 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47076 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47077 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47078 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47079 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47080 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47081 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47082 * math/libm-test.inc (scalbn_test): Add more tests.
47083 (scalbln_test): Likewise.
47084
07e12bb3
JM
47085 * manual/filesys.texi (mode_t): Describe constraints on size and
47086 signedness, not exact equivalence to a particular type.
47087 (ino_t): Likewise.
47088 (ino64_t): Likewise.
47089 (dev_t): Likewise.
47090 (nlink_t): Likewise.
47091 (blkcnt_t): Likewise.
47092 (blkcnt64_t): Likewise.
47093 * manual/llio.texi (off_t): Likewise.
47094
28afd92d
JM
47095 [BZ #3976]
47096 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47097 (__ieee754_exp): Save and restore rounding mode and use
47098 round-to-nearest for all computations.
47099 * math/libm-test.inc (exp_test_tonearest): New function.
47100 (exp_test_towardzero): Likewise.
47101 (exp_test_downward): Likewise.
47102 (exp_test_upward): Likewise.
47103 (main): Call the new functions.
47104 * sysdeps/i386/fpu/libm-test-ulps: Update.
47105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47106
b1eeb65d
CD
471072012-03-01 Chris Demetriou <cgd@google.com>
47108
47109 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47110 have predictable order.
47111
53362a4b
DM
471122012-03-01 David S. Miller <davem@davemloft.net>
47113
3c969083
DM
47114 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47115
759707de
DM
47116 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47117 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47118 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47119 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47120
dfdb8ff2
DM
47121 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47122 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47123 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47125 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47126 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47127 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47128 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47129 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47130
ead89f96
DM
47131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47132
7f66bd07
DM
47133 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47134 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47135 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47136
53362a4b
DM
47137 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47138 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47139 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47140 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47141 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47142 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47144 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47145 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47146 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47147 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47148 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47149 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47150 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47151 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47152 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47153 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47154 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47155 * sysdeps/sparc/elf/configure: Regenerated.
47156
7b1902cb
JM
471572012-03-01 Joseph Myers <joseph@codesourcery.com>
47158
bec039bc
JM
47159 * configure.in (AS, LD): Require binutils 2.20 or later.
47160 * configure: Regenerated.
47161 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47162 as required minimum version.
47163 * INSTALL: Regenerated.
47164
7b1902cb
JM
47165 [BZ #2541]
47166 [BZ #4108]
47167 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47168 before squaring exponent.
47169 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47170 bottom long double and 27 bits of top long double before squaring
47171 exponent.
47172 * math/libm-test.inc (erfc_test): Add more tests.
47173 * sysdeps/i386/fpu/libm-test-ulps: Update.
47174 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47176
f775c276
KT
471772012-03-01 Kai Tietz <ktietz@redhat.com>
47178
47179 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47180 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47181 containing bit-fields.
47182 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47183 * soft-fp/single.h (_FP_UNION_S): Likewise.
47184 * soft-fp/double.h (_FP_UNION_D): Likewise.
47185
5b8a4d4a
JM
471862012-02-29 Joseph Myers <joseph@codesourcery.com>
47187
0bab47b6
JM
47188 [BZ #13786]
47189 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47190 not include ../strcmp.S.
47191 [USE_AS_STRNCASECMP_L]: Likewise.
47192 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47193 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47194 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47195 (__strncasecmp_l_ia32): Define as alias to
47196 __strncasecmp_l_nonascii.
47197
0fcad3e2
JM
47198 [BZ #5794]
47199 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47200 * sysdeps/i386/fpu/libm-test-ulps: Update.
47201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47202
5b8a4d4a
JM
47203 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47205
8fdceb2e
JL
472062012-02-29 Jeff Law <law@redhat.com>
47207
47208 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47209 out of bounds read.
47210
1f393a11
MP
472112012-02-29 Marek Polacek <polacek@redhat.com>
47212
47213 [BZ #13706]
47214 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47215 * elf/Makefile: Add rules to run tst-unused-dep.out.
47216
8847f037
DM
472172012-02-28 David S. Miller <davem@davemloft.net>
47218
47219 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47220 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47221 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47223 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47224 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47225
169d7f11
JM
472262012-02-29 Joseph Myers <joseph@codesourcery.com>
47227
47228 * math/libm-test.inc (llround_test): Move one test from
47229 lround_test. Use TEST_f_L in moved test.
47230 (lround_test): Move misplaced test to llround_test. Add testcase
47231 from bug 2561.
47232
39adf059
UD
472332012-02-28 Ulrich Drepper <drepper@gmail.com>
47234
47235 * sysdeps/x86_64/fpu/e_expf.S: New file.
47236 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47237
71b5d1c5
SB
472382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47239
47240 [BZ #13637]
47241 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47242 of remain_len that may cause incomplete multi-byte character and
47243 false match.
47244 * posix/bug-regex33.c: New file.
47245 * posix/Makefile (tests): Add bug-regex33.
47246
1f77f049
JM
472472012-02-28 Joseph Myers <joseph@codesourcery.com>
47248
47249 * manual/macros.texi: New file.
47250 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47251 * manual/libc.texinfo: Include macros.texi.
47252 * manual/creatute.texi: Likewise.
47253 * manual/install.texi: Likewise.
47254 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47255 @glibcadj{} in references to the GNU C Library.
47256 * manual/charset.texi: Likewise.
47257 * manual/conf.texi: Likewise.
47258 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47259 when not using those macros.
47260 * manual/creature.texi: Likewise.
47261 * manual/crypt.texi: Likewise.
47262 * manual/errno.texi: Likewise.
47263 * manual/filesys.texi: Likewise.
47264 * manual/header.texi: Likewise.
47265 * manual/install.texi: Likewise.
47266 * manual/intro.texi: Likewise.
47267 * manual/io.texi: Likewise.
47268 * manual/job.texi: Likewise.
47269 * manual/lang.texi: Likewise.
47270 * manual/libc.texiinfo: Likewise.
47271 * manual/llio.texi: Likewise.
47272 * manual/locale.texi: Likewise.
47273 * manual/maint.texi: Likewise.
47274 * manual/math.texi: Likewise.
47275 * manual/memory.texi: Likewise.
47276 * manual/message.texi: Likewise.
47277 * manual/nss.texi: Likewise.
47278 * manual/pattern.texi: Likewise.
47279 * manual/process.texi: Likewise.
47280 * manual/resource.texi: Likewise.
47281 * manual/search.texi: Likewise.
47282 * manual/setjmp.texi: Likewise.
47283 * manual/signal.texi: Likewise.
47284 * manual/socket.texi: Likewise.
47285 * manual/startup.texi: Likewise.
47286 * manual/stdio.texi: Likewise.
47287 * manual/string.texi: Likewise.
47288 * manual/sysinfo.texi: Likewise.
47289 * manual/syslog.texi: Likewise.
47290 * manual/terminal.texi: Likewise.
47291 * manual/time.texi: Likewise.
47292 * manual/users.texi: Likewise.
47293 * INSTALL: Regenerated.
47294 * NOTES: Regenerated.
d40c5d54 47295 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47296
450bf206
AS
472972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47298
47299 * include/dirent.h: Include <dirstream.h> before
47300 <dirent/dirent.h>.
47301
741a235b
DM
473022012-02-28 David S. Miller <davem@davemloft.net>
47303
47304 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47305 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47306 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47308
d6b5aa58
DM
473092012-02-27 David S. Miller <davem@davemloft.net>
47310
1aff59a3
DM
47311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47313 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47314 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47315
d6b5aa58
DM
47316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47317 frame pointer instead of stack pointer relative arg slot.
47318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47321
433f48bf
CD
473222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47323
47324 [BZ #3992]
47325 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47326
d674b76d
DM
473272012-02-27 David S. Miller <davem@davemloft.net>
47328
47329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47333 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47334 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47335 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47336 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47337
0e7727f7
JM
473382012-02-27 Joseph Myers <joseph@codesourcery.com>
47339
47340 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47341 later. Allow versions 5-9.
43be4ca2 47342 * configure: Regenerated.
0e7727f7
JM
47343 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47344 required minimum version and 4.6 as recommended version. Do not
47345 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47346 * INSTALL: Regenerated.
0e7727f7 47347
a78bc654
DM
473482012-02-27 David S. Miller <davem@davemloft.net>
47349
428d5830
DM
47350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47354 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47355 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47356 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47357 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47358
a78bc654
DM
47359 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47360 manipulate bits before adding and subtracting TWO112[sx].
47361 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47362
4579f81c
RM
473632012-02-27 Roland McGrath <roland@hack.frob.com>
47364
36c8acb4
RM
47365 [BZ #13775]
47366 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47367 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47368 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47369 being in POSIX, because they are in 1003.1-2008.
47370
84ad622b
RM
47371 * rt/tst-aio.c: Include <fcntl.h>.
47372 * rt/tst-aio7.c: Likewise.
47373 * rt/tst-aio64.c: Likewise.
47374
4579f81c
RM
47375 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47376
abd923db
JM
473772012-02-27 Joseph Myers <joseph@codesourcery.com>
47378
47379 * manual/install.texi (--with-headers): Describe headers as
47380 interface headers, not private headers.
47381 (Specific advice for GNU/Linux systems): Describe use of headers
47382 from "make headers_install", not private headers from older
47383 kernels.
43be4ca2 47384 * INSTALL: Regenerated.
abd923db
JM
47385 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47386 Change to 2.6.19.
47387 * sysdeps/unix/sysv/linux/configure: Regenerated.
47388
6664049b
JM
47389 * manual/llio.texi (fclean): Remove documentation.
47390
bb8b6697
JM
47391 * manual/Makefile (libc-texi-generated): New variable. Include
47392 version.texi.
47393 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47394 $(libc-texi-generated), not duplicated list of files.
47395 (version.texi, stamp-version): New rules.
47396 (realclean): Remove $(libc-texi-generated), not individual files
47397 from that list. Do not remove dir-add.texinfo.
47398 * manual/libc.texinfo: Comment out uses of edition numbers and
47399 references to printed manual. Remove last-updated dates.
47400 (EDITION): Comment out.
47401 (ISBN): Likewise.
47402 (VERSION, UPDATED): Remove.
47403 (version.texi): Include.
47404
12e5c3b9
AS
474052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47406
47407 * sysdeps/posix/spawni.c: Include <signal.h>.
47408 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47409 * sysdeps/pthread/aio_fsync.c: Likewise.
47410
4efeffc1 474112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47412
ba63ba08
UD
47413 * conform/Makefile (tests): Run only when not cross-compiling and
47414 when fast-check is not defined.
47415
d94a4670
UD
47416 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47417 * conform/data/limits.h-data: Fixes for POSIX2008.
47418 * conform/run-conformtest.sh: Run all tests.
47419 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47420 headers.
47421 * include/bits/dlfcn.h: Likewise.
47422 * include/langinfo.h: Likewise.
47423 * include/monetary.h: Likewise.
47424 * include/sys/poll.h: Likewise.
47425
47426 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47427 for __USE_GNU.
47428 * posix/spawn.h: Define __need_sigset_t.
47429 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47430 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47431 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47432 to get sigevent_t only.
47433 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47434 only for __USE_GNU.
47435 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47437 process_vm_writev only for __USE_GNU.
47438 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47439
47440 * conform/Makefile: For now ignore errors from run-conformtest.
47441 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47442 POSIX to avoid namespace pollution. Don't prepend headers.
47443 * conform/data/aio.h-data: Fixes for POSIX testing.
47444 * conform/data/fcntl.h-data: Likewise.
47445 * conform/data/glob.h-data: Likewise.
47446 * conform/data/grp.h-data: Likewise.
47447 * conform/data/pthread.h-data: Likewise.
47448 * conform/data/pwd.h-data: Likewise.
47449 * conform/data/signal.h-data: Likewise.
47450 * conform/data/spawn.h-data: Likewise.
47451 * conform/data/stdio.h-data: Likewise.
47452 * conform/data/stdlib.h-data: Likewise.
47453 * conform/data/stropts.h-data: Likewise.
47454 * conform/data/sys/mman.h-data: Likewise.
47455 * conform/data/sys/stat.h-data: Likewise.
47456 * conform/data/sys/types.h-data: Likewise.
47457 * conform/data/sys/wait.h-data: Likewise.
47458 * conform/data/time.h-data: Likewise.
47459 * conform/data/unistd.h-data: Likewise.
47460 * conform/data/utime.h-data: Likewise.
47461
47462 * io/sys/stat.h: fchmod was always in POSIX.
47463 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47464 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47465 * rt/aio.h: Define __need_timespec before including <time.h>.
47466 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47467 struct. Add forward declaration of pthread_attr_t and use it in
47468 sigevent.
47469 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47470 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47471 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47472 always remove CLK_TCK definition.
47473
c20105c3
AS
474742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47475
47476 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47477
7a270350
UD
474782012-02-25 Ulrich Drepper <drepper@gmail.com>
47479
31341567
UD
47480 * conform/run-conformtest.sh: New file.
47481 * conform/Makefile: Run run-conformtest for tests.
47482 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47483 support.
47484
47485 * conform/data/uchar.h-data: New file.
47486 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47487 * conform/data/arpa/inet.h-data: Likewise.
47488 * conform/data/assert.h-data: Likewise.
47489 * conform/data/complex.h-data: Likewise.
47490 * conform/data/cpio.h-data: Likewise.
47491 * conform/data/ctype.h-data: Likewise.
47492 * conform/data/dirent.h-data: Likewise.
47493 * conform/data/dlfcn.h-data: Likewise.
47494 * conform/data/errno.h-data: Likewise.
47495 * conform/data/fcntl.h-data: Likewise.
47496 * conform/data/float.h-data: Likewise.
47497 * conform/data/fmtmsg.h-data: Likewise.
47498 * conform/data/fnmatch.h-data: Likewise.
47499 * conform/data/ftw.h-data: Likewise.
47500 * conform/data/glob.h-data: Likewise.
47501 * conform/data/grp.h-data: Likewise.
47502 * conform/data/iconv.h-data: Likewise.
47503 * conform/data/inttypes.h-data: Likewise.
47504 * conform/data/langinfo.h-data: Likewise.
47505 * conform/data/libgen.h-data: Likewise.
47506 * conform/data/limits.h-data: Likewise.
47507 * conform/data/locale.h-data: Likewise.
47508 * conform/data/math.h-data: Likewise.
47509 * conform/data/monetary.h-data: Likewise.
47510 * conform/data/mqueue.h-data: Likewise.
47511 * conform/data/ndbm.h-data: Likewise.
47512 * conform/data/net/if.h-data: Likewise.
47513 * conform/data/netdb.h-data: Likewise.
47514 * conform/data/netinet/in.h-data: Likewise.
47515 * conform/data/nl_types.h-data: Likewise.
47516 * conform/data/poll.h-data: Likewise.
47517 * conform/data/pthread.h-data: Likewise.
47518 * conform/data/pwd.h-data: Likewise.
47519 * conform/data/regex.h-data: Likewise.
47520 * conform/data/sched.h-data: Likewise.
47521 * conform/data/search.h-data: Likewise.
47522 * conform/data/semaphore.h-data: Likewise.
47523 * conform/data/setjmp.h-data: Likewise.
47524 * conform/data/signal.h-data: Likewise.
47525 * conform/data/spawn.h-data: Likewise.
47526 * conform/data/stdarg.h-data: Likewise.
47527 * conform/data/stdio.h-data: Likewise.
47528 * conform/data/stdlib.h-data: Likewise.
47529 * conform/data/string.h-data: Likewise.
47530 * conform/data/strings.h-data: Likewise.
47531 * conform/data/stropts.h-data: Likewise.
47532 * conform/data/sys/ipc.h-data: Likewise.
47533 * conform/data/sys/mman.h-data: Likewise.
47534 * conform/data/sys/msg.h-data: Likewise.
47535 * conform/data/sys/resource.h-data: Likewise.
47536 * conform/data/sys/select.h-data: Likewise.
47537 * conform/data/sys/sem.h-data: Likewise.
47538 * conform/data/sys/shm.h-data: Likewise.
47539 * conform/data/sys/socket.h-data: Likewise.
47540 * conform/data/sys/stat.h-data: Likewise.
47541 * conform/data/sys/statvfs.h-data: Likewise.
47542 * conform/data/sys/time.h-data: Likewise.
47543 * conform/data/sys/timeb.h-data: Likewise.
47544 * conform/data/sys/times.h-data: Likewise.
47545 * conform/data/sys/types.h-data: Likewise.
47546 * conform/data/sys/uio.h-data: Likewise.
47547 * conform/data/sys/un.h-data: Likewise.
47548 * conform/data/sys/utsname.h-data: Likewise.
47549 * conform/data/sys/wait.h-data: Likewise.
47550 * conform/data/syslog.h-data: Likewise.
47551 * conform/data/tar.h-data: Likewise.
47552 * conform/data/termios.h-data: Likewise.
47553 * conform/data/utime.h-data: Likewise.
47554 * conform/data/utmpx.h-data: Likewise.
47555 * conform/data/varargs.h-data: Likewise.
47556 * conform/data/wchar.h-data: Likewise.
47557 * conform/data/wctype.h-data: Likewise.
47558 * conform/data/wordexp.h-data: Likewise.
47559
47560 * include/stropts.h: New file.
47561 * include/uchar.h: New file.
47562 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47563 * include/assert.h: Likewise.
47564 * include/ctype.h: Likewise.
47565 * include/dirent.h: Likewise.
47566 * include/dlfcn.h: Likewise.
47567 * include/fcntl.h: Likewise.
47568 * include/fnmatch.h: Likewise.
47569 * include/glob.h: Likewise.
47570 * include/grp.h: Likewise.
47571 * include/libio.h: Likewise.
47572 * include/locale.h: Likewise.
47573 * include/math.h: Likewise.
47574 * include/net/if.h: Likewise.
47575 * include/netdb.h: Likewise.
47576 * include/netinet/in.h: Likewise.
47577 * include/pthread.h: Likewise.
47578 * include/pwd.h: Likewise.
47579 * include/regex.h: Likewise.
47580 * include/sched.h: Likewise.
47581 * include/search.h: Likewise.
47582 * include/setjmp.h: Likewise.
47583 * include/signal.h: Likewise.
47584 * include/stdio.h: Likewise.
47585 * include/stdlib.h: Likewise.
47586 * include/string.h: Likewise.
47587 * include/sys/cdefs.h: Likewise.
47588 * include/sys/mman.h: Likewise.
47589 * include/sys/msg.h: Likewise.
47590 * include/sys/resource.h: Likewise.
47591 * include/sys/select.h: Likewise.
47592 * include/sys/socket.h: Likewise.
47593 * include/sys/stat.h: Likewise.
47594 * include/sys/statvfs.h: Likewise.
47595 * include/sys/time.h: Likewise.
47596 * include/sys/times.h: Likewise.
47597 * include/sys/uio.h: Likewise.
47598 * include/sys/utsname.h: Likewise.
47599 * include/sys/wait.h: Likewise.
47600 * include/termios.h: Likewise.
47601 * include/time.h: Likewise.
47602 * include/ulimit.h: Likewise.
47603 * include/unistd.h: Likewise.
47604 * include/utime.h: Likewise.
47605 * include/wchar.h: Likewise.
47606 * include/wctype.h: Likewise.
47607 * include/wordexp.h: Likewise.
47608
47609 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47610
7a270350
UD
47611 * time/time.h: TIME_UTC must be a macro.
47612 Make timespec_get available for ISO C11 only as well.
47613
7724defc
UD
476142012-02-24 Ulrich Drepper <drepper@gmail.com>
47615
47616 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47617 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47618
6b1d1d46
JM
476192012-02-24 Joseph Myers <joseph@codesourcery.com>
47620
47621 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47622
0f8bbd69
JM
476232012-02-24 Joseph Myers <joseph@codesourcery.com>
47624
47625 * manual/texinfo.tex: Update to version 2012-01-19.16.
47626
66ab80bc
JM
476272012-02-24 Joseph Myers <joseph@codesourcery.com>
47628
47629 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47630
74981cc5
RM
476312012-02-24 Roland McGrath <roland@hack.frob.com>
47632
ee968201
RM
47633 [BZ #13738]
47634 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47635 * manual/fdl-1.3.texi: New file.
47636 * manual/fdl-1.1.texi: File removed.
47637
74981cc5
RM
47638 [BZ #13738]
47639 * manual/libc.texinfo (FDL_VERSION): New @set.
47640 Use it for mention of FDL in cover text.
47641 (Documentation License): Use it in @include file name.
47642
7bb764bc
JM
476432012-02-22 Joseph Myers <joseph@codesourcery.com>
47644 Roland McGrath <roland@hack.frob.com>
47645
47646 [BZ #5461]
57f41c40
AS
47647 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47648 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47649 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47650 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47651 name.
47652 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47653
6cbeae47
JM
476542012-02-22 Joseph Myers <joseph@codesourcery.com>
47655
47656 [BZ #2547]
47657 [BZ #11365]
47658 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47659 manipulate bits before adding and subtracting TWO23[sx].
47660 * math/libm-test.inc (nearbyint_test): Add more tests.
47661
fe45ce09
JM
476622012-02-22 Joseph Myers <joseph@codesourcery.com>
47663
47664 [BZ #2548]
47665 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47666 bits before adding and subtracting TWO23[sx].
47667 * math/libm-test.inc (rint_test): Add more tests.
47668 (rint_test_tonearest): Likewise.
47669 (rint_test_towardzero): Likewise.
47670 (rint_test_downward): Likewise.
47671 (rint_test_upward: Likewise.
47672
ff3b3d82
JM
476732012-02-22 Joseph Myers <joseph@codesourcery.com>
47674
47675 [BZ #10110]
47676 * include/stdc-predef.h: New file. Extracted from features.h.
47677 * include/features.h: Include stdc-predef.h.
47678 * Makefile (headers): Add stdc-predef.h.
47679 * CONFORMANCE (Compiler limitations): Update.
47680
ef0aab35
JM
476812012-02-22 Joseph Myers <joseph@codesourcery.com>
47682
47683 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47684
58639409
DM
476852012-02-21 David S. Miller <davem@davemloft.net>
47686
47687 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47688 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47689
c0e70b25
DM
476902012-02-20 David S. Miller <davem@davemloft.net>
47691
47692 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47693 using a normal save/restore sequence, rather than allocating a
47694 dummy stack frame just to store a frame pointer and restore.
47695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47696
fb06851d
JM
476972012-02-21 Joseph Myers <joseph@codesourcery.com>
47698
47699 * manual/install.texi: Fix stray word in line-wrapped comment.
47700
7a8b71c3
DM
477012012-02-20 David S. Miller <davem@davemloft.net>
47702
d510c123
DM
47703 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47704 both binutils and gcc support GOTDATA.
47705
0722d7c2
DM
47706 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47707 "rd %pc" in the PIC register setup sequences.
47708
3d2b3019
DM
47709 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47710 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47711 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47712 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47713 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47716 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47718 (SYSCALL_ERROR_HANDLER): Likewise.
47719 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47720 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47721 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47722 (SYSCALL_ERROR_HANDLER): Likewise.
47723
c80098a9
DM
47724 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47725 (HAVE_GCC_GOTDATA): New.
47726 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47727 relocation support in both binutils and gcc.
47728 * sysdeps/sparc/elf/configure: Regenerate.
47729
3a2545a0
DM
47730 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47731 * sysdeps/sparc/sparc32/elf/configure: Delete.
47732 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47733 * sysdeps/sparc/sparc64/elf/configure: Delete.
47734 * sysdeps/sparc/elf/configure.in: New file.
47735 * sysdeps/sparc/elf/configure: Generate.
47736
7a8b71c3
DM
47737 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47738 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47739 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47740 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47741 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47742
f1e86fca
JM
477432012-02-21 Joseph Myers <joseph@codesourcery.com>
47744
47745 * manual/install.texi: Do not mention specific glibc version
47746 numbers.
47747 * manual/libc.texinfo (VERSION, UPDATED): Update.
47748 (@copying): Use @copyright{} and range of years.
47749
0e7dfaef
JM
477502012-02-21 Joseph Myers <joseph@codesourcery.com>
47751
47752 [BZ #13695]
47753 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47754 [crti.S not in sysdirs] (generated): Do not append.
47755 [crti.S not in sysdirs] (omit-deps): Likewise.
47756 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47757 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47758 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47759 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47760 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47761 Likewise.
47762 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47763 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47764 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47765 * csu/defs.awk: Remove file.
47766 * sysdeps/generic/initfini.c: Likewise.
47767 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47768 variable.
47769 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47770 Likewise.
47771
599af3ca
JM
477722012-02-20 Joseph Myers <joseph@codesourcery.com>
47773
47774 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47775 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47776 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47777 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47778 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47779 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47780 <bits/epoll.h>.
47781 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47782 (__EPOLL_PACKED): Define to empty if not defined by
47783 <bits/epoll.h>.
47784 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47786 bits/epoll.h.
47787
0e499750
JM
477882012-02-20 Joseph Myers <joseph@codesourcery.com>
47789
47790 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47791 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47792 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47793 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47794 <bits/timerfd.h>.
47795 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47797 bits/timerfd.h.
47798
5ad91f6e
JM
477992012-02-20 Joseph Myers <joseph@codesourcery.com>
47800
47801 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47802 in C locale.
47803 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47804 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47807
06b99b02
AJ
478082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47809
47810 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47811 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47812
7638c0fd
AS
478132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47814
47815 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47816 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47817 defined.
47818 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47819 Likewise.
47820 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47821 entry for 2.16.
47822
92221550
AJ
478232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47824
47825 * math/w_acos.c: Use non-signaling floating-point comparisons.
47826 * math/w_acosf.c: Likewise.
47827 * math/w_acosh.c: Likewise.
47828 * math/w_acoshf.c: Likewise.
47829 * math/w_acoshl.c: Likewise.
47830 * math/w_acosl.c: Likewise.
47831 * math/w_asin.c: Likewise.
47832 * math/w_asinf.c: Likewise.
47833 * math/w_asinl.c: Likewise.
47834 * math/w_atanh.c: Likewise.
47835 * math/w_atanhf.c: Likewise.
47836 * math/w_atanhl.c: Likewise.
47837 * math/w_exp2.c: Likewise.
47838 * math/w_exp2f.c: Likewise.
47839 * math/w_exp2l.c: Likewise.
47840 * math/w_j0.c: Likewise.
47841 * math/w_j0f.c: Likewise.
47842 * math/w_j0l.c: Likewise.
47843 * math/w_j1.c: Likewise.
47844 * math/w_j1f.c: Likewise.
47845 * math/w_j1l.c: Likewise.
47846 * math/w_jn.c: Likewise.
47847 * math/w_jnf.c: Likewise.
47848 * math/w_log.c: Likewise.
47849 * math/w_log10.c: Likewise.
47850 * math/w_log10f.c: Likewise.
47851 * math/w_log10l.c: Likewise.
47852 * math/w_log2.c: Likewise.
47853 * math/w_log2f.c: Likewise.
47854 * math/w_log2l.c: Likewise.
47855 * math/w_logf.c: Likewise.
47856 * math/w_logl.c: Likewise.
47857 * math/w_sqrt.c: Likewise.
47858 * math/w_sqrtf.c: Likewise.
47859 * math/w_sqrtl.c: Likewise.
47860 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47861 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47862 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47863 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47864 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47865
ebaf36eb
JM
478662012-02-19 Joseph Myers <joseph@codesourcery.com>
47867
47868 [BZ #9739]
47869 * manual/string.texi (strnlen): Use correct parameter name in
47870 equivalent expression.
47871
71c254a6
JM
478722012-02-19 Joseph Myers <joseph@codesourcery.com>
47873
47874 [BZ #11174]
47875 * manual/users.texi (seteuid): Consistently use neweuid for
47876 argument name.
47877
16d2c631
JM
478782012-02-19 Joseph Myers <joseph@codesourcery.com>
47879
47880 [BZ #13704]
47881 * manual/nss.texi (Services in the NSS configuration): Correct
47882 list of services in example configuration file.
47883
cd837b09
NB
478842012-02-19 Nick Bowler <nbowler@draconx.ca>
47885
47886 [BZ #11322]
47887 * manual/arith.texi: Remove statements about negative zero
47888 behaving identically to zero.
47889
02c4bbad
JM
478902012-02-18 Joseph Myers <joseph@codesourcery.com>
47891
47892 [BZ #5993]
47893 * manual/install.texi: Do not document upgrading from libc5.
47894
366842e7
JM
478952012-02-18 Joseph Myers <joseph@codesourcery.com>
47896
47897 [BZ #4596]
47898 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47899
dd54084d
DM
479002012-02-18 David S. Miller <davem@davemloft.net>
47901
47902 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47903 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47904 %o7 across the call.
47905 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47906 instead.
47907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47908 SETUP_PIC_REG_LEAF.
47909 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47910 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47911 * sysdeps/sparc/crtn.S: Likewise.
47912
2bcc53a3
UD
479132012-02-17 Ulrich Drepper <drepper@gmail.com>
47914
47915 * aout/Makefile: Remove.
47916
09c093b5
RK
479172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47918
47919 [BZ #13058]
47920 * manual/examples/argp-ex1.c (main): Format definition in GNU
47921 style.
47922 * manual/examples/argp-ex2.c (main): Likewise.
47923 * manual/examples/argp-ex3.c (main): Likewise.
47924 * manual/examples/argp-ex4.c (main): Likewise.
47925 * manual/examples/longopt.c (main): Use new-style prototype
47926 definition.
47927 * manual/examples/strncat.c (main): Specify return type and use
47928 (void) for arguments.
47929 * manual/examples/subopt.c (main): Use char **argv argument.
47930
2ee633a2
JM
479312012-02-17 Joseph Myers <joseph@codesourcery.com>
47932
47933 [BZ #5077]
47934 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47935 rounding modes.
47936
0520adde
FB
479372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47938
47939 [BZ #6907]
47940 * manual/string.texi (strchr): Change when strchrnul is
47941 recommended.
47942
3f4081cd
DGM
479432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47944
47945 [BZ #174]
47946 * manual/locale.texi (setlocale): Document LOCPATH.
47947
d1b10e78
JM
479482012-02-17 Joseph Myers <joseph@codesourcery.com>
47949
47950 [BZ #10210]
47951 * manual/process.texi (execle): Move @dots{} before last argument.
47952
79c6869c
PB
479532012-02-17 Paul Bolle <pebolle@tiscali.nl>
47954
47955 [BZ #12047]
47956 * manual/charset.texi (Generic Charset Conversion): Fix typo
47957 (LC_TYPE -> LC_CTYPE).
47958
cc6e48bc
NB
479592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47960
47961 [BZ #5805]
47962 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47963 (scalbnf): Likewise.
47964 (scalbnl): Likewise.
47965 (scalbln): Likewise.
47966 (scalblnf): Likewise.
47967 (scalblnl): Likewise.
47968 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47969 (vwarnx): Likewise.
47970 (verr): Likewise.
47971 (verrx): Likewise.
47972 * manual/filesys.texi (telldir): Use braces around return type.
47973 * manual/llio.texi (mmap): Add space after comma.
47974 (mmap64): Likewise.
47975 * manual/math.texi (jn): Use @var{} on parameter names.
47976 (jnf): Likewise.
47977 (jnl): Likewise.
47978 (yn): Likewise.
47979 (ynf): Likewise.
47980 (ynl): Likewise.
47981 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47982 line.
47983 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47984 "...".
47985 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47986 (sched_get_priority_max): Likewise.
47987 * manual/signal.texi (sigvec): Add space after comma.
47988 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47989 names.
47990 (if_indextoname): Likewise.
47991 (if_freenameindex): Likewise.
47992 (sendto): Use ',' instead of '.' in prototype.
47993 * manual/startup.texi (syscall): Use @dots{} instead of literal
47994 "...".
47995 * manual/stdio.texi (__fpending): Separate initial words of
47996 paragraph from @deftypefun line.
47997 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47998 "...".
47999 (vsyslog): Use @var{} on parameter names.
48000 * manual/terminal.texi (stty): Use @var{} on parameter names.
48001 * manual/users.texi (getutmp): Use @var{} on parameter names.
48002 (getutmpx): Likewise.
48003
5b23062f
JM
480042012-02-17 Joseph Myers <joseph@codesourcery.com>
48005
48006 [BZ #6884]
48007 * manual/stdio.texi (fopen): Fix typos in description of
48008 ",ccs=STRING".
48009
8dee4833
AJ
480102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48011
48012 [BZ #4026]
48013 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48014 get clock_id definition.
48015
9078ce93
TS
480162012-02-17 Thomas Schwinge <thomas@schwinge.name>
48017
48018 [BZ #4822]
48019 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48020 (madvise): Cast every argument to void on its own.
48021
3835c55f
JM
480222012-02-17 Joseph Myers <joseph@codesourcery.com>
48023
48024 [BZ #9902]
48025 * manual/startup.texi (Exit Status): Fix typo.
48026
35c47e37
JM
480272012-02-17 Joseph Myers <joseph@codesourcery.com>
48028
48029 [BZ #10140]
48030 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48031 * manual/examples/argp-ex2.c: Likewise.
48032 * manual/examples/argp-ex3.c: Likewise.
48033
e3b69ca7
RH
480342012-02-16 Richard Henderson <rth@redhat.com>
48035
48036 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48037 * sysdeps/s390/s390-32/initfini.c: Remove.
48038 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48039 * sysdeps/s390/s390-64/initfini.c: Remove.
48040
df83af67
KK
480412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48042
48043 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48044 compiler output for sysdeps/generic/initfini.c.
48045 * sysdeps/sh/elf/initfini.c: Remove file.
48046
f63f3380
DM
480472012-02-16 David S. Miller <davem@davemloft.net>
48048
fb59b3a4
DM
48049 [BZ #11494]
48050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48051
f63f3380
DM
48052 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48053 * sysdeps/sparc/crti.S: New file.
48054 * sysdeps/sparc/crtn.S: New file.
48055 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48056 * sysdeps/sparc/sparc64/Makefile: Likewise.
48057
df6a4a4a
MF
480582012-02-15 Mike Frysinger <vapier@gentoo.org>
48059
6dd8f3dc 48060 [BZ #3335]
df6a4a4a
MF
48061 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48062
1cac7236
RM
480632012-02-15 Roland McGrath <roland@hack.frob.com>
48064
d2c736f8
RM
48065 [BZ #4822]
48066 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48067
1cac7236
RM
48068 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48069 (write, read, close): Likewise.
48070 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48071
8e475601
JM
480722012-02-15 Joseph Myers <joseph@codesourcery.com>
48073
48074 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48075 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48076 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48077 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48078 <bits/signalfd.h>.
48079 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48080 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48081 bits/signalfd.h.
48082
ed656b40
MP
480832012-02-14 Marek Polacek <polacek@redhat.com>
48084
48085 * sysdeps/x86_64/crti.S: New file.
48086 * sysdeps/x86_64/crtn.S: New file.
48087 * sysdeps/x86_64/elf/initfini.c: Remove file.
48088
2a979d3a
JM
480892012-02-13 Joseph Myers <joseph@codesourcery.com>
48090
48091 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48092 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48093 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48094 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48095 <bits/inotify.h>.
48096 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48097 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48098 bits/inotify.h.
48099
2a418ac3
JM
481002012-02-13 Joseph Myers <joseph@codesourcery.com>
48101
48102 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48104 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48105 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48106 <bits/eventfd.h>.
48107 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48109 bits/eventfd.h.
48110
fb779be7
TS
481112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48112
e19e83c5
RM
48113 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48114 __feraiseexcept instead of feraiseexcept.
7c35ffed 48115
fb779be7
TS
48116 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48117 nanosleep invocations.
48118 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48119 strings, and add error checking for a nanosleep invocations.
48120
59ba27a6
PE
481212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48122
48123 Replace FSF snail mail address with URLs, as per GNU coding standards.
48124 Most of the snail mail addresses were wrong anyway, and omitting
48125 them makes the source code easier to maintain. Almost all of the
48126 changes are to license notices and to locale LC_IDENTIFICATION
48127 addresses, except for this one:
48128 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48129 not its snail mail address.
48130
57b957eb
RH
481312012-02-09 Richard Henderson <rth@twiddle.net>
48132
af850b1c
RH
48133 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48134 of kernel-features.h.
48135
57b957eb
RH
48136 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48137
6b73181a
MP
481382012-02-08 Marek Polacek <polacek@redhat.com>
48139
48140 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48141 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48142 * sysdeps/gnu/_G_config.h: Likewise.
48143 * sysdeps/generic/_G_config.h: Likewise.
48144
26ecc33a
AS
481452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48146
6c6dbc63
AS
48147 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48148 tests.
48149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48150
e216c012
AS
48151 * sysdeps/powerpc/powerpc32/crti.S: New file.
48152 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48153 * sysdeps/powerpc/powerpc64/crti.S: New file.
48154 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48155
26ecc33a
AS
48156 * Makeconfig (have-initfini): Don't set.
48157 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48158 * configure.in (nopic_initfini): Don't substitute.
48159 * config.h.in (HAVE_INITFINI): Don't #undef.
48160 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48161 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48162
3add8e13
JM
481632012-02-08 Joseph Myers <joseph@codesourcery.com>
48164
48165 Support crti.S and crtn.S provided directly by architectures.
48166 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48167 [crti.S in sysdirs] (omit-deps): Likewise.
48168 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48169 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48170 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48171 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48172 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48173 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48174 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48175 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48176 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48177 compiler output for sysdeps/generic/initfini.c.
48178 * sysdeps/i386/elf/Makefile: Remove file.
48179 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48180
a22f12b4
MP
481812012-02-07 Marek Polacek <polacek@redhat.com>
48182
48183 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48184 * sysdeps/gnu/_G_config.h: Likewise.
48185 * sysdeps/mach/hurd/_G_config.h: Likewise.
48186
148cf100
MP
481872012-02-07 Marek Polacek <polacek@redhat.com>
48188
48189 * math/Makefile (tests): Add tst-CMPLX2.
48190 * math/tst-CMPLX2.c: New file.
48191
cfdc0dd7
AS
481922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48193
84ba42c4
AS
48194 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48195
cfdc0dd7
AS
48196 * math/libm-test.inc (jn_test): Add missing L suffix.
48197
622c86f4
MP
481982012-02-06 Marek Polacek <polacek@redhat.com>
48199
48200 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48201 * sysdeps/i386/fpu/e_powf.S: Likewise.
48202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48203 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48204 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48205 * sysdeps/i386/fpu/e_pow.S: Likewise.
48206 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48207 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48208 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48209 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48210 * sysdeps/i386/fpu/e_log2.S: Likewise.
48211 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48212 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48213 * sysdeps/i386/fpu/e_powl.S: Likewise.
48214 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48215 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48216 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48217 * sysdeps/i386/fpu/e_logl.S: Likewise.
48218 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48219 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48220 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48221 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48222 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48223 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48224 * sysdeps/i386/fpu/e_log.S: Likewise.
48225 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48226 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48227 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48228 * sysdeps/i386/fpu/e_logf.S: Likewise.
48229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48231 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48232 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48233 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48234 * sysdeps/i386/fpu/e_log10.S: Likewise.
48235 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48236 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48237 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48238 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48239 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48240 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48241 * sysdeps/i386/asm-syntax.h: Likewise.
48242 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48243 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48244 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48245 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48246 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48247 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48248 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48249 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48250 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48251 * sysdeps/powerpc/sysdep.h: Likewise.
48252 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48253 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48254
d4a54ac6
JM
482552012-02-06 Joseph Myers <joseph@codesourcery.com>
48256
48257 [BZ #411]
48258 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48259
314054ea
JM
482602012-02-06 Joseph Myers <joseph@codesourcery.com>
48261
48262 * sysdeps/i386/sysdep.h: Include <features.h>.
48263 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48264 version.
48265
d8e0ca50
JM
482662012-02-05 Joseph Myers <joseph@codesourcery.com>
48267
48268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48269 Define.
48270 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48271 LOAD_PIC_REG_STR.
48272
b1da7dd9
JM
482732012-02-03 Joseph Myers <joseph@codesourcery.com>
48274
48275 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48276 (SETUP_PIC_REG): Use GET_PC_THUNK.
48277 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48278 macro.
48279
9a1d9254
JM
482802012-02-03 Joseph Myers <joseph@codesourcery.com>
48281
48282 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48283 for non-PIC compilation.
48284 (SETUP_PIC_REG): Add .p2align directive.
48285 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48286 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48287 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48288 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48289 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48290 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48291 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48292 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48293 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48294 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48295 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48296 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48297 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48298 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48299 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48300 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48301 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48302 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48303 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48304 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48305 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48306 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48307 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48308 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48311 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48312 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48313 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48314 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48315 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48316 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48317 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48318 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48319 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48320 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48321 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48322 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48323 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48324 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48325 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48326
65dc3b75
JM
483272012-02-03 Joseph Myers <joseph@codesourcery.com>
48328
48329 * math/tst-CMPLX.c: Include <stdio.h>.
48330
d55bf177
JM
483312012-01-31 Joseph Myers <joseph@codesourcery.com>
48332
48333 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48334 float.
48335 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48336 * sysdeps/sparc/bits/mathdef.h: Likewise.
48337
69db4f8f
MP
483382012-01-31 Marek Polacek <polacek@redhat.com>
48339
48340 * libio/libio.h: Don't define _PARAMS.
48341 * locale/programs/config.h: Don't define PARAMS.
48342 * stdlib/strtol_l.c: Likewise.
48343 (__strtol_l): Remove PARAMS from the prototype.
48344
41b81892
UD
483452012-01-31 Ulrich Drepper <drepper@gmail.com>
48346
3b49edc0
UD
48347 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48348 names. Just use the correct names. Remove unnecessary wrapper
48349 functions.
48350 * malloc/arena.c: Likewise.
48351 * malloc/hooks.c: Likewise.
48352
41b81892
UD
48353 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48354 ARENA_TEST says not to. Simplify test for creation of a new arena.
48355 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48356
27a25b6e
UD
483572012-01-30 Ulrich Drepper <drepper@gmail.com>
48358
48359 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48360 into tail calls.
48361 (update_get_addr): New function.
48362 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48363 GET_ADDR_MODULE parameter.
48364
c8a89e7d
JM
483652012-01-30 Joseph Myers <joseph@codesourcery.com>
48366
48367 * crypt/cert.c: Remove __STDC__ conditionals.
48368 * crypt/crypt-entry.c: Likewise.
48369 * crypt/crypt_util.c: Likewise.
48370 * libio/filedoalloc.c: Likewise.
48371 * libio/fileops.c: Likewise.
48372 * libio/genops.c: Likewise.
48373 * libio/iofclose.c: Likewise.
48374 * libio/iofdopen.c: Likewise.
48375 * libio/iofopen.c: Likewise.
48376 * libio/iofopen64.c: Likewise.
48377 * libio/iogetdelim.c: Likewise.
48378 * libio/iopopen.c: Likewise.
48379 * libio/obprintf.c: Likewise.
48380 * libio/oldfileops.c: Likewise.
48381 * libio/oldiofclose.c: Likewise.
48382 * libio/oldiofdopen.c: Likewise.
48383 * libio/oldiofopen.c: Likewise.
48384 * libio/oldiopopen.c: Likewise.
48385 * libio/wfiledoalloc.c: Likewise.
48386 * libio/wgenops.c: Likewise.
48387 * locale/programs/xmalloc.c: Likewise.
48388 * misc/syslog.c: Likewise.
48389 * stdio-common/xbug.c: Likewise.
48390 * string/memchr.c: Likewise.
48391 * string/memcmp.c: Likewise.
48392 * string/memrchr.c: Likewise.
48393 * string/rawmemchr.c: Likewise.
48394 * sysdeps/posix/getcwd.c: Likewise.
48395 * time/strftime_l.c: Likewise.
48396
3b100462
JM
483972012-01-30 Joseph Myers <joseph@codesourcery.com>
48398
48399 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48400 * config.make.in (config-cflags-sse2avx): Define.
48401 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48402 Fix typo.
48403
607998af
CM
484042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48405
48406 * scripts/config.guess: Update from upstream config git repository.
48407 * scripts/config.sub: Likewise.
48408
3601428f
CM
484092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48410
3ac8b282
CM
48411 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48412 (EM_NUM): Update.
48413 (R_TILEPRO_*, R_TILEGX_*): New macros.
48414
e034841e
CM
48415 * scripts/firstversions.awk: Fix bug in version range handling.
48416
540d7568
CM
48417 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48418
3601428f
CM
48419 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48420
463de862
CM
48421 * include/sys/epoll.h: New file.
48422 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48423 libc_hidden_def.
48424
73139a76
UD
484252012-01-28 Ulrich Drepper <drepper@gmail.com>
48426
96bc5b45
UD
48427 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48428 Avoid unnecessary __WORDSIZE == 64 test.
48429 (fmaxf): Use VEX format if possible.
48430 (fmax): Likewise.
48431 (fminf): Likewise.
48432 (fmin): Likewise.
48433
56f6f6a2
UD
48434 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48435 * math/math_private.h: Remove libc_fegetround* and
48436 libc_fesetround*.
48437 * sysdeps/i386/configure.in: Check for -msse2avx.
48438 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48439 also if SSE2AVX is defined.
48440 Remove libc_fegetround* and libc_fesetround*.
48441 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48442 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48443 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48444 of HAS_YMM_USABLE.
48445 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48446 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48447 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48448 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48449 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48450
73139a76
UD
48451 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48452
d73f93a4
AZ
484532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48454
48455 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48456 size is not set.
48457 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48458
6ee65ed6
UD
484592012-01-27 Ulrich Drepper <drepper@gmail.com>
48460
48461 [BZ #13618]
48462 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48463 relocation.
48464 * Makeconfig (libm): Define.
48465 * elf/Makefile: Add rules to build and run tst-relsort1.
48466 * elf/tst-relsort1.c: New file.
48467 * elf/tst-relsort1mod1.c: New file.
48468 * elf/tst-relsort1mod2.c: New file.
48469
8db21882
JM
484702012-01-27 Joseph Myers <joseph@codesourcery.com>
48471
48472 * math/s_ldexp.c: Remove __STDC__ conditionals.
48473 * math/s_ldexpf.c: Likewise.
48474 * math/s_ldexpl.c: Likewise.
48475 * math/s_nextafter.c: Likewise.
48476 * math/s_nexttowardf.c: Likewise.
48477 * math/s_significand.c: Likewise.
48478 * math/s_significandf.c: Likewise.
48479 * math/s_significandl.c: Likewise.
48480 * math/w_jnl.c: Likewise.
48481 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48482 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48483 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48484 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48485 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48487 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48488 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48489 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48490 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48491 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48492 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48493 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48494 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48496 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48497 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48498 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48499 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48500 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48501 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48502 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48503 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48504 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48505 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48506 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48507 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48508 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48509 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48510 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48511 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48512 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48513 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48514 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48515 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48516 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48517 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48518 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48519 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48520 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48521 * sysdeps/ieee754/k_standard.c: Likewise.
48522 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48523 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48524 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48525 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48526 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48527 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48528 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48532 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48533 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48534 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48535 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48536 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48537 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48538 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48539 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48540 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48541 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48542 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48543 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48544 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48545 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48546 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48547 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48548 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48550 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48551 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48552 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48553 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48554 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48555 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48558 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48559 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48560 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48561 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48562 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48564 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48565 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48566 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48567 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48569 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48570 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48571 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48572 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48573 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48574 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48582 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48583 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48587 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48588 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48596 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48601 * sysdeps/ieee754/s_matherr.c: Likewise.
48602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48604 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48606
965a54a4
JM
486072012-01-26 Joseph Myers <joseph@codesourcery.com>
48608
48609 * crypt/md5.h: Remove __STDC__ conditionals.
48610 * libio/libioP.h: Likewise.
48611 * locale/programs/config.h: Likewise.
48612 * sysdeps/generic/sysdep.h: Likewise.
48613 * sysdeps/i386/asm-syntax.h: Likewise.
48614 * sysdeps/s390/asm-syntax.h: Likewise.
48615 * sysdeps/unix/sysdep.h: Likewise.
48616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48618
7071ad79
JM
486192012-01-26 Joseph Myers <joseph@codesourcery.com>
48620
48621 * libio/libio.h: Remove __STDC__ conditionals.
48622 * malloc/obstack.h: Likewise.
48623 * math/complex.h: Likewise.
48624 * math/math.h: Likewise.
48625 * sysdeps/generic/_G_config.h: Likewise.
48626 * sysdeps/gnu/_G_config.h: Likewise.
48627 * sysdeps/mach/hurd/_G_config.h: Likewise.
48628 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48629 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48630 * sysdeps/sparc/bits/mathdef.h: Likewise.
48631
afc5ed09
UD
486322012-01-26 Ulrich Drepper <drepper@gmail.com>
48633
48634 [BZ #13583]
48635 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48636 Clean up HAS_* macros.
afc5ed09 48637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48638 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48639 possible.
48640 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48641 HAS_AVX.
48642 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48643 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48644 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48645 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48646 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48647
bdb6de1d
JM
486482012-01-25 Joseph Myers <joseph@codesourcery.com>
48649
48650 * elf/tst-unique3.cc (gets): Remove declaration.
48651 * elf/tst-unique3lib.cc (gets): Likewise.
48652 * elf/tst-unique3lib2.cc (gets): Likewise.
48653 * elf/tst-unique4.cc (gets): Likewise.
48654
b15549e6
UD
486552012-01-24 Ulrich Drepper <drepper@gmail.com>
48656
48657 * include/stdio.h: Add C++ protection. Add gets declarations and
48658 definitions.
48659 * debug/tst-chk1.c: Don't declare gets here.
48660 * stdio-common/tst-gets.c: Likewise.
48661
a037381f
JM
486622012-01-24 Joseph Myers <joseph@codesourcery.com>
48663
48664 * posix/glob: Remove directory.
48665
f1d4aa75
JM
486662012-01-24 Joseph Myers <joseph@codesourcery.com>
48667
48668 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48669
81c0c964
PT
486702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48671
48672 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48673 of the non-standard EPFNOSUPPORT.
48674
0ea698ae
ST
486752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48676
48677 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48678 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48679 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48680
d220b117
UD
486812012-01-21 Ulrich Drepper <drepper@gmail.com>
48682
48683 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48684
3e1aa84e
UD
486852012-01-20 Ulrich Drepper <drepper@gmail.com>
48686
48687 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48688 transient errors.
48689 * nscd/grpcache.c (cache_addgr): Likewise.
48690 * nscd/hstcache.c (cache_addhst): Likewise.
48691 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48692 * nscd/pwdcache.c (cache_addpw): Likewise.
48693 * nscd/servicescache.c (cache_addserv): Likewise.
48694
400aa020
UD
486952012-01-16 Ulrich Drepper <drepper@gmail.com>
48696
d77e7869
UD
48697 * malloc/malloc.c: Various cleanups.
48698 * malloc/hooks.c: Likewise.
48699
400aa020
UD
48700 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48701 * stdlib/bug-fmtmsg1.c: New file.
48702
48703 * stdlib/fmtmsg.c (init): Add missing unlock.
48704 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48705
e0a309cf
MP
487062012-01-12 Marek Polacek <polacek@redhat.com>
48707
48708 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48709 and _GNU_SOURCE.
48710
929d11c7
WS
487112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48712
48713 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48714 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48715 macro to ensure uniqueness of label name.
48716 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48717 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48718
41d0e869
UD
487192012-01-11 Ulrich Drepper <drepper@gmail.com>
48720
0cc5ed3b
UD
48721 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48722
41d0e869
UD
48723 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48724 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48725 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48726 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48727
a47a831a
UD
487282012-01-10 Ulrich Drepper <drepper@gmail.com>
48729
daa891c0
UD
48730 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48731
48732 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48733 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48734 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48735
e58ef0f2
UD
48736 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48737
a47a831a 48738 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48739 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48740 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48742
48743 * math/bits/math-finite.h: Add ldexp support.
48744
a0bfc9c7
MP
487452012-01-10 Marek Polacek <polacek@redhat.com>
48746
48747 * locale/programs/localedef.h (show_archive_content): Add noreturn
48748 attribute.
48749
d6e97a1d
UD
487502012-01-09 Ulrich Drepper <drepper@gmail.com>
48751
48752 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48753
d5835c26
UD
487542012-01-08 Ulrich Drepper <drepper@gmail.com>
48755
e5f484c6
UD
48756 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48757
d5835c26
UD
48758 * io/Makefile (headers): Add bits/poll2.h.
48759
d1f741e9
WS
487602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48761
48762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48763 typo #include statement.
48764
ec09c1c4
UD
487652012-01-08 Ulrich Drepper <drepper@gmail.com>
48766
48767 * include/sys/cdefs.h: Define __attribute_alloc_size.
48768 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48769 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48770 * elf/pldd.c: Likewise.
48771 * iconv/iconv_charmap.c: Likewise.
48772 * iconv/iconvconfig.c: Likewise.
48773 * iconv/strtab.c: Likewise.
48774 * locale/programs/locale.c: Likewise.
48775 * locale/programs/localedef.h: Likewise.
48776 * locale/programs/simple-hash.c: Likewise.
48777 * nscd/nscd.h: Likewise.
48778 * nss/makedb.c: Likewise.
48779 * sysdeps/generic/ldconfig.h: Likewise.
48780 * locale/programs/localedef.c: Remove xmalloc prototype.
48781 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48782
20b38e03
PP
487832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48784
48785 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48786 appropriate.
48787
a0da5fe1
UD
487882012-01-08 Ulrich Drepper <drepper@gmail.com>
48789
1d5a644a 48790 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48791 * math/tst-CMPLX.c: New file.
1d5a644a 48792
8784a6db
UD
48793 * math/complex.h (CMPLXL): Fix typo.
48794
d9a216c0
UD
48795 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48796 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48797 GLIBC_2.16.
48798 * debug/tst-chk1.c: Add poll and ppoll tests.
48799 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48800 * include/sys/poll.h: Add hidden proto for ppoll.
48801 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48802 * sysdeps/mach/hurd/ppoll.c: Likewise.
48803 * io/ppoll.c: Likewise.
48804 * debug/poll_chk.c: New file.
48805 * debug/ppoll_chk.c: New file.
48806 * include/bits/poll2.h: New file.
48807 * io/bits/poll2.h: New file.
48808
ac097f5c
UD
48809 [BZ #1350]
48810 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48811
2119dcfa
UD
48812 * configure.in: static is always set to yes. Remove.
48813 * config.make.in: Don't set build-static.
48814 * Makeconfig: Remove use of build-static.
48815 * dlfcn/Makefile: Likewise.
48816 * elf/Makefile: Likewise.
48817 * math/Makefile: Likewise.
48818 * misc/Makefile: Likewise.
48819 * nptl/Makefile: Likewise.
48820 * sysdeps/mach/hurd/Makefile: Likewise.
48821
121766a9
UD
48822 * configure.in: PWD_P is not used anymore.
48823 * config.make.in: Remove PWD_P entry.
48824
51a1d39c 48825 * configure.in: Remove last remnants of RANLIB.
8720d066 48826 No need to check for signed size_t anymore.
215f4bdc
UD
48827 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48828 and IA-64.
3857022a 48829 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48830 * aclocal.m4: Likewise.
48831
d3ed7225
UD
48832 * wcsmbs/mbrtoc16.c: Implement using towc function.
48833 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48834 * wcsmbs/wcsmbsload.c: Likewise.
48835 * iconv/gconv_simple.c: Likewise.
48836 * iconv/gconv_int.h: Likewise.
48837 * iconv/gconv_builtin.h: Likewise.
48838 * iconv/iconv_prog.c: Remove CHAR16 handling.
48839
48840 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48841
48842 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48843
a0da5fe1
UD
48844 * configure.in: Remove --with-elf and --enable-bounded options.
48845 Dont set base_machine for ia64. More non-ELF conditions removed.
48846 Remove testing and setting of leading underscore information.
48847 * config.make.in (build-bounded): Set to no.
48848 * config.h.in: Remove NO_UNDERSCORES entry.
48849 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48850 them.
48851 * csu/start.c: Remove !NO_UNDERSCORE code.
48852 * locale/localeinfo.h: Likewise.
48853 * sysdeps/generic/machine-gmon.h: Likewise.
48854 * sysdeps/generic/sysdep.h: Likewise.
48855 * sysdeps/i386/sysdep.h: Likewise.
48856 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48857 * sysdeps/mach/sysdep.h: Likewise.
48858 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48859 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48860 * sysdeps/sh/sysdep.h: Likewise.
48861 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48862 * sysdeps/unix/i386/sysdep.S: Likewise.
48863 * sysdeps/unix/sparc/start.c: Likewise.
48864 * sysdeps/unix/sparc/sysdep.S: Likewise.
48865 * sysdeps/unix/sparc/sysdep.h: Likewise.
48866 * sysdeps/unix/start.c: Likewise.
48867 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48868 * sysdeps/x86_64/sysdep.h: Likewise.
48869
df78418a
UD
488702012-01-07 Ulrich Drepper <drepper@gmail.com>
48871
a784e502
UD
48872 [BZ #13553]
48873 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48874 for non-gcc.
48875 * argp/argp-fmtstream.h: Use const instead __const.
48876 * argp/argp.h: Likewise.
48877 * assert/assert.h: Likewise.
48878 * bits/fenv.h: Likewise.
48879 * bits/sched.h: Likewise.
48880 * bits/sigset.h: Likewise.
48881 * bits/sigthread.h: Likewise.
48882 * catgets/nl_types.h: Likewise.
48883 * conform/data/pthread.h-data: Likewise.
48884 * crypt/crypt-private.h: Likewise.
48885 * crypt/crypt.h: Likewise.
48886 * crypt/crypt_util.c: Likewise.
48887 * ctype/ctype.h: Likewise.
48888 * debug/execinfo.h: Likewise.
48889 * debug/mbsnrtowcs_chk.c: Likewise.
48890 * debug/mbsrtowcs_chk.c: Likewise.
48891 * debug/wcsnrtombs_chk.c: Likewise.
48892 * debug/wcsrtombs_chk.c: Likewise.
48893 * debug/wcstombs_chk.c: Likewise.
48894 * dirent/dirent.h: Likewise.
48895 * dlfcn/dlfcn.h: Likewise.
48896 * elf/neededtest4.c: Likewise.
48897 * grp/grp.h: Likewise.
48898 * gshadow/gshadow.h: Likewise.
48899 * iconv/gconv.h: Likewise.
48900 * iconv/gconv_int.h: Likewise.
48901 * iconv/gconv_simple.c: Likewise.
48902 * iconv/iconv.h: Likewise.
48903 * iconv/loop.c: Likewise.
48904 * iconv/skeleton.c: Likewise.
48905 * include/aio.h: Likewise.
48906 * include/aliases.h: Likewise.
48907 * include/argz.h: Likewise.
48908 * include/arpa/inet.h: Likewise.
48909 * include/assert.h: Likewise.
48910 * include/dirent.h: Likewise.
48911 * include/dlfcn.h: Likewise.
48912 * include/execinfo.h: Likewise.
48913 * include/fcntl.h: Likewise.
48914 * include/fenv.h: Likewise.
48915 * include/glob.h: Likewise.
48916 * include/grp.h: Likewise.
48917 * include/libintl.h: Likewise.
48918 * include/mntent.h: Likewise.
48919 * include/netdb.h: Likewise.
48920 * include/pwd.h: Likewise.
48921 * include/rpc/netdb.h: Likewise.
48922 * include/sched.h: Likewise.
48923 * include/search.h: Likewise.
48924 * include/shadow.h: Likewise.
48925 * include/signal.h: Likewise.
48926 * include/stdio.h: Likewise.
48927 * include/stdlib.h: Likewise.
48928 * include/string.h: Likewise.
48929 * include/sys/socket.h: Likewise.
48930 * include/sys/stat.h: Likewise.
48931 * include/sys/statfs.h: Likewise.
48932 * include/sys/statvfs.h: Likewise.
48933 * include/sys/syslog.h: Likewise.
48934 * include/sys/time.h: Likewise.
48935 * include/sys/uio.h: Likewise.
48936 * include/time.h: Likewise.
48937 * include/unistd.h: Likewise.
48938 * include/utmp.h: Likewise.
48939 * include/wchar.h: Likewise.
48940 * include/wctype.h: Likewise.
48941 * inet/aliases.h: Likewise.
48942 * inet/arpa/inet.h: Likewise.
48943 * inet/netinet/ether.h: Likewise.
48944 * inet/netinet/in.h: Likewise.
48945 * intl/libintl.h: Likewise.
48946 * io/bits/fcntl2.h: Likewise.
48947 * io/fcntl.h: Likewise.
48948 * io/ftw.h: Likewise.
48949 * io/sys/poll.h: Likewise.
48950 * io/sys/stat.h: Likewise.
48951 * io/sys/statfs.h: Likewise.
48952 * io/sys/statvfs.h: Likewise.
48953 * io/utime.h: Likewise.
48954 * libio/bits/stdio.h: Likewise.
48955 * libio/bits/stdio2.h: Likewise.
48956 * libio/libio.h: Likewise.
48957 * libio/libioP.h: Likewise.
48958 * libio/stdio.h: Likewise.
48959 * locale/lc-ctype.c: Likewise.
48960 * locale/locale.h: Likewise.
48961 * login/utmp.h: Likewise.
48962 * malloc/arena.c: Likewise.
48963 * malloc/malloc.c: Likewise.
48964 * malloc/malloc.h: Likewise.
48965 * malloc/mcheck.c: Likewise.
48966 * malloc/mtrace.c: Likewise.
48967 * math/bits/mathcalls.h: Likewise.
48968 * math/fenv.h: Likewise.
48969 * math/math_private.h: Likewise.
48970 * misc/bits/error.h: Likewise.
48971 * misc/bits/syslog.h: Likewise.
48972 * misc/err.h: Likewise.
48973 * misc/error.h: Likewise.
48974 * misc/fstab.h: Likewise.
48975 * misc/mntent.h: Likewise.
48976 * misc/regexp.h: Likewise.
48977 * misc/search.h: Likewise.
48978 * misc/sgtty.h: Likewise.
48979 * misc/sys/mman.h: Likewise.
48980 * misc/sys/syslog.h: Likewise.
48981 * misc/sys/uio.h: Likewise.
48982 * misc/sys/xattr.h: Likewise.
48983 * misc/ttyent.h: Likewise.
48984 * nis/rpcsvc/ypclnt.h: Likewise.
48985 * nss/nss.h: Likewise.
48986 * posix/bits/unistd.h: Likewise.
48987 * posix/fnmatch.h: Likewise.
48988 * posix/glob.h: Likewise.
48989 * posix/sched.h: Likewise.
48990 * posix/spawn.h: Likewise.
48991 * posix/sys/wait.h: Likewise.
48992 * posix/unistd.h: Likewise.
48993 * posix/wordexp.h: Likewise.
48994 * pwd/pwd.h: Likewise.
48995 * resolv/netdb.h: Likewise.
48996 * resource/sys/resource.h: Likewise.
48997 * rt/aio.h: Likewise.
48998 * rt/bits/mqueue2.h: Likewise.
48999 * rt/mqueue.h: Likewise.
49000 * shadow/shadow.h: Likewise.
49001 * signal/signal.h: Likewise.
49002 * socket/send.c: Likewise.
49003 * socket/sendto.c: Likewise.
49004 * socket/sys/socket.h: Likewise.
49005 * stdio-common/printf.h: Likewise.
49006 * stdlib/bits/stdlib.h: Likewise.
49007 * stdlib/fmtmsg.h: Likewise.
49008 * stdlib/monetary.h: Likewise.
49009 * stdlib/stdlib.h: Likewise.
49010 * stdlib/ucontext.h: Likewise.
49011 * streams/stropts.h: Likewise.
49012 * string/argz.h: Likewise.
49013 * string/bits/string2.h: Likewise.
49014 * string/string.h: Likewise.
49015 * string/strings.h: Likewise.
49016 * sunrpc/rpc/auth.h: Likewise.
49017 * sunrpc/rpc/auth_des.h: Likewise.
49018 * sunrpc/rpc/clnt.h: Likewise.
49019 * sunrpc/rpc/netdb.h: Likewise.
49020 * sunrpc/rpc/pmap_clnt.h: Likewise.
49021 * sunrpc/rpc/xdr.h: Likewise.
49022 * sysdeps/generic/inttypes.h: Likewise.
49023 * sysdeps/generic/net/if.h: Likewise.
49024 * sysdeps/generic/sys/swap.h: Likewise.
49025 * sysdeps/gnu/net/if.h: Likewise.
49026 * sysdeps/gnu/utmpx.h: Likewise.
49027 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49028 * sysdeps/i386/i486/bits/string.h: Likewise.
49029 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49030 * sysdeps/s390/bits/string.h: Likewise.
49031 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49032 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49033 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49034 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49035 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49036 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49037 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49038 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49039 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49040 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49041 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49042 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49043 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49044 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49045 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49046 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49047 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49052 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49053 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49054 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49055 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49056 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49057 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49058 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49059 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49060 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49061 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49062 * sysvipc/sys/ipc.h: Likewise.
49063 * sysvipc/sys/msg.h: Likewise.
49064 * sysvipc/sys/sem.h: Likewise.
49065 * sysvipc/sys/shm.h: Likewise.
49066 * termios/termios.h: Likewise.
49067 * time/sys/time.h: Likewise.
49068 * time/time.h: Likewise.
49069 * wcsmbs/bits/wchar2.h: Likewise.
49070 * wcsmbs/uchar.h: Likewise.
49071 * wcsmbs/wchar.h: Likewise.
49072 * wctype/wctype.h: Likewise.
49073
0269750c
UD
49074 [BZ #13551]
49075 * Makeconfig: Remove all but ELF support including AIX support.
49076 * Makerules: Likewise.
49077 * config.h.in: Likewise.
49078 * config.make.in: Likewise.
49079 * configure: Likewise.
49080 * configure.in: Likewise.
49081 * csu/Makefile: Likewise.
49082 * csu/version.c: Likewise.
49083 * debug/Makefile: Likewise.
49084 * dlfcn/Makefile: Likewise.
49085 * elf/Makefile: Likewise.
49086 * extra-lib.mk: Likewise.
49087 * iconv/Makefile: Likewise.
49088 * include/libc-symbols.h: Likewise.
49089 * include/shlib-compat.h: Likewise.
49090 * resolv/Makefile: Likewise.
49091 * resolv/res_libc.c: Likewise.
49092 * rt/Makefile: Likewise.
49093 * sysdeps/i386/asm-syntax.h: Likewise.
49094 * sysdeps/i386/sysdep.h: Likewise.
49095 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49096 * sysdeps/mach/sysdep.h: Likewise.
49097 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49098 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49099 * sysdeps/s390/asm-syntax.h: Likewise.
49100 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49102 * sysdeps/sh/sysdep.h: Likewise.
49103 * sysdeps/unix/sparc/sysdep.h: Likewise.
49104 * sysdeps/wordsize-32/divdi3.c: Likewise.
49105 * sysdeps/x86_64/sysdep.h: Likewise.
49106
00bbd29b
UD
49107 * argp/Versions: Remove _argp_unlock_xxx.
49108
49109 [BZ #13559]
49110 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49111 * abilist/libBrokenLocale.abilist: Likewise.
49112 * abilist/libanl.abilist: Likewise.
49113 * abilist/libc.abilist: Likewise.
49114 * abilist/libcrypt.abilist: Likewise.
49115 * abilist/libdl.abilist: Likewise.
49116 * abilist/libm.abilist: Likewise.
49117 * abilist/libnsl.abilist: Likewise.
49118 * abilist/libpthread.abilist: Likewise.
49119 * abilist/libresolv.abilist: Likewise.
49120 * abilist/librt.abilist: Likewise.
49121 * abilist/libthread_db.abilist: Likewise.
49122 * abilist/libutil.abilist: Likewise.
49123 * abilist/libnss_db.abilist: New file.
49124
49125 * scripts/abilist.awk: Add support for indirect functions.
49126
a2693a0e
UD
49127 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49128
3f05895f
UD
49129 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49130
ecb6fb48
UD
49131 * shlib-versions: Remove entries for ports architectures.
49132
664f8cb9
UD
49133 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49134 files in ports.
49135 * elf/stackguard-macros.h: Remove support for IA-64.
49136 * elf/tst-auditmod1.c: Likewise.
49137 * sysdeps/generic/ldsodefs.h: Likewise.
49138
7ae81d88
UD
49139 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49140 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49141 configure files.
49142
bdeba135
UD
49143 [BZ #13552]
49144 * configure.in: Remove --enable-omitfp support.
49145 * FAQ.in: Adjust.
49146 * config.make.in: Likewise.
49147 * Makeconfig: Likewise.
49148 * manual/install.texi: Likewise.
49149
d75a0a62
UD
49150 In case anyone cares, the IA-64 architecture could move to ports.
49151 * sysdeps/ia64/*: Removed.
49152 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49153 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49154
dcc9756b
UD
49155 [BZ #13555]
49156 * configure.in: Remove entries for unsupported architectures.
49157
d3761ebc 49158 [BZ #13533]
9954432e
UD
49159 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49160 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49161 routines.
49162 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49163 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49164 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49165 fall back to using wcrtomb.
49166 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49167 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49168 renaming.
49169 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49170 * wcsmbs/tst-c16c32-1.c: New file.
49171
49172 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49173 local variable.
49174
c3a87236
UD
49175 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49176
28926a1b
UD
49177 * elf/tst-unique3.cc: Add explicit declaration of gets.
49178 * elf/tst-unique3lib.cc: Likewise.
49179 * elf/tst-unique3lib2.cc: Likewise.
49180 * elf/tst-unique4.cc: Likewise.
49181
df78418a
UD
49182 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49183
8ecd6b2a
JM
491842012-01-06 Joseph Myers <joseph@codesourcery.com>
49185
49186 [BZ #13566]
49187 * assert/assert.h (static_assert): Don't define for C++.
49188 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49189 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49190
9f115170
UD
491912012-01-03 Ulrich Drepper <drepper@gmail.com>
49192
5e0d0300
UD
49193 * iconv/loop.c (single loop): Fix assertion in storing of
49194 remaining bytes.
49195
9f115170
UD
49196 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49197
81fb02b0
UD
491982012-01-01 Ulrich Drepper <drepper@gmail.com>
49199
49200 * posix/getconf.c: Update copyright year.
49201 * nss/getent.c: Likewise.
a316c1f6 49202 * nss/makedb.c: Likewise.
81fb02b0
UD
49203 * iconv/iconvconfig.c: Likewise.
49204 * iconv/iconv_prog.c: Likewise.
49205 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49206 * elf/pldd.c: Likewise.
49207 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49208 * catgets/gencat.c: Likewise.
49209 * csu/version.c: Likewise.
49210 * elf/ldd.bash.in: Likewise.
49211 * elf/sprof.c (print_version): Likewise.
49212 * locale/programs/locale.c: Likewise.
49213 * locale/programs/localedef.c: Likewise.
a316c1f6 49214 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49215 * nscd/nscd.c (print_version): Likewise.
49216 * debug/xtrace.sh: Likewise.
49217 * malloc/memusage.sh: Likewise.
49218 * malloc/mtrace.pl: Likewise.
49219 * debug/catchsegv.sh: Likewise.
49220
2ba92745
JJ
492212011-12-30 Jakub Jelinek <jakub@redhat.com>
49222
49223 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49224 pure attribute.
49225
dadebdae
UD
492262011-12-24 Ulrich Drepper <drepper@gmail.com>
49227
d3761ebc 49228 [BZ #13533]
db6af3eb
UD
49229 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49230 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49231 transformations.
49232 * iconv/gconv_int.h: Likewise.
49233 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49234 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49235 from libc for GLIBC_2.16.
49236 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49237 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49238 * wcsmbs/uchar.h: Really define mbstate_t.
49239 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49240 * wcsmbs/c16rtomb.c: New file.
49241 * wcsmbs/mbrtoc16.c: New file.
49242 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49243 for C/POSIX locale.
49244 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49245 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49246
dadebdae
UD
49247 * wcsmbs/wchar.h: Add missing __restrict.
49248
67371b56
UD
492492011-12-23 Ulrich Drepper <drepper@gmail.com>
49250
74033a25
UD
49251 [BZ #13532]
49252 * time/Makefile (routines): Add timespec_get.
49253 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49254 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49255 timespec for ISO C11.
49256 * time/timespec_get.c: New file.
49257 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49258 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49259
380d7e87
UD
49260 [BZ #13531]
49261 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49262 * stdlib/stdlib.h: Declare aligned_alloc.
49263 * Versions.def: Add GLIBC_2.16 for libc.
49264 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49265
4e9e7a35
UD
49266 [BZ 13527]
49267 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49268 ISO C11.
49269
380d7e87 49270 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49271 code.
49272
03a71829
UD
49273 [BZ #13528]
49274 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49275
839e283e
UD
49276 [BZ #13529]
49277 * assert/assert.h (static_assert): Define.
49278
ce5294e2 49279 * version.h: Update for 2.16 development version.
90fa7312 49280
8d44e150 49281 [BZ #13526]
d7809905
UD
49282 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49283 _ISOC11_SOURCE.
49284
c0da14cd
UD
49285 * version.h (RELEASE): Bump for 2.15 release.
49286 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49287
530a3249
MP
49288 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49289 Patch by Marek Polacek <mpolacek@redhat.com>.
49290
67371b56
UD
49291 * bits/byteswap.h: Protect long long constants with __extension__.
49292 * sysdeps/i386/bits/byteswap.h: Likewise.
49293 * sysdeps/ia64/bits/byteswap.h: Likewise.
49294 * sysdeps/s390/bits/byteswap.h: Likewise.
49295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49296
15db4de1
LD
492972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49298
49299 [BZ #13540]
bbe315ea
LD
49300 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49301 destination buffer.
15db4de1
LD
49302 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49303
2b2596b1
MP
493042011-12-23 Marek Polacek <polacek@redhat.com>
49305
49306 * elf/dl-addr.c (determine_info): Add inline keyword.
49307 * elf/tst-auditmod4b.c (check_avx): Likewise.
49308 * elf/tst-auditmod6b.c (check_avx): Likewise.
49309 * elf/tst-auditmod6c.c (check_avx): Likewise.
49310 * elf/tst-auditmod7b.c (check_avx): Likewise.
49311
70c6c246
UD
493122011-12-23 Ulrich Drepper <drepper@gmail.com>
49313
49314 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49315 !__SSE_MATH__.
49316
c044cf14
LD
493172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49318
15db4de1 49319 [BZ #13540]
c044cf14
LD
49320 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49321 processing for last bytes.
49322
6b13d9d9
BH
493232011-08-06 Bruno Haible <bruno@clisp.org>
49324
d455f537
BH
49325 [BZ #13061]
49326 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49327 U+0385, not to U+1FEE.
49328
6b13d9d9
BH
49329 [BZ #13062]
49330 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49331 entry for U+00A5 U+0301.
49332
db910efd
UD
493332011-12-22 Ulrich Drepper <drepper@gmail.com>
49334
27deeafc
UD
49335 [BZ #13166]
49336 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49337 buffer for the output is too small.
49338
aed9d171
UD
49339 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49340 optimization.
49341
db910efd
UD
49342 [BZ #13185]
49343 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49344 SSE flags if possible.
49345
2bd779ae
LD
493462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49347
e7f9dac3 49348 [BZ #13540]
2bd779ae
LD
49349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49350 processing for last bytes.
49351
154bfc16
JM
493522011-12-22 Joseph Myers <joseph@codesourcery.com>
49353
49354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49355 (syscall-list-default-options, syscall-list-default-condition)
49356 (syscall-list-includes): Define.
49357 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49358 list of ABIs and options and #if conditions for each ABI. Do not
49359 handle common syscalls between ABIs specially.
49360 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49361 Remove.
49362 (syscall-list-variants, syscall-list-32bit-options)
49363 (syscall-list-32bit-condition, syscall-list-64bit-options)
49364 (syscall-list-64bit-condition): Define.
49365 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49366 (syscall-list-variants, syscall-list-32bit-options)
49367 (syscall-list-32bit-condition, syscall-list-64bit-options)
49368 (syscall-list-64bit-condition): Define.
49369 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49370 Remove.
49371 (syscall-list-variants, syscall-list-32bit-options)
49372 (syscall-list-32bit-condition, syscall-list-64bit-options)
49373 (syscall-list-64bit-condition): Define.
49374 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49375 Remove.
49376 (syscall-list-variants, syscall-list-32bit-options)
49377 (syscall-list-32bit-condition, syscall-list-64bit-options)
49378 (syscall-list-64bit-condition): Define.
49379
21eaf3a5
UD
493802011-12-22 Ulrich Drepper <drepper@gmail.com>
49381
16c6f992
UD
49382 * locale/iso-639.def: Add brx entry.
49383
41043168
UD
49384 [BZ #13328]
49385 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49386 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49387
21eaf3a5
UD
49388 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49389 __feraiseexcept_renamed.
49390
e3a851a2
UD
493912011-12-21 Ulrich Drepper <drepper@gmail.com>
49392
4920765e
UD
49393 [BZ #13538]
49394 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49395 EPOLLET with unsigned values.
49396 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49397 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49398
e3a851a2
UD
49399 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49400 to large cancellation.
49401 * math/s_cacoshf.c: Likewise.
49402 * math/s_cacoshl.c: Likewise.
49403
b27e24b8
RK
494042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49405
49406 [BZ #13305]
aebefeee 49407 [BZ #12786]
b27e24b8
RK
49408 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49409 * math/s_cacoshf.c: Likewise.
49410 * math/s_cacoshl.c: Likewise.
49411
ee190f67
UD
494122011-12-21 Ulrich Drepper <drepper@gmail.com>
49413
49414 [BZ #13439]
49415 * iconv/gconv.h: Define __GCONV_SWAP.
49416 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49417 * iconvdata/utf-16.c: Likewise.
49418 * iconvdata/utf-32.c: Likewise.
49419
707f25df
AS
494202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49421
49422 [BZ #13524]
49423 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49424 numerator after shifting it by one limb.
49425
d2daaa1e
RÁE
494262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49427
49428 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49429 under [__USE_EXTERN_INLINES].
49430
a4647e72
UD
494312011-12-17 Ulrich Drepper <drepper@gmail.com>
49432
49433 [BZ #13446]
49434 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49435
f0b264f1
AZ
494362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49437
49438 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49439 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49440 optimized code.
49441 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49443 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49444 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49445 for strncasecmp/strncasecmp_l compilation.
49446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49447 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49448
8ef4f244
MP
494492011-12-08 Marek Polacek <mpolacek@redhat.com>
49450
49451 [BZ #13484]
49452 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49453 of __asm__.
49454
97ac2654
UD
494552011-12-17 Ulrich Drepper <drepper@gmail.com>
49456
49457 [BZ #13506]
49458 * time/tzfile.c (__tzfile_read): Check values from file header.
49459
91d2a845
WS
494602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49461
49462 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49463 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49464 * powerpc/powerpc32/dl-start.S: Likewise.
49465 * powerpc/powerpc32/elf/start.S: Likewise.
49466 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49467 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49468 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49469 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49470 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49471 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49472 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49473 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49474 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49475 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49476 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49477 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49478 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49479 * powerpc/powerpc32/memset.S: Likewise.
49480 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49481 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49482 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49483 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49484 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49485 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49486 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49487 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49488 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49489 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49490 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49491 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49492 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49493
a1267ba1
AZ
494942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49495
49496 * math/libm-test.inc: Added more nearbyint tests.
49497 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49499 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49501
ad8ac1bd
RL
495022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49503
49504 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49505 FD_CLOEXEC.
49506
1d3e4b61
UD
495072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49508
49509 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49510 Add wcscpy-ssse3 wcscpy-c.
49511 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49512 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49513 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49514 * sysdeps/x86_64/wcschr.S: New file.
49515 * sysdeps/x86_64/wcsrchr.S: New file.
49516 * string/test-strcmp.c: Remove checking of wcscmp function for
49517 wrong alignments.
49518 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49519 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49520 wcsrchr-sse2 wcsrchr-c.
49521 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49522 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49523 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49524 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49525 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49526 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49527 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49528 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49529 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49530 * wcsmbc/wcschr.c (WCSCHR): New macro.
49531
5b330a2d
UD
495322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49533
49534 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49535 * wcsmbs/test-wcsrchr.c: New file.
49536 * string/test-strrchr.c: Add wcsrchr support.
49537 (WIDE): New macro.
49538 * wcsmbs/test-wcscpy.c: New file.
49539 * string/test-strcpy.c: Add wcscpy support.
49540 (WIDE): New macro.
26428b7c 49541
f039c043
UD
495422011-12-10 Ulrich Drepper <drepper@gmail.com>
49543
49544 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49545 the inner loop.
49546
850fb039
AS
495472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49548
49549 [BZ #13472]
49550 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49551
4efbd5cb
UD
495522011-12-04 Ulrich Drepper <drepper@gmail.com>
49553
52ff5dd0 49554 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49555 Minor optimizations.
52ff5dd0 49556
4efbd5cb
UD
49557 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49558 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49559 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49560
8a426e12
UD
495612011-12-03 Ulrich Drepper <drepper@gmail.com>
49562
aff2453d
UD
49563 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49564 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49565 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49566 for gcc to avoid warnings.
49567 * inet/Makefile (tests): Add tst-checks.
49568 * inet/tst-checks.c: New file.
49569
49570 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49571 warning.
49572
49573 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49574 __wmemcmp_sse2.
49575
49576 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49577 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49578
8a426e12
UD
49579 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49580
9bea3473
UD
495812011-12-02 Ulrich Drepper <drepper@gmail.com>
49582
3a965496
UD
49583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49584 problem.
49585
9bea3473
UD
49586 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49587
f101631b
UD
495882011-11-29 Joseph Myers <joseph@codesourcery.com>
49589
49590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49591 conditional on GCC version.
49592 (__arch_compare_and_exchange_val_8_acq)
49593 (__arch_compare_and_exchange_val_16_acq)
49594 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49595 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49596 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49597
a98275aa
UD
495982011-12-02 Joseph Myers <joseph@codesourcery.com>
49599
49600 * sysdeps/sh/backtrace.c: New file.
49601
d4cc29a2
AS
496022011-12-02 Andreas Schwab <schwab@redhat.com>
49603
49604 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49605 parenthesis.
49606
6257af2d
AS
496072011-12-01 Andreas Schwab <schwab@redhat.com>
49608
49609 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49610 falling back to utime.
49611
b5f44c1a
AS
496122011-11-30 Andreas Schwab <schwab@redhat.com>
49613
49614 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49615 expectations for float.
49616
f3a6cc0a
AS
496172011-11-29 Andreas Schwab <schwab@redhat.com>
49618
49619 * locale/weight.h (findidx): Add parameter len.
49620 * locale/weightwc.h (findidx): Likewise.
49621 * posix/fnmatch_loop.c (FCT): Adjust caller.
49622 * posix/regcomp.c (build_equiv_class): Likewise.
49623 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49624 * posix/regexec.c (check_node_accept_bytes): Likewise.
49625 * string/strcoll_l.c (STRCOLL): Likewise.
49626 * string/strxfrm_l.c (STRXFRM): Likewise.
49627
9d65ea3a
UD
496282011-11-17 Ulrich Drepper <drepper@gmail.com>
49629
49630 * Makefile.in: Remove CVSOPT handling.
49631 * configure.in: Remove use of AC_REVISION.
49632 * iconvdata/Makefile (distribute): No need to filter out CVS.
49633 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49634 handling.
49635
5583a086
AS
496362011-11-16 Andreas Schwab <schwab@redhat.com>
49637
49638 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49639 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49640 [USE_AS_STRNCASECMP_L]: Likewise.
49641 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49642 NO_TLS_DIRECT_SEG_REFS.
49643 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49644 Fix argument offsets for non-PIC.
49645 [USE_AS_STRNCASECMP_L]: Likewise.
49646 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49647 NO_TLS_DIRECT_SEG_REFS.
49648
d62a8200
UD
496492011-11-15 Ulrich Drepper <drepper@gmail.com>
49650
9d65ea3a 49651 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49652 O_CLOEXEC.
49653 * locale/loadlocale.c (_nl_load_locale): Likewise.
49654
09f93bd3
AS
496552011-11-15 Andreas Schwab <schwab@redhat.com>
49656
446514f9
AS
49657 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49658 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49659 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49660 (SYSCALL_GETTIME): Set errno on error.
49661
09f93bd3
AS
49662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49663 count references to noai6ai_cached.
49664
312be3f9
UD
496652011-11-15 Ulrich Drepper <drepper@gmail.com>
49666
49667 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49668
49669 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49670 FD_CLOEXEC for /proc/self/maps.
49671
49672 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49673 FD_CLOEXEC for /proc/meminfo.
49674
49675 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49676 gai.conf.
49677
49678 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49679 FD_CLOEXEC for given file.
49680
49681 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49682
49683 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49684 FD_CLOEXEC for /etc/hosts.
49685 (_gethtent): Likewise.
49686
49687 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49688
49689 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49690 cancellation and set FD_CLOEXEC for /etc/netgroup.
49691
49692 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49693 reading /etc/publickey.
49694
49695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49696 allow cancellation when reading /etc/group.
49697
49698 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49699 cancellation.
49700 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49701
49702 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49703 when using data file.
49704
49705 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49706
49707 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49708 (write_nis_obj): Use "c" and "e" in fopen.
49709
49710 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49711
49712 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49713
49714 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49715
49716 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49717
49718 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49719 locale.alias.
49720
49721 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49722
49723 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49724
49725 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49726
49727 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49728 file parsing and set FD_CLOEXEC.
49729
82af0fa8
UD
497302011-11-14 Ulrich Drepper <drepper@gmail.com>
49731
49732 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49733
a5fb313c
AS
497342011-11-14 Andreas Schwab <schwab@redhat.com>
49735
49736 * malloc/arena.c (arena_get2): Don't call reused_arena when
49737 _int_new_arena failed.
49738
6abf3465
UD
497392011-11-14 Ulrich Drepper <drepper@gmail.com>
49740
49741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49742 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49743 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49744 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49745 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49746 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49747 to compile strcasecmp and strncasecmp.
49748 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49749 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49750
49751 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49752
76e3966e
UD
497532011-11-13 Ulrich Drepper <drepper@gmail.com>
49754
49755 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49756 locale-defines.sym to gen-as-const-headers.
49757 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49758 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49759 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49760 to compile strcasecmp and strncasecmp.
49761 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49762 strcasecmp_l and strncasecmp_l.
49763 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49764 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49765 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49766 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49767 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49768 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49769 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49770 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49771 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49772 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49773 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49774
ab26144e
UD
497752011-11-12 Ulrich Drepper <drepper@gmail.com>
49776
7edb22ef
UD
49777 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49778 result of SYSDEP_GETTIME_CPU to retval.
49779 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49780 parameter list to macro. Remove trailing semicolon. Adjust users.
49781
9694fc44
UD
49782 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49783 variable.
49784
8ad89ef8
UD
49785 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49786 mantissa words.
49787 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49788
0c822ef9
UD
49789 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49790 from unused variable.
49791
874e0564
UD
49792 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49793 DWARF definitions.
49794 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49795 for assembling.
49796
3a2edc79
UD
49797 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49798 over namespaces.
49799
f3c2577f
UD
49800 * sunrpc/rpc_prot.c (rejected): Fix case value.
49801
294ce126
UD
49802 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49803 unsigned long long int to avoid warnings in shift.
49804
5e2b63c6
UD
49805 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49806 of use of trans.
49807 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49808 variable tmp.
49809
e7f4b08e
UD
49810 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49811 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49812 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49813
ab26144e
UD
49814 * nis/nis_table.c (nis_list): Use variable of correct type for
49815 result of __follow_path call.
49816
8a6d5255
AZ
498172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49818
49819 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49820 of math functions ceil, trunc, floor, round, and sqrt, when
49821 avaliable on the platform.
49822 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49823 name clash.
49824 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49825 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49826 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49827
aaddc98c
MP
498282011-10-30 Marek Polacek <mpolacek@redhat.com>
49829
49830 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49831 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49832
95b7042b
RM
498332011-11-11 Roland McGrath <roland@hack.frob.com>
49834
49835 * include/unistd.h: Fix __readlink return type.
49836 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49837
57769839
UD
498382011-11-11 Ulrich Drepper <drepper@gmail.com>
49839
49840 * stdlib/ucontext.h: Undo last change for makecontext.
49841
edc5984d
AS
498422011-11-11 Andreas Schwab <schwab@redhat.com>
49843
98591e58
AS
49844 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49845
edc5984d
AS
49846 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49847 * setjmp/setjmp.h: Mark functions as non-leaf.
49848 * setjmp/bits/setjmp2.h: Likewise.
49849 * stdlib/ucontext.h: Likewise.
49850
77cdc054
AS
498512011-11-10 Andreas Schwab <schwab@redhat.com>
49852
49853 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49854 (reused_arena): Don't check arena limit.
49855 (arena_get2): Atomically check arena limit.
49856
fe72eebd
UD
498572011-11-08 Ulrich Drepper <drepper@gmail.com>
49858
5f078c32
UD
49859 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49860 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49861
fe72eebd
UD
49862 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49863 instructions.
49864
ae1bc2fa
AS
498652011-11-07 Andreas Schwab <schwab@redhat.com>
49866
7583a88d
AS
49867 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49868 handler when locking.
49869
ae1bc2fa
AS
49870 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49871 Fix size of allocated buffer.
49872
10fb0bfa
AS
498732011-11-04 Andreas Schwab <schwab@redhat.com>
49874
998832a4
AS
49875 [BZ #10103]
49876 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49877 declarations for long double functions.
49878 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49879
10fb0bfa
AS
49880 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49881
3d7ba52b
AS
498822011-11-03 Andreas Schwab <schwab@redhat.com>
49883
a9ae54a1
AS
49884 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49885 installed.
49886
3d7ba52b
AS
49887 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49888 is disabled.
49889
bc8db248
ST
498902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49891
49892 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49893
45b96dd6
AS
498942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49895
647776f6
AS
49896 * include/alloca.h (stackinfo_alloca_round): Define.
49897 (extend_alloca): Use it.
49898 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49899 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49900 here.
49901
d91a8b93
AS
49902 * scripts/check-local-headers.sh: Ignore libaudit.h.
49903
45b96dd6
AS
49904 * nscd/Makefile (extra-objs): Make recursively expanded.
49905
432d41ce
UD
499062011-11-01 Ulrich Drepper <drepper@gmail.com>
49907
34372fc6
UD
49908 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49909 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49910
fadb59f8
UD
49911 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49912 * posix/tst-rfc3484-2.c: Likewise.
49913 * posix/tst-rfc3484-3.c: Likewise.
49914
78239589
UD
49915 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49916 process_vm_writev.
49917 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49918 process_vm_writev.
49919 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49920 process_vm_writev from libc using GLIBC_2.15 version.
49921
432d41ce
UD
49922 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49923
02f9c6cf
PP
499242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49925
49926 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49927 stack usage.
49928
3a2c0242
UD
499292011-10-31 Ulrich Drepper <drepper@gmail.com>
49930
f4ec4833
UD
49931 [BZ #13367]
49932 * nss/getent.c (initgroups_keys): Show error message in case no group
49933 names are given.
49934
3a2c0242
UD
49935 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49936 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49937 __bump_nl_timestamp.
49938 * nscd/connections (nscd_init): When host database is served open
49939 netlink socket and request notification about configuration changes.
49940 (main_loop_poll): Track netlink file descriptor and bump timestamp
49941 in case data becomes available.
49942 (main_loop_epoll): Likewise.
49943 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49944 (database_pers_head): Add extra_data fileds.
49945 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49946 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49947 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49948 Adjust caller.
49949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49950 in6ai data, call __free_in6ai.
49951 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49952 Add -DHAVE_NETLINK.
49953 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49954 interface information. Reuse previous data if netlink timestamp
49955 is not changed.
49956 (__bump_nl_timestamp): New function.
49957 (__free_in6ai): New function.
49958
636064eb
UD
499592011-10-30 Ulrich Drepper <drepper@gmail.com>
49960
49961 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49962 close_not_cancel_no_status here.
49963 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49964
9beb2334
UD
499652011-10-29 Ulrich Drepper <drepper@gmail.com>
49966
6ef76f3b
UD
49967 [BZ #13276]
49968 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49969 return value.
49970
0ffc4f3e 49971 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
49972 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49973 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49974
cb95113e
UD
499752011-07-03 Andreas Jaeger <aj@suse.de>
49976
49977 [BZ #10709]
49978 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49979 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49980 * math/libm-test.inc (sin_test): Add test case.
49981
a1b560ff
UD
499822011-10-29 Ulrich Drepper <drepper@gmail.com>
49983
c9aaface
UD
49984 [BZ #13337]
49985 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49986 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49987
d272e7f1
UD
49988 * elf/chroot_canon.c (chroot_canon): Cleanups.
49989
1bc33071
UD
49990 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49991
1760874d
TJ
49992 [BZ #13335]
49993 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49994 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49995
51d91b18
UD
49996 * string/test-strchr.c: Make usable for strchrnul testing.
49997 * string/test-strchrnul.c: New file.
49998 * string/Makefile (strop-tests): Add strchrnul.
49999
a1b560ff 50000 * po/it.po: Update from translation team.
b611fb81 50001 * po/es.po: Likewise.
a1b560ff 50002
a5b81e1f
UD
500032011-10-28 Ulrich Drepper <drepper@gmail.com>
50004
fd52bc6d
UD
50005 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50006 the three constants needed as parameters. Drop the others.
50007 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50008 __m128i_strloadu_tolower.
52e4b9eb
UD
50009 Create and initialize variable zero and use it in all the places
50010 where _mm_setzero_si128 was used.
fd52bc6d 50011
a5b81e1f
UD
50012 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50013 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50014 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50015 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50016 anymore.
50017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50018 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50019 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50020 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50021 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50022 __mpranred, __mptan.
50023 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50024 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50025 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50026 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50027 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50028 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50029 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50030 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50031 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50032
b4343346
AS
500332011-10-28 Andreas Schwab <schwab@redhat.com>
50034
0c92d8a8
AS
50035 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50036 redefine if SHARED.
50037 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50038
b4343346
AS
50039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50040 wide char related routines to wcsmbs subdir.
50041
3871f58f
AS
500422011-10-27 Andreas Schwab <schwab@redhat.com>
50043
50044 [BZ #13344]
50045 * misc/sys/cdefs.h (__THROWNL): Define.
50046 * posix/unistd.h: Use __THREADNL instead of __THREAD
50047 for memory synchronization functions.
50048
94d44d9f
RM
500492011-10-26 Roland McGrath <roland@hack.frob.com>
50050
21b64b15 50051 [BZ #13349]
94d44d9f
RM
50052 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50053 doesn't exist.
50054 * manual/stdio.texi (Obstack Streams): Node removed.
50055
f6ce9294
AS
500562011-10-26 Andreas Schwab <schwab@redhat.com>
50057
80479147
AS
50058 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50059 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50061
f6ce9294
AS
50062 * math/math_private.h (math_force_eval): Allow non-addressable
50063 arguments.
50064 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50065
618280a1
UD
500662011-10-25 Ulrich Drepper <drepper@gmail.com>
50067
e0016b11
UD
50068 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50069 file is not needed.
50070
50071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50072 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50073 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50074 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50075 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50076 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50077 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50078 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50079 Add AVX variants.
50080 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50081 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50082 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50083 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50084 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50085 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50086 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50087 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50088 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50089 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50090 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50091 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50092 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50093 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50094 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50095 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50096 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50097 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50098 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50099
50100 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50101 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50102
618280a1
UD
50103 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50104 place. Use VEX encoding when compiling for AVX.
50105
37822576
AS
501062011-10-25 Andreas Schwab <schwab@redhat.com>
50107
1f1e1947
AS
50108 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50109 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50110
37822576
AS
50111 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50112
31ea014d
UD
501132011-10-25 Ulrich Drepper <drepper@gmail.com>
50114
d7826aa1 50115 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50116 useless if() expression.
d7826aa1
UD
50117 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50118 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50119 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50120 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50121 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50122 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50123 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50125 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50128 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50130 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50132 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50133 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50134 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50135 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50136
31ea014d
UD
50137 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50138
16437fec
AS
501392011-10-25 Andreas Schwab <schwab@redhat.com>
50140
50141 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50142 condition.
50143 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50144
31d3cc00
UD
501452011-10-25 Ulrich Drepper <drepper@gmail.com>
50146
50147 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50148 .text section. Avoid duplicate constants.
50149 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50150 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50151 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50153 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50156 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50157 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50158 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50159 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50161 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50162 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50163 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50164 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50165 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50166 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50169 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50170 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50171 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50172 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50173 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50174 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50175 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50176 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50177 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50178 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50179 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50180 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50181 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50182 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50183 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50184 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50185 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50186 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50187 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50188 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50189 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50191 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50192 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50193 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50194
58985aa9
UD
501952011-10-24 Ulrich Drepper <drepper@gmail.com>
50196
202c9deb
UD
50197 * sysdeps/x86_64/dla.h: Move to ...
50198 * sysdeps/x86_64/fpu/dla.h: ...here.
50199 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50200 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50201
af968f62
UD
50202 * config.make.in: Add have-mfma4 entry.
50203 * configure.in: Substitute libc_cv_cc_fma4.
50204 * math/Makefile (dbl-only-routines): Add sincostab.
50205 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50206 Use __sincostab not sincos.
50207 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50208 name is a macro.
50209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50210 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50211 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50213 using __copysign.
50214 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50215 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50216 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50217 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50218 and __inv.
50219 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50220 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50221 __copysign.
50222 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50223 define aliases when function name is a macro.
50224 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50225 sysdeps/ieee754/dbl-64/sincos.tbl.
50226 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50227 fma4-enabled routines.
50228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50233 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50234 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50235 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50236 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50237 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50238 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50239 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50240 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50241 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50243 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50244 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50245 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50246 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50248 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50249 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50251 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50252 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50253 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50255 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50256 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50257 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50258
58985aa9
UD
50259 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50260 rename.
50261 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50263 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50264 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50265 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50267 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50268 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50269
a201fbcf
AS
502702011-10-24 Andreas Schwab <schwab@redhat.com>
50271
50272 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50273
fc2ee42a
LD
502742011-10-23 Ulrich Drepper <drepper@gmail.com>
50275
bb3129bd
UD
50276 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50277
0275fff8
UD
50278 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50279 prediction.
50280 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50281
2fa2ae85
UD
50282 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50283 Remove unused variable magic_bits.
50284 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50285
fc2ee42a
LD
50286 * string/strnlen.c: Define and use STRNLEN macro.
50287 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50288 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50290 * wcsmbs/wcslen.c: Define and use WCSLEN.
50291 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50292 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50293 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50294 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50295 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50296 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50297 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50298
ce7dd29f
LD
502992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50300
50301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50302 strnlen-sse2-no-bsf.
50303 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50304 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50305 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50306 Add strnlen support.
50307 (USE_AS_STRNLEN): New macro.
50308 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50309 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50310 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50311 * sysdeps/x86_64/wcslen.S: New file.
50312
979c70a3
MZ
503132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50314
50315 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50316 XMM-moves are used for copying on small sizes.
50317
2d09f82f
LD
503182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50319
50320 * wcsmbs/Makefile (strop-tests): Add wcschr.
50321 * wcsmbs/test-wcschr.c: New file.
50322 * string/test-strchr.c: Update.
50323 Add wcschr support.
50324 (WIDE): New macro.
50325
619fccca
LD
503262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50327
2d09f82f 50328 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50329 * wcsmbs/test-wcslen.c: New file.
50330 * string/test-strlen.c: Update.
50331 Add wcslen support.
50332 (WIDE): New macro.
50333
09f699ea
UD
503342011-10-23 Ulrich Drepper <drepper@gmail.com>
50335
50336 * po/it.po: Update from translation team.
50337
95584d3b
LD
503382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50339
50340 * sysdeps/x86_64/wcscmp.S: Update.
50341 Fix wrong comparison semantics.
50342 wcscmp shall use signed comparison not unsigned.
50343 Don't use substraction to avoid overflow bug.
50344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50345 * wcsmbc/wcscmp.c: Likewise.
50346 * string/test-strcmp.c: Likewise.
50347 Add new tests to check cases with negative values.
50348
c8b3296b
UD
503492011-10-23 Ulrich Drepper <drepper@gmail.com>
50350
50351 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50352 * sysdeps/x86_64/dla.h: ...here. New file.
50353 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50354 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50356 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50362
246ad57a
AS
503632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50364
50365 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50366 __ynl_finite aliases.
50367
a1a87169
UD
503682011-10-22 Ulrich Drepper <drepper@gmail.com>
50369
0d355eb7
UD
50370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50371
a1a87169
UD
50372 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50373 define DLA_FMA.
50374 [DLA_FMA] (EMULV): Use DLA_FMA.
50375 [DLA_FMA] (MUL12): Use EMULV.
50376 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50377 that are not needed.
50378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50385
ee2aafe0
AS
503862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50387
50388 * math/s_nan.c: Undef __nan.
50389 * math/s_nanf.c: Undef __nanf.
50390 * math/s_nanl.c: Undef __nanl.
50391 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50392 "math_private.h".
50393
bc62c2fb
UD
503942011-10-22 Ulrich Drepper <drepper@gmail.com>
50395
77425c63
UD
50396 * math/s_catan.c: Add branch predictions.
50397 * math/s_catanf.c: Likewise.
50398 * math/s_catanh.c: Likewise.
50399 * math/s_catanhf.c: Likewise.
50400 * math/s_catanhl.c: Likewise.
50401 * math/s_catanl.c: Likewise.
50402 * math/s_cexp.c: Likewise.
50403 * math/s_cexpf.c: Likewise.
50404 * math/s_cexpl.c: Likewise.
50405 * math/s_clog.c: Likewise.
50406 * math/s_clog10.c: Likewise.
50407 * math/s_clog10f.c: Likewise.
50408 * math/s_clog10l.c: Likewise.
50409 * math/s_clogf.c: Likewise.
50410 * math/s_clogl.c: Likewise.
50411 * math/s_csqrt.c: Likewise.
50412 * math/s_csqrtf.c: Likewise.
50413 * math/s_csqrtl.c: Likewise.
50414 * math/s_ctanf.c: Likewise.
50415 * math/s_ctanh.c: Likewise.
50416 * math/s_ctanhf.c: Likewise.
50417 * math/s_ctanhl.c: Likewise.
50418 * math/s_ctanl.c: Likewise.
50419
bc62c2fb
UD
50420 * math/math_private.h: Define __nan, __nanf, __nanl.
50421 * math/s_cacosh.c: Include <math_private.h>.
50422 * math/s_cacoshl.c: Likewise.
50423 * math/s_casinh.c: Likewise.
50424 * math/s_casinhf.c: Likewise.
50425 * math/s_casinhl.c: Likewise.
50426 * math/s_ccos.c: Rely entire on ccosh.
50427 * math/s_ccosf.c: Rely entire on ccoshf.
50428 * math/s_ccosl.c: Rely entirely on ccoshl.
50429 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50430 Remove tests for FE_INVALID.
50431 * math/s_ccoshf.c: Likewise.
50432 * math/s_ccoshl.c: Likewise.
50433 * math/s_csin.c: Likewise.
50434 * math/s_csinf.c: Likewise.
50435 * math/s_csinh.c Likewise.
50436 * math/s_csinhf.c: Likewise.
50437 * math/s_csinhl.c: Likewise.
50438 * math/s_csinl.c: Likewise.
50439 * math/s_ctan.c: Likewise.
50440 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50441 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50442 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50443
8ec250a4
UD
504442011-10-21 Ulrich Drepper <drepper@gmail.com>
50445
c196fed8
UD
50446 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50447 compilation problems.
50448
8ec250a4
UD
50449 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50450 __builtin_expect.
50451
8d4f46c6
UD
504522011-10-20 Ulrich Drepper <drepper@gmail.com>
50453
ed72b654
UD
50454 * sysdeps/i386/configure.in: Test for -mfma4 option.
50455 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50456 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50457 COMMON_CPUID_INDEX_80000001.
50458 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50459 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50460 use it if FMA3 is not supported.
50461 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50462
8d4f46c6
UD
50463 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50464 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50465
d45c60c2
AS
504662011-10-20 Andreas Schwab <schwab@redhat.com>
50467
50468 [BZ #12892]
50469 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50470 it would create a cycle with a link time dependency.
50471
d9a4d2ab
UD
504722011-10-19 Ulrich Drepper <drepper@gmail.com>
50473
855d1560
UD
50474 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50475 instruction.
50476 * string/Makefile (strop-tests): Add rawmemchr.
50477 * string/test-rawmemchr.c: New file.
50478
d9a4d2ab
UD
50479 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50480 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50481 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50482 when compiling str{,n}casecmp and when AVX is available. Hook up
50483 new optimized code in initializers.
50484
8f3b1ffe
AS
504852011-10-19 Andreas Schwab <schwab@redhat.com>
50486
50487 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50488 __feraiseexcept instead of feraiseexcept.
50489
d38f1dba
UD
504902011-10-18 Ulrich Drepper <drepper@gmail.com>
50491
d9a8d0ab
UD
50492 * math/math_private.h: Define defaults for libc_fetestexcept and
50493 libc_feupdateenv.
50494 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50495 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50496 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50497 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50498 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50499 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50500 libc_fetestexcept and libc_feupdateenv.
50501
4855e3dd
UD
50502 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50503 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50504 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50505 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50506 libc_feholdexcept_setround.
50507
581d30e3
UD
50508 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50509 Add s_nearbyint-c and s_nearbyintf-c.
50510 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50511 nearbyintf inlines.
50512 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50514 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50516
d38f1dba
UD
50517 * math/math_private.h: Define defaults for libc_fegetround,
50518 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50519 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50520 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50521 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50522 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50523 standard functions.
50524 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50525 Remove comments and hacks for old compiler versions.
50526 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50527 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50528 libc_feholdexceptl.
50529
caa6c9d8
AS
505302011-10-18 Andreas Schwab <schwab@redhat.com>
50531
50532 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50533 (__feraiseexcept_renamed): Add __NTH.
50534 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50535 namespace violations.
50536
97c066e6
UD
505372011-10-17 Ulrich Drepper <drepper@gmail.com>
50538
99ce7b04
UD
50539 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50540
1004d182
UD
50541 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50542
228a984d
UD
50543 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50544 recently added interfaces.
50545 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50546
c8553a6a
UD
50547 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50548 about macro parameter expansion.
50549
ed22dcf6
UD
50550 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50551 __NO_MATH_INLINES is defined. Cleanups.
50552
50553 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50554 and __floorf is target has SSE4.1.
50555 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50556 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50559
b171c137
UD
50560 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50561 name.
50562 (floorf): Likewise.
50563
97c066e6
UD
50564 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50565
629f62ef
AS
505662011-10-17 Andreas Schwab <schwab@redhat.com>
50567
49a43d80
AS
50568 * misc/sys/cdefs.h: Fix last change.
50569
629f62ef
AS
50570 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50571 database lookup.
50572
e453f6cd
UD
505732011-10-16 Ulrich Drepper <drepper@gmail.com>
50574
aa78043a
UD
50575 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50576
ad0f5cad
UD
50577 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50578 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50579 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50580 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50581 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50582 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50584 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50585 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50586 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50587 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50588 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50589 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50590 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50591 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50592 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50594 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50595 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50596 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50597 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50598 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50599
50600 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50601 ceil, ceilf, floor, floorf.
50602
50603 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50604 Perform IRELATIVE relocations last.
50605
e453f6cd
UD
50606 * elf/do-rel.h: Add another parameter nrelative, replacing the
50607 local variable with the same name. Change name of the function
50608 to end in Rel or Rela (uppercase).
50609 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50610 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50611 elf_dynamic_do_##reloc function.
50612
fd5bdc09
UD
506132011-10-15 Ulrich Drepper <drepper@gmail.com>
50614
79b195b5
UD
50615 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50616 is sufficient, at least on modern CPUs.
50617
d4a28569
UD
50618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50619
b61099b5
UD
50620 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50621 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50622
bcf01e6d
UD
50623 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50624 __expl_finite.
50625 * math/bits/math-finite.h: Add entries for exp.
50626 * math/e_expl.c: Add __*_finite alias.
50627 * sysdeps/i386/fpu/e_exp.S: Likewise.
50628 * sysdeps/i386/fpu/e_expf.S: Likewise.
50629 * sysdeps/i386/fpu/e_expl.c: Likewise.
50630 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50631 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50632 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50634 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50635 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50636 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50637
ba1a0d59
UD
50638 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50639 is sufficient, at least on modern CPUs.
50640
fd5bdc09
UD
50641 * ctype/ctype-info.c (__ctype_init): Define.
50642 * include/ctype.h (__ctype_init): Declare.
50643 (__ctype_b_loc): The variable is always initialized.
50644 (__ctype_toupper_loc): Likewise.
50645 (__ctype_tolower_loc): Likewise.
50646 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50647 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50648
7872cfb0
AS
506492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50650
b468825a
AS
50651 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50652
7872cfb0
AS
50653 * configure.in: Also look in $cxxmachine/include for C++ system
50654 headers.
50655
be13f7bf
LD
506562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50657
50658 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50659 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50660 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50661 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50662 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50663 (USE_AS_WMEMCMP): New macro.
50664 Fixing indents.
50665 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50666 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50667 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50668 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50670 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50671 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50672 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50673 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50674 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50675 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50676 (USE_AS_WMEMCMP): New macro.
50677 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50678 * sysdeps/string/test-memcmp.c: Update.
50679 Fix simple_wmemcmp.
50680 Add new tests.
50681 * wcsmbs/wmemcmp.c: Update.
50682 (WMEMCMP): New macro.
50683 Fix overflow bug.
50684
556a2007
AJ
506852011-10-12 Andreas Jaeger <aj@suse.de>
50686
50687 [BZ #13268]
50688 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50689
538faaa7
UD
506902011-10-15 Ulrich Drepper <drepper@gmail.com>
50691
ab6737ff
UD
50692 * libio/iofwide.c (do_length): Avoid warning.
50693
538faaa7
UD
50694 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50695
396a21b1
UD
506962011-10-14 Ulrich Drepper <drepper@gmail.com>
50697
cdf2901f
UD
50698 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50699
38ad40ce
UD
50700 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50701 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50702 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50703 * sysdeps/i386/i686/fpu/e_log.S: New file.
50704 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50705 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50706
396a21b1
UD
50707 * ctype/ctype.h: Add support for inlined isXXX functions when
50708 compiling C++ code.
50709
6b1f68c9
AS
507102011-10-14 Andreas Schwab <schwab@redhat.com>
50711
349290c0
AS
50712 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50713
6b1f68c9
AS
50714 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50715
f2282d42
RM
507162011-10-13 Roland McGrath <roland@hack.frob.com>
50717
50718 [BZ #13291]
50719 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50720
5298ffa8
AS
507212011-10-13 Andreas Schwab <schwab@redhat.com>
50722
714fad23
AS
50723 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50724 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50725 feraiseexcept.
50726
81dcc7fb
AS
50727 * sysdeps/x86_64/memrchr.S: Check for zero size.
50728
5298ffa8
AS
50729 * string/stratcliff.c: Add memrchr tests.
50730
951fbcec
LD
507312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50732
50733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50734 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50735 rawmemchr-sse2 rawmemchr-sse2-bsf.
50736 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50737 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50738 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50739 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50740 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50741 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50742 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50743 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50744 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50746 * string/memrchr.c (MEMRCHR): New macro.
50747
0ac5ae23
UD
507482011-10-12 Ulrich Drepper <drepper@gmail.com>
50749
50750 Add integration with gcc's -ffinite-math-only and optimize wrapper
50751 functions in libm.
50752 * Versions.def: Define GLIBC_2.15 version for libm.
50753 * math/Makefile (headers): Add bits/math-finite.h.
50754 * math/bits/math-finite.h: New file.
50755 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50756 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50757 * math/e_acoshl.c: Add __*_finite alias.
50758 * math/e_acosl.c: Likewise.
50759 * math/e_asinl.c: Likewise.
50760 * math/e_atan2l.c: Likewise.
50761 * math/e_atanhl.c: Likewise.
50762 * math/e_coshl.c: Likewise.
50763 * math/e_exp10.c: Likewise.
50764 * math/e_exp10f.c: Likewise.
50765 * math/e_exp10l.c: Likewise.
50766 * math/e_exp2l.c: Likewise.
50767 * math/e_fmodl.c: Likewise.
50768 * math/e_gammal_r.c: Likewise.
50769 * math/e_hypotl.c: Likewise.
50770 * math/e_j0l.c: Likewise.
50771 * math/e_j1l.c: Likewise.
50772 * math/e_jnl.c: Likewise.
50773 * math/e_lgammal_r.c: Likewise.
50774 * math/e_log10l.c: Likewise.
50775 * math/e_log2l.c: Likewise.
50776 * math/e_logl.c: Likewise.
50777 * math/e_powl.c: Likewise.
50778 * math/e_sinhl.c: Likewise.
50779 * math/e_sqrtl.c: Likewise.
50780 * math/e_scalb.c: Completely rewritten and optimized.
50781 * math/e_scalbf.c: Likewise.
50782 * math/e_scalbl.c: Likewise.
50783 * math/w_acos.c: Likewise.
50784 * math/w_acosf.c: Likewise.
50785 * math/w_acosl.c: Likewise.
50786 * math/w_acosh.c: Likewise.
50787 * math/w_acoshf.c: Likewise.
50788 * math/w_acoshl.c: Likewise.
50789 * math/w_asin.c: Likewise.
50790 * math/w_asinf.c: Likewise.
50791 * math/w_asinl.c: Likewise.
50792 * math/w_atan2.c: Likewise.
50793 * math/w_atan2f.c: Likewise.
50794 * math/w_atan2l.c: Likewise.
50795 * math/w_atanh.c: Likewise.
50796 * math/w_atanhf.c: Likewise.
50797 * math/w_atanhl.c: Likewise.
50798 * math/w_exp10.c: Likewise.
50799 * math/w_exp10f.c: Likewise.
50800 * math/w_exp10l.c: Likewise.
50801 * math/w_fmod.c: Likewise.
50802 * math/w_fmodf.c: Likewise.
50803 * math/w_fmodl.c: Likewise.
50804 * math/w_j0.c: Likewise.
50805 * math/w_j0f.c: Likewise.
50806 * math/w_j0l.c: Likewise.
50807 * math/w_j1.c: Likewise.
50808 * math/w_j1f.c: Likewise.
50809 * math/w_j1l.c: Likewise.
50810 * math/w_jn.c: Likewise.
50811 * math/w_jnf.c: Likewise.
50812 * math/w_log.c: Likewise.
50813 * math/w_logf.c: Likewise.
50814 * math/w_logl.c: Likewise.
50815 * math/w_log10.c: Likewise.
50816 * math/w_log10f.c: Likewise.
50817 * math/w_log10l.c: Likewise.
50818 * math/w_log2.c: Likewise.
50819 * math/w_log2f.c: Likewise.
50820 * math/w_log2l.c: Likewise.
50821 * math/w_pow.c: Likewise.
50822 * math/w_powf.c: Likewise.
50823 * math/w_powl.c: Likewise.
50824 * math/w_remainder.c: Likewise.
50825 * math/w_remainderf.c: Likewise.
50826 * math/w_remainderl.c: Likewise.
50827 * math/w_scalb.c: Likewise.
50828 * math/w_scalbf.c: Likewise.
50829 * math/w_scalbl.c: Likewise.
50830 * math/w_sqrt.c: Likewise.
50831 * math/w_sqrtf.c: Likewise.
50832 * math/w_sqrtl.c: Likewise.
50833 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50834 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50835 used.
50836 * math/math_private.h: Declare __kernel_standard_f.
50837 * math/w_cosh.c: Remove cruft and optimize a bit.
50838 * math/w_coshf.c: Likewise.
50839 * math/w_coshl.c: Likewise.
50840 * math/w_exp2.c: Likewise.
50841 * math/w_exp2f.c: Likewise.
50842 * math/w_exp2l.c: Likewise.
50843 * math/w_hypot.c: Likewise.
50844 * math/w_hypotf.c: Likewise.
50845 * math/w_hypotl.c: Likewise.
50846 * math/w_lgamma.c: Likewise.
50847 * math/w_lgamma_r.c: Likewise.
50848 * math/w_lgammaf.c: Likewise.
50849 * math/w_lgammaf_r.c: Likewise.
50850 * math/w_lgammal.c: Likewise.
50851 * math/w_lgammal_r.c: Likewise.
50852 * math/w_sinh.c: Likewise.
50853 * math/w_sinhf.c: Likewise.
50854 * math/w_sinhl.c: Likewise.
50855 * math/w_tgamma.c: Likewise.
50856 * math/w_tgammaf.c: Likewise.
50857 * math/w_tgammal.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50859 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50860 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50861 Minor optimizations. Pretty printing. Remove cruft.
50862 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50863 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50865 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50866 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50867 * sysdeps/i386/fpu/e_asin.S: Likewise.
50868 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50869 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50870 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50871 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50872 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50874 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50875 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50876 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50877 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50878 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50879 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50880 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50881 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50882 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50883 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50884 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50885 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50886 * sysdeps/i386/fpu/e_log.S: Likewise.
50887 * sysdeps/i386/fpu/e_log10.S: Likewise.
50888 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50889 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50890 * sysdeps/i386/fpu/e_log2.S: Likewise.
50891 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50892 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50893 * sysdeps/i386/fpu/e_logf.S: Likewise.
50894 * sysdeps/i386/fpu/e_logl.S: Likewise.
50895 * sysdeps/i386/fpu/e_pow.S: Likewise.
50896 * sysdeps/i386/fpu/e_powf.S: Likewise.
50897 * sysdeps/i386/fpu/e_powl.S: Likewise.
50898 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50899 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50900 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50901 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50902 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50903 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50904 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50905 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50906 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50907 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50908 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50910 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50911 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50912 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50913 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50914 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50916 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50917 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50918 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50919 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50920 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50921 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50923 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50924 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50925 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50926 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50927 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50928 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50929 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50930 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50931 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50932 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50933 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50934 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50935 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50936 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50937 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50938 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50939 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50940 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50941 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50942 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50943 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50944 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50945 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50946 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50947 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50948 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50949 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50950 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50951 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50952 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50953 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50954 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50955 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50956 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50957 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50958 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50959 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50960 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50961 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50962 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50963 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50964 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50965 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50966 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50967 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50968 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50969 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50970 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50971 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50972 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50973 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50974 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50976 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50977 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50978 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50979 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50980 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50981 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50982 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50983 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50984 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50985 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50986 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50987 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50988 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50989 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50990 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50991 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50992 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50993 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50994 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50995 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50996 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50997 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50998 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50999 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51000 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51001 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51002 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51003 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51004 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51005 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51006 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51007 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51008 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51009 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51010 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51011 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51012 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51013 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51014 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51015 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51016 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51017 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51018 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51019 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51020 (__isnanf): Likewise.
51021 (__isinf_ns): Likewise.
51022 (__isinf_nsf): Likewise.
51023 (__finite): Likewise.
51024 (__finitef): Likewise.
51025 (__ieee754_sqrt): Define as macro.
51026 (__ieee754_sqrtf): Define as macro.
51027 (__ieee754_sqrtl): Define as macro.
51028 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51029 inlined copy.
51030 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51031 __FINITE_MATH_ONLY__ consistent.
51032 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51033
12cc2fcd
AS
510342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51035
a843a204
AS
51036 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51037 of rawmemchr.
51038
12cc2fcd
AS
51039 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51040
c853acd5
UD
510412011-10-09 Ulrich Drepper <drepper@gmail.com>
51042
51043 * po/ja.po: Update from translation team.
51044
c658d255
RM
510452011-10-08 Roland McGrath <roland@hack.frob.com>
51046
110946e4
RM
51047 * locale/programs/locarchive.c (prepare_address_space): New function.
51048 (create_archive, enlarge_archive, open_archive): Use it.
51049
50604220
RM
51050 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51051 inside [SHARED], where it is used.
51052
c658d255
RM
51053 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51054
51055 * nss/getent.c (netgroup_keys): Remove unused variable.
51056 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51057
6a621eb7
UD
510582011-10-08 Ulrich Drepper <drepper@gmail.com>
51059
7edb55ce
UD
51060 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51061 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51065 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51066 * math/Makefile (libm-calls): Add s_isinf_ns.
51067 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51068 * math/multc3.c: Likewise.
51069 * math/s_casin.c: Likewise.
51070 * math/s_casinf.c: Likewise.
51071 * math/s_casinl.c: Likewise.
51072 * math/s_ccos.c: Likewise.
51073 * math/s_ccosf.c: Likewise.
51074 * math/s_ccosl.c: Likewise.
51075 * math/s_ctan.c: Likewise.
51076 * math/s_ctanf.c: Likewise.
51077 * math/s_ctanh.c: Likewise.
51078 * math/s_ctanhf.c: Likewise.
51079 * math/s_ctanhl.c: Likewise.
51080 * math/s_ctanl.c: Likewise.
51081 * math/w_fmod.c: Likewise.
51082 * math/w_fmodf.c: Likewise.
51083 * math/w_fmodl.c: Likewise.
51084 * math/w_remainder.c: Likewise.
51085 * math/w_remainderf.c: Likewise.
51086 * math/w_remainderl.c: Likewise.
51087 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51088 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51089 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51090 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51091 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51092 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51093 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51094 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51095
187da0ae
UD
51096 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51097 of the number.
51098 * stdio-common/printf_fphex.c: Likewise.
51099 * stdio-common/printf_size.c: Likewise.
51100
9277c064
UD
51101 * math/e_exp10.c: Include math_private.h using <...> not "...".
51102 * math/e_exp10f.c: Likewise.
51103 * math/e_exp10l.c: Likewise.
51104 * math/e_exp2l.c: Likewise.
51105 * math/e_j0l.c: Likewise.
51106 * math/e_j1l.c: Likewise.
51107 * math/e_jnl.c: Likewise.
51108 * math/e_lgammal_r.c: Likewise.
51109 * math/e_rem_pio2l.c: Likewise.
51110 * math/e_scalb.c: Likewise.
51111 * math/e_scalbf.c: Likewise.
51112 * math/e_scalbl.c: Likewise.
51113 * math/k_cosl.c: Likewise.
51114 * math/k_sinl.c: Likewise.
51115 * math/k_tanl.c: Likewise.
51116 * math/s_cacoshf.c: Likewise.
51117 * math/s_catan.c: Likewise.
51118 * math/s_catanf.c: Likewise.
51119 * math/s_catanh.c: Likewise.
51120 * math/s_catanhf.c: Likewise.
51121 * math/s_catanhl.c: Likewise.
51122 * math/s_catanl.c: Likewise.
51123 * math/s_ccosh.c: Likewise.
51124 * math/s_ccoshf.c: Likewise.
51125 * math/s_ccoshl.c: Likewise.
51126 * math/s_cexp.c: Likewise.
51127 * math/s_cexpf.c: Likewise.
51128 * math/s_cexpl.c: Likewise.
51129 * math/s_clog.c: Likewise.
51130 * math/s_clog10.c: Likewise.
51131 * math/s_clog10f.c: Likewise.
51132 * math/s_clog10l.c: Likewise.
51133 * math/s_clogf.c: Likewise.
51134 * math/s_clogl.c: Likewise.
51135 * math/s_csin.c: Likewise.
51136 * math/s_csinf.c: Likewise.
51137 * math/s_csinh.c: Likewise.
51138 * math/s_csinhf.c: Likewise.
51139 * math/s_csinhl.c: Likewise.
51140 * math/s_csinl.c: Likewise.
51141 * math/s_csqrt.c: Likewise.
51142 * math/s_csqrtf.c: Likewise.
51143 * math/s_csqrtl.c: Likewise.
51144 * math/s_ctan.c: Likewise.
51145 * math/s_ctanf.c: Likewise.
51146 * math/s_ctanh.c: Likewise.
51147 * math/s_ctanhf.c: Likewise.
51148 * math/s_ctanhl.c: Likewise.
51149 * math/s_ctanl.c: Likewise.
51150 * math/s_ldexp.c: Likewise.
51151 * math/s_ldexpf.c: Likewise.
51152 * math/s_ldexpl.c: Likewise.
51153 * math/s_significand.c: Likewise.
51154 * math/s_significandf.c: Likewise.
51155 * math/s_significandl.c: Likewise.
51156 * math/w_acos.c: Likewise.
51157 * math/w_acosf.c: Likewise.
51158 * math/w_acosh.c: Likewise.
51159 * math/w_acoshf.c: Likewise.
51160 * math/w_acoshl.c: Likewise.
51161 * math/w_acosl.c: Likewise.
51162 * math/w_asin.c: Likewise.
51163 * math/w_asinf.c: Likewise.
51164 * math/w_asinl.c: Likewise.
51165 * math/w_atan2.c: Likewise.
51166 * math/w_atan2f.c: Likewise.
51167 * math/w_atan2l.c: Likewise.
51168 * math/w_atanh.c: Likewise.
51169 * math/w_atanhf.c: Likewise.
51170 * math/w_atanhl.c: Likewise.
51171 * math/w_cosh.c: Likewise.
51172 * math/w_coshf.c: Likewise.
51173 * math/w_coshl.c: Likewise.
51174 * math/w_dremf.c: Likewise.
51175 * math/w_exp10.c: Likewise.
51176 * math/w_exp10f.c: Likewise.
51177 * math/w_exp10l.c: Likewise.
51178 * math/w_exp2.c: Likewise.
51179 * math/w_exp2f.c: Likewise.
51180 * math/w_fmod.c: Likewise.
51181 * math/w_fmodf.c: Likewise.
51182 * math/w_fmodl.c: Likewise.
51183 * math/w_hypot.c: Likewise.
51184 * math/w_hypotf.c: Likewise.
51185 * math/w_hypotl.c: Likewise.
51186 * math/w_j0.c: Likewise.
51187 * math/w_j0f.c: Likewise.
51188 * math/w_j0l.c: Likewise.
51189 * math/w_j1.c: Likewise.
51190 * math/w_j1f.c: Likewise.
51191 * math/w_j1l.c: Likewise.
51192 * math/w_jn.c: Likewise.
51193 * math/w_jnf.c: Likewise.
51194 * math/w_jnl.c: Likewise.
51195 * math/w_lgamma.c: Likewise.
51196 * math/w_lgamma_r.c: Likewise.
51197 * math/w_lgammaf.c: Likewise.
51198 * math/w_lgammaf_r.c: Likewise.
51199 * math/w_lgammal.c: Likewise.
51200 * math/w_lgammal_r.c: Likewise.
51201 * math/w_log.c: Likewise.
51202 * math/w_log10.c: Likewise.
51203 * math/w_log10f.c: Likewise.
51204 * math/w_log10l.c: Likewise.
51205 * math/w_log2.c: Likewise.
51206 * math/w_log2f.c: Likewise.
51207 * math/w_log2l.c: Likewise.
51208 * math/w_logf.c: Likewise.
51209 * math/w_logl.c: Likewise.
51210 * math/w_pow.c: Likewise.
51211 * math/w_powf.c: Likewise.
51212 * math/w_powl.c: Likewise.
51213 * math/w_remainder.c: Likewise.
51214 * math/w_remainderf.c: Likewise.
51215 * math/w_remainderl.c: Likewise.
51216 * math/w_scalb.c: Likewise.
51217 * math/w_scalbf.c: Likewise.
51218 * math/w_scalbl.c: Likewise.
51219 * math/w_sinh.c: Likewise.
51220 * math/w_sinhf.c: Likewise.
51221 * math/w_sinhl.c: Likewise.
51222 * math/w_sqrt.c: Likewise.
51223 * math/w_sqrtf.c: Likewise.
51224 * math/w_sqrtl.c: Likewise.
51225 * math/w_tgamma.c: Likewise.
51226 * math/w_tgammaf.c: Likewise.
51227 * math/w_tgammal.c: Likewise.
51228
6a621eb7
UD
51229 * po/ja.po: Update from translation team.
51230
bf582445
AJ
512312011-09-29 Andreas Jaeger <aj@suse.de>
51232
f9efbf3a
AJ
51233 [BZ #13179]
51234 * sunrpc/netname.c (netname2host): Fix logic.
51235
bf582445
AJ
51236 [BZ #6779]
51237 [BZ #6783]
51238 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51239 correctly.
51240 * math/w_remainder.c (__remainder): Likewise.
51241 * math/w_remainderf.c (__remainderf): Likewise.
51242 * math/libm-test.inc (remainder_test): Add test cases.
51243
48693bea
AK
512442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51245
51246 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51247 sdiv_qrnnd.
51248
42622229
LD
512492011-10-07 Ulrich Drepper <drepper@gmail.com>
51250
51251 * string/test-memcmp.c: Avoid unncessary #defines.
51252 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51253
093ecf92
LD
512542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51255
51256 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51257 Use new sse2 version for core i3 - i7 as it's faster
51258 than sse42 version.
51259 (bit_Prefer_PMINUB_for_stringop): New.
51260 * sysdeps/x86_64/rawmemchr.S: Update.
51261 Replace with faster SSE2 version.
51262 * sysdeps/x86_64/memrchr.S: New file.
51263 * sysdeps/x86_64/memchr.S: Update.
51264 Replace with faster SSE2 version.
51265
fde56e5c
MP
512662011-09-12 Marek Polacek <mpolacek@redhat.com>
51267
51268 * elf/dl-load.c (lose): Add cast to avoid warning.
51269
21fd49a9
UD
512702011-10-07 Ulrich Drepper <drepper@gmail.com>
51271
5a06e643
UD
51272 * po/ca.po: Update from translation team.
51273
684ae515
UD
51274 * inet/getnetgrent_r.c: Hook up nscd.
51275 * nscd/Makefile (routines): Add nscd_netgroup.
51276 (nscd-modules): Add netgroupcache.
51277 (CFLAGS-netgroupcache.c): Define.
51278 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51279 (cache_search): Add const to second parameter.
51280 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51281 INNETGR.
51282 (dbs): Add netgrdb entry.
51283 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51284 (verify_persistent_db): Handle netgrdb.
51285 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51286 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51287 GETFDNETGR.
51288 (netgroup_response_header): Define.
51289 (innetgroup_response_header): Define.
51290 (datahead): Add netgroup_response_header and innetgroup_response_header
51291 elements.
51292 * nscd/nscd.conf: Add entries for netgroup cache.
51293 * nscd/nscd.h (dbtype): Add netgrdb.
51294 (_PATH_NSCD_NETGROUP_DB): Define.
51295 (netgroup_iov_disabled): Declare.
51296 (xmalloc, xcalloc, xrealloc): Move declarations here.
51297 (cache_search): Adjust prototype.
51298 Add netgroup-related prototypes.
51299 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51300 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51301 (__nscd_innetgr): Declare.
51302 * nscd/selinux.c (perms): Use access_vector_t as element type and
51303 add netgroup-related initializers.
51304 * nscd/netgroupcache.c: New file.
51305 * nscd/nscd_netgroup.c: New file.
51306 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51307 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51308 For four parameters use innetgr.
51309 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51310 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51311 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51312 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51313
21fd49a9
UD
51314 * nscd/connections.c (register_traced_file): Don't register file
51315 for disabled databases.
51316
054c0457
UD
513172011-10-06 Ulrich Drepper <drepper@gmail.com>
51318
32b63198
UD
51319 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51320
054c0457
UD
51321 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51322 from tree and freeing node.
51323
64031225
JO
513242011-09-25 Jiri Olsa <jolsa@redhat.com>
51325
51326 * nss/nsswitch.c (__nss_database_lookup): Handle
51327 nss_parse_service_list out of memory case.
51328
0490345c
JO
513292011-09-15 Jiri Olsa <jolsa@redhat.com>
51330
51331 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51332 out of memory case.
51333
3a62d00d
AS
513342011-10-04 Andreas Schwab <schwab@redhat.com>
51335
51336 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51337 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51338 pass it down.
51339 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51340 elf_machine_rela, elf_machine_lazy_rel.
51341 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51342 (ELF_DYNAMIC_DO_REL): Likewise.
51343 (ELF_DYNAMIC_DO_RELA): Likewise.
51344 (ELF_DYNAMIC_RELOCATE): Likewise.
51345 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51346 to ELF_DYNAMIC_DO_REL.
51347 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51348 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51349 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51350 elf_machine_rela.
51351 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51352 skip_ifunc, don't call ifunc function if non-zero.
51353 (elf_machine_rela): Likewise.
51354 (elf_machine_lazy_rel): Likewise.
51355 (elf_machine_lazy_rela): Likewise.
51356 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51357 (elf_machine_lazy_rel): Likewise.
51358 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51359 Likewise.
51360 (elf_machine_lazy_rel): Likewise.
51361 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51362 Likewise.
51363 (elf_machine_lazy_rel): Likewise.
51364 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51365 (elf_machine_lazy_rel): Likewise.
51366 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51367 (elf_machine_lazy_rel): Likewise.
51368 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51369 (elf_machine_lazy_rel): Likewise.
51370 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51371 (elf_machine_lazy_rel): Likewise.
51372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51373 (elf_machine_lazy_rel): Likewise.
51374 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51375 (elf_machine_lazy_rel): Likewise.
51376
68577918
UD
513772011-09-28 Ulrich Drepper <drepper@gmail.com>
51378
51379 * nss/nss_files/files-init.c (_nss_files_init): Use static
51380 initialization for all the *_traced_file variables.
51381
68822d74
AS
513822011-09-28 Andreas Schwab <schwab@redhat.com>
51383
51384 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51385
2056100b
RM
513862011-09-27 Roland McGrath <roland@hack.frob.com>
51387
51388 [BZ #13226]
51389 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51390
32c76b63
AS
513912011-09-27 Andreas Schwab <schwab@redhat.com>
51392
51393 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51394 Reread the line before reparsing it.
51395
bf972c9d
AS
513962011-09-26 Andreas Schwab <schwab@redhat.com>
51397
51398 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51399
e057a1b5
JM
514002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51401 Maxim Kuvyrkov <maxim@codesourcery.com>
51402 Joseph Myers <joseph@codesourcery.com>
51403
51404 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51405 if needed for __stack_chk_guard.
51406
bc7e1c36
RM
514072011-09-19 Roland McGrath <roland@hack.frob.com>
51408
ecb1482f
RM
51409 * sysdeps/posix/spawni.c (script_execute): Always define it.
51410 It will be optimized away if unused.
51411 (maybe_script_execute): New function.
51412 (__spawni): Call it.
51413
bc7e1c36
RM
51414 * Makerules: Don't include tls.make.
51415 (config-tls): Always set to thread.
51416 * tls.make.c: File removed.
51417
1c3b002b
MF
514182011-09-19 Mike Frysinger <vapier@gentoo.org>
51419
51420 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51421 * config.make.in (CPPFLAGS-config): New substituted variable.
51422
2840865d
UD
514232011-09-15 Ulrich Drepper <drepper@gmail.com>
51424
88738eb6
UD
51425 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51426
cbf645a6 51427 [BZ #13192]
2840865d
UD
51428 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51429 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51430
b402e91a
RM
514312011-09-15 Roland McGrath <roland@hack.frob.com>
51432
51433 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51434 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51435 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51436 (CALL_FAIL): Likewise.
51437 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51438 (CALL_FAIL): Macro removed.
51439 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51440
4c1a1f71
UD
514412011-09-15 Ulrich Drepper <drepper@gmail.com>
51442
51443 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51444 for __FINITE_MATH_ONLY__ == 1.
51445
edc121be
AS
514462011-09-15 Andreas Schwab <schwab@redhat.com>
51447
51448 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51449 __ieee754_sqrt instead of sqrt.
51450 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51451 __ieee754_sqrtf instead of sqrtf.
51452 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51453 __floorf instead of floorf.
51454 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51455 __floorf, __truncf instead of floorf, truncf.
51456
cd205654
UD
514572011-09-14 Ulrich Drepper <drepper@gmail.com>
51458
ee4d0315
UD
51459 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51460
cd205654
UD
51461 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51462 __extern_always_inline.
51463 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51464 32-bit.
51465
48b67d71
AS
514662011-09-14 Andreas Schwab <schwab@redhat.com>
51467
51468 * elf/rtld.c (dl_main): Also relocate in dependency order when
51469 doing symbol dependency testing.
51470
1ae12c75
AS
514712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51472
51473 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51474 Always define `refsym'.
51475
995a80df
AS
514762011-09-13 Andreas Schwab <schwab@redhat.com>
51477
e529793b
AS
51478 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51479 (__FD_ELT): Renamed from __FDELT.
51480 * misc/bits/select2.h (__FD_ELT): Likewise.
51481 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51482 __FD_MASK instead of __FDELT, __FDMASK.
51483 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51484 Likewise.
51485 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51486 Likewise.
51487
52d4fef8
AS
51488 * elf/Makefile (gen-ldd): Fix pattern.
51489
995a80df
AS
51490 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51491 (init_tls): Likewise.
51492
8682f8b0
UD
514932011-09-12 Ulrich Drepper <drepper@gmail.com>
51494
51495 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51496
de82006d
AS
514972011-09-12 Andreas Schwab <schwab@redhat.com>
51498
a7c8e6a1
AS
51499 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51500 `struct cmsghdr *' instead of `void *'.
51501 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51502 Likewise.
51503
0f31fe77
AS
515042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51505
51506 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51507 if non-absolute.
51508 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51509 ldd_rewrite_script.
0f31fe77 51510
32b4c839
UD
515112011-09-11 Ulrich Drepper <drepper@gmail.com>
51512
83cd1420
UD
51513 * configure.in: Remove --with-tls option.
51514 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51515 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51516 out in case it is missing.
51517 * sysdeps/ia64/elf/configure.in: Likewise.
51518 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51519 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51520 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51521 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51522 * sysdeps/sh/elf/configure.in: Likewise.
51523 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51524 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51525 * sysdeps/x86_64/elf/configure.in: Likewise.
51526 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51527 * sysdeps/mach/hurd/tls.h: Likewise.
51528
633f745d
UD
51529 [BZ #13067]
51530 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51531
f318beb8
UD
51532 [BZ #13090]
51533 * configure.in: Fix use of AC_INIT.
51534
32b4c839
UD
51535 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51536
3ce1f295
UD
515372011-09-10 Ulrich Drepper <drepper@gmail.com>
51538
bb016596
UD
51539 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51540 __set_errno.
8e58439c
UD
51541 * malloc/hooks.c: Likewise.
51542
aebae053 51543 [BZ #11929]
02d46fc4
UD
51544 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51545 variables statically.
51546 (narenas): Initialize.
51547 (list_lock): Initialize.
bb016596
UD
51548 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51549 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51550 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51551 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51552 Add initializers to main_arena and mp_.
51553 (malloc_state): Remove pagesize member. Change all users to use
51554 GLRO(dl_pagesize).
51555
51556 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51557 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51558 is always initialized.
51559
22a89187
UD
51560 * malloc/malloc.c: Removed unused configurations and dead code.
51561 * malloc/arena.c: Likewise.
51562 * malloc/hooks.c: Likewise.
02d46fc4 51563 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51564
d063d164
UD
51565 * include/tls.h: Removed. USE___THREAD must always be defined.
51566 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51567 * elf/dl-libc.c: Likewise.
51568 * elf/dl-tsd.c: Likewise.
51569 * include/errno.h: Likewise.
51570 * include/netdb.h: Likewise.
51571 * include/resolv.h: Likewise.
51572 * inet/herrno-loc.c: Likewise.
51573 * inet/herrno.c: Likewise.
51574 * malloc/arena.c: Likewise.
51575 * malloc/hooks.c: Likewise.
51576 * malloc/malloc.c: Likewise.
51577 * resolv/res-state.c: Likewise.
51578 * resolv/res_libc.c: Likewise.
51579 * sysdeps/i386/dl-machine.h: Likewise.
51580 * sysdeps/ia64/dl-machine.h: Likewise.
51581 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51582 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51583 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51584 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51585 * sysdeps/sh/dl-machine.h: Likewise.
51586 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51587 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51588 * sysdeps/unix/i386/sysdep.S: Likewise.
51589 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51590 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51591 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51593 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51595 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51596 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51598 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51599 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51600 * sysdeps/x86_64/dl-machine.h: Likewise.
51601 * tls.make.c: Likewise.
51602
3ce1f295
UD
51603 * configure.in: Remove --with-__thread option. Make tests for
51604 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51605 tls_model attribute fail if no support is available. Remove
51606 USE_IN_LIBIO.
51607 * Makeconfig: Adjust for dropped configure option. All features are
51608 now mandatory.
51609 * Makerules: Likewise.
51610 * Versions.def: Likewise.
51611 * argp/argp-fmtstream.c: Likewise.
51612 * argp/argp-fmtstream.h: Likewise.
51613 * argp/argp-help.c: Likewise.
51614 * assert/assert.c: Likewise.
51615 * config.h.in: Likewise.
51616 * config.make.in: Likewise.
51617 * configure: Likewise.
51618 * configure.in: Likewise.
51619 * csu/Versions: Likewise.
51620 * csu/init.c: Likewise.
51621 * elf/tst-audit2.c: Likewise.
51622 * elf/tst-tls10.c: Likewise.
51623 * elf/tst-tls10.h: Likewise.
51624 * elf/tst-tls11.c: Likewise.
51625 * elf/tst-tls12.c: Likewise.
51626 * elf/tst-tls14.c: Likewise.
51627 * elf/tst-tlsmod11.c: Likewise.
51628 * elf/tst-tlsmod12.c: Likewise.
51629 * elf/tst-tlsmod13.c: Likewise.
51630 * elf/tst-tlsmod13a.c: Likewise.
51631 * elf/tst-tlsmod14a.c: Likewise.
51632 * elf/tst-tlsmod15b.c: Likewise.
51633 * elf/tst-tlsmod16a.c: Likewise.
51634 * elf/tst-tlsmod16b.c: Likewise.
51635 * elf/tst-tlsmod7.c: Likewise.
51636 * elf/tst-tlsmod8.c: Likewise.
51637 * elf/tst-tlsmod9.c: Likewise.
51638 * gmon/gmon.c: Likewise.
51639 * grp/fgetgrent_r.c: Likewise.
51640 * grp/putgrent.c: Likewise.
51641 * hurd/fopenport.c: Likewise.
51642 * include/libc-symbols.h: Likewise.
51643 * include/tls.h: Likewise.
51644 * intl/gettextP.h: Likewise.
51645 * intl/loadinfo.h: Likewise.
51646 * locale/global-locale.c: Likewise.
51647 * locale/localeinfo.h: Likewise.
51648 * mach/devstream.c: Likewise.
51649 * malloc/arena.c: Likewise.
51650 * malloc/set-freeres.c: Likewise.
51651 * misc/err.c: Likewise.
51652 * misc/getttyent.c: Likewise.
51653 * misc/mntent_r.c: Likewise.
51654 * posix/getopt.c: Likewise.
51655 * posix/wordexp.c: Likewise.
51656 * pwd/fgetpwent_r.c: Likewise.
51657 * resolv/Versions: Likewise.
51658 * resolv/res_hconf.c: Likewise.
51659 * shadow/fgetspent_r.c: Likewise.
51660 * shadow/putspent.c: Likewise.
51661 * stdio-common/printf_fphex.c: Likewise.
51662 * stdio-common/tmpfile.c: Likewise.
51663 * stdlib/abort.c: Likewise.
51664 * stdlib/fmtmsg.c: Likewise.
51665 * sunrpc/auth_unix.c: Likewise.
51666 * sunrpc/clnt_perr.c: Likewise.
51667 * sunrpc/clnt_tcp.c: Likewise.
51668 * sunrpc/clnt_udp.c: Likewise.
51669 * sunrpc/clnt_unix.c: Likewise.
51670 * sunrpc/openchild.c: Likewise.
51671 * sunrpc/svc_simple.c: Likewise.
51672 * sunrpc/svc_tcp.c: Likewise.
51673 * sunrpc/svc_udp.c: Likewise.
51674 * sunrpc/svc_unix.c: Likewise.
51675 * sunrpc/xdr.c: Likewise.
51676 * sunrpc/xdr_array.c: Likewise.
51677 * sunrpc/xdr_rec.c: Likewise.
51678 * sunrpc/xdr_ref.c: Likewise.
51679 * sunrpc/xdr_stdio.c: Likewise.
51680
1248c1c4
PB
516812011-09-09 Ulrich Drepper <drepper@gmail.com>
51682
51683 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51684
516852011-07-03 Andreas Jaeger <aj@suse.de>
51686
51687 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51688 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51689 regenerate with gen-libm-tests.pl.
51690
516912010-05-12 Petr Baudis <pasky@suse.cz>
51692
51693 [BZ #11589]
51694 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51695 around j0() zero points by switching to j1().
51696 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51697 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51699 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51700
f22e1074
UD
517012011-09-09 Ulrich Drepper <drepper@gmail.com>
51702
f19009c1
UD
51703 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51704 instead of 0.
51705 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51706 instead of 0.
f19009c1
UD
51707 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51708 Patch in part by Pavel Roskin <proski@gnu.org>.
51709
3f8cc204
UD
51710 [BZ #13138]
51711 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51712 realloc.
51713 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51714 Free memory block if necessary.
51715
f22e1074
UD
51716 [BZ #12847]
51717 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51718 be NULL. Don't lock in this case.
51719
0a2349f9
RM
517202011-09-09 Roland McGrath <roland@hack.frob.com>
51721
51722 * elf/elf.h (ELFOSABI_GNU): New macro.
51723 (ELFOSABI_LINUX): Define to that.
51724
f3cdd467
DZ
517252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51726
51727 * string/strncat.c (strncat): Undef the symbol in case it has been
51728 defined in bits/string.h.
51729
74718d13
UD
517302011-09-09 Ulrich Drepper <drepper@gmail.com>
51731
633e9e0f
UD
51732 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51733
0a2349f9 51734 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51735 link map.
51736
f9924780
AJ
517372011-08-17 Andreas Jaeger <aj@suse.de>
51738
51739 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51740
7f5517aa
PP
517412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51742 Ian Lance Taylor <iant@google.com>
51743
51744 * math/libm-test.inc (lround_test): New testcase.
51745 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51746
762011fe
UD
517472011-09-08 Ulrich Drepper <drepper@gmail.com>
51748
92963737
UD
51749 * Makefile: Remove support for automatic cvs check-ins.
51750 * Makerules: Likewise.
51751 * config.make.in: Likewise.
51752 * configure.in: Likewise.
51753 * intl/Makefile: Likewise.
51754 * locale/Makefile: Likewise.
51755 * po/Makefile: Likewise.
51756 * posix/Makefile: Likewise.
51757 * sysdeps/gnu/Makefile: Likewise.
51758 * sysdeps/mach/hurd/Makefile: Likewise.
51759 * sysdeps/sparc/sparc32/Makefile: Likewise.
51760
b0727fd8
JS
51761 [BZ #13118]
51762 * posix/Makefile (bug-regex32-ENV): Define.
51763 Patch by John Stanley <jpsinthemix@verizon.net>.
51764
a0f33f99
UD
51765 * misc/Makefile (headers): Add bits/select2.h.
51766 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51767 * misc/bits/select2.h: New file.
51768 * include/bits/select2.h: New file.
51769 * debug/Makefile (routines): Add fdelt_chk.
51770 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51771 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51772 FD_ISSET.
51773 * debug/fdelt_chk.c: New file.
51774
762011fe
UD
51775 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51776 * wcsmbs/test-wmemcmp.c: Likewise.
51777 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51778 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51779
517802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51781
51782 * string/Makefile (strop-tests): Add memcmp.
51783 * string/test-wmemcmp.c: New file.
51784 * string/test-memcmp.c: Add wmemcmp support.
51785
7f513ec8
RM
517862011-09-08 Roland McGrath <roland@hack.frob.com>
51787
0442afb4
RM
51788 [BZ #13153]
51789 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51790 2011-07-19 change.
51791
7f513ec8
RM
51792 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51793 garbage value in a __mach_port_mod_refs call in the cases of the
51794 task-self and thread-self ports.
51795
a12b2239
ST
517962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51797
51798 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51799
610f9ab4
AS
518002011-09-08 Andreas Schwab <schwab@redhat.com>
51801
7f513ec8 51802 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51803
48882a1a
LD
518042011-09-07 Ulrich Drepper <drepper@gmail.com>
51805
b49865be
UD
51806 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51807
fdc86bc9
UD
51808 * elf/dl-libc.c (dlerror_run): Pass back error code from
51809 dl_catch_error.
51810
c966526a
UD
51811 [BZ #13123]
51812 * elf/dl-load.c (lose): Free l_origin if it is valid.
51813
48882a1a
LD
51814 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51815 names.
51816 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51817 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51818 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51819 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51820 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51821 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51822
77a2a8b4
AZ
518232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51824
51825 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51826 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51827 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51828 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51829 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51830 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51831 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51832 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51833 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51834 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51835
24f579d8
AM
518362011-08-15 Alan Modra <amodra@gmail.com>
51837
51838 [BZ #13092]
51839 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51840 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51841 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51842 ppc_mcount to static-only-routines.
51843 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51844 __mcount_internal.
51845 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51846 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51847
3d4837df
UD
518482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51849
51850 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51851 for finite and infinity parameters.
51852
22700377
WS
518532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51854
51855 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51856 and add nop instructions for throughput optimization.
51857 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51858
5025581e
WS
518592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51860
51861 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51862 aligned copy for power7 with vector-scalar instructions.
51863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51864
08a300c9
L
518652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51866
51867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51868 AVX check.
51869
59178ef9
AS
518702011-09-07 Andreas Schwab <schwab@redhat.com>
51871
51872 [BZ #13144]
51873 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51874 last change.
51875
e38ba7ab
UD
518762011-09-07 Ulrich Drepper <drepper@gmail.com>
51877
51878 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51879 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51880 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51881 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51882 clock_gettime.
51883
d53a73ac
UD
518842011-09-06 Ulrich Drepper <drepper@gmail.com>
51885
fc8bffcc
UD
51886 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51887 Forgot to demangle the pointer.
51888
ceaa0c5d
UD
51889 * sysdeps/i386/sysdep.h: Define atom_text_section.
51890 * sysdeps/x86_64/sysdep.h: Likewise.
51891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51892 section with atom_text_section.
51893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51894 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51895 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51896 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51897 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51898
a77d3c17
UD
51899 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51900 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51901 already be defined. Change to take two parameters and don't assign
51902 result to variable. Adjust all users.
51903 Define INTERNAL_GETTIME if not already defined.
51904 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51905 call.
51906 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51907 HAVE_CLOCK_GETTIME_VSYSCALL.
51908 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51909
d53a73ac
UD
51910 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51911 gettimeofday vsyscall, just use time.
51912
a8f84144
AS
519132011-09-06 Andreas Schwab <schwab@redhat.com>
51914
51915 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51916 <errno.h>.
51917
ef606249
UD
519182011-09-06 Ulrich Drepper <drepper@gmail.com>
51919
51920 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51921 syscall on x86-64.
51922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51923 syscall.
51924 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51925 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51926 syscall if possible.
51927
6585cb60
UD
519282011-09-05 Ulrich Drepper <drepper@gmail.com>
51929
51930 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51931 e_ident. Don't pass to find_mapsXX.
51932 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51933
a5f524e4
LD
519342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51935
51936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51937 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51938 * sysdeps/x86_64/multiarch/strchr.S: Update.
51939 Check bit_slow_BSF bit.
51940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51941 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51942 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51943
554881ef
UD
519442011-09-05 Ulrich Drepper <drepper@gmail.com>
51945
d96de963
UD
51946 [BZ #13134]
51947 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51948 before glibc 2.15.
51949 (tryshell): Define.
51950 (__spawni): Change last parameter to be flag. Test
51951 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51952 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51953 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51954 * posix/spawni.c: Likewise.
51955 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51956 * posix/spawnp.c: Likewise. Change normal version to use
51957 SPAWN_XFLAGS_USE_PATH.
51958 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51959 SPAWN_XFLAGS_TRY_SHELL.
51960
d48e5868
UD
51961 [BZ #13150]
51962 * posix/glob.h: Remove gcc 1.x support.
51963
554881ef
UD
51964 [BZ #13068]
51965 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51966
693fb948
LD
519672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51968
51969 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51970 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51971 strrchr-sse2-bsf
51972 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51973 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51974 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51975 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51976 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51977 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51978
1b48c537
UD
519792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51980
49d42c37
UD
51981 * sysdeps/x86_64/wcscmp.S: New file.
51982
1b48c537
UD
51983 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51984 wcscmp-c wcscmp-sse2
51985 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51986 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51987 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51988 * wcsmbs/wcscmp.c: Allow renaming.
51989
15c95c5d
DM
519902011-09-05 David S. Miller <davem@davemloft.net>
51991
51992 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51993 stack slot, rather than the struct return pointer slot.
51994 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51995 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51997 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51998
2f0ad8f3
UD
519992011-09-05 Ulrich Drepper <drepper@gmail.com>
52000
d88ae418
UD
52001 * po/ja.po: Update from translation team.
52002
2f0ad8f3
UD
52003 [BZ #13144]
52004 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52005 kernel in 64-bit binaries.
52006
5f4318d1
DM
520072011-09-01 David S. Miller <davem@davemloft.net>
52008
52009 * elf/elf.h (HWCAP_SPARC_*): Move to..
52010 * sysdeps/sparc/sysdep.h: this new file and add new values.
52011 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52012 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52013 _DL_HWCAP_COUNT to 24.
52014 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52015 entries.
52016 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52017 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52018 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52020 instead of magic constants.
52021 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52022
3ba57516
DM
520232011-08-31 David S. Miller <davem@davemloft.net>
52024
52025 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52027 Reimplement to do errno handling inline.
52028 (SYSCALL_ERROR_HANDLER): New macro.
52029 (__SYSCALL_STRING): Do not do errno handling in asm.
52030 (__CLONE_SYSCALL_STRING): Delete.
52031 (__INTERNAL_SYSCALL_STRING): Delete.
52032 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52033 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52034 (PSEUDO): Reimplement to do errno handling inline.
52035 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52036 (SYSCALL_ERROR_HANDLER): New macro.
52037 (__SYSCALL_STRING): Do not do errno handling in asm.
52038 (__CLONE_SYSCALL_STRING): Delete.
52039 (__INTERNAL_SYSCALL_STRING): Delete.
52040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52041 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52042 i386.
52043 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52044 (inline_syscall*): Add 'err' argument.
52045 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52046 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52047 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52048 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52049
52050 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52051 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52052
2bc17433
AS
520532011-08-30 Andreas Schwab <schwab@redhat.com>
52054
52055 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52056
fbeb5f4d
JO
520572011-08-29 Jiri Olsa <jolsa@redhat.com>
52058
52059 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52060 directive.
52061
ad69cc26
DM
520622011-08-24 David S. Miller <davem@davemloft.net>
52063
52064 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52065
39dd69df
AS
520662011-08-24 Andreas Schwab <schwab@redhat.com>
52067
52068 * elf/Makefile: Add rules to build and run unload8 test.
52069 * elf/unload8.c: New file.
52070 * elf/unload8mod1.c: New file.
52071 * elf/unload8mod1x.c: New file.
52072 * elf/unload8mod2.c: New file.
52073 * elf/unload8mod3.c: New file.
52074
52075 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52076 it wasn't used.
52077
2c0b250a
DM
520782011-08-23 David S. Miller <davem@davemloft.net>
52079
52080 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52081 subtract stack bias.
52082 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52083 %sp not %fp in calculations.
52084 (_JMPBUF_UNWINDS_ADJ): Likewise.
52085
22044b48
DM
52086 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52087 (aio_suspend): Call it to force an exception region around the
52088 AIO_MISC_WAIT() invocation.
52089
2cae4995
AS
520902011-08-23 Andreas Schwab <schwab@redhat.com>
52091
52092 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52093 backslash.
52094
873a772e
AJ
520952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52096
52097 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52098 protection macro.
52099 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52100 and <dl-machine.h>.
52101 (Elf64_FuncDesc): Remove.
52102
25ad0df1
DM
521032011-08-22 David S. Miller <davem@davemloft.net>
52104
52105 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52106 sigaltstack check, add missing cfi directives.
52107 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52108 missing cfi directives, and sigaltstack handling.
52109
e888bcbe
AS
521102011-08-16 Andreas Schwab <schwab@redhat.com>
52111
52112 [BZ #11724]
52113 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52114 object is seen twice.
52115 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52116
52117 * elf/Makefile (distribute): Add tst-initorder2.c.
52118 (tests): Add tst-initorder2.
52119 (modules-names): Add tst-initorder2a tst-initorder2b
52120 tst-initorder2c tst-initorder2d. Add rules to build them.
52121 ($(objpfx)tst-initorder2.out): New rule.
52122 * elf/tst-initorder2.c: New file.
52123 * elf/tst-initorder2.exp: New file.
52124
87162f46
AS
521252011-08-22 Andreas Schwab <schwab@redhat.com>
52126
70538b7f
AS
52127 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52128
f55ffe58
AS
52129 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52130 dependencies back to end of function.
52131
87162f46
AS
52132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52133 $(elfobjdir)/ld.so.
52134
91b392a4
UD
521352011-08-21 Ulrich Drepper <drepper@gmail.com>
52136
52137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52138 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52140 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52141 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52142 of __vdso_gettimeofday.
52143 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52144 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52145 attribute_hidden.
52146 (_libc_vdso_platform_setup): Remove initialization of
52147 __vdso_gettimeofday and __vdso_time.
52148
5c43483f
UD
521492011-08-20 Ulrich Drepper <drepper@gmail.com>
52150
775a77e7
UD
52151 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52152 and fgetc_unlocked.
52153 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52154 getc_unlocked.
89f447ed 52155
49c74ba9
UD
52156 * elf/dl-open.c (add_to_global): Report additions to the global scope
52157 for LD_DEBUG=scopes.
52158 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52159 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52160
5c43483f
UD
52161 [BZ #13114]
52162 * stdio-common/Makefile (tests): Add bug24.
52163 * stdio-common/bug24.c: New file.
52164
a101b025
AJ
521652011-08-19 Andreas Jaeger <aj@suse.de>
52166
52167 [BZ #13114]
52168 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52169 non-existant file when using close-on-exec mode.
52170
c88f1766
UD
521712011-08-20 Ulrich Drepper <drepper@gmail.com>
52172
0276a718
UD
52173 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52174 the very first instruction.
52175
c88f1766
UD
52176 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52177 the CFI state in the end.
52178 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52179 inclusion of dl-trampoline.h.
52180 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52181
51ccffa0
AS
521822011-08-19 Andreas Schwab <schwab@redhat.com>
52183
94d7165f
AS
52184 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52185 expectations for long double.
52186
51ccffa0
AS
52187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52188 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52189
fd708658 521902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52191
52192 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52193 artificual limit depends upon the system page size.
52194
44f0a71e
UD
521952011-08-17 Ulrich Drepper <drepper@gmail.com>
52196
52197 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52198 * resolv/Makefile: Define CFLAGS-libresolv.
52199
8de79a24
AS
522002011-08-17 Andreas Schwab <schwab@redhat.com>
52201
52202 * nss/makedb.c (compute_tables): Make variables used in nested
52203 function static.
52204
27724598
UD
522052011-08-17 Ulrich Drepper <drepper@gmail.com>
52206
c5305d88
UD
52207 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52208 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52209 if buffer was too small.
52210
27724598
UD
52211 * elf/pldd.c (main): Attach to all threads in the process.
52212 Rewrite /proc handling to use *at functions.
52213
076fe015
UD
522142011-08-16 Ulrich Drepper <drepper@gmail.com>
52215
174baab3
UD
52216 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52217 specifies first scope to show.
52218 (dl_open_worker): Update callers. Move printing scope of new
52219 object to before the relocation.
44f0a71e 52220 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52221 * sysdeps/generic/ldsodefs.h: Update declaration.
52222
076fe015
UD
52223 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52224 string for the scope number.
52225
a60df2c3
UD
522262011-08-14 Ulrich Drepper <drepper@gmail.com>
52227
52228 * nscd/servicescache.c (cache_addserv): Make sure written is always
52229 initialized.
52230
5e4287d1
RM
522312011-08-14 Roland McGrath <roland@hack.frob.com>
52232
85ae0589
RM
52233 * sysdeps/i386/i486/bits/atomic.h
52234 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52235 statement expression, so as to suppress "set but not used" warning.
52236 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52237
69f63097
RM
52238 * string/strncat.c (STRNCAT): Use prototype definition.
52239
675456ef
RM
52240 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52241 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52242 -Iprograms here.
52243 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52244 (localedef-modules): Add localedef.
52245 (locale-modules): Add locale.
52246
5e4287d1
RM
52247 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52248 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52249 to avoid a warning.
52250
9c96ff23
DM
522512011-08-14 David S. Miller <davem@davemloft.net>
52252
52253 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52254 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52255
f9ddf089
UD
522562011-08-13 Ulrich Drepper <drepper@gmail.com>
52257
44f0a71e 52258 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52259 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52260 * elf/rtld.c (dl_main): Set l_name of vDSO.
52261 Call _dl_show_scope when DL_DEBUG_SCOPES.
52262 (process_dl_debug): Recognize scopes flag and also set it for all.
52263 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52264 Declare _dl_show_scope.
52265
1dc27704
UD
52266 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52267 (do_dlopen): Pass caller_dlopen to dl_open.
52268 (__libc_dlopen_mode): Initialize caller_dlopen.
52269
f9ddf089
UD
52270 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52271 of libc. Make tolower call locale-independent. Optimize a bit by
52272 using isdigit instead of isalnum.
52273 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52274
9ac533d3
UD
522752011-08-12 Ulrich Drepper <drepper@gmail.com>
52276
52277 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52278 was a dependency or dynamically loaded.
52279
89edf2e9
UD
522802011-08-11 Ulrich Drepper <drepper@gmail.com>
52281
8e999d29
UD
52282 * intl/l10nflist.c: Allow architecture-specific pop function.
52283 * sysdeps/x86_64/l10nflist.c: New file.
52284
89edf2e9
UD
52285 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52286 classification.
52287
14d96785
AS
522882011-08-10 Andreas Schwab <schwab@redhat.com>
52289
52290 * include/dirent.h: Add libc_hidden_proto for scandirat and
52291 scandirat64. Don't declare __scandirat64.
52292 * dirent/scandirat.c: Add libc_hidden_def.
52293 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52294 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52295
6761ac04
DM
522962011-08-10 David S. Miller <davem@davemloft.net>
52297
52298 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52299 enum.
52300 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52301 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52302 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52303
c55fbd1e
UD
523042011-08-09 Ulrich Drepper <drepper@gmail.com>
52305
52306 * Versions.def [libc]: Add GLIBC_2.15.
52307 * dirent/Makefile (routines): Add scandirat and scandirat64.
52308 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52309 GLIBC_2.15.
52310 * dirent/dirent.h: Declare scandirat and scandirat64.
52311 * dirent/scandirat.c: New file.
52312 * dirent/scandirat64.c: New file.
52313 * sysdeps/wordsize-64/scandirat.c: New file.
52314 * sysdeps/wordsize-64/scandirat64.c: New file.
52315 * dirent/opendir.c: Define opendirat.
52316 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52317 using scandirat.
52318 * dirent/scandir64.c: Adjust for scandir.c change.
52319 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52320 __scandirat64, and __scandir_cancel_handler.
52321 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52322 additional parameter and use openat instead of open (outside of ld.so).
52323 Add new __opendir as wrapper around __opendirat.
52324 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52325 here without requiring old scandirat implementation.
52326
879165f2
UD
523272011-08-08 Ulrich Drepper <drepper@gmail.com>
52328
52329 * dirent/scandir.c (cancel_handler): Renamed to
52330 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52331 defined. Adjust users.
52332 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52333 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52334
cb7e923b
UD
523352011-08-04 Ulrich Drepper <drepper@gmail.com>
52336
16292edd
UD
52337 * string/test-string.h (IMPL): Use __STRING to expand name and then
52338 stringify it.
52339
cb7e923b
UD
52340 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52341 of cleanups.
52342
cff82933
LD
523432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52344
52345 * string/Makefile: Update.
52346 (strop-tests): Append strncat.
52347 * string/test-wcscmp.c: New file.
52348 New comprehensive test for wcscmp.
52349 * string/test-strcmp.c: Update.
52350 (WIDE): New define.
52351
9be9bfcc
AS
523522011-07-22 Andreas Schwab <schwab@redhat.com>
52353
52354 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52355 line.
52356
2e96f1c7
AS
523572011-07-26 Andreas Schwab <schwab@redhat.com>
52358
52359 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52360 encoding to ACE if AI_IDN.
52361
85188888
JJ
523622011-08-01 Jakub Jelinek <jakub@redhat.com>
52363
52364 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52365 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52366
5fa16e9b
LD
523672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52368
52369 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52370 Fix overflow bug in strncat.
52371 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52372
52373 * string/test-strncat.c: Update.
52374 Add new tests for checking overflow bugs.
52375
523762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52377
52378 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52379 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52380 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52381 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52382 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52383 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52384 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52385 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52386 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52387
52388 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52389 (USE_AS_STRCAT): Define.
52390 Add strcat and strncat support.
52391 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52392
8c1a459f
AS
523932011-07-25 Andreas Schwab <schwab@redhat.com>
52394
52395 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52396 __n bigger than INT_MAX+1.
52397 (__strncmp_g): Likewise.
52398
bba33c28
UD
523992011-07-23 Ulrich Drepper <drepper@gmail.com>
52400
798be72d
UD
52401 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52402 * libio/stido.h: Likewise.
52403
8accd4dc
UD
52404 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52405 (AF_NFC): Define.
52406 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52407 (AF_NFC): Define.
52408
cbff0d96
UD
52409 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52410 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52411 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52412 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52413 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52414
9191c04a
UD
52415 [BZ #13021]
52416 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52417 installed.
52418
bba33c28
UD
52419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52420 typo.
52421 (_dl_x86_64_save_sse): Likewise.
52422
90f139dd
UD
524232011-07-22 Ulrich Drepper <drepper@gmail.com>
52424
1aae088a
UD
52425 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52426 OSXSAVE.
52427 (_dl_x86_64_save_sse): Likewise.
52428
8e2045f5
UD
52429 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52430
90f139dd
UD
52431 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52432
1d002f25
AS
524332011-07-21 Andreas Schwab <schwab@redhat.com>
52434
52435 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52436 change.
52437 (_dl_x86_64_save_sse): Use correct AVX check.
52438
21137f89
UD
524392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52440
52441 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52442 bug in strncpy/strncat.
52443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52444
a65c0b7a
UD
524452011-07-21 Ulrich Drepper <drepper@gmail.com>
52446
52447 * string/tester.c (test_strcat): Add tests for different alignments
52448 of source and destination.
52449 (test_strncat): Likewise.
52450
6986b98a
UD
524512011-07-20 Ulrich Drepper <drepper@gmail.com>
52452
90bb2039
UD
52453 [BZ #12852]
52454 * posix/glob.c (glob): Check passed in values before using them in
52455 expressions to avoid some overflows.
52456 (glob_in_dir): Likewise.
52457
5644ef54
UD
52458 [BZ #13007]
52459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52460 check for AVX enablement so that we don't crash with old kernels and
52461 new hardware.
52462 * elf/tst-audit4.c: Add same checks here.
52463 * elf/tst-audit6.c: Likewise.
52464
52465 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52466
bfc9dc9b
AS
524672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52468
52469 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52470
702e64bb
UD
524712011-07-20 Ulrich Drepper <drepper@gmail.com>
52472
52473 * po/cs.po: Update from translation team.
52474 * po/bg.po: Likewise.
52475
295e904f
MP
524762011-07-12 Marek Polacek <mpolacek@redhat.com>
52477
52478 * misc/sys/cdefs.h: Add support for const attribute.
52479 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52480 to gnu_dev_{major,minor,makedev} functions.
52481
3ff94596
MP
524822011-07-20 Marek Polacek <mpolacek@redhat.com>
52483
52484 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52485
28b59fca
AS
524862011-07-20 Andreas Schwab <schwab@redhat.com>
52487
52488 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52489 strlen results.
52490
19df733e
AK
524912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52492
52493 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52494 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52495 register in order to avoid conflicts with the soft frame pointer
52496 being held in r11 when necessary.
52497 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52498 (INTERNAL_VSYSCALL_NCS): Likewise.
52499
c8835729
MP
525002011-07-14 Marek Polacek <mpolacek@redhat.com>
52501
52502 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52503 * elf/dl-fini.c (_dl_fini): Adjust caller.
52504 * elf/dl-close.c (_dl_close_worker): Likewise.
52505 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52506
b902330c
MP
525072011-07-15 Marek Polacek <mpolacek@redhat.com>
52508
8991e135
MP
52509 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52510 "aux_cache->nlibs < 0".
52511
b902330c
MP
52512 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52513 in the reload-count case.
52514
99710781
LD
525152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52516
52517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52518 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52519 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52520 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52521 * sysdeps/x86_64/multiarch/strcat.S: New file.
52522 * sysdeps/x86_64/multiarch/strncat.S: New file.
52523 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52524 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52525 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52526 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52527 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52528 (USE_AS_STRCAT): Define.
52529 Add strcat and strncat support.
52530 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52531 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52532 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52533 * string/strncat.c: Update.
52534 (USE_AS_STRNCAT): Define.
52535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52536 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52537 and i7.
52538 * sysdeps/x86_64/multiarch/init-arch.h
52539 (bit_Prefer_PMINUB_for_stringop): New.
52540 (index_Prefer_PMINUB_for_stringop): Likewise.
52541 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52542 bit_Prefer_PMINUB_for_stringop.
52543
7dc6bd90
UD
525442011-07-19 Ulrich Drepper <drepper@gmail.com>
52545
52546 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52547 buffer64.
52548 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52549 of casting of buffer.
52550 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52551 buffer32 and buffer64.
52552 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52553 writes instead of casting of buffer.
52554 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52555 buffer32.
52556 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52557 casting of buffer.
52558
e0e72284
AS
525592011-07-19 Andreas Schwab <schwab@redhat.com>
52560
52561 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52562
feb1eb0b
UD
525632011-07-19 Ulrich Drepper <drepper@gmail.com>
52564
52565 * nscd/nscd.c (termination_handler): Don't do anything for a database
52566 if it has not yet been initialized.
52567
298711ff
UD
525682011-07-18 Ulrich Drepper <drepper@gmail.com>
52569
52570 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52571
525722011-07-15 Marek Polacek <mpolacek@redhat.com>
52573
52574 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52575
f9d68389
UD
525762011-07-18 Ulrich Drepper <drepper@gmail.com>
52577
52578 * po/nl.po: Update from translation team.
52579 * po/sv.po: Likewise.
52580
db290cf5
RM
525812011-07-16 Roland McGrath <roland@hack.frob.com>
52582
52583 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52584 now disallowed by GCC.
5c550700 52585
fd5e21c7
RM
52586 * configure.in (use-default-link): Default to yes if a test -shared
52587 link meets our qualifications.
52588 * configure: Regenerated.
52589
5c550700
RM
52590 * config.make.in (output-format): New variable.
52591 * configure.in: Check for ld --print-output-format support.
52592 * configure: Regenerated.
52593 * Makerules ($(common-objpfx)format.lds)
52594 [$(output-format) != unknown]: Just use $(output-format),
52595 instead of the linker-script munging.
52596
9fa2c032
RM
525972011-07-14 Roland McGrath <roland@hack.frob.com>
52598
a6928d51
RM
52599 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52600 of $(common-objpfx)shlib.lds.
52601 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52602
661607b3
RM
52603 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52604 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52605
9fa2c032
RM
52606 * configure.in (-z relro check): Adjust test code to add a large
52607 writable data section after it.
52608 * configure: Regenerated.
52609
defe9061
RM
526102011-07-11 Roland McGrath <roland@hack.frob.com>
52611
52612 * configure.in (-z relro check): Fix test code to make the variable
52613 truly const.
52614 * configure: Regenerated.
52615
319b9ad4
UD
526162011-07-11 Ulrich Drepper <drepper@gmail.com>
52617
52618 * nscd/nscd.h (struct traced_file): Define.
52619 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52620 elements. Add traced_files.
52621 (inotify_fd): Declare.
52622 (register_traced_file): Declare.
52623 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52624 (inotify_fd): Export.
52625 (resolv_conf_descr): Remove.
52626 (nscd_init): Move inotify descriptor creation to main.
52627 Don't register files for notification here.
52628 (register_traced_file): New function.
52629 (invalidate_cache): Don't use reset_res to determine whether to call
52630 res_init, go through the list of registered files.
52631 (main_loop_poll): The inotify descriptors are now stored in the
52632 structures for the traced files.
52633 (main_loop_epoll): Likewise
52634 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52635 to __nss_disable_nscd.
52636 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52637 for a database anymore. Check the records for all the registered
52638 files instead.
52639 * nss/Makefile (libnss_files-routines): Add files-init.
52640 (libnss_db-routines): Add db-init.
52641 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52642 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52643 * nss/nss_db/db-init.c: New file.
52644 * nss/nss_files/files-init.c: New file.
52645 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52646 __nss_lookup_function.
52647 (__nss_lookup_function): Call nss_load_library.
52648 (nss_load_all_libraries): New function.
52649 (__nss_disable_nscd): Take parameter with callback function for files
52650 to register. Set is_nscd. Load all the DSOs for the NSS modules
52651 used for the cached services.
52652 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52653 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52654 options for features to all the files in nscd.
52655
52656 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52657
23bee3e8
RM
526582011-07-10 Roland McGrath <roland@hack.frob.com>
52659
52660 * csu/elf-init.c (__libc_csu_init): Comment typo.
52661
46a5b7f0
UD
526622011-07-09 Ulrich Drepper <drepper@gmail.com>
52663
52664 * po/pl.po: Update from translation team.
52665 * po/ja.po: Likewise.
52666 * po/ru.po: Likewise.
52667 * po/ko.po: Likewise.
52668 * po/fr.po: Likewise.
52669
d30cf5bb
RM
526702011-07-09 Roland McGrath <roland@hack.frob.com>
52671
113ddea4
RM
52672 * configure.in (.ctors/.dtors header and trailer check):
52673 Use an empirical test on a built program.
52674 * configure: Regenerated.
52675
574920b4
RM
52676 * configure.in (-z relro check): Use an empirical test on a built DSO.
52677 Detect, but do not require, on ia64.
52678 * configure: Regenerated.
52679
d30cf5bb
RM
52680 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52681 Update tests that use readelf to use $READELF instead.
52682 * configure: Regenerated.
52683
8538fdb3
UD
526842011-07-08 Ulrich Drepper <drepper@gmail.com>
52685
52686 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52687 if the result is not used.
52688
04d08991
AJ
526892011-07-05 Andreas Jaeger <aj@suse.de>
52690
52691 [BZ#9696]
52692 * stdlib/tst-strtod.c: Add testcase.
52693
de283087
AD
526942011-07-07 Ulrich Drepper <drepper@gmail.com>
52695
4e5f31c8 52696 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52697 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52698 The latter has a higher limit. Take additional parameter to pass to
52699 the new function.
52700 (__pathconf): Pass file to __statfs_link_max.
52701 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52702 __statfs_link_max.
52703 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52704 __statfs_link_max.
52705
de283087
AD
52706 [BZ #12868]
52707 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52708 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52709 Handle Lustre.
52710 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52711 (__statfs_filesize_max): Likewise.
52712 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52713
c75fa153
AJ
527142011-07-05 Andreas Jaeger <aj@suse.de>
52715
52716 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52717
1a544854
UD
527182011-07-06 Marek Polacek <mpolacek@redhat.com>
52719
52720 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52721 `status' variable.
52722 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52723 Likewise.
52724
6f0eec67
UD
527252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52726
52727 * Makefile (strop-tests): Add strncat.
52728 * string/test-strncat.c: New file.
52729
aae30307
UD
527302011-06-30 Marek Polacek <mpolacek@redhat.com>
52731
52732 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52733
c0cfb5eb
UD
527342011-06-21 Andreas Jaeger <aj@suse.de>
52735
52736 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52737 Copy rule from iconvdata/Makefile.
52738
01636b21
UD
527392011-07-06 Ulrich Drepper <drepper@gmail.com>
52740
52741 [BZ #12922]
52742 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52743 but no long options are defined, just return 'W'.
52744
9895c8bc
UD
527452011-06-22 Marek Polacek <mpolacek@redhat.com>
52746
52747 [BZ #9696]
52748 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52749
5d4cf042
UD
527502011-07-06 Ulrich Drepper <drepper@gmail.com>
52751
52752 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52753 netgroups to read.
960e5535 52754 (innetgr): Likewise.
5d4cf042 52755
751eb97e
RM
527562011-07-05 Roland McGrath <roland@hack.frob.com>
52757
52758 * config.make.in (install_root): Default to $(DESTDIR).
52759
f15f1e45
UD
527602011-07-05 Ulrich Drepper <drepper@gmail.com>
52761
52762 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52763
4e34ac6a
RM
527642011-07-02 Roland McGrath <roland@hack.frob.com>
52765
5e9b6af4
RM
52766 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52767
84f9ea0f
RM
52768 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52769 containing directory rather than embedding absolute directory names.
52770
ea5ee9f7
RM
52771 * scripts/check-local-headers.sh: Rewritten using awk.
52772 Match by word, not by line. Print error messages for matches.
52773 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52774
1b74661a
RM
52775 * Makerules [shlib-lds-flags empty]:
52776 ($(common-objpfx)libc_pic.opts): New target.
52777 ($(common-objpfx)libc_pic.os.clean): New target.
52778 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52779
52780 * config.make.in (OBJCOPY): New variable.
52781 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52782 * configure: Regenerated.
52783
f781ef40
RM
52784 * config.make.in (use-default-link): New variable.
52785 * configure.in (use_default_link): Grok --with-default-link to set it.
52786 * configure: Regenerated.
52787 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52788 (shlib-lds, shlib-lds-flags): Define to empty.
52789
2d4fa81e
RM
52790 * Makerules (shlib-lds): New variable.
52791 (shlib-lds-flags): New variable.
52792 (build-shlib, build-moduile, build-module-asneeded): Use it.
52793 ($(common-objpfx)libc.so): Use $(shlib-lds).
52794 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52795 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52796
31fffa6b
RM
52797 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52798 DT_FLAGS/DT_FLAGS_1 with zero flags.
52799
4e34ac6a
RM
52800 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52801 linker script munging.
52802
fcfc776b
UD
528032011-07-02 Ulrich Drepper <drepper@gmail.com>
52804
52805 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52806 as 128-bit value.
52807 * crypt/sha512.c (sha512_process_block): Perform total addition using
52808 128-bit if possible.
52809 (__sha512_finish_ctx): Likewise.
52810 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52811 as 64-bit value.
52812 * crypt/sha256.c (SWAP64): Define.
52813 (sha256_process_block): Perform total addition using 64-bit if
52814 possible.
52815 (__sha256_finish_ctx): Likewise.
52816
99231d9a
UD
528172011-07-01 Ulrich Drepper <drepper@gmail.com>
52818
52819 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52820 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52821 * nscd/hstcache.c (cache_addhst): Likewise.
52822 * nscd/grpcache.c (cache_addgr): Likewise.
52823 * nscd/aicache.c (addhstaiX): Likewise
52824 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52825
445b4a53
TK
528262011-07-01 Thorsten Kukuk <kukuk@suse.de>
52827
52828 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52829 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52830 * nscd/hstcache.c (cache_addhst): Likewise.
52831 * nscd/grpcache.c (cache_addgr): Likewise.
52832 * nscd/aicache.c (addhstaiX): Likewise
52833
6d4d8e8e
AS
528342011-07-01 Andreas Schwab <schwab@redhat.com>
52835
52836 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52837 domain only when needed.
52838
89f654c5
AS
528392011-06-30 Andreas Schwab <schwab@redhat.com>
52840
52841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52842 is always restored.
52843
cf3b23ff
UD
528442011-06-29 Ulrich Drepper <drepper@gmail.com>
52845
52846 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52847 are re-adding the entry.
52848 * nscd/servicescache.c (cache_addserv): Likewise.
52849
751626f9
AJ
528502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52851
52852 * sysdeps/generic/dl-irel.h: fix protection against multiple
52853 inclusions.
52854 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52855
9113ea1f
UD
528562011-06-28 Ulrich Drepper <drepper@gmail.com>
52857
5c0b8d90
UD
52858 [BZ #12935]
52859 * malloc/memusage.sh: Fix quoting in message.
52860 * debug/xtrace.sh: Likewise.
52861
9113ea1f
UD
52862 * configure.in: Remove support for --experimental-malloc option, make
52863 it the default.
52864 * config.make.in: Likewise.
52865 * malloc/Makefile: Likewise.
52866
a4172181
AS
528672011-06-27 Andreas Schwab <schwab@redhat.com>
52868
52869 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52870 two-byte characters.
52871
78a7eee7
RM
528722011-06-27 Roland McGrath <roland@hack.frob.com>
52873
62bede13
RM
52874 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52875 AC_CACHE_CHECK invocation.
52876 * configure: Regenerated.
52877
78a7eee7
RM
52878 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52879
5ce33a62
UD
528802011-06-27 Ulrich Drepper <drepper@gmail.com>
52881
034807a9
UD
52882 [BZ #12350]
52883 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52884 bit from old_res_options.
52885
4902da17
UD
52886 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52887
5ce33a62
UD
52888 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52889 value type for setfct.
52890
c2344f56
L
528912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52892
52893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52894 __gettimeofday instead of gettimeofday.
52895
68468076
UD
528962011-06-26 Ulrich Drepper <drepper@gmail.com>
52897
52898 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52899
acb0d739
L
529002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52901
52902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52903
52904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52905 info.
52906
8912479f
L
529072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52908
52909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52910 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52911 strcpy-sse2-unaligned strncpy-sse2-unaligned
52912 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52913 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52914 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52915 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52916 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52918 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52919 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52920 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52921 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52922 (STRCPY): Support SSE2 and SSSE3 versions.
52923
d5495a11
UD
529242011-06-24 Ulrich Drepper <drepper@gmail.com>
52925
52926 [BZ #12874]
52927 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52928 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52929 kernels which artificially limit size of requests.
52930
0b1cbaae
L
529312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52932
52933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52934 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52935 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52936 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52937 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52938 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52939 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52940 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52941 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52942 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52943 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52944 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52945 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52946 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52947 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52948 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52949 Enable unaligned load optimization for Intel Core i3, i5 and i7
52950 processors.
52951 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52952 Define.
52953 (index_Fast_Unaligned_Load): Define.
52954 (HAS_FAST_UNALIGNED_LOAD): Define.
52955
07f494a0
MP
529562011-06-23 Marek Polacek <mpolacek@redhat.com>
52957
52958 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52959
fa3fc0fe
UD
529602011-06-22 Ulrich Drepper <drepper@gmail.com>
52961
52962 [BZ #12907]
52963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52964 until it is clear that the information is realy needed.
52965 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52966
e12df166
AS
529672011-06-22 Andreas Schwab <schwab@redhat.com>
52968
52969 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52970
852eb34d
UD
529712011-06-22 Ulrich Drepper <drepper@gmail.com>
52972
84e2a551
UD
52973 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52974 /sys/devices/system/cpu/online if it is usable.
52975
852eb34d
UD
52976 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52977 reading the information from the /proc filesystem to once a second.
52978
6e502e19
UD
529792011-06-21 Andreas Jaeger <aj@suse.de>
52980
52981 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52982 NULL after inclusion of kernel headers.
52983
75d39ff2
UD
529842011-06-21 Ulrich Drepper <drepper@gmail.com>
52985
51f9aa6a
UD
52986 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52987 calls to internal_setent.
52988
c0244a9d
UD
52989 [BZ #12885]
52990 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52991 addresses using gethostbyname4_r ignore IPv4 addresses.
52992
c5e3c2ae
UD
52993 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52994 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52995
75d39ff2
UD
52996 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52997
42675c6f
DM
529982011-06-20 David S. Miller <davem@davemloft.net>
52999
53000 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53001 inclusions.
53002 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53003
53004 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53005 (elf_irel): Use it.
53006 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53007 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53008 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53009 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53010 * sysdeps/x86_64/dl-irel.h: Likewise.
53011
53012 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53013 * elf/dl-sym.c: Likewise.
53014
57912a71
UD
530152011-06-15 Ulrich Drepper <drepper@gmail.com>
53016
53017 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53018 need to dereference resplen2.
53019
ee22793d
AS
530202011-06-14 Andreas Schwab <schwab@redhat.com>
53021
53022 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53023
a9e836b0
UD
530242011-06-15 Ulrich Drepper <drepper@gmail.com>
53025
77fb9117
UD
53026 * Makeconfig: Define vardbdir and inst_vardbdir.
53027 * nss/Makefile: Add rules to install db-Makefile.
53028
40c1b22c
UD
53029 * nss/nss_db/db-XXX.c: Cleanup.
53030
9f2da732
UD
53031 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53032 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53033 GLIBC_PRIVATE.
53034 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53035 * nss/makedb.c: Implement -g option to specify that value strings
53036 are generated and should not be added to table iterated over for
53037 get*ent calls.
53038 * nss/nss_db/db-initgroups.c: New file.
53039
82e9a1f7
UD
53040 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53041 interface.
53042
c41af17e
UD
53043 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53044 (internal_getgrouplist): Adjust to name change.
53045 Update use_initgroups_entry if this is not the first call.
53046 * nss/databases.def: Add initgroups entry.
53047
a9e836b0
UD
53048 * nss/makedb.c (compute_tables): Check result of multiple hash table
53049 sizes to minimize maximum chain length.
53050
2666d441
UD
530512011-06-14 Ulrich Drepper <drepper@gmail.com>
53052
53053 * Versions.def: Add entry for libnss_db.
53054 * shlib-versions: Likewise.
53055 * nss/Makefile: Add rules to build libnss_db.
53056 * nss/Versions: Add libnss_db information. Organize libnss_files
53057 entries better.
53058 * nss/db-Makefile: Add gshadow support. Change rules for the new
53059 makedb progra. Some minor improvements to generate smaller files.
53060 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53061 here from...
53062 * nss/makedb.c: ...here.
53063 Improve database format to be smaller and require less memory at
53064 runtime.
53065 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53066 db anymore.
53067 * nss/nss_db/db-netgrp.c: Likewise.
53068 * nss/nss_db/db-open.c: Likewise.
53069 * nss/nss_files/flies-XXX.x: Adjust comments.
53070 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53071 * nss/nss_files/files-grp.c: Likewise.
53072 * nss/nss_files/files-hosts.c: Likewise.
53073 * nss/nss_files/files-network.c: Likewise.
53074 * nss/nss_files/files-proto.c: Likewise.
53075 * nss/nss_files/files-pwd.c: Likewise.
53076 * nss/nss_files/files-rpc.c: Likewise.
53077 * nss/nss_files/files-service.c: Likewise.
53078 * nss/nss_files/files-sgrp.c: Likewise.
53079 * nss/nss_files/files-spwd.c: Likewise.
53080 * nss/nss_db/db-alias.c: Removed.
53081 * nss/nss_db/dummy-db.h: Removed.
53082
9ee76b5a
UD
530832011-06-02 Ulrich Drepper <drepper@gmail.com>
53084
53085 * nss/makedb.c: Rewritten to not use database library.
53086 * nss/Makefile: Update to build new makedb program.
53087
c71ca1f8
AJ
530882011-06-14 Andreas Jaeger <aj@suse.de>
53089
53090 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53091 memset declaration.
53092
3154bfb8
UD
530932011-06-10 Andreas Schwab <schwab@redhat.com>
53094
53095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53096 tmpbuf.
53097
b350afab
RM
530982011-06-10 Roland McGrath <roland@hack.frob.com>
53099
decd4e50
RM
53100 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53101 * elf/Makefile ($(objpfx)ld.so): Likewise.
53102
5615eaf2
RM
53103 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53104 Don't list ld.so twice in dependencies.
53105
53106 * posix/bug-regex31.c: Include <stdlib.h>.
53107
53108 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53109
53110 * nis/nss_compat/compat-spwd.c
53111 (getspent_next_nss_netgr): Remove unused variable.
53112 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53113
53114 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53115 nonmembers" output to use the right array.
53116
53117 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53118
53119 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53120
53121 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53122 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53123 * catgets/gencat.c (read_input_file): Likewise.
53124 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53125
53126 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53127 variable definition inside #if's controlling its use.
53128
53129 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53130
53131 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53132
53133 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53134
53135 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53136 unreachable code.
53137
53138 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53139
b68e08db
RM
53140 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53141 * configure: Regenerated.
53142
b350afab
RM
53143 * Makerules: Revert last change.
53144 * elf/Makefile: Likewise.
53145
28368601
RM
531462011-06-09 Roland McGrath <roland@hack.frob.com>
53147
53148 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53149 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53150 (reloc-link): Likewise.
53151
11988f8f
UD
531522011-06-09 Ulrich Drepper <drepper@gmail.com>
53153
53154 * elf/Makefile: Add rules to build pldd.
53155 * elf/pldd.c: New file.
53156 * elf/pldd-xx.c: New file.
53157
e80fab37
UD
531582011-06-07 Ulrich Drepper <drepper@gmail.com>
53159
53160 * version.h: Update for 2.15 development version.
53161
9b849836
DM
531622011-06-07 David S. Miller <davem@davemloft.net>
53163
53164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53165 ifuncs.
53166 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53167 elf_machine_lazy_rel): Likewise.
53168 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53169 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53170 elf_machine_lazy_rel): Likewise.
53171 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53172 dl_hwcap via passed in argument.
53173 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53174 Likewise.
53175
5a31b283
AK
531762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53177
53178 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53179
069e52f8
RM
531802011-06-06 Roland McGrath <roland@hack.frob.com>
53181
53182 [BZ #12849]
53183 * manual/fdl-1.1.texi: New file, verbatim from:
53184 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53185 * manual/lgpl-2.1.texi: New file, verbatim from:
53186 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53187 * manual/Makefile (licenses): New variable, list those new file names.
53188 (texis): Use it.
53189 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53190
53191 * manual/fdl.texi: File removed.
53192 * manual/lesser.texi: File removed.
53193 * manual/libc.texinfo (Copying, Documentation License):
53194 Use new @include file names, put @appendix directive before @include.
53195
f16846a5
JJ
531962011-06-04 Jakub Jelinek <jakub@redhat.com>
53197
53198 [BZ #12841]
53199 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53200 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53201 (mq_open): Add __NTH.
53202
3d29045b
L
532032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53204
53205 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53206 Assume Intel Core i3/i5/i7 processor if AVX is available.
53207
8c297311
UD
532082011-05-31 Ulrich Drepper <drepper@gmail.com>
53209
53210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53211 typo.
53212
c8fc0c91
UD
532132011-05-31 Andreas Schwab <schwab@redhat.com>
53214
53215 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53216 memory. Use alloca_account. Fix memory leak when retrying.
53217
5b27a807
UD
532182011-05-31 Ulrich Drepper <drepper@gmail.com>
53219
356f8bc6
UD
53220 * version.h (RELEASE): Bump for 2.14 release.
53221 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53222
5b27a807
UD
53223 * config.make.in (RANLIB): Remove entry.
53224
01f16ab0
UD
532252011-05-30 Ulrich Drepper <drepper@gmail.com>
53226
41fce8bd
UD
53227 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53228 (libc.pot): Work around missing support for .ksh extension in xgettext.
53229
4769ae77
UD
53230 [BZ #12684]
53231 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53232 if both request failed.
53233 (send_dg): In case of server errors clear resplen or *resplen2.
53234
6b1e7d19
UD
53235 [BZ #12454]
53236 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53237 when there are multiple maps.
53238 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53239 (_dl_fini): Remove test here.
53240
01f16ab0
UD
53241 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53242
b1ebd700
UD
532432011-05-29 Ulrich Drepper <drepper@gmail.com>
53244
7ae22829
UD
53245 [BZ #12350]
53246 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53247 bit from old_res_options.
53248 (gaih_inet): Likewise.
53249
553149f6 53250 [BZ #11099]
18a84741 53251 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53252 as signed.
53253
652ffab1
UD
53254 * resolv/res_init.c (res_setoptions): Make the code more compact.
53255
16985fd0
UD
53256 [BZ #11558]
53257 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53258 set RES_USEVC.
53259
0464f746
UD
53260 [BZ #11634]
53261 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53262
7d17596c
UD
53263 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53264
cf6bbbd7
UD
53265 [BZ #11781]
53266 * malloc/malloc.h: Declare malloc hook variables as volatile.
53267
13f1ab36
UD
53268 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53269 in last patch.
53270
b1ebd700
UD
53271 [BZ #11799]
53272 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53273 raise in the comment.
80e2212d
UD
53274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53276 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53277
ce67228d
UD
532782011-05-28 Ulrich Drepper <drepper@gmail.com>
53279
8887a920
UD
53280 [BZ #12811]
53281 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53282 grow the buffers more if it already has to be sufficient.
53283 (build_wcs_upper_buffer): Likewise.
53284 * posix/regexec.c (check_matching): Likewise.
53285 (clean_state_log_if_needed): Likewise.
53286 (extend_buffers): Don't enlarge buffers beyond size of the input
53287 buffer.
53288 Patches mostly by Emil Wojak <emil@wojak.eu>.
53289 * posix/bug-regex32.c: New file.
53290 * posix/Makefile (tests): Add bug-regex32.
53291
4f031072
UD
53292 * locale/findlocale.c (_nl_find_locale): Return right away if
53293 _nl_explode_name failed.
53294 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53295
d0478f0c
UD
53296 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53297
de81b246
UD
53298 * debug/xtrace.sh: Unify messages.
53299 * malloc/memusage.sh: Likewise.
53300
c738465a
UD
53301 [BZ #12813]
53302 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53303 time symbol from vDSO. Substitute with vsyscall if not available.
53304 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53305 __vdso_time.
53306
f1f929d7
UD
53307 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53308 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53309 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53310 Add sendmmsg and internal_sendmmsg.
53311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53312 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53313 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53314
ce67228d
UD
53315 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53316 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53318
e57420c6
UD
533192011-05-27 Ulrich Drepper <drepper@gmail.com>
53320
a8509ca5
UD
53321 [BZ #12813]
53322 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53323 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53324 available.
53325 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53326 __vdso_getcpu.
53327
e57420c6
UD
53328 [BZ #12814]
53329 * iconvdata/Makefile (tests): Add bug-iconv9.
53330 * iconvdata/bug-iconv9.c: New file.
53331
4d07db15
AS
533322011-05-27 Andreas Schwab <schwab@redhat.com>
53333
53334 [BZ #12814]
53335 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53336
ea486f69
JJ
533372011-05-25 Jakub Jelinek <jakub@redhat.com>
53338
53339 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53340 (struct user_regs_struct): Change intcs field back to cs.
53341
6f038433
UD
533422011-05-25 Ulrich Drepper <drepper@gmail.com>
53343
53344 * po/ja.po: Update from translation team.
53345
67f86a25
UD
533462011-05-23 Ulrich Drepper <drepper@gmail.com>
53347
53348 [BZ #12795]
53349 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53350 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53351
def7fbd6
AS
533522011-05-20 Andreas Schwab <schwab@redhat.com>
53353
53354 * stdlib/longlong.h: Update from GCC.
53355
f50ef8f1
AS
533562011-05-23 Andreas Schwab <schwab@redhat.com>
53357
53358 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53359 parameter name.
53360 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53361 Add parameter name.
53362 (__sysconf): Pass it down.
53363
de7ce8f1
UD
533642011-05-22 Ulrich Drepper <drepper@gmail.com>
53365
f2962a71
UD
53366 [BZ #12671]
53367 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53368 some situations.
53369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53370 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53371 add in in __libc_use_alloca calls. Adjust callers.
53372 (glob): Use malloc in some situations.
53373
de7ce8f1
UD
53374 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53375 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53376 pltexit.
53377
aec84f53
UD
533782011-05-21 Ulrich Drepper <drepper@gmail.com>
53379
05bb4a68
UD
53380 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53381 and CLOCK_BOOTTIME_ALARM.
53382
7ea72f99
UD
53383 [BZ #12782]
53384 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53385 is returned.
53386
7e4afad5
UD
53387 * string/_strerror.c (__strerror_r): Print negative errors as signed
53388 numbers.
53389
8e211fec
UD
53390 [BZ #12777]
53391 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53392 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53393 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53394
f7d82dc9
UD
53395 * configure.in: Fix typo in redirection and correct removal of test
53396 files in two cases.
53397
cc9e536d
UD
53398 [BZ #12788]
53399 * locale/setlocale.c (new_composite_name): Fix test to check for
53400 identical name of all categories.
53401
aec84f53
UD
53402 [BZ #12792]
53403 * libio/filedoalloc.c (local_isatty): New function.
53404 (_IO_file_doallocate): Use local_isatty.
53405 * stdio-common/perror.c (perror): In case a new stream is used
53406 forward the stream error.
53407 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53408 error flag.
53409
78e64fdc
RT
534102011-05-20 Ulrich Drepper <drepper@gmail.com>
53411
34a9094f
UD
53412 [BZ #11869]
53413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53414 alloca.
53415 * include/alloca.h (extend_alloca_account): Define.
53416
78e64fdc
RT
53417 [BZ #11857]
53418 * posix/regex.h: Fix comments with documentation of user-accessible
53419 fields after compilation and describe correct free'ing of pattern
53420 after re_compile_pattern.
53421 Patch by Reuben Thomas <rrt@sc3d.org>.
53422
457bddfc
RA
534232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53424
53425 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53426 and -mno-altivec to prevent the compiler from using Altivec and/or
53427 VSX instructions when the corresponding registers are not available.
53428
a4527b51
AS
534292011-05-19 Andreas Schwab <schwab@redhat.com>
53430
53431 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53432
ed690b2f
UD
534332011-05-19 Ulrich Drepper <drepper@gmail.com>
53434
53435 * libio/freopen.c (freopen): Use __dup2, not dup2.
53436 * libio/freopen64.c (freopen64): Likewise.
53437
8db73634
L
534382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53439
53440 [BZ #12775]
53441 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53442 * math/Makefile (tests): Add test-powl.
53443 (CFLAGS-test-powl.c): Define.
53444 * math/test-powl.c: New file.
53445
0a197a9d
L
534462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53447
53448 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53449
ee30c380
UD
534502011-05-17 Ulrich Drepper <drepper@gmail.com>
53451
53452 [BZ #11837]
53453 * iconvdata/gb18030.c: Update to GB18020-2005.
53454
6ce75379
UD
534552011-05-16 Ulrich Drepper <drepper@gmail.com>
53456
a4b89fd8
AR
53457 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53458 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53459 Patch by Aharon Robbins <arnold@skeeve.com>.
53460
ea389b12
UD
53461 [BZ #11892]
53462 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53463 on the stack.
53464
68a3f91f
UD
53465 [BZ #11895]
53466 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53467 through underflows.
53468
15cc7dd1
UD
53469 [BZ #12766]
53470 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53471 point to strings before performing equality test for error_one_per_line
53472 mode.
53473
f3799213
UD
53474 [BZ #11697]
53475 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53476
d79a9c94
UD
53477 [BZ #11820]
53478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53479 (struct user_fpregs_struct): Avoid __uint*_t types.
53480
56e5eb46
UD
53481 [BZ #6420]
53482 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53483 symbol info. Use it instead of calling _dl_addr locally.
53484 (lock_and_info): New function.
53485 (tr_freehook): Call lock_and_info and pass symbol info as additional
53486 parameter to tr_where.
53487 (tr_mallochook): Likewise.
53488 (tr_reallochook): Likewise.
53489 (tr_memalignhook): Likewise.
53490
6ce75379
UD
53491 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53492 used and couldn't be at all thread-safe.
53493
f8a3b5bf
UD
534942011-05-15 Ulrich Drepper <drepper@gmail.com>
53495
94b7cc37
UD
53496 * libio/freopen.c (freopen): Don't close old file descriptor
53497 before the new one is opened. Instead dup the new file descriptor
53498 to the old one after the new stream is created.
53499 * libio/freopen64.c (freopen64): Likewise.
53500 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53501 * libio/fileops.c (_IO_new_file_close_it): Handle new
53502 _IO_FLAGS2_NOCLOSE flag.
53503 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53504 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53505 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53506 _IO_FLAGS2_NOCLOSE flag.
53507 * include/unistd.h: Add hidden_proto for dup3.
53508 Define __have_dup3.
53509 * io/dup3.c: Define hidden symbol.
53510 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53511
bd25564e
UD
53512 [BZ #7101]
53513 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53514 when an incomplete long option is used.
53515 * posix/tst-getopt_long1.c: New file.
53516 * posix/Makefile (tests): Add tst-getopt_long1.
53517
c84cfef4
UD
53518 [BZ #10138]
53519 * scripts/config.guess: Update from autoconf-2.68.
53520 * scripts/config.sub: Likewise.
53521
3b85df27
UD
53522 [BZ #10157]
53523 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53524 tests into ...
53525 (has_cpuclock): ...this. New function.
53526 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53527 macro here based on has_cpuclock code.
53528
15a856b1
UD
53529 [BZ #10149]
53530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53531 First byte (not low byte) is now always NUL.
53532 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53533
05f399e6
UD
53534 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53535 Use non-cancelable interfaces.
53536
10a52685 53537 [BZ #9809]
94ecc67d
UD
53538 * locale/iso-639.def: Add entry for Sorani.
53539
f8a3b5bf
UD
53540 [BZ #11901]
53541 * include/stdlib.h: Move include protection to the right place.
53542 Define abort_msg_s. Declare __abort_msg with it.
53543 * stdlib/abort.c (__abort_msg): Adjust type.
53544 * assert/assert.c (__assert_fail_base): New function. Majority
53545 of code from __assert_fail. Allocate memory for __abort_msg with
53546 mmap.
53547 (__assert_fail): Now call __assert_fail_base.
53548 * assert/assert-perr.c: Remove bulk of implementation. Use
53549 __assert_fail_base.
53550 * include/assert.hL Declare __assert_fail_base.
53551 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53552 mmap.
53553 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53554
1af4e298
UD
535552011-05-14 Ulrich Drepper <drepper@gmail.com>
53556
f8a3b5bf 53557 [BZ #11952]
d26dfc60
MG
53558 [BZ #12453]
53559 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53560 until all modules are registered in the DTV.
53561 * elf/Makefile: Add rules to build and run tst-tls19.
53562 * elf/tst-tls19.c: New file.
53563 * elf/tst-tls19mod1.c: New file.
53564 * elf/tst-tls19mod2.c: New file.
53565 * elf/tst-tls19mod3.c: New file.
53566 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53567
2fc54d6f
UD
53568 [BZ #12083]
53569 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53570 correctly.
53571
98d76b46
UD
53572 [BZ #12601]
53573 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53574 two-byte sequence errors.
53575 * iconvdata/Makefile (tests): Add bug-iconv8.
53576 * iconvdata/bug-iconv8.c: New file.
53577
da3c19ef
UD
53578 [BZ #12626]
53579 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53580 buf2 definition.
53581
ca408c15
UD
53582 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53583
d6f67f7d
UD
53584 [BZ #12432]
53585 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53586 (dummy_getcfa): New function.
53587 (init): Get _Unwind_GetCFA address, use dummy if not found.
53588 (backtrace_helper): In recursion check, also check whether CFA changes.
53589 (__backtrace): Completely initialize arg.
53590
1af4e298 53591 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53592 storing incomplete byte sequence in state object. Avoid testing for
53593 guaranteed too small input if we know there is enough data available.
1af4e298 53594
da62f81b
AS
535952011-05-11 Andreas Schwab <schwab@redhat.com>
53596
53597 * Makeconfig (+link-pie): Indent.
53598 * Rules (binaries-pie): Define if $(have-fpie) and
53599 $(build-shared).
53600 (binaries-shared): Also filter out $(binaries-pie).
53601 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53602 * nscd/Makefile (others-pie): Add nscd.
53603 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53604 ($(objpfx)nscd): Remove command override.
53605 * login/Makefile (others-pie): Add pt_chown.
53606 ($(objpfx)pt_chown): Remove command override.
53607 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53608 remove command overrides.
53609
fcabc0f8
UD
536102011-05-13 Ulrich Drepper <drepper@gmail.com>
53611
20030ae6
UD
53612 * libio/tst_putwc.c: Fix error messages.
53613
fcabc0f8
UD
53614 [BZ #12724]
53615 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53616 currently writing and seek to current position when not.
53617 * libio/Makefile (tests): Add bug-fclose1.
53618 * libio/bug-fclose1.c: New file.
53619
320a5dc0
PB
536202011-05-12 Ulrich Drepper <drepper@gmail.com>
53621
53622 [BZ #12511]
53623 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53624 don't set DF_1_NODELETE here.
53625 (do_lookup_x): When entering new entry test for copy relocation
53626 and if necessary set DF_1_NODELETE flag.
53627 * elf/tst-unique4.cc: New file.
53628 * elf/tst-unique4.h: New file.
53629 * elf/tst-unique4lib.cc: New file.
53630 * elf/Makefile: Add rules to build and run tst-unique4.
53631 Patch by Piotr Bury <pbury@goahead.com>.
53632
22836f52
UD
536332011-05-11 Ulrich Drepper <drepper@gmail.com>
53634
f574184a
UD
53635 [BZ #12052]
53636 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53637
e1fb097f
UD
53638 [BZ #12625]
53639 * misc/mntent_r.c (addmntent): Flush the stream after the output
53640
22836f52
UD
53641 [BZ #12393]
53642 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53643 (is_trusted_path_normalize): Skip initial colon. Append slash
53644 to empty buffer. Duplicate is_trusted_path code but allow
53645 constructed patch to be prefix.
53646 (is_dst): Allow $ORIGIN followed by /.
53647 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53648 Correct testing of result of is_trusted_path_normalize
53649 (decompose_rpath): Fix warning.
53650
7b3b0b2a
UD
536512011-05-10 Ulrich Drepper <drepper@gmail.com>
53652
53653 [BZ #11257]
53654 * grp/initgroups.c (internal_getgrouplist): When we found the service
53655 list through the initgroups entry in nsswitch.conf do not always
53656 continue on a successful lookup. Don't always use the
eac80ce2 53657 __nss_group_database value if it is set.
7b3b0b2a
UD
53658 * nss/nsswitch.conf (initgroups): Change action for successful db
53659 lookup to continue for compatibility.
53660
2a81eaa5
UD
536612011-05-09 Ulrich Drepper <drepper@gmail.com>
53662
be97a69e
UD
53663 [BZ #11532]
53664 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53665 and CP774 modules.
53666 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53667 and CP774 modules.
53668 * iconvdata/tst-tables.sh: Likewise.
53669 * iconvdata/cp770.c: New file.
53670 * iconvdata/cp771.c: New file.
53671 * iconvdata/cp772.c: New file.
53672 * iconvdata/cp773.c: New file.
53673 * iconvdata/cp774.c: New file.
53674 * iconvdata/testdata/CP770: New file.
53675 * iconvdata/testdata/CP770..UTF8: New file.
53676 * iconvdata/testdata/CP771: New file.
53677 * iconvdata/testdata/CP771..UTF8: New file.
53678 * iconvdata/testdata/CP772: New file.
53679 * iconvdata/testdata/CP772..UTF8: New file.
53680 * iconvdata/testdata/CP773: New file.
53681 * iconvdata/testdata/CP773..UTF8: New file.
53682 * iconvdata/testdata/CP774: New file.
53683 * iconvdata/testdata/CP774..UTF8: New file.
53684
53685 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53686 END CHARMAP line.
53687 * iconvdata/gen-8bit-gap.sh: Likewise.
53688 * iconvdata/gen-8bit.sh: Likewise.
53689
c1e9e399
UD
53690 * locale/iso-639.def: Add ary entry.
53691
24c55fb3 53692 [BZ #11258]
96b4b1b0
UD
53693 * locale/C-translit.h.in: Add U20A1 transliteration.
53694
bdc2f971
KB
53695 [BZ #12178]
53696 * locale/iso-639.def: Add wae entry.
53697 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53698
2952b117
UD
53699 [BZ #12545]
53700 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53701 for n.
53702
2a81eaa5
UD
53703 [BZ #12711]
53704 * locale/C-translit.h.in: Add entry for U20B9.
53705 Patch by pravin.d.s@gmail.com.
53706
28377d1b
UD
537072011-05-08 Ulrich Drepper <drepper@gmail.com>
53708
7fb90fb8
UD
53709 [BZ #12713]
53710 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53711 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53712 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53713 in rtld. Use *stat64.
7fb90fb8 53714 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53715 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53716 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53717 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53718 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53719 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53720 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53721 __fstatat64 macros.
7fb90fb8
UD
53722 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53723 * dirent/rewinddir.c: Add libc_hidden_def.
53724 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53725 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53726
28377d1b
UD
53727 * include/dirent.h (__alloc_dir): Add flags parameter.
53728 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53729 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53730 __alloc_dir.
53731 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53732 from fdopendir if O_CLOEXEC is already set.
53733
66bdbaa4
AM
537342011-03-15 Alan Modra <amodra@gmail.com>
53735
53736 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53737 l_tls_firstbyte_offset non-zero. Save padding offset in
53738 l_tls_firstbyte_offset for later use.
53739 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53740 freeing static tls block.
53741
95721191
JN
537422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53743
53744 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53745 where #ifdef was intended. The intent is to prevent ARG_MAX from
53746 being defined by the kernel headers.
53747
f87dfb1f
UD
537482011-05-07 Ulrich Drepper <drepper@gmail.com>
53749
53750 [BZ #12734]
53751 * resolv/resolv.h: Define RES_NOTLDQUERY.
53752 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53753 no-tld-query and set RES_NOTLDQUERY.
53754 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53755 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53756 modern BIND to search name as TLD unless forbidden.
53757
47c3cd7a
UD
537582011-05-07 Petr Baudis <pasky@suse.cz>
53759 Ulrich Drepper <drepper@gmail.com>
53760
53761 [BZ #12393]
53762 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53763 (is_trusted_path): ...to here.
c1e9ea35 53764 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53765 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53766 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53767
8a35c912
PP
537682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53769
53770 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53771 __BEGIN/__END_DECLS.
53772
acd41f47
UD
537732011-05-06 Ulrich Drepper <drepper@gmail.com>
53774
53775 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53776 NSS_STATUS_NOTFOUND if no record was found.
53777
597df647
AS
537782011-05-05 Andreas Schwab <schwab@redhat.com>
53779
53780 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53781 (headers-not-in-tirpc): Remove rpc/netdb.h
53782 * resolv/netdb.h: Revert last change.
53783
b9af1301
PP
537842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53785
53786 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53787 circular dependency between libgcc.a and libc.a.
53788
4e34d5f5
AS
537892011-05-05 Andreas Schwab <schwab@redhat.com>
53790
53791 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53792 * nis/Makefile: Don't install rpcsvc/*.
53793 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53794 instead of <rpc/types.h>.
53795 (MAXHOSTNAMELEN): Define.
53796
00ee369c
AS
537972011-05-03 Andreas Schwab <schwab@redhat.com>
53798
53799 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53800
0b592a30
MB
538012011-04-28 Maciej Babinski <mbabinski@google.com>
53802
53803 [BZ #12714]
53804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53805 gethostbyname4_r when IPv6 results are possible.
53806
6e04cbbe
UD
538072011-05-02 Ulrich Drepper <drepper@gmail.com>
53808
53809 [BZ #12723]
53810 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53811 _PC_PIPE_BUF handling.
53812
e4ecafe0
BH
538132011-04-30 Bruno Haible <bruno@clisp.org>
53814
53815 [BZ #12717]
53816 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53817 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53818 to 'int'.
53819 * inet/getnameinfo.c (getnameinfo): Likewise.
53820
125ee683
UD
538212011-04-29 Ulrich Drepper <drepper@gmail.com>
53822
53823 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53824 to groups setting in database lookup.
53825 * nss/nsswitch.conf: Add initgroups entry.
53826
b722481a
EB
538272011-04-22 Ulrich Drepper <drepper@gmail.com>
53828
53829 [BZ #12685]
53830 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53831 mode string.
53832 Patch by Eric Blake <eblake@redhat.com>.
53833
4df46dbd
L
538342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53835
53836 * sunrpc/Makefile (need-export-routines): Add svc_run.
53837 (routines): Remove svc_run.
53838 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53839 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53840 * sunrpc/svc_run.c (svc_run): Likewise.
53841 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53842
e84142d2
UD
538432011-04-21 Ulrich Drepper <drepper@gmail.com>
53844
53845 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53846 problem in reallocation in last patch.
53847
877175d8
UD
538482011-04-20 Ulrich Drepper <drepper@gmail.com>
53849
53850 * sunrpc/Makefile: Move inclusion of Rules.
53851
ab8eed78
UD
538522011-04-19 Ulrich Drepper <drepper@gmail.com>
53853
53854 * nss/nss_files/files-initgroups.c: New file.
53855 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53856 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53857 _nss_files_initgroups_dyn.
53858
e3d8f584
RS
538592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53860
53861 * elf/elf.h (R_ARM_IRELATIVE): Define.
53862
af190f45
UD
538632011-04-19 Ulrich Drepper <drepper@gmail.com>
53864
53865 * po/ru.po: Update from translation team.
53866
53cf59ef
UD
538672011-04-17 Ulrich Drepper <drepper@gmail.com>
53868
53869 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53870 dependencies.
53871
4c559bcd
MF
538722011-02-06 Mike Frysinger <vapier@gentoo.org>
53873
53874 [BZ #12653]
53875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53876 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53877 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53878 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53879 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53880
4420675c
AS
538812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53882
53883 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53884 differing bytes.
53885 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53886 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53887 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53888
75ea32ab
UD
538892011-04-17 Ulrich Drepper <drepper@gmail.com>
53890
53891 [BZ #12420]
53892 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53893 storing it.
53894 * stdlib/bug-getcontext.c: New file.
53895 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53896
27390476
AK
538972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53898
53899 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53900 instructions into .machine "z9-109".
53901 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53902 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53903
10442705
AK
539042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53905
53906 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53907 between environment variables and auxiliary vector.
53908
7b57bfe5
UD
539092011-04-16 Ulrich Drepper <drepper@gmail.com>
53910
53911 * Makefile: Add rules to build linkobj/libc.so.
53912 * include/libc-symbols.h: Define libc_hidden_nolink.
53913 * include/rpc/auth.h: Mark functions which are to be hidden.
53914 * include/rpc/auth_des.h: Likewise.
53915 * include/rpc/auth_unix.h: Likewise.
53916 * include/rpc/clnt.h: Likewise.
53917 * include/rpc/des_crypt.h: Likewise.
53918 * include/rpc/key_prot.h: Likewise.
53919 * include/rpc/pmap_clnt.h: Likewise.
53920 * include/rpc/pmap_prot.h: Likewise.
53921 * include/rpc/pmap_rmt.h: Likewise.
53922 * include/rpc/rpc_msg.h: Likewise.
53923 * include/rpc/svc.h: Likewise.
53924 * include/rpc/svc_auth.h: Likewise.
53925 * include/rpc/xdr.h: Likewise.
53926 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53927 * nss/Makefile: Likewise.
53928 * sunrpc/Makefile: Don't install headers. Build library with normal
53929 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53930 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53931 for the compat linking library. Remove use of INTDEF/INTUSE.
53932 * sunrpc/auth_none.c: Likewise.
53933 * sunrpc/auth_unix.c: Likewise.
53934 * sunrpc/authdes_prot.c: Likewise.
53935 * sunrpc/authuxprot.c: Likewise.
53936 * sunrpc/clnt_gen.c: Likewise.
53937 * sunrpc/clnt_perr.c: Likewise.
53938 * sunrpc/clnt_raw.c: Likewise.
53939 * sunrpc/clnt_simp.c: Likewise.
53940 * sunrpc/clnt_tcp.c: Likewise.
53941 * sunrpc/clnt_udp.c: Likewise.
53942 * sunrpc/clnt_unix.c: Likewise.
53943 * sunrpc/des_crypt.c: Likewise.
53944 * sunrpc/des_soft.c: Likewise.
53945 * sunrpc/get_myaddr.c: Likewise.
53946 * sunrpc/key_call.c: Likewise.
53947 * sunrpc/key_prot.c: Likewise.
53948 * sunrpc/netname.c: Likewise.
53949 * sunrpc/pm_getmaps.c: Likewise.
53950 * sunrpc/pm_getport.c: Likewise.
53951 * sunrpc/pmap_clnt.c: Likewise.
53952 * sunrpc/pmap_prot.c: Likewise.
53953 * sunrpc/pmap_prot2.c: Likewise.
53954 * sunrpc/pmap_rmt.c: Likewise.
53955 * sunrpc/publickey.c: Likewise.
53956 * sunrpc/rpc_cmsg.c: Likewise.
53957 * sunrpc/rpc_common.c: Likewise.
53958 * sunrpc/rpc_dtable.c: Likewise.
53959 * sunrpc/rpc_prot.c: Likewise.
53960 * sunrpc/rpc_thread.c: Likewise.
53961 * sunrpc/rtime.c: Likewise.
53962 * sunrpc/svc.c: Likewise.
53963 * sunrpc/svc_auth.c: Likewise.
53964 * sunrpc/svc_authux.c: Likewise.
53965 * sunrpc/svc_raw.c: Likewise.
53966 * sunrpc/svc_run.c: Likewise.
53967 * sunrpc/svc_simple.c: Likewise.
53968 * sunrpc/svc_tcp.c: Likewise.
53969 * sunrpc/svc_udp.c: Likewise.
53970 * sunrpc/svc_unix.c: Likewise.
53971 * sunrpc/svcauth_des.c: Likewise.
53972 * sunrpc/xcrypt.c: Likewise.
53973 * sunrpc/xdr.c: Likewise.
53974 * sunrpc/xdr_array.c: Likewise.
53975 * sunrpc/xdr_float.c: Likewise.
53976 * sunrpc/xdr_intXX_t.c: Likewise.
53977 * sunrpc/xdr_mem.c: Likewise.
53978 * sunrpc/xdr_rec.c: Likewise.
53979 * sunrpc/xdr_ref.c: Likewise.
53980 * sunrpc/xdr_sizeof.c: Likewise.
53981 * sunrpc/xdr_stdio.c: Likewise.
53982
e6c61494
UD
539832011-04-10 Ulrich Drepper <drepper@gmail.com>
53984
53985 [BZ #12650]
53986 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53987 * sysdeps/ia64/dl-tls.h: Likewise.
53988 * sysdeps/powerpc/dl-tls.h: Likewise.
53989 * sysdeps/s390/dl-tls.h: Likewise.
53990 * sysdeps/sh/dl-tls.h: Likewise.
53991 * sysdeps/sparc/dl-tls.h: Likewise.
53992 * sysdeps/x86_64/dl-tls.h: Likewise.
53993 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53994
34fe483e
AS
539952011-03-14 Andreas Schwab <schwab@redhat.com>
53996
53997 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53998 rpath element also skip the following colon.
53999 (expand_dynamic_string_token): Add is_path parameter and pass
54000 down to DL_DST_REQUIRED and _dl_dst_substitute.
54001 (decompose_rpath): Call expand_dynamic_string_token with
54002 non-zero is_path. Ignore empty rpaths.
54003 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54004 with zero is_path.
54005
f12a32e6
AS
540062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54007
54008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54009 Make cancelable.
54010
38a7d692
UD
540112011-04-09 Ulrich Drepper <drepper@gmail.com>
54012
54013 [BZ #12655]
54014 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54015 Patch by Filipe David Manana <fdmanana@apache.org>.
54016
e451d22b
AS
540172011-04-07 Andreas Schwab <schwab@redhat.com>
54018
54019 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54020 Maintain aligned stack.
54021 (CHECK_RSP): Remove unused macro.
54022
dedc7c7b
UD
540232011-04-03 Ulrich Drepper <drepper@gmail.com>
54024
54025 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54026 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54027
94521213
UD
540282011-04-02 Ulrich Drepper <drepper@gmail.com>
54029
54030 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54031
8cb700c0 54032 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54033
0354e355
L
540342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54035
54036 [BZ #12518]
54037 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54038 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54039 * sysdeps/x86_64/memmove.c: New file.
54040 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54041 (memcpy): Renamed to ...
54042 (__new_memcpy): This.
54043 (memcpy): Provide GLIBC_2_14 memcpy.
54044 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54045 (memcpy): Provide GLIBC_2_2_5 memcpy.
54046
8593482f
UD
540472011-04-01 Ulrich Drepper <drepper@gmail.com>
54048
54049 [BZ #12631]
54050 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54051
81a5726b
AS
540522011-03-30 Andreas Schwab <schwab@redhat.com>
54053
54054 * misc/syncfs.c: New file.
54055 * misc/Makefile (routines): Add syncfs.
54056 * posix/unistd.h: Declare syncfs.
54057 * sysdeps/unix/syscalls.list: Add syncfs.
54058
00e5419f
AS
540592011-04-01 Andreas Schwab <schwab@redhat.com>
54060
54061 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54062 open_by_handle_at.
54063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54064 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54066 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54067 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54068 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54069 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54070
748876bf
UD
540712011-04-01 Ulrich Drepper <drepper@gmail.com>
54072
658e451d
UD
54073 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54074 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54075 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54077 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54079 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54080
748876bf
UD
54081 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54082 sync_file_range.c with -fexceptions.
54083 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54084 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54085 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54086 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54087 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54088 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54089 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54090 sync_file_range as cancellation point
54091 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54092 now a wrapper around __call_sync_file_range with cancellation handling.
54093 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54094 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54095 function name to __call_sync_file_range.
54096 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54097 Add call_sync_file_range.
748876bf 54098
6e63d5e1
AS
540992011-04-01 Andreas Schwab <schwab@redhat.com>
54100
54101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54102 bits/timex.h.
6e63d5e1 54103
46998f74
UD
541042011-04-01 Ulrich Drepper <drepper@gmail.com>
54105
4c1423ed
UD
54106 * iconv/iconv.h: Fix typo in comment.
54107 * io/fcntl.h: Likewise.
54108 * libio/stdio.h: Likewise.
54109 * posix/spawn.h: Likewise.
54110 * posix/unistd.h: Likewise.
54111 * stdlib/stdlib.h: Likewise.
54112 * time/time.h: Likewise.
54113 * wcsmbs/wchar.h: Likewise.
54114
158648c0
UD
54115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54116 open_by_handle): Add.
54117 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54118 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54119 Augment a few comments.
54120 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54121 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54122 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54124 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54125 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54126 open_by_handle.
54127
46998f74
UD
54128 * io/fcntl.h (AT_EMPTY_PATH): Define.
54129
83fe108b
UD
541302011-03-30 Ulrich Drepper <drepper@gmail.com>
54131
54132 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54133 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54134 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54135 to...
54136 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54137 * Versions.def: Add GLIBC_2.14.
54138 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54139 Export.
83fe108b 54140
bb242059
UD
541412011-03-22 Ulrich Drepper <drepper@gmail.com>
54142
54143 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54144 round counter.
54145 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54146
c97a1282
L
541472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54148
54149 [BZ #12597]
54150 * string/test-strncmp.c (do_page_test): New function.
54151 (check2): Likewise.
54152 (test_main): Call check2.
54153 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54154
2a115601
UD
541552011-03-20 Ulrich Drepper <drepper@gmail.com>
54156
54157 [BZ #12587]
54158 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54159 Handle cache information in CPU leaf 4.
54160 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54161
8126d904
UD
541622011-03-18 Ulrich Drepper <drepper@gmail.com>
54163
042c49c6 54164 [BZ #12583]
8126d904
UD
54165 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54166 character representation.
54167 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54168
ccfe366e
RA
541692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54170
54171 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54172 END(__isnan) to END(__isnanf) to match function entry point/label
54173 EALIGN(__isnanf,...).
54174
c6e13027
JJ
541752011-03-10 Jakub Jelinek <jakub@redhat.com>
54176
54177 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54178
33f85a3f
UD
541792011-03-10 Ulrich Drepper <drepper@gmail.com>
54180
028478fa
UD
54181 [BZ #12510]
54182 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54183 copy from the symbol referenced in the relocation to initialize the
54184 used variable.
54185 Patch by Piotr Bury <pbury@goahead.com>.
54186 * elf/Makefile: Add rules to build and tst-unique3.
54187 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54188 * elf/tst-unique3.cc: New file.
54189 * elf/tst-unique3.h: New file.
54190 * elf/tst-unique3lib.cc: New file.
54191 * elf/tst-unique3lib2.cc: New file.
54192
33f85a3f
UD
54193 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54194
03592fc7
MF
541952011-03-10 Mike Frysinger <vapier@gentoo.org>
54196
54197 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54198 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54199 to _start.
03592fc7 54200
6a5ee102
UD
542012011-03-06 Ulrich Drepper <drepper@gmail.com>
54202
54203 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54204 to-be-loaded object along a path to loader is ld.so.
54205
7e4ba49c
HJ
542062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54207 Ulrich Drepper <drepper@gmail.com>
54208
54209 * sysdeps/x86_64/memset.S: After aligning destination, code
54210 branches to different locations depending on the value of
54211 misalignment, when multiarch is enabled. Fix this.
54212
542132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54214
54215 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54216 Set _x86_64_preferred_memory_instruction for AMD processsors.
54217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54218 Set bit_Prefer_SSE_for_memop for AMD processors.
54219
13a804de
UD
542202011-03-04 Ulrich Drepper <drepper@gmail.com>
54221
54222 * libio/fmemopen.c (fmemopen): Optimize a bit.
54223
9d25c392
AS
542242011-03-03 Andreas Schwab <schwab@redhat.com>
54225
54226 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54227
a5543c6a
RM
542282011-03-03 Roland McGrath <roland@redhat.com>
54229
54230 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54231
012d35f7
DM
542322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54233
7e4ba49c 54234 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54235 __bzero_ultra1 instead of __memset_ultra1.
54236
4bff6e01
AS
542372011-02-23 Andreas Schwab <schwab@redhat.com>
54238 Ulrich Drepper <drepper@gmail.com>
54239
54240 [BZ #12509]
54241 * include/link.h (struct link_map): Add l_orig_initfini.
54242 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54243 returning unsuccessfully.
54244 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54245 close of a file loaded at startup, restore the original l_initfini
54246 list.
54247 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54248 list, store the pointer.
54249 * elf/Makefile ($(objpfx)noload-mem): New rule.
54250 (noload-ENV): Define.
54251 (tests): Add $(objpfx)noload-mem.
54252 * elf/noload.c: Include <memcheck.h>.
54253 (main): Call mtrace. Close all opened handles.
54254
f2092faf
AS
542552011-02-17 Andreas Schwab <schwab@redhat.com>
54256
54257 [BZ #12454]
54258 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54259 dependencies are missing.
54260
6c8a2e88
ST
542612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54262
f2092faf 54263 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54264 Hurd needs munmap.
54265 * sysdeps/mach/hurd/ifreq.h: New file.
54266
84a42118
PB
542672011-01-27 Petr Baudis <pasky@suse.cz>
54268 Ulrich Drepper <drepper@gmail.com>
54269
071f805e 54270 [BZ 12445]#
84a42118
PB
54271 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54272 to extend_alloca().
54273 * stdio-common/bug23.c: New file.
54274 * stdio-common/Makefile (tests): Add bug23.
54275
e23fe25b
AS
542762010-09-28 Andreas Schwab <schwab@redhat.com>
54277 Ulrich Drepper <drepper@gmail.com>
54278
54279 [BZ #12489]
54280 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54281 before performing relro protection. At old place add assertion
54282 to make sure nothing changed.
54283
d3f02e10
NS
542842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54285 Glauber de Oliveira Costa <glommer@gmail.com>
54286
54287 * elf/elf.h: Add new ARM TLS relocs.
54288
d55fd7a5
RA
542892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54290
54291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54292 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54293 cast from r3.
54294 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54295 'tests' variable.
54296 * sysdeps/wordsize-64/tst-writev.c: New file.
54297
2206397e
RA
542982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54299
54300 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54301 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54302 insns in _dl_start to prevent a TOC reference before relocs are
54303 resolved.
54304
e9433893
UD
543052011-02-15 Ulrich Drepper <drepper@gmail.com>
54306
54307 [BZ #12469]
54308 * Makeconfig: Remove RANLIB definition.
54309 * Makerules: Don't use RANLIB.
54310 * aclocal.m4: Remove ranlib test.
54311 * configure.in: No need to check for ranlib.
54312 * elf/rtld-Rules: Don't use RANLIB.
54313
f75286c6
ST
543142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54315
8e31c82d
ST
54316 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54317 protection macro.
54318 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54319 inclusion protection macro.
54320
f75286c6
ST
54321 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54322 SIGRTMIN and SIGRTMAX and print information in that case only when
54323 SIGRTMIN is defined.
54324
c1d0e639
JJ
543252011-02-11 Jakub Jelinek <jakub@redhat.com>
54326
54327 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54328 arginfo fn returning -1.
54329
54330 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54331 and thousands string is zero terminated.
54332
edf9294e
AS
543332011-02-03 Andreas Schwab <schwab@redhat.com>
54334
54335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54336 sysdeps/unix/sysv/linux/bits/socket.h.
54337
2b7e92df
ST
543382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54339
edf9294e
AS
54340 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54341 (__CPU_COUNT): Remove old macros.
54342 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54343 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54344 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54345 (__sched_cpualloc, __sched_cpufree): Add declarations.
54346
a4c7ea7b
UD
543472011-02-05 Ulrich Drepper <drepper@gmail.com>
54348
54349 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54350 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54351 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54352 (readdhstai): Return value of addhstaiX call.
54353 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54354 (addgrbyX): Return value returned by cache_addgr.
54355 (readdgrbyname): Return value returned by addgrbyX.
54356 (readdgrbygid): Likewise.
54357 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54358 (addpwbyX): Return value returned by cache_addpw.
54359 (readdpwbyname): Return value returned by addhstbyX.
54360 (readdpwbyuid): Likewise.
54361 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54362 (addservbyX): Return value returned by cache_addserv.
54363 (readdservbyname): Return value returned by addservbyX:
54364 (readdservbyport): Likewise.
54365 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54366 (addhstbyX): Return value returned by cache_addhst.
54367 (readdhstbyname): Return value returned by addhstbyX.
54368 (readdhstbyaddr): Likewise.
54369 (readdhstbynamev6): Likewise.
54370 (readdhstbyaddrv6): Likewise.
54371 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54372 (readdinitgroups): Return value returned by addinitgroupsX.
54373 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54374 (prune_cache): Keep track of timeout value of re-added entries.
54375 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54376 * nscd/nscd.h: Adjust prototypes of readd* functions.
54377
a0bf67cc
RM
543782011-02-04 Roland McGrath <roland@redhat.com>
54379
54380 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54381 (nis_stats): Likewise.
54382 * nis/nis_modify.c (nis_modify): Likewise.
54383 * nis/nis_remove.c (nis_remove): Likewise.
54384 * nis/nis_add.c (nis_add): Likewise.
54385
54386 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54387
54388 * posix/fnmatch_loop.c: Add some consts.
54389
54390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54391
435b95eb
L
543922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54393
54394 [BZ #12460]
54395 * config.make.in (config-cflags-novzeroupper): Define.
54396 * configure.in: Substitute libc_cv_cc_novzeroupper.
54397 * elf/Makefile (AVX-CFLAGS): Define.
54398 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54399 (CFLAGS-tst-auditmod4a.c): Likewise.
54400 (CFLAGS-tst-auditmod4b.c): Likewise.
54401 (CFLAGS-tst-auditmod6b.c): Likewise.
54402 (CFLAGS-tst-auditmod6c.c): Likewise.
54403 (CFLAGS-tst-auditmod7b.c): Likewise.
54404 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54405
8517b15e
UD
544062011-02-02 Ulrich Drepper <drepper@gmail.com>
54407
54408 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54409 function to the callback.
54410 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54411
10a656fe
AS
544122011-02-02 Andreas Schwab <schwab@redhat.com>
54413
54414 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54415 of errno.
54416
968dad0a
UD
544172011-01-19 Ulrich Drepper <drepper@gmail.com>
54418
9f94d2ea 54419 [BZ #11724]
968dad0a
UD
54420 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54421 of constructors.
54422 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54423 of destructors.
54424 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54425
54426 [BZ #11724]
54427 * elf/Makefile: Add rules to build and run new test.
54428 * elf/tst-initorder.c: New file.
54429 * elf/tst-initorder.exp: New file.
54430 * elf/tst-initordera1.c: New file.
54431 * elf/tst-initordera2.c: New file.
54432 * elf/tst-initordera3.c: New file.
54433 * elf/tst-initordera4.c: New file.
54434 * elf/tst-initorderb1.c: New file.
54435 * elf/tst-initorderb2.c: New file.
54436 * elf/tst-order-a1.c: New file.
54437 * elf/tst-order-a2.c: New file.
54438 * elf/tst-order-a3.c: New file.
54439 * elf/tst-order-a4.c: New file.
54440 * elf/tst-order-b1.c: New file.
54441 * elf/tst-order-b2.c: New file.
54442 * elf/tst-order-main.c: New file.
54443 New test case by George Gensure <werkt0@gmail.com>.
54444
86e92359
UD
544452010-10-01 Andreas Schwab <schwab@redhat.com>
54446
54447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54448 decoding ACE if AI_CANONIDN.
54449
5d5732b0
UD
544502011-01-18 Ulrich Drepper <drepper@gmail.com>
54451
54452 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54453
a77e8cbc
UD
544542011-01-17 Ulrich Drepper <drepper@gmail.com>
54455
6392473f
UD
54456 * version.h (RELEASE): Bump for 2.13 release.
54457 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54458
620a0529
UD
54459 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54460
18ba70a5
UD
54461 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54462 MADV_NOHUGEPAGE.
32465c3e
UD
54463 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54464 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54465 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54466 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54467 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54468 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54469
c0dafcf1
UD
54470 * posix/getconf.c: Update copyright year.
54471 * catgets/gencat.c: Likewise.
54472 * csu/version.c: Likewise.
54473 * debug/catchsegv.sh: Likewise.
54474 * debug/xtrace.sh: Likewise.
54475 * elf/ldconfig.c: Likewise.
54476 * elf/ldd.bash.in: Likewise.
54477 * elf/sprof.c (print_version): Likewise.
54478 * iconv/iconv_prog.c: Likewise.
54479 * iconv/iconvconfig.c: Likewise.
54480 * locale/programs/locale.c: Likewise.
54481 * locale/programs/localedef.c: Likewise.
54482 * malloc/memusage.sh: Likewise.
54483 * malloc/mtrace.pl: Likewise.
54484 * nscd/nscd.c (print_version): Likewise.
54485 * nss/getent.c: Likewise.
54486
a77e8cbc
UD
54487 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54488 PF_CAIF, and PF_ALG.
54489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54490
77e8bddf
AS
544912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54492
1f20b93a
AS
54493 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54494 (modules-names): Use them.
54495 (ifunc-test-modules, ifunc-pie-tests): Define.
54496 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54497 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54498 (test-extras): Likewise.
54499 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54500 $(compile-command.c).
54501 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54502 (all-built-dso): Define.
54503 (check-textrel.out, check-execstack.out): Depend on it.
54504
77e8bddf
AS
54505 * configure.in: Don't override --enable-multi-arch.
54506
bc425b33
UD
545072011-01-15 Ulrich Drepper <drepper@gmail.com>
54508
54509 [BZ #6812]
54510 * nscd/hstcache.c (tryagain): Define.
54511 (cache_addhst): Return tryagain not notfound for temporary errors.
54512 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54513 failed.
54514
794c3ad3
UD
545152011-01-14 Ulrich Drepper <drepper@gmail.com>
54516
70181fdd
UD
54517 [BZ #10563]
54518 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54519 to make the syscall.
54520 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54521
794c3ad3
UD
54522 [BZ #12378]
54523 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54524 and fall back to matching as normal character if the string ends before
54525 the matching ']' is found. This is what POSIX requires.
54526 * posix/testfnm.c: Adjust test result.
54527 * posix/globtest.sh: Adjust test result. Add new test.
54528 * posix/tst-fnmatch.input: Likewise.
54529 * posix/tst-fnmatch2.c: Add new test.
54530
68dc9497
AS
545312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54532
54533 * elf/Makefile (check-execstack): Revert last change. Depend on
54534 check-execstack.h.
54535 (check-execstack.h): New target.
54536 (generated): Add check-execstack.h.
54537 * elf/check-execstack.c: Include "check-execstack.h".
54538 (main): Revert last change.
54539 (handle_file): Return zero if GNU_STACK is absent and
54540 DEFAULT_STACK_PERMS doesn't include PF_X.
54541
451f001b
UD
545422011-01-13 Ulrich Drepper <drepper@gmail.com>
54543
cfa28e56
UD
54544 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54545 in child fails because the descriptor is already closed.
8cf8ce17
UD
54546 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54547 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54548 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54549
1086d70d
UD
54550 [BZ #12397]
54551 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54552 syscall.
54553
451f001b
UD
54554 [BZ #10484]
54555 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54556 temporary buffer used to handle multi lookups locally.
a85b5cb4 54557 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54558
08769175
UD
545592011-01-12 Ulrich Drepper <drepper@gmail.com>
54560
54561 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54562 loader is ld.so.
54563
5e49c52e
UD
545642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54565
54566 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54567 alignment for SSE2.
54568
60522a5f
UD
545692011-01-12 Ulrich Drepper <drepper@gmail.com>
54570
54571 [BZ #12394]
54572 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54573 characters. When rounding increased number of integer digits recompute
54574 number of groups.
54575 * stdio-common/tst-grouping.c: New file.
54576 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54577
f257bbd7
UD
545782011-01-09 Ulrich Drepper <drepper@gmail.com>
54579
54580 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54581 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54582
54583 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54584 void.
54585 * bits/select.h: Likewise.
54586
fa9c15cb
UD
545872011-01-08 Ulrich Drepper <drepper@gmail.com>
54588
54589 * po/ja.po: Update from translation team.
54590
16c2895f
DM
545912011-01-04 David S. Miller <davem@sunset.davemloft.net>
54592
54593 [BZ #11155]
54594 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54595 implementation just like for lxstat, fxstatat, et al.
54596
2543fef2
JM
545972010-12-27 Jim Meyering <meyering@redhat.com>
54598
54599 [BZ #12348]
54600 * posix/regexec.c (build_trtable): Return failure indication upon
54601 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54602
98727dbe
UD
546032010-12-25 Ulrich Drepper <drepper@gmail.com>
54604
5bd6dc5c
UD
54605 [BZ #12201]
54606 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54607 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54608 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54609 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54610
97983464
UD
54611 [BZ #12207]
54612 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54613
98727dbe
UD
54614 [BZ #12204]
54615 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54616 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54617
4a531bb0
L
546182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54619
54620 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54621 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54622 script has SORT_BY_INIT_PRIORITY.
54623 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54624 NO_CTORS_DTORS_SECTIONS is defined.
54625 * elf/soinit.c: Likewise.
54626 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54627 NO_CTORS_DTORS_SECTIONS is defined.
54628 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54629 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54630 * sysdeps/sh/init-first.c: Likewise.
54631 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54632
07eb4b71
UD
546332010-12-24 Ulrich Drepper <drepper@gmail.com>
54634
54635 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54636 always use the slow path.
54637
30950a5f
RA
546382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54639
54640 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54641 similar rule which adds the sysdep directories to the header search in
54642 order to pick up the correct platform stackinfo.h.
54643 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54644 perform test if it is, otherwise return successfully without testing.
54645 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54646 DEFAULT_STACK_PERMS define in stackinfo.h.
54647 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54648 defined in stackinfo.h.
54649 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54650 DEFAULT_STACK_PERMS defined in stackinfo.h.
54651 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54652 * sysdeps/ia64/stackinfo.h: Likewise.
54653 * sysdeps/s390/stackinfo.h: Likewise.
54654 * sysdeps/sh/stackinfo.h: Likewise.
54655 * sysdeps/sparc/stackinfo.h: Likewise.
54656 * sysdeps/x86_64/stackinfo.h: Likewise.
54657 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54658 PF_X for powerpc64. Retain PF_X for powerpc32.
54659
db753e2c
UD
546602010-12-19 Ulrich Drepper <drepper@gmail.com>
54661
14b697f7
UD
54662 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54663 accurately.
db753e2c
UD
54664 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54665 GETDENTS_64BIT_ALIGNED.
54666
28300719
UD
546672010-12-14 Ulrich Drepper <dreper@gmail.com>
54668
14b697f7 54669 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54670
4f197237
AS
546712010-12-10 Andreas Schwab <schwab@redhat.com>
54672
dbb0472f
AS
54673 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54674 _GNU_SOURCE.
54675
4f197237
AS
54676 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54677 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54678 Remove __restrict.
54679 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54680 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54681
fb88ac72
UD
546822010-12-09 Ulrich Drepper <drepper@gmail.com>
54683
54684 [BZ #11655]
54685 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54686 are initialized.
54687
42acbb92
JJ
546882010-12-09 Jakub Jelinek <jakub@redhat.com>
54689
54690 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54691
c038d98d
UD
546922010-12-03 Ulrich Drepper <drepper@gmail.com>
54693
54694 * po/it.po: Update from translation team.
54695
3a4a2499
L
546962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54697
54698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54699 unused codes.
54700
1e24cf6e
UD
547012010-11-30 Ulrich Drepper <drepper@gmail.com>
54702
54703 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54704
a7690819
AS
547052010-11-24 Andreas Schwab <schwab@redhat.com>
54706
54707 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54708 specially.
54709 (gaih_getanswer_slice): Likewise.
54710
3bf8d1b1
JJ
547112010-10-20 Jakub Jelinek <jakub@redhat.com>
54712
54713 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54714
6db52fbb
PB
547152010-05-31 Petr Baudis <pasky@suse.cz>
54716
54717 [BZ #11149]
54718 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54719 silently even in the chroot mode.
54720
eaca7569
UD
547212010-11-22 Ulrich Drepper <drepper@gmail.com>
54722
54723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54724 last patch a bit. Pretty printing
54725
3056dcdb
UD
547262010-05-31 Petr Baudis <pasky@suse.cz>
54727
54728 [BZ #10085]
54729 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54730 initialization of skip_initgroups_dyn.
54731
cf7c9078
UD
547322010-11-19 Ulrich Drepper <drepper@gmail.com>
54733
54734 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54736
a1fb5e3e
UD
547372010-11-16 Ulrich Drepper <drepper@gmail.com>
54738
54739 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54740
3540d66b
AS
547412010-11-11 Andreas Schwab <schwab@redhat.com>
54742
54743 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54744 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54745 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54746 ($(objpfx)tst-fnmatch-mem): New rule.
54747 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54748 * posix/tst-fnmatch.c (main): Call mtrace.
54749
13b69574
L
547502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54751
54752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54753 Support Intel processor model 6 and model 0x2c.
54754
da93d214
LM
547552010-11-10 Luis Machado <luisgpm@br.ibm.com>
54756
54757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54758 signed comparison.
54759
8ca52c6e
L
547602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54761
54762 [BZ #12205]
54763 * string/test-strncasecmp.c (check_result): New function.
54764 (do_one_test): Use it.
54765 (check1): New function.
54766 (test_main): Use it.
54767 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54768 Support strcasecmp and strncasecmp.
54769
69da074d
UD
547702010-11-08 Ulrich Drepper <drepper@gmail.com>
54771
54772 [BZ #12194]
54773 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54775
ff02d528
L
547762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54777
54778 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54779 IFUNC support.
54780 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54781 memset-x86-64.
54782 * sysdeps/x86_64/multiarch/bzero.S: New file.
54783 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54784 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54785 * sysdeps/x86_64/multiarch/memset.S: New file.
54786 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54788 Set bit_Prefer_SSE_for_memop for Intel processors.
54789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54790 Define.
54791 (index_Prefer_SSE_for_memop): Define.
54792 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54793
344d0b54
LM
547942010-11-04 Luis Machado <luisgpm@br.ibm.com>
54795
54796 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54797 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54798
c0dde15b
UD
547992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54800
54801 [BZ #12191]
54802 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54803 (__x86_64_raw_data_cache_size_half): Likewise.
54804 (__x86_64_raw_shared_cache_size): Likewise.
54805 (__x86_64_raw_shared_cache_size_half): Likewise.
54806
54807 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54808 (__x86_64_raw_data_cache_size_half): Likewise.
54809 (__x86_64_raw_shared_cache_size): Likewise.
54810 (__x86_64_raw_shared_cache_size_half): Likewise.
54811 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54812 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54813 and __x86_64_raw_shared_cache_size_half. Round
54814 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54815 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54816 to multiple of 256 bytes.
54817
0e516e0e
MS
548182010-11-03 Ulrich Drepper <drepper@gmail.com>
54819
54820 [BZ #12167]
54821 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54822 of inacessible symlinks. Verify result of symlink before returning it.
54823 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54824 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54825
0e012e87
ER
548262010-10-28 Erich Ritz <erichritz@gmail.com>
54827
54828 * math/math.h (isinf): Fix typo in comment.
54829
de0ff7bc
UD
548302010-11-01 Ulrich Drepper <drepper@gmail.com>
54831
54832 * po/da.po: Update from translation team.
54833
fa41c84d
UD
548342010-10-26 Ulrich Drepper <drepper@gmail.com>
54835
54836 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54837 is added to the list.
54838
f0967738
AK
548392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54840 Ulrich Drepper <drepper@gmail.com>
54841
54842 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54843 the global list here. Move code to...
54844 (_dl_add_to_namespace_list): ...here. New function.
54845 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54846 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54847 * elf/dl-load.c (lose): Don't remove the element from the list.
54848 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54849 (_dl_map_object): Likewise.
54850
548512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54852
54853 [BZ #12159]
54854 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54855 into all bytes of SSE register.
54856 Patch by Richard Li <richardpku@gmail.com>.
54857
f0967738 548582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54859
54860 [BZ #12140]
54861 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54862 perturbing.
54863
d0b9e94f
MB
548642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54865
54866 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54867 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54868 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54869 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54871 submachine.
54872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54873
8e9f92e9
AS
548742010-10-22 Andreas Schwab <schwab@redhat.com>
54875
54876 * include/dlfcn.h (__RTLD_SECURE): Define.
54877 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54878 mode & __RTLD_SECURE instead.
54879 (open_path): Rename preloaded parameter to secure.
54880 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54881 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54882 * elf/dl-deps.c (openaux): Likewise.
54883 * elf/rtld.c (struct map_args): Remove is_preloaded.
54884 (map_doit): Don't use it.
54885 (dl_main): Likewise.
54886 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54887 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54888
bc96fbda
AS
548892010-09-09 Andreas Schwab <schwab@redhat.com>
54890
54891 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54892 (sysd-rules-targets): Remove duplicates.
54893 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54894 rtld-%.$o dependency.
54895
22cd1c9b
AS
548962010-10-18 Andreas Schwab <schwab@redhat.com>
54897
54898 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54899 _dl_map_object do it.
54900
18edac48
UD
549012010-10-19 Ulrich Drepper <drepper@gmail.com>
54902
54903 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54904 fast fma builtins, define the macros in the C99 standard.
54905 (FP_FAST_FMAF): Likewise.
54906 (FP_FAST_FMAL): Likewise.
54907 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54908
54909 * bits/mathdef.h: Update copyright year.
54910 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54911
d2050124
MM
549122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54913
54914 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54915 builtins, define the macros in the C99 standard.
54916 (FP_FAST_FMAF): Likewise.
54917 (FP_FAST_FMAL): Likewise.
54918 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54919 multiply/add.
54920 (FP_FAST_FMAF): Likewise.
54921
475facd1
JJ
549222010-10-15 Jakub Jelinek <jakub@redhat.com>
54923
54924 [BZ #3268]
54925 * math/libm-test.inc (fma_test): Some new testcases.
54926 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54927 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54928 y and infinite z. Do multiplication by C already in long double.
54929 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54931 y and infinite z. Do bitwise or of inexact bit into u.d.
54932 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54933 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54934 * sysdeps/i386/fpu/s_fma.S: Removed.
54935 * sysdeps/i386/fpu/s_fmal.S: Removed.
54936
7c08a05c
JJ
549372010-10-16 Jakub Jelinek <jakub@redhat.com>
54938
54939 [BZ #3268]
54940 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54941 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54942 computation is not scheduled after fetestexcept. Fix value
54943 of minimum denormal long double.
54944
f3f7372d
JJ
549452010-10-14 Jakub Jelinek <jakub@redhat.com>
54946
54947 [BZ #3268]
54948 * math/libm-test.inc (fma_test): Add some more tests.
54949 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54950 correctly.
54951
14d43591
AS
549522010-10-15 Andreas Schwab <schwab@redhat.com>
54953
54954 * scripts/data/localplt-s390-linux-gnu.data: New file.
54955 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54956
5e908464
JJ
549572010-10-13 Jakub Jelinek <jakub@redhat.com>
54958
54959 [BZ #3268]
54960 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54961 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54962 instead of dbl-64.
54963 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54964 inlines.
54965 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54967 if one of x and y is very large and the other is subnormal.
54968 * sysdeps/s390/fpu/s_fmaf.c: New file.
54969 * sysdeps/s390/fpu/s_fma.c: New file.
54970 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54971 * sysdeps/powerpc/fpu/s_fma.S: New file.
54972 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54973 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54974 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54975
549762010-10-12 Jakub Jelinek <jakub@redhat.com>
54977
54978 [BZ #3268]
54979 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54980 fma tests.
54981 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54982 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54983 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54984 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54985 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54986 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54987 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54988
b833d51f
UD
549892010-10-12 Ulrich Drepper <drepper@redhat.com>
54990
54991 [BZ #12078]
54992 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54993 * posix/bug-regex31.input: Add test case.
54994
1751705d
UD
549952010-10-11 Ulrich Drepper <drepper@gmail.com>
54996
e9b9cbf5
UD
54997 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54998 * posix/bug-regex31.input: New file.
54999
55000 [BZ #12078]
55001 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55002 (parse_sub_exp): Fix last change, use postorder.
55003
ef06edbe
UD
55004 * posix/bug-regex31.c: New file.
55005 * posix/Makefile: Add rules to build and run bug-regex31.
55006
a129c80d
UD
55007 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55008
55009 [BZ #12078]
55010 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55011
b76b818e
UD
55012 [BZ #12108]
55013 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55014 to have entries in sys_siglist.
55015
1751705d
UD
55016 [BZ #12093]
55017 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55018 be NULL.
55019
9ff8d36f
JJ
550202010-10-07 Jakub Jelinek <jakub@redhat.com>
55021
55022 [BZ #3268]
55023 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55024 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55025 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55026 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55027 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55028 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55029 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55030 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55031 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55032 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55033 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55034 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55035 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55036 * math/ftestexcept.c (fetestexcept): Likewise.
55037 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55038 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55039 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55040 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55041 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55042 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55043 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55044
af325969
UD
550452010-10-11 Ulrich Drepper <drepper@gmail.com>
55046
c579b202 55047 [BZ #12107]
af325969
UD
55048 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55049 newline.
55050
67a67b95
UD
550512010-10-06 Ulrich Drepper <drepper@gmail.com>
55052
55053 * string/bug-strstr1.c: New file.
55054 * string/Makefile: Add rules to build and run bug-strstr1.
55055
5fb308bc
EB
550562010-10-05 Eric Blake <eblake@redhat.com>
55057
55058 [BZ #12092]
55059 * string/str-two-way.h (two_way_long_needle): Always clear memory
55060 when skipping input due to the shift table.
55061
45db99c7
UD
550622010-10-03 Ulrich Drepper <drepper@gmail.com>
55063
3b111893
UD
55064 [BZ #12005]
55065 * malloc/mcheck.c: Handle large requests.
55066
45db99c7
UD
55067 [BZ #12077]
55068 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55069 for strncmp and strncasecmp.
55070 * string/stratcliff.c: Add tests for strcmp and strncmp.
55071 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55072
cf7a1eb8
NI
550732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55074
55075 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55076 __set_fpscr.
55077
6484ba5e
AJ
550782010-09-30 Andreas Jaeger <aj@suse.de>
55079
55080 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55081 (CGROUP_SUPER_MAGIC): Define.
55082 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55083 Handle btrfs and cgroup file systems.
55084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55085 Likewise.
55086
91c42559
LM
550872010-09-27 Luis Machado <luisgpm@br.ibm.com>
55088
55089 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55090 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55091
87a97932
AK
550922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55093
55094 [BZ #12067]
55095 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55096 trying to locate the ELF header.
55097
c21cc9bc
AS
550982010-09-27 Andreas Schwab <schwab@redhat.com>
55099
55100 [BZ #11611]
55101 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55102 Mask out sign-bit copies when constructing f_fsid.
55103
315970f6
PB
551042010-09-24 Petr Baudis <pasky@suse.cz>
55105
55106 * debug/stack_chk_fail_local.c: Add missing licence exception.
55107 * debug/warning-nop.c: Likewise.
55108
1ac7a2c7
JM
551092010-09-15 Joseph Myers <joseph@codesourcery.com>
55110
55111 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55112 implementing getdents64 using getdents syscall, set d_type if
55113 __ASSUME_GETDENTS32_D_TYPE.
55114
56801c50
AS
551152010-09-16 Andreas Schwab <schwab@redhat.com>
55116
55117 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55118 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55119
dda51327
UD
551202010-09-21 Ulrich Drepper <drepper@redhat.com>
55121
55122 [BZ #12037]
55123 * posix/unistd.h: Undo change of feature selection for ftruncate from
55124 2010-01-11.
55125
8ffcee4a
UD
551262010-09-20 Ulrich Drepper <drepper@redhat.com>
55127
a545ecd9 55128 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55129 detection.
55130
e24f0a8b
AS
551312010-09-20 Andreas Schwab <schwab@redhat.com>
55132
55133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55134 fanotify_mark.
55135 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55136
7291c56f
AS
551372010-09-14 Andreas Schwab <schwab@redhat.com>
55138
55139 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55140 variables after CHECK_SP call.
55141 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55142
bc5fb037
AS
551432010-09-13 Andreas Schwab <schwab@redhat.com>
55144 Ulrich Drepper <drepper@redhat.com>
55145
55146 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55147 re-relocationg ld.so.
55148 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55149 _dl_init_paths call.
55150 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55151 here anymore.
55152
e66e7419
UD
551532010-09-14 Ulrich Drepper <drepper@redhat.com>
55154
55155 * resolv/res_init.c (__res_vinit): Count the default server we added.
55156
c044aa75
CLT
551572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55158 Ulrich Drepper <drepper@redhat.com>
55159
55160 [BZ #11968]
55161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55162 (____longjmp_chk): Use %ebx for saving value across system call.
55163 Add unwind info.
55164
32cf4069
AS
551652010-09-06 Andreas Schwab <schwab@redhat.com>
55166
55167 * manual/Makefile: Don't mix pattern rules with normal rules.
55168
817328ee
AS
551692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55170
55171 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55172 operation.
55173 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55174 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55175 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55176 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55177 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55178 Likewise.
55179
29fddf61
UD
551802010-09-04 Ulrich Drepper <drepper@redhat.com>
55181
55182 [BZ #11979]
55183 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55184 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55185
0959ffc9
UD
551862010-09-02 Ulrich Drepper <drepper@redhat.com>
55187
55188 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55189 * sysdeps/x86_64/addmul_1.S: Likewise.
55190 * sysdeps/x86_64/lshift.S: Likewise.
55191 * sysdeps/x86_64/mul_1.S: Likewise.
55192 * sysdeps/x86_64/rshift.S: Likewise.
55193 * sysdeps/x86_64/sub_n.S: Likewise.
55194 * sysdeps/x86_64/submul_1.S: Likewise.
55195
ece29840
ST
551962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55197
0959ffc9
UD
55198 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55199 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55200 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55201 * bits/sched.h [__need_schedparam]
ece29840 55202 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55203 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55204 (__defined_schedparam): Define to 1.
ece29840
ST
55205 (__sched_param): New structure, identical to sched_param.
55206 (__need_schedparam): Undefine.
55207
e53a31fe
MF
552082010-08-31 Mike Frysinger <vapier@gentoo.org>
55209
fdc0c10d
MF
55210 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55211 (epoll_create1): Declare.
55212
e53a31fe
MF
55213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55214
a726d796
AS
552152010-08-31 Andreas Schwab <schwab@redhat.com>
55216
55217 [BZ #7066]
55218 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55219 shifting retval into place.
55220
2f3e3dc7
UD
552212010-09-01 Ulrich Drepper <drepper@redhat.com>
55222
f2933da9
UD
55223 * nis/rpcsvc/nis.h: Update copyright notice.
55224 * nis/rpcsvc/nis.x: Likewise.
55225 * nis/rpcsvc/nis_callback.h: Likewise.
55226 * nis/rpcsvc/nis_callback.x: Likewise.
55227 * nis/rpcsvc/nis_object.x: Likewise.
55228 * nis/rpcsvc/nis_tags.h: Likewise.
55229 * nis/rpcsvc/yp.h: Likewise.
55230 * nis/rpcsvc/yp.x: Likewise.
55231 * nis/rpcsvc/ypupd.h: Likewise.
55232 * nis/yp_xdr.c: Likewise.
55233 * nis/ypupdate_xdr.c: Likewise.
55234
2f3e3dc7
UD
55235 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55236 mainly the body of pmap_getport. Add parameters to specify timeouts.
55237 (pmap_getport): Use __libc_rpc_getport.
55238 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55239 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55240 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55241
f3dcc2f9
AS
552422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55243
55244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55245 fanotify_mark.
55246
6d34eb5b
RM
552472010-08-27 Roland McGrath <roland@redhat.com>
55248
55249 * sysdeps/i386/i686/multiarch/Makefile
55250 (CFLAGS-varshift.c): New variable.
55251
9ea3de11
UD
552522010-08-27 Ulrich Drepper <drepper@redhat.com>
55253
c96d23fc
UD
55254 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55255 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55256
9ea3de11
UD
55257 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55258
55259 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55260
623aac7f
L
552612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55262
55263 * sysdeps/x86_64/strlen.S: Unroll the loop.
55264 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55265 strlen-sse2 strlen-sse2-bsf.
55266 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55267 __strlen_no_bsf if bit_Slow_BSF is set.
55268 (__strlen_sse42): Removed.
55269 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55270 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55271
8b2b7715
RM
552722010-08-25 Roland McGrath <roland@redhat.com>
55273
55274 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55275 * sysdeps/x86_64/multiarch/varshift.c: New file.
55276 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55277 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55278 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55279 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55280
e73015f2
L
552812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55282
55283 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55284 strlen-sse2 strlen-sse2-bsf.
55285 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55286 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55287 (__strlen_sse2): Removed.
55288 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55289 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55291 bit_Slow_BSF for Atom.
55292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55293 (index_Slow_BSF): Define.
55294 (HAS_SLOW_BSF): Define.
55295
df24a73e
UD
552962010-08-25 Ulrich Drepper <drepper@redhat.com>
55297
55298 [BZ #10851]
55299 * resolv/res_init.c (__res_vinit): When no server address at all
55300 is given default to loopback.
55301
f2ac4868
RM
553022010-08-24 Roland McGrath <roland@redhat.com>
55303
09055553
RM
55304 * configure.in: Remove config-name.h generation.
55305 * configure: Regenerated.
55306 * config-name.in: File removed.
55307 * scripts/config-uname.sh: New file.
55308 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55309 ($(objdir)config-name.h): New target.
55310
f2ac4868
RM
55311 * sunrpc/rpc_parse.h: Avoid nested comment.
55312
73f27d5e
RH
553132010-08-24 Richard Henderson <rth@redhat.com>
55314 Ulrich Drepper <drepper@redhat.com>
55315 H.J. Lu <hongjiu.lu@intel.com>
55316
55317 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55318 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55319 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55320 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55321 _mm_alignr_epi8 with _mm_loadu_si128.
55322 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55323 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55324 (__m128i_shift_right): Removed.
55325 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55326 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55327 * sysdeps/x86_64/multiarch/varshift.h: New file.
55328 * sysdeps/x86_64/multiarch/varshift.S: New file.
55329
84b9230c
MF
553302010-08-21 Mike Frysinger <vapier@gentoo.org>
55331
55332 * configure.in: Move assembler checks to before sysdep dir checking.
55333
9bbd0ddc
PB
553342010-08-20 Petr Baudis <pasky@suse.cz>
55335
55336 * LICENSES: Sync the sunrpc license.
55337
9da4bb31
UD
553382010-08-19 Ulrich Drepper <drepper@redhat.com>
55339
a7ab6ec8
UD
55340 * sunrpc/auth_des.c: Update copyright notice once again.
55341 * sunrpc/auth_none.c: Likewise.
55342 * sunrpc/auth_unix.c: Likewise.
55343 * sunrpc/authdes_prot.c: Likewise.
55344 * sunrpc/authuxprot.c: Likewise.
55345 * sunrpc/bindrsvprt.c: Likewise.
55346 * sunrpc/clnt_gen.c: Likewise.
55347 * sunrpc/clnt_perr.c: Likewise.
55348 * sunrpc/clnt_raw.c: Likewise.
55349 * sunrpc/clnt_simp.c: Likewise.
55350 * sunrpc/clnt_tcp.c: Likewise.
55351 * sunrpc/clnt_udp.c: Likewise.
55352 * sunrpc/clnt_unix.c: Likewise.
55353 * sunrpc/des_crypt.c: Likewise.
55354 * sunrpc/des_soft.c: Likewise.
55355 * sunrpc/get_myaddr.c: Likewise.
55356 * sunrpc/getrpcport.c: Likewise.
55357 * sunrpc/key_call.c: Likewise.
55358 * sunrpc/key_prot.c: Likewise.
55359 * sunrpc/openchild.c: Likewise.
55360 * sunrpc/pm_getmaps.c: Likewise.
55361 * sunrpc/pm_getport.c: Likewise.
55362 * sunrpc/pmap_clnt.c: Likewise.
55363 * sunrpc/pmap_prot.c: Likewise.
55364 * sunrpc/pmap_prot2.c: Likewise.
55365 * sunrpc/pmap_rmt.c: Likewise.
55366 * sunrpc/rpc/auth.h: Likewise.
55367 * sunrpc/rpc/auth_unix.h: Likewise.
55368 * sunrpc/rpc/clnt.h: Likewise.
55369 * sunrpc/rpc/des_crypt.h: Likewise.
55370 * sunrpc/rpc/key_prot.h: Likewise.
55371 * sunrpc/rpc/netdb.h: Likewise.
55372 * sunrpc/rpc/pmap_clnt.h: Likewise.
55373 * sunrpc/rpc/pmap_prot.h: Likewise.
55374 * sunrpc/rpc/pmap_rmt.h: Likewise.
55375 * sunrpc/rpc/rpc.h: Likewise.
55376 * sunrpc/rpc/rpc_des.h: Likewise.
55377 * sunrpc/rpc/rpc_msg.h: Likewise.
55378 * sunrpc/rpc/svc.h: Likewise.
55379 * sunrpc/rpc/svc_auth.h: Likewise.
55380 * sunrpc/rpc/types.h: Likewise.
55381 * sunrpc/rpc/xdr.h: Likewise.
55382 * sunrpc/rpc_clntout.c: Likewise.
55383 * sunrpc/rpc_cmsg.c: Likewise.
55384 * sunrpc/rpc_common.c: Likewise.
55385 * sunrpc/rpc_cout.c: Likewise.
55386 * sunrpc/rpc_dtable.c: Likewise.
55387 * sunrpc/rpc_hout.c: Likewise.
55388 * sunrpc/rpc_main.c: Likewise.
55389 * sunrpc/rpc_parse.c: Likewise.
55390 * sunrpc/rpc_parse.h: Likewise.
55391 * sunrpc/rpc_prot.c: Likewise.
55392 * sunrpc/rpc_sample.c: Likewise.
55393 * sunrpc/rpc_scan.c: Likewise.
55394 * sunrpc/rpc_scan.h: Likewise.
55395 * sunrpc/rpc_svcout.c: Likewise.
55396 * sunrpc/rpc_tblout.c: Likewise.
55397 * sunrpc/rpc_util.c: Likewise.
55398 * sunrpc/rpc_util.h: Likewise.
55399 * sunrpc/rpcinfo.c: Likewise.
55400 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55401 * sunrpc/rpcsvc/key_prot.x: Likewise.
55402 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55403 * sunrpc/rpcsvc/mount.x: Likewise.
55404 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55405 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55406 * sunrpc/rpcsvc/rex.x: Likewise.
55407 * sunrpc/rpcsvc/rstat.x: Likewise.
55408 * sunrpc/rpcsvc/rusers.x: Likewise.
55409 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55410 * sunrpc/rpcsvc/spray.x: Likewise.
55411 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55412 * sunrpc/rtime.c: Likewise.
55413 * sunrpc/svc.c: Likewise.
55414 * sunrpc/svc_auth.c: Likewise.
55415 * sunrpc/svc_authux.c: Likewise.
55416 * sunrpc/svc_raw.c: Likewise.
55417 * sunrpc/svc_run.c: Likewise.
55418 * sunrpc/svc_simple.c: Likewise.
55419 * sunrpc/svc_tcp.c: Likewise.
55420 * sunrpc/svc_udp.c: Likewise.
55421 * sunrpc/svc_unix.c: Likewise.
55422 * sunrpc/svcauth_des.c: Likewise.
55423 * sunrpc/xcrypt.c: Likewise.
55424 * sunrpc/xdr.c: Likewise.
55425 * sunrpc/xdr_array.c: Likewise.
55426 * sunrpc/xdr_float.c: Likewise.
55427 * sunrpc/xdr_mem.c: Likewise.
55428 * sunrpc/xdr_rec.c: Likewise.
55429 * sunrpc/xdr_ref.c: Likewise.
55430 * sunrpc/xdr_sizeof.c: Likewise.
55431 * sunrpc/xdr_stdio.c: Likewise.
55432
9da4bb31
UD
55433 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55434 handling.
55435
bdaa77bc
AS
554362010-08-19 Andreas Schwab <schwab@redhat.com>
55437
55438 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55439
fe2f79db
LM
554402010-08-19 Luis Machado <luisgpm@br.ibm.com>
55441
55442 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55443 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55444 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55445 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55446 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55447 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55448 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55449 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55451 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55452 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55453 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55454 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55455 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55456
b9b42ee0
AB
554572010-07-26 Anton Blanchard <anton@samba.org>
55458
55459 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55460 * malloc/arena.c (heap_trim): Likewise.
55461
1c06ba31
UD
554622010-08-16 Ulrich Drepper <drepper@redhat.com>
55463
55464 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55465 here. Not...
55466 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55467 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55468
f8392f40
L
554692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55470
55471 * sysdeps/i386/elf/Makefile: New file.
55472
3162f12e
AS
554732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55474
55475 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55476 from fanotify_init.
55477 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55478 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55479
28c90b2c
UD
554802010-08-15 Ulrich Drepper <drepper@redhat.com>
55481
55482 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55483 of strncasecmp_l.
1feccb6c 55484 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55485
ca6bb004
UD
554862010-08-14 Ulrich Drepper <drepper@redhat.com>
55487
e9f82e0d
UD
55488 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55489 strncase_l-nonascii.
55490 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55491 Add strncase_l-ssse3.
55492 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55493 * sysdeps/x86_64/strcmp.S: Likewise.
55494 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55495 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55496 * sysdeps/x86_64/strncase.S: New file.
55497 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55498 * sysdeps/x86_64/strncase_l.S: New file.
55499 * string/Makefile (strop-tests): Add strncasecmp.
55500 * string/test-strncasecmp.c: New file.
55501
55502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55503 warning.
55504
ca6bb004
UD
55505 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55506 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55507
052fa7b3
AS
555082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55509
55510 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55511
962dba78
UD
555122010-08-12 Ulrich Drepper <drepper@redhat.com>
55513
55514 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55515 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55516 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55517
bebff237
AM
555182010-05-01 Alan Modra <amodra@gmail.com>
55519
55520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55521 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55522 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55523 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55524 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55525 tidying. Don't tail-call __sigjmp_save for static lib.
55526 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55527 save location.
55528 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55529 (CALL_MCOUNT): Add eh info, and nop after bl.
55530 (TAIL_CALL_SYSCALL_ERROR): New macro.
55531 (PSEUDO_RET): Use it.
55532 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55533 Correct save location of integer regs and cr.
55534 (_dl_profile_resolve): Correct cr save location. Delete nops
55535 after bl when SHARED. Reduce cfi size a little by better
55536 placement of cfi directives.
55537 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55538 make a stack frame. Instead use parm save area as a temp.
55539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55540 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55542 Don't make a stack frame for parent, use parm save area.
55543 Increase child stack frame to 112 bytes. Don't save unused reg,
55544 and adjust reg usage. Set up cfi on error recovery and
55545 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55547 (__makecontext): Add dummy nop after jump to exit.
55548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55549 Use correct parm save area and cr save, reduce stack frame.
55550 Correct cfi for possible PSEUDO_RET frame setup.
55551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55552 Branch to local label emitted by PSEUDO_RET rather than
55553 __syscall_error.
55554
02637374
AS
555552010-08-12 Andreas Schwab <schwab@redhat.com>
55556
55557 [BZ #11904]
55558 * locale/programs/locale.c (print_assignment): New function.
55559 (show_locale_vars): Use it.
55560
c3e2f19b
UD
555612010-08-11 Ulrich Drepper <drepper@redhat.com>
55562
3cdaa6ad
UD
55563 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55564 field.
55565 (struct statfs64): Likewise.
55566 (_STATFS_F_FLAGS): Define.
55567 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55568 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55569 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55570 (ST_VALID): Define locally.
55571 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55572 __statvfs_getflags, use the provided value.
55573 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55574 __ASSUME_STATFS_F_FLAGS.
55575
754f7da3
UD
55576 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55577
10b3bedc
UD
55578 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55579 Add sys/fanotify.h.
55580 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55581 fanotify_mask for GLIBC_2.13.
55582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55583 fanotify_init and fanotify_mark.
55584 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55585 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55586
c08fb0d7
UD
55587 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55588 Add prlimit.
55589 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55590 prlimit64 for GLIBC_2.13.
55591 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55592 prlimit64.
55593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55594 syscall.
55595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55596 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55597 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55598 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55599 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55600 add prlimit alias.
55601 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55602
15bac72b
UD
55603 [BZ #11903]
55604 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55605 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55606
c3e2f19b
UD
55607 * nss/Makefile: Add rules to build and run tst-nss-test1.
55608 * shlib-versions: Add entry for libnss_test1.
55609 * nss/nss_test1.c: New file.
55610 * nss/tst-nss-test1.c: New file.
55611
55612 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55613 (__nss_configure_lookup): Set appropriate entry in
55614 __nss_configure_lookup to true.
55615 * nss/nsswitch.h: Define enum with indeces of databases in
55616 databases and __nss_database_custom arrays. Declare
55617 __nss_database_custom.
55618 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55619 to avoid using nscd when custom rules are installed.
55620 * nss/getXXbyYY_r.c: Likewise.
55621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55622
55623 * nss/nss_files/files-parse.c: Whitespace fixes.
55624
f15ce4d8
UD
556252010-08-09 Ulrich Drepper <drepper@redhat.com>
55626
55627 [BZ #11883]
55628 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55629 * posix/fnmatch_loop.c: Likewise.
55630
d22e4cc9
AK
556312010-07-17 Andi Kleen <ak@linux.intel.com>
55632
55633 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55634 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55635 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55636 * Versions.def [GLIBC_2.13]: Add.
55637
805bc17d
UD
556382010-08-06 Ulrich Drepper <drepper@redhat.com>
55639
55640 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55641 Also fail if tpwd after pwuid call is NULL.
55642
5a42321d
ST
556432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55644
55645 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55646 when converting to ms.
55647
fd3ebeda
ST
556482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55649
55650 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55651 EOPNOTSUPP errors with ENOTTY.
55652 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55653 EOPNOTSUPP errors with ENOTTY.
55654
73507d3a
UD
556552010-07-31 Ulrich Drepper <drepper@redhat.com>
55656
55657 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55658 Add strcasecmp_l-ssse3.
55659 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55660 strcasecmp.
55661 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55662 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55663 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55664
fe36dd02
UD
556652010-07-30 Ulrich Drepper <drepper@redhat.com>
55666
66f6765a
UD
55667 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55668
42e08a54
UD
55669 * string/Makefile (strop-tests): Add strcasecmp.
55670 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55671 strcasecmp_l-nonascii.
55672 (gen-as-const-headers): Add locale-defines.sym.
55673 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55674 * sysdeps/x86_64/strcasecmp.S: New file.
55675 * sysdeps/x86_64/strcasecmp_l.S: New file.
55676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55677 * sysdeps/x86_64/locale-defines.sym: New file.
55678 * string/test-strcasecmp.c: New file.
55679
fe36dd02
UD
55680 * string/test-strcasestr.c: Test both ends of the range of characters.
55681 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55682
48cbc0d6
RM
556832010-07-29 Roland McGrath <roland@redhat.com>
55684
76e6d6bc 55685 [BZ #11856]
48cbc0d6
RM
55686 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55687
880113d9
UD
556882010-07-27 Ulrich Drepper <drepper@redhat.com>
55689
55690 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55691 for ld.so.
55692
deb9cabb
AS
556932010-07-27 Andreas Schwab <schwab@redhat.com>
55694
55695 * manual/memory.texi (Malloc Tunable Parameters): Document
55696 M_PERTURB.
55697
1c7570ff
RM
556982010-07-26 Roland McGrath <roland@redhat.com>
55699
55700 [BZ #11840]
55701 * configure.in (-fgnu89-inline check): Set and substitute
55702 gnu89_inline, not libc_cv_gnu89_inline.
55703 * configure: Regenerated.
55704 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55705
24fb0f88
UD
557062010-07-26 Ulrich Drepper <drepper@redhat.com>
55707
55708 * string/test-strnlen.c: New file.
55709 * string/Makefile (strop-tests): Add strnlen.
55710 * string/tester.c (test_strnlen): Add a few more test cases.
55711 * string/tst-strlen.c: Better error reporting.
55712
55713 * sysdeps/x86_64/strnlen.S: New file.
55714
8e96b93a
UD
557152010-07-24 Ulrich Drepper <drepper@redhat.com>
55716
55717 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55718 lower-latency instructions.
55719
dbc676d4
UD
557202010-07-23 Ulrich Drepper <drepper@redhat.com>
55721
55722 * string/test-strcasestr.c: New file.
55723 * string/test-strstr.c: New file.
55724 * string/Makefile (strop-tests): Add strstr and strcasestr.
55725 * string/str-two-way.h: Don't undefine MAX.
55726 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55727
f6a31e0e
AS
557282010-07-21 Andreas Schwab <schwab@redhat.com>
55729
55730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55731 strcasestr-nonascii.
55732 (CFLAGS-strcasestr-nonascii.c): Define.
55733 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55734 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55735 Remove unused attribute.
55736
5dbc3b6c
RM
557372010-07-20 Roland McGrath <roland@redhat.com>
55738
55739 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55740 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55741 ld.so.cache was broken. With it, there is no way to disable dsocaps
55742 like LD_HWCAP_MASK can disable hwcaps.
55743
23d101d8
EPM
557442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55745
55746 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55747
cc9f2e47
UD
557482010-07-16 Ulrich Drepper <drepper@redhat.com>
55749
55750 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55751 call in strcasestr.
55752 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55753 __strcasestr_sse42_nonascii.
55754 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55755 strcasestr-nonascii.c.
55756 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55757
77c1b069
LM
557582010-06-15 Luis Machado <luisgpm@br.ibm.com>
55759
55760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55762 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55764
440566c3
UD
557652010-07-09 Ulrich Drepper <drepper@redhat.com>
55766
55767 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55768 fcntl.
55769
5be9d05d
AS
557702010-07-06 Andreas Schwab <schwab@redhat.com>
55771
c30b7ee2 55772 [BZ #11577]
5be9d05d
AS
55773 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55774 dl_signal_cerror.
55775
8a492a67
UD
557762010-07-06 Ulrich Drepper <drepper@redhat.com>
55777
55778 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55779 _PC_PIPE_BUF using F_GETPIPE_SZ.
55780
713df3d5
RM
557812010-07-05 Roland McGrath <roland@redhat.com>
55782
55783 * manual/arith.texi (Rounding Functions): Fix rint description
55784 implicit in round description.
55785
702e8f14
UD
557862010-07-02 Ulrich Drepper <drepper@redhat.com>
55787
55788 * elf/Makefile: Fix linking for a few tests to make recent linker
55789 happy.
55790
52ed8be9
AS
557912010-06-30 Andreas Schwab <schwab@redhat.com>
55792
55793 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55794 $(common-objpfx)libc_nonshared.a.
55795
f47c9a11
LM
557962010-06-21 Luis Machado <luisgpm@br.ibm.com>
55797
55798 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55799 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55800 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55801 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55802 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55803 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55804 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55805 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55820 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55821 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55822 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55823 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55824 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55825 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55826 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55827 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55828 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55829 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55830 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55831 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55846
6fb8cbcb
L
558472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55848
55849 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55850 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55851 * string/memmove.c (memmove): Renamed to ...
55852 (MEMMOVE): ...this. Default to memmove.
55853 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55854 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55855 (END_CHK): Define.
55856 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55857 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55858 mempcpy-ssse3-back memmove-ssse3-back.
55859 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55860 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55861 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55862 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55863 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55864 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55865 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55866 * sysdeps/x86_64/multiarch/memmove.c: New file.
55867 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55868 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55869 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55870 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55871 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55872 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55873 Define.
55874 (index_Fast_Copy_Backward): Define.
55875 (HAS_ARCH_FEATURE): Define.
55876 (HAS_FAST_REP_STRING): Define.
55877 (HAS_FAST_COPY_BACKWARD): Define.
55878
4e733bac 558792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55880
55881 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55882 Restore proper fallback handling.
55883
63c4ed22
UD
558842010-06-19 Ulrich Drepper <drepper@redhat.com>
55885
ac2b484c
UD
55886 [BZ #11701]
55887 * posix/group_member.c (__group_member): Correct checking loop.
55888
63c4ed22
UD
55889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55890 OOM in getpwuid_r correctly. Return error number when the caller
55891 should return, otherwise -1.
55892 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55893 call returning > 0 value.
55894 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55895
765ade4b
AS
558962010-06-07 Andreas Schwab <schwab@redhat.com>
55897
55898 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55899 libc_nonshared.a from targets in modules-names.
55900
80da2e09
KS
559012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55902
55903 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55904 requires it.
55905
158db122
LM
559062010-06-10 Luis Machado <luisgpm@br.ibm.com>
55907
55908 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55909 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55910 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55911 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55912
caa78cf8
AS
559132010-06-02 Andreas Schwab <schwab@redhat.com>
55914
55915 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55916
b2ef2c01
UD
559172010-06-14 Ulrich Drepper <drepper@redhat.com>
55918
55919 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55920 and F_GETPIPE_SZ.
55921 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55923 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55925 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55926 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55927
fbd643b6
RM
559282010-06-14 Roland McGrath <roland@redhat.com>
55929
55930 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55931
f32f2869
JJ
559322010-06-07 Jakub Jelinek <jakub@redhat.com>
55933
55934 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55935 __REDIRECT followed by __THROW.
55936 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55937 * posix/getopt.h (getopt): Likewise.
55938
2a50c078
EPM
559392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55940
55941 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55942 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55943 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55944 in AT_FLAGS.
55945 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55946 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55947
eb5ad2eb
LM
559482010-05-28 Luis Machado <luisgpm@br.ibm.com>
55949
55950 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55951
3c88fe1e
L
559522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55953
55954 [BZ #11640]
55955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55956 Properly check family and model.
55957
d2f73151
TY
559582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55959
55960 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55961
ebd2e13d
LM
559622010-05-24 Luis Machado <luisgpm@br.ibm.com>
55963
55964 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55965
b32b8b45
UD
559662010-05-21 Ulrich Drepper <drepper@redhat.com>
55967
55968 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55969 symbol reference.
55970
9acbe24d
AS
559712010-05-19 Andreas Schwab <schwab@redhat.com>
55972
55973 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55974 symbol reference.
55975
f0ccf6ea
AS
559762010-05-21 Andreas Schwab <schwab@redhat.com>
55977
3d04ff3a
AS
55978 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55979 and internal_recvmmsg.
55980 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55981 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55982 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55983 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55984
f0ccf6ea
AS
55985 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55986 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55987 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55988
5b08ac57
AS
559892010-05-20 Andreas Schwab <schwab@redhat.com>
55990
55991 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55992
4828935d
LM
559932010-05-17 Luis Machado <luisgpm@br.ibm.com>
55994
55995 POWER7 optimizations.
55996 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55997 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55998
373d545e
UD
559992010-05-19 Ulrich Drepper <drepper@redhat.com>
56000
56001 * version.h: Update for 2.13 development version.
56002
21a2b1ae
AS
560032010-05-12 Andrew Stubbs <ams@codesourcery.com>
56004
56005 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56006 exceptions. Return 0.
56007
3f7dcb2b
RM
560082010-05-07 Roland McGrath <roland@redhat.com>
56009
56010 * elf/ldconfig.c (main): Add a const.
56011
5f24d53a 560122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56013
a160f8d8
UD
56014 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56015 (args_options): Add no-idn option.
56016 (ahosts_keys_int): Add idn_flags to ai_flags.
56017 (parse_option): Handle 'i' option to clear idn_flags.
56018
5f24d53a
UD
56019 * malloc/malloc.c (_int_free): Possible race in the most recently
56020 added check. Only act on the data if no current modification
56021 happened.
265bb1ce
UD
56022
56023See ChangeLog.17 for earlier changes.
This page took 8.531404 seconds and 5 git commands to generate.