]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
powerpc: Fix powerpc64 build failure with binutils 2.22
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0e87343e
AZ
12015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2
bea58013
AZ
3 [BZ #17869]
4 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5 power8 in .machine directive.
6
0e87343e
AZ
7 [BZ #17868]
8 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9 set dependency from opd value.
10
ede0236c
L
112015-01-23 H.J. Lu <hongjiu.lu@intel.com>
12
13 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
14 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
15 architecture.
ede0236c 16
22971c35
L
172015-01-23 H.J. Lu <hongjiu.lu@intel.com>
18
19 [BZ #17870]
20 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
21 with uint64_t.
22 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23 (uint64_t) 1.
e0da28a1 24 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
25 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
26 Replace 1UL with (uint64_t) 1.
27 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
28 int with uint64_t.
29
da5bf245
RM
302015-01-23 Roland McGrath <roland@hack.frob.com>
31
2ec2d703
RM
32 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33 (if_freenameindex): Likewise.
34
da5bf245
RM
35 * resource/getrlimit64.c: Add missing libc_hidden_def.
36
d7423856
JM
372015-01-22 Joseph Myers <joseph@codesourcery.com>
38
39 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40 __label__.
41 (_FP_FMA): Likewise.
42 (_FP_TO_INT_ROUND): Likewise.
43 (_FP_FROM_INT): Likewise.
44
6b2ba95b
AZ
452015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46
47 [BZ #16418]
48 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
49 Make code racy and cancel safe.
50
ccdb048d
CD
512015-01-21 Carlos O'Donell <carlos@redhat.com>
52
191220b3
CD
53 * sysdeps/arm/unwind-resume.h: Fix copyright year.
54 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
55 attribution.
56
0897c551
CD
57 * pwd/tst-getpw.c: Rewrite.
58
ccdb048d
CD
59 [BZ #17702]
60 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
61 (modules-names): Add moddummy1 and moddummy2.
62 ($(objpfx)tst-rec-dlopen): Define.
63 * dlfcn/moddummy1.c: New file.
64 * dlfcn/moddummy2.c: New file.
65 * dlfcn/tst-rec-dlopen.c: New file.
66 * elf/dl-cache.c (_dl_load_cache_lookup):
67 Return char*. Copy result with alloca/strcpy/strdup.
68 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
69 returns char*. Free cached. If not saving realname
70 free cached.
71 * elf/dl-open.c (dl_open_worker): Do not assert that
72 _r_debug->r_state is RT_CONSISTENT.
73 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
74 returns char*.
75
042e1521
CD
762015-01-21 Torvald Riegel <triegel@redhat.com>
77 Carlos O'Donell <carlos@redhat.com>
78
79 [BZ #12674]
80 * nptl/sem_waitcommon.c: New file.
81 * nptl/sem_wait.c: Include sem_waitcommon.c.
82 (__sem_wait_cleanup, do_futex_wait): Remove.
83 (__new_sem_wait): Adapt.
84 (__new_sem_trywait): New function.
85 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
86 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
87 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
88 (sem_timedwait): Adapt.
89 * nptl/sem_post.c (__new_sem_post): Adapt.
90 (futex_wake): New function.
91 (__old_sem_post): Add release MO fence.
92 * nptl/sem_open.c (sem_open): Adapt.
93 * nptl/sem_init.c (__new_sem_init): Adapt.
94 (futex_private_if_supported): New function.
95 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
96 (__old_sem_getvalue): Add using previous code.
97 * sysdeps/nptl/internaltypes.h: Adapt.
98 * nptl/tst-sem13.c (do_test): Adapt.
99 * nptl/tst-sem11.c (main): Adapt.
100 * nptl/sem_trywait.c: Remove.
101 * nptl/DESIGN-sem.txt: Remove.
102 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
103 (gen-as-const-headers): Remove structsem.sym.
104 * nptl/structsem.sym: Remove.
105 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
106 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
107 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
108 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
109 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
110 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
111 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
112 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
113 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
114 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
115 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
116 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
117 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
118 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
119 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
120 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
121 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
122 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
123 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
124 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
125 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
126 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
127
fe0e85af
CD
1282015-01-20 Carlos O'Donell <carlos@redhat.com>
129
a8db092e
CD
130 * INSTALL: Regenerated.
131
fe0e85af
CD
132 * po/libc.pot: Regenerated.
133
522e6ee3
CLT
1342015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
135 Sandra Loosemore <sandra@codesourcery.com>
136 Andrew Jenner <andrew@codesourcery.com>
137 Joseph Myers <joseph@codesourcery.com>
138 Nathan Sidwell <nathan@codesourcery.com>
139
140 * NEWS: Mention new Nios II port.
141 * sysdeps/nios2/Implies: New file.
142 * sysdeps/nios2/Makefile: New file.
143 * sysdeps/nios2/Subdirs: New file.
144 * sysdeps/nios2/Versions: New file.
145 * sysdeps/nios2/__longjmp.S: New file.
146 * sysdeps/nios2/abort-instr.h: New file.
147 * sysdeps/nios2/backtrace.c: New file.
148 * sysdeps/nios2/bits/endian.h: New file.
149 * sysdeps/nios2/bits/fenv.h: New file.
150 * sysdeps/nios2/bits/link.h: New file.
151 * sysdeps/nios2/bits/setjmp.h: New file.
152 * sysdeps/nios2/bsd-_setjmp.S: New file.
153 * sysdeps/nios2/bsd-setjmp.S: New file.
154 * sysdeps/nios2/configure: New generated file.
155 * sysdeps/nios2/configure.ac: New file.
156 * sysdeps/nios2/crti.S: New file.
157 * sysdeps/nios2/crtn.S: New file.
158 * sysdeps/nios2/dl-init.c: New file.
159 * sysdeps/nios2/dl-machine.h: New file.
160 * sysdeps/nios2/dl-sysdep.h: New file.
161 * sysdeps/nios2/dl-tls.h: New file.
162 * sysdeps/nios2/dl-trampoline.S: New file.
163 * sysdeps/nios2/gccframe.h: New file.
164 * sysdeps/nios2/gmp-mparam.h: New file.
165 * sysdeps/nios2/jmpbuf-offsets.h: New file.
166 * sysdeps/nios2/jmpbuf-unwind.h: New file.
167 * sysdeps/nios2/ldsodefs.h: New file.
168 * sysdeps/nios2/libc-tls.c: New file.
169 * sysdeps/nios2/libm-test-ulps: New file.
170 * sysdeps/nios2/machine-gmon.h: New file.
171 * sysdeps/nios2/math-tests.h: New file.
172 * sysdeps/nios2/math_private.h: New file.
173 * sysdeps/nios2/memusage.h: New file.
174 * sysdeps/nios2/nptl/Makefile: New file.
175 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
176 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
177 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
178 * sysdeps/nios2/nptl/pthreaddef.h: New file.
179 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
180 * sysdeps/nios2/nptl/tls.h: New file.
181 * sysdeps/nios2/preconfigure: New file.
182 * sysdeps/nios2/s_fma.c: New file.
183 * sysdeps/nios2/s_fmaf.c: New file.
184 * sysdeps/nios2/setjmp.S: New file.
185 * sysdeps/nios2/sfp-machine.h: New file.
186 * sysdeps/nios2/sotruss-lib.c: New file.
187 * sysdeps/nios2/stackguard-macros.h: New file.
188 * sysdeps/nios2/stackinfo.h: New file.
189 * sysdeps/nios2/start.S: New file.
190 * sysdeps/nios2/sysdep.h: New file.
191 * sysdeps/nios2/tls-macros.h: New file.
192 * sysdeps/nios2/tst-audit.h: New file.
193 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
194 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
195 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
196 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
197 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
198 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
199 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
200 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
201 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
202 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
203 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
204 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
205 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
206 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
207 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
208 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
209 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
210 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
211 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
212 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
213 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
214 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
215 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
216 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
217 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
218 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
219 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
220 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
221 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
222 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
223 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
224 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
225 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
226 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
227 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
228 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
229 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
230 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
231 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
232 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
233 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
234 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
235 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
236 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
237
026eb207
SL
2382015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
239
240 [BZ #17844]
241 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
242 (getutent): Use weak_alias in non SHARED case
243 and default_symbol_version in SHARED case.
244 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
245 (getutent_r, pututline): Likewise.
246 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
247 (getutid): Likewise.
248 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
249 (getutid_r): Likewise.
250 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
251 (getutline): Likewise.
252 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
253 (getutline_r): Likewise.
254 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
255 (updwtmp): Likewise.
256
1d532483
SL
2572015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
258
259 [BZ #17848]
260 * sysdeps/s390/s390-32/memcmp.S
261 (memcmp_g5): Rename to __memcmp_g5.
262 * sysdeps/s390/s390-32/memcpy.S
263 (memcpy_g5): Rename to __memcpy_g5.
264 Jump to __memcpy_mvcle instead of memcpy_mvcle.
265 (memcpy_mvcle) Rename to __memcpy_mvcle.
266 * sysdeps/s390/s390-32/memset.S
267 (memset_g5): Rename to __memset_g5.
268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
269 (IFUNC_RESOLVE): Prefix ifunc-resolve function
270 and use prefixed functions.
271 * sysdeps/s390/s390-32/multiarch/memcmp.S
272 (memcmp_z196): Rename to __memcmp_z196.
273 (memcmp_z10): Rename to __memcmp_z10.
274 (memcmp): Set alias to __memcmp_g5.
275 (bcmp): Set alias to __memcmp_g5.
276 * sysdeps/s390/s390-32/multiarch/memcpy.S
277 (memcpy_z196): Rename to __memcpy_z196.
278 Jump to __memcpy_mvcle instead of memcpy_mvcle.
279 (memcpy_z10): Rename to __memcpy_z10.
280 Jump to __memcpy_mvcle instead of memcpy_mvcle.
281 (memcpy): Set alias to __memcpy_g5.
282 * sysdeps/s390/s390-32/multiarch/memset.S
283 (memset_z196): Rename to __memset_z196.
284 Jump to __memset_mvcle instead of memset_mvcle.
285 (memset_z10): Rename to __memset_z10.
286 Jump to __memset_mvcle instead of memset_mvcle.
287 (memset_mvcle) Rename to __memset_mvcle.
288 (memset): Set alias to __memset_g5.
289 * sysdeps/s390/s390-64/memcmp.S
290 (memcmp_z900): Rename to __memcmp_z900.
291 * sysdeps/s390/s390-64/memcpy.S
292 (memcpy_z900): Rename to __memcpy_z900.
293 Jump to __memcpy_mvcle instead of memcpy_mvcle.
294 (memcpy_mvcle) Rename to __memcpy_mvcle.
295 * sysdeps/s390/s390-64/memset.S
296 (memset_z900): Rename to __memset_z900.
297 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
298 (IFUNC_RESOLVE): Prefix ifunc-resolve function
299 and use prefixed functions.
300 * sysdeps/s390/s390-64/multiarch/memcmp.S
301 (memcmp_z196): Rename to __memcmp_z196.
302 (memcmp_z10): Rename to __memcmp_z10.
303 (memcmp): Set alias to __memcmp_z900.
304 (bcmp): Set alias to __memcmp_z900.
305 * sysdeps/s390/s390-64/multiarch/memcpy.S
306 (memcpy_z196): Rename to __memcpy_z196.
307 Jump to __memcpy_mvcle instead of memcpy_mvcle.
308 (memcpy_z10): Rename to __memcpy_z10.
309 Jump to __memcpy_mvcle instead of memcpy_mvcle.
310 (memcpy): Set alias to __memcpy_z900.
311 * sysdeps/s390/s390-64/multiarch/memset.S
312 (memset_z196): Rename to __memset_z196.
313 Jump to __memset_mvcle instead of memset_mvcle.
314 (memset_z10): Rename to __memset_z10.
315 Jump to __memset_mvcle instead of memset_mvcle.
316 (memset_mvcle) Rename to __memset_mvcle.
317 (memset): Set alias to __memset_z900.
318
53fbd169
JM
3192015-01-14 Joseph Myers <joseph@codesourcery.com>
320
321 [BZ #17748]
322 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
323 __fesetenv instead of fesetenv.
324
d639a363
SP
3252015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
328 macro.
329
d3b00f46
AZ
3302015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331
ce6615c9
AZ
332 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
333 regression on LE.
334
d3b00f46
AZ
335 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
336 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
337 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
338 strncmp-power8 object.
339 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
340 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
341 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
342 * NEWS: Update.
343
72607db0
RS
3442015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
345 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346
347 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
348 trailing byte check.
349
54dc5461
DM
3502015-01-13 David S. Miller <davem@davemloft.net>
351
352 * include/signal.h (__sigreturn): Guard with __USE_MISC.
353
1c6e6f23
RM
3542015-01-13 Roland McGrath <roland@hack.frob.com>
355
356 * login/logout.c (logout): Use memset rather than bzero.
357 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
358 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
359 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
360 (_gethtbyaddr): Likewise.
361 * locale/programs/simple-hash.c (bcopy): Macro removed.
362
96d6fd6c
AZ
3632015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
364
8bedcb5f
AZ
365 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
366 Add strcmp-power8 object.
367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
368 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
369 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
370 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
371 __strcmp_power8 implementation.
372 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
373 * NEWS: Update.
374
f06a4faf
AZ
375 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
376 Add strncpy-power8 and stpncpy-power8 objects.
377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
378 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
379 implementations.
380 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
381 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
382 __stpncpy_power8 implementation.
383 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
384 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
385 __strncpy_power8 implementation.
386 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
387 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
388 * NEWS: Update.
389
9f2f36e5
AZ
390 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
391 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
392 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
393
96d6fd6c 394 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
395 strncat-power8 object.
396 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
397 __strcat_power8 implementation.
398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
399 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
400 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
401 optimized strcat for power8.
402
403 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
404 strcpy-power8 and stpcpy-power8 objects.
405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
406 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
407 implementations.
408 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
409 multiarch stpcpy implementation for POWER8.
410 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
411 multiarch strcpy implementation for POWER8.
412 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
413 __strcpy_power8 function.
414 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
415 stpcpy for POWER8.
416 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
417 strcpy for POWER8.
418 * NEWS: Update.
419
0f9e5854
LH
4202015-01-13 Leonhard Holz <leonhard.holz@web.de>
421
422 [BZ #16009]
423 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
424 weights and rules. Use do_xfrm_cached if data fits in cache,
425 do_xfrm otherwise. Moved former main loop to...
426 * (do_xfrm_cached): New function.
427 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
428 find_idx, find_position and stack_push.
429 * (find_idx): New function.
430 * (find_position): Likewise.
431 * localedata/sort-test.sh: Added test run for do_xfrm.
432 * localedata/xfrm-test.c (main): Added command line option
433 -nocache to run the test with strings that are too large for
434 the STRXFRM cache.
435
c60ec0e0
TR
4362015-01-13 Torvald Riegel <triegel@redhat.com>
437
438 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
439 variable to lll_futex_wake call, not the value itself.
440
34e93d6c
JM
4412015-01-12 Joseph Myers <joseph@codesourcery.com>
442
5a9e4c09
JM
443 [BZ #17803]
444 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
445 twom64. Adjust value to 0x1p-64L.
446 (__scalblnl): Only return standard underflowing result for K <=
447 -64 not K <= -63; adjust exponent for underflowing result by 64
448 not 63.
449 * math/libm-test.inc (scalbn_test_data): Add more tests.
450 (scalbln_test_data): Likewise.
451
34e93d6c
JM
452 [BZ #17834]
453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
454 0x1p63L.
455 (__scalblnl): Get new exponent of adjusted subnormal value from ES
456 not HX.
457 * math/libm-test.inc (scalbn_test_data): Add more tests.
458 (scalbln_test_data): Likewise.
459
ca677d3c
AZ
4602015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
461 Stefani Seibold <stefani@seibold.net>
462
463 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
464 (sysdep_routines): Add dl-vdso here, ...
465 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
466 (sysdep_routines): ... not here.
467 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
468 fallback when vDSO is not presented.
469 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
470 Define with libc_hidden_proto/libc_hidden_data_def definitions.
471 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
472 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
473 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
474 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
475 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
477 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
478 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
479 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
480 fallback configurable symbol when vDSO is not available.
481 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
482 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
483 be able to redefine fallback symbol when vDSO is not available.
484 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
485 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
486
49a9f6ab 4872015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 488
56cf2763
AZ
489 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
490 (TLS_INIT_TP): Add tm_capable initialization.
491 (TLS_DEFINE_INIT_TP): Likewise.
492 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
493 TCB.
494 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
495 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
496 calculation.
497 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
498 transactoion is lock elision is built and TCB tm_capable is set.
499 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
501 (INTERNAL_SYSCALL_NCS): Likewise.
502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
503 (INTERNAL_SYSCALL_NCS): Likewise.
504 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
505
4b45943a
AZ
506 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
507 for powerpc.
508 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
509 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
510 and remove it for 32 bits case.
511 [pthread_rwlock_t] (__rwelision): New field for lock elision.
512 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
513 initialization.
514 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
515 Disable lock elision with rdlocks if elision is not available.
516
8d2c0a59
AZ
517 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
518 (sysdep_routines): Add lock elision objects.
519 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
520 [pthread_mutex_t] (__spins): Rework to add lock elision field.
521 [pthread_mutex_t] (__elision): Add field.
522 [__PTHREAD_SPINS]: Adjust to init lock elision field.
523 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
524 elision definitions for powerpc.
525 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
526 implementation of lock elision for powerpc.
527 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
528 implementation of timed lock elision for powerpc.
529 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
530 implementation of trylock with lock elision for powerpc.
531 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
532 implementaion of unlock for lock elision for powerpc.
533 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
534 automatic enable lock elision for mutexes.
535 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
536 transaction execution definitions for powerpc.
537 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
538 definitions.
539 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
540 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
541 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
542 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
543 * NEWS: Update.
544
bc0ed9f7
RM
5452015-01-09 Roland McGrath <roland@hack.frob.com>
546
547 * sysdeps/posix/shm-directory.c: Use <> rather than ""
548 for #include of <shm-directory.h>.
549
585d9c18
CLT
5502015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
551
552 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
553 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
554
aee6626c
MF
5552015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
556
557 [BZ #17791]
558 * NEWS: Mention bug fix.
559 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
560 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
561 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
562
9e560f48
TR
5632015-01-09 Torvald Riegel <triegel@redhat.com>
564
565 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
566
e1cfbd0c
TR
5672015-01-09 Torvald Riegel <triegel@redhat.com>
568
569 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
570
cf71e44f
DH
5712015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
572
573 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
574 pointer and cast to uintptr_t.
575
b360ee62
DH
5762015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
577
578 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
579 removed.
580 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
581
caff764e
DH
5822015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
583
584 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
585 of 0.
586
59ff172f
RM
5872015-01-08 Roland McGrath <roland@hack.frob.com>
588
c97d27f1
RM
589 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
590 <nptl/pthreadP.h> instead.
591 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
592
08734ccd
RM
593 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
594 already defined.
595 [__SIGRTMIN] (init): Function removed.
596 [__SIGRTMIN] (initialized): Variable removed.
597 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
598 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
599 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
600 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
601 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
602 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
603 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
604 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
605 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
606 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
607 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
608 * sysdeps/nptl/allocrtsig.c: New file.
609 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
610 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
611 * sysdeps/generic/testrtsig.h: File removed.
612
7b052e33
RM
613 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
614 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
615
cc40d25e
RM
616 * nptl/nptl-init.c (pthread_functions): Conditionalize
617 .ptr__nptl_setxid initialization on [SIGSETXID].
618
9287adf0
RM
619 * sysdeps/nptl/sys/procfs.h: New file.
620 * nptl_db/Makefile (headers): Add it.
621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
622
59ff172f
RM
623 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
624 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
625 * nptl/pthread_attr_setaffinity.c: Include it.
626 * nptl/pthread_setattr_default_np.c: Likewise.
627 * nptl/check-cpuset.h: New file.
628
b9205857
RH
6292015-01-08 Richard Henderson <rth@redhat.com>
630
631 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
632 (CFLAGS-tst-execstack-prog.c): Likewise.
633 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
634
1a0a8d15
CLT
6352015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
636 Sandra Loosemore <sandra@codesourcery.com>
637 Andrew Jenner <andrew@codesourcery.com>
638 Joseph Myers <joseph@codesourcery.com>
639 Nathan Sidwell <nathan@codesourcery.com>
640
641 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
642 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
643 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
644 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
645 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
646 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
647 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
648 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
649 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
650 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
651 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
652 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
653 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
654 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
655 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
656 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
657 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
658
dd6e8af6
AZ
6592015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
660
661 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
662 timespec struct member in syscall macro.
663 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
664 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
665 first timeval struct member in syscall macro.
666 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
667
8116321f
JM
6682015-01-07 Joseph Myers <joseph@codesourcery.com>
669
670 [BZ #17748]
671 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
672 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
673 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
674 __feupdateenv and define as weak alias of __feupdateenv. Use
675 libm_hidden_weak.
676 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
677 libm_hidden_def.
678 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
679 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
680 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
681 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
682 libm_hidden_def.
683 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
684 __feupdateenv and define as weak alias of __feupdateenv. Use
685 libm_hidden_weak.
686 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
687 libm_hidden_def.
688 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
689 __feupdateenv and define as weak alias of __feupdateenv. Use
690 libm_hidden_weak.
691 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
692 libm_hidden_def.
693 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
694 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
695 (__feupdateenv): Likewise.
696 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
697 __feupdateenv and define as weak alias of __feupdateenv. Use
698 libm_hidden_weak.
699 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
700 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
701 libm_hidden_def.
702 * sysdeps/tile/math_private.h (__feupdateenv): New inline
703 function.
704 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
705 libm_hidden_def.
706 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
707 __feupdateenv instead of feupdateenv.
708 (default_libc_feupdateenv_test): Likewise.
709 (libc_feresetround_ctx): Likewise.
710
882dfe18
AZ
7112015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
712
713 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
714 prototype.
715
39a12f8d
CM
7162015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
717
718 * posix/regcomp.c (parse_bracket_exp): Initialize type to
719 COLL_SYM in a couple of places to avoid uninitialized variable
720 wanings on tilegx gcc 4.8.2.
721
dc400d7b
RE
7222015-01-07 Richard Earnshaw <rearnsha@arm.com>
723
724 * sysdeps/aarch64/strcpy.S: New file.
725 * sysdeps/aarch64/stpcpy.S: New file.
726 * NEWS: Updated.
727
ec582ca0
RE
7282015-01-07 Richard Earnshaw <rearnsha@arm.com>
729
730 * sysdeps/aarch64/strrchr.S: New file.
731 * NEWS: Updated.
732
d5b1c5ed
EB
7332015-01-07 Eric Biggers <ebiggers3@gmail.com>
734
735 [BZ #17658]
736 * stdlib/setenv.c: Fix memory leak when setting large,
737 duplicate string.
738
fb87ee96
VN
7392015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
740
60f046a8 741 [BZ #17273]
fb87ee96
VN
742 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
743 and tabs from buffer before parsing fstab entry.
744 * misc/tst-mntent.c (main): Add test for mount entry with
745 trailing spaces and tabs.
746
cd42798a
JM
7472015-01-06 Joseph Myers <joseph@codesourcery.com>
748
01238691
JM
749 [BZ #17748]
750 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
751 * math/fesetround.c (fesetround): Rename to __fesetround and
752 define as weak alias of __fesetround. Use libm_hidden_weak.
753 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
754 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
755 * sysdeps/arm/fesetround.c (fesetround): Likewise.
756 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
757 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
758 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
759 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
760 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
761 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
762 __fesetround_inline.
763 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
764 __fesetround_inline instead of __fesetround.
765 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
766 __fesetround and define as weak alias of __fesetround. Use
767 libm_hidden_weak. Call __fesetround_inline instead of
768 __fesetround.
769 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
770 __fesetround and define as weak alias of __fesetround. Use
771 libm_hidden_weak.
772 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
773 Likewise.
774 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
775 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
776 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
777 * sysdeps/tile/math_private.h (__fesetround): New inline function.
778 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
779 __fesetround and define as weak alias of __fesetround. Use
780 libm_hidden_weak.
781 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
782 __fesetround instead of fesetround.
783 (default_libc_feholdexcept_setround): Likewise.
784 (libc_feholdsetround_ctx): Likewise.
785 (libc_feholdsetround_noex_ctx): Likewise.
786
cd42798a
JM
787 [BZ #17748]
788 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
789 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
790 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
791 and define as weak alias of __fesetenv. Use libm_hidden_weak.
792 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
793 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
794 define as weak alias of __fesetenv. Use libm_hidden_weak.
795 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
796 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
797 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
798 define as weak alias of __fesetenv. Use libm_hidden_weak.
799 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
800 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
801 define as weak alias of __fesetenv. Use libm_hidden_weak.
802 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
803 libm_hidden_def.
804 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
805 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
806 Likewise.
807 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
808 define as weak alias of __fesetenv. Use libm_hidden_weak.
809 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
810 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
811 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
812 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
813 and define as weak alias of __fesetenv. Use libm_hidden_weak.
814 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
815 __fesetenv instead of fesetenv.
816 (libc_feresetround_noex_ctx): Likewise.
817 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
818 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
819 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
820 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
821 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
822 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
823 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
824 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
825 (__feupdateenv): Likewise.
826 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
827 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
828 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
829 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
830
38949026
AJ
8312015-01-06 Aurelien Jarno <aurelien@aurel32.net>
832
1cf98e27 833 [BZ #17806]
38949026
AJ
834 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
835 addresses have been freed.
836
5fe55e9c
AJ
8372015-01-06 Aurelien Jarno <aurelien@aurel32.net>
838
839 * resolv/res_init.c (__res_vinit): Improve comments about nserv
840 and nservall.
841
dc8ab018
OB
8422015-01-06 Ondřej Bílka <neleai@seznam.cz>
843
844 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
845 Clean up check_pf allocation pattern. addresses
846
14bb4e57
AZ
8472015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
848
849 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
850 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
851 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
852 * nptl/pthread_exit.c (__pthread_exit): Likewise.
853 * nptl/pthread_join.c (pthread_join): Likewise.
854 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
855 * sysdeps/posix/waitid.c (__waitid): Likewise.
856 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
857 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
858 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
859 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
860 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
861 Likewise.
862 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
863 (__libc_pread64): Likewise.
864 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
865 (__libc_pwrite): Likewise.
866 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
867 (__libc_pwrite64): Likewsie.
868 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
869 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
870 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
871 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
872 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
873 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
874 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
876 Likewise.
877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
878 (__libc_pread64): Likewise.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
880 Likewise.
881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
882 (__libc_pwrite64): Likewise.
883 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
884 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
885 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
886 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
887 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
888 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
889 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
890 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
891 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
892 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
893 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
894 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
895 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
896 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
897 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
898 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
899 Likewise.
900
10a5e112
AS
9012015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
902
903 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
904 (CFLAGS-test-double.c): Likewise.
905 (CFLAGS-test-ldouble.c): Likewise.
906 (CPPFLAGS-test-ifloat.c): Likewise.
907 (CPPFLAGS-test-idouble.c): Likewise.
908 (CPPFLAGS-test-ildoubl.c): Likewise.
909 (CFLAGS-test-test-fenv.c): Remove variable.
910 (CFLAGS-test-misc.c): Likewise.
911
57ada0e7
L
9122015-01-06 H.J. Lu <hongjiu.lu@intel.com>
913
914 [BZ #17797]
915 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
916 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
917 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
918 CLOCKS_PER_SEC == 1000000.
919 * time/clocktest.c (main): Replace %ld with %jd and cast to
920 intmax_t.
921
46abb64d
RM
9222015-01-05 Roland McGrath <roland@hack.frob.com>
923
924 * sysdeps/generic/unwind-resume.h: New file.
925 * sysdeps/gnu/unwind-resume.c: Include it.
926 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
927 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
928 argument list.
929 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
930 global rather than static.
931 (_Unwind_Resume): Update user.
932 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
933 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
934 rather than static. Add __attribute__ ((cold)).
935 (_Unwind_Resume, __gcc_personality_v0): Update callers.
936 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
937 * sysdeps/arm/arm-unwind-resume.S: New file.
938 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
939 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
940 * sysdeps/arm/Makefile [$(subdir) = csu]
941 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
942 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
943 Add rt-arm-unwind-resume.
944 [$(subdir) = nptl]
945 (libpthread-sysdep_routines, libpthread-shared-only-routines):
946 Add pt-arm-unwind-resume.
947 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
948 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
949
ef9faf13
JM
9502015-01-05 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #17748]
953 * include/fenv.h (__feholdexcept): Declare. Use
954 libm_hidden_proto.
955 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
956 define as weak alias of __feholdexcept. Use libm_hidden_weak.
957 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
958 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
959 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
960 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
961 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
962 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
963 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
964 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
965 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
966 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
967 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
968 (feholdexcept): Likewise.
969 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
970 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
971 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
972 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
973 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
974 __feholdexcept instead of feholdexcept.
975 (default_libc_feholdexcept_setround): Likewise.
976
295a453e
SE
9772015-01-05 Steve Ellcey <sellcey@imgtec.com>
978
979 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
980 to avoid using stl/str to align destination.
981
882c4b9f
SE
9822015-01-05 Steve Ellcey <sellcey@imgtec.com>
983
984 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
985
ac4c11f5
JM
9862015-01-05 Joseph Myers <joseph@codesourcery.com>
987
988 [BZ #17796]
989 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
990 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
991 Define as weak alias not strong alias.
992
03403e30
SE
9932015-01-05 Steve Ellcey <sellcey@imgtec.com>
994
995 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
996 bltzal with addiupc.
997 (RTLD_START): Ditto.
998
1dca195e
CM
9992015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1000
7ea793f3
CM
1001 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1002 for __vdso_* functions in declarations.
1003 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1004 definitions.
1005 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1006 INTERNAL_VSYSCALL): Use struct return types to check for error.
1007
1dca195e
CM
1008 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1009 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1010 function with cast from llround().
1011 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1012 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1013 Define.
1014
a287953a
JM
10152015-01-05 Joseph Myers <joseph@codesourcery.com>
1016
ab70da77
JM
1017 [BZ #17793]
1018 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1019 Define as weak alias not strong alias.
1020
b8986484
JM
1021 [BZ #17635]
1022 * ctype/ctype-c99.c: New file. isblank implementation moved from
1023 ...
1024 * ctype/ctype-extn.c: ... here.
1025 (__isblank_l): Move to ...
1026 * ctype/ctype-c99_l.c: ... here. New file.
1027 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1028 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1029 Remove variable.
1030 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1031 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1032 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1033 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1034 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1035
a287953a
JM
1036 [BZ #17777]
1037 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1038 (posix_fadvise64): Define as weak alias not strong alias.
1039 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1040 (posix_fallocate64): Likewise.
1041 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1042 Remove variable.
1043 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1044 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1045 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1046 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1047 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1048
b1efe3bb
MF
10492015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1050
1051 [BZ #16191]
1052 * NEWS: Mention bug fix.
1053 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1054 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1055 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1056 (HOST_STACK_END_ADDR): Likewise.
1057
9706dc5f
JM
10582015-01-02 Joseph Myers <joseph@codesourcery.com>
1059
b93c2205
JM
1060 [BZ #17748]
1061 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1062 * math/fegetround.c (fegetround): Rename to __fegetround and
1063 define as weak alias of __fegetround. Use libm_hidden_weak.
1064 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1065 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1066 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1067 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1068 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1069 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1070 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1071 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1072 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1073 Undefine after rather than before function definition; use
1074 parentheses around function name in definition.
1075 (__fegetround): Also undefine macro after function definition.
1076 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1077 __fegetround and define as weak alias of __fegetround. Use
1078 libm_hidden_weak. Do not undefine as macro.
1079 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1080 Likewise.
1081 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1082 __fegetround and define as weak alias of __fegetround. Use
1083 libm_hidden_weak.
1084 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1085 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1086 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1087 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1088 __fegetround and define as weak alias of __fegetround. Use
1089 libm_hidden_weak.
1090 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1091 __fegetround instead of fegetround.
1092
253a59cc
JM
1093 [BZ #17782]
1094 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1095 Condition macro definition on [__USE_MISC].
1096
27dae011
JM
1097 [BZ #17781]
1098 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1099 (struct sigaction): Change type of sa_flags field to int.
1100
172019c0
JM
1101 [BZ #17780]
1102 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1103 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1104 __glibc_reserved0.
1105
522ad1d6
JM
1106 * nptl/version.c (banner): Use single year in copyright notice.
1107
9706dc5f
JM
1108 * NEWS: Update copyright dates.
1109 * catgets/gencat.c (print_version): Likewise.
1110 * csu/version.c (banner): Likewise.
1111 * debug/catchsegv.sh: Likewise.
1112 * debug/pcprofiledump.c (print_version): Likewise.
1113 * debug/xtrace.sh (do_version): Likewise.
1114 * elf/ldconfig.c (print_version): Likewise.
1115 * elf/ldd.bash.in: Likewise.
1116 * elf/pldd.c (print_version): Likewise.
1117 * elf/sotruss.sh: Likewise.
1118 * elf/sprof.c (print_version): Likewise.
1119 * iconv/iconv_prog.c (print_version): Likewise.
1120 * iconv/iconvconfig.c (print_version): Likewise.
1121 * locale/programs/locale.c (print_version): Likewise.
1122 * locale/programs/localedef.c (print_version): Likewise.
1123 * login/programs/pt_chown.c (print_version): Likewise.
1124 * malloc/memusage.sh (do_version): Likewise.
1125 * malloc/memusagestat.c (print_version): Likewise.
1126 * malloc/mtrace.pl: Likewise.
1127 * manual/libc.texinfo: Likewise.
1128 * nptl/version.c (banner): Likewise.
1129 * nscd/nscd.c (print_version): Likewise.
1130 * nss/getent.c (print_version): Likewise.
1131 * nss/makedb.c (print_version): Likewise.
1132 * posix/getconf.c (main): Likewise.
1133 * scripts/test-installation.pl: Likewise.
1134 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1135
b8607aac
WN
11362015-01-02 Will Newton <will.newton@linaro.org>
1137
1138 * sysdeps/arm/armv7/configure: Removed.
1139 * sysdeps/arm/armv7/configure.ac: Likewise.
1140
b168057a
JM
11412015-01-02 Joseph Myers <joseph@codesourcery.com>
1142
1143 * All files with FSF copyright notices: Update copyright dates
1144 using scripts/update-copyrights.
1145 * intl/plural.c: Regenerated.
1146 * locale/programs/charmap-kw.h: Likewise.
1147 * locale/programs/locfile-kw.h: Likewise.
1148
b217c15f
SP
11492015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1150
1151 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1152
73a268c7
JM
11532014-12-31 Joseph Myers <joseph@codesourcery.com>
1154
1155 [BZ #17748]
1156 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1157 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1158 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1159 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1160 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1161 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1162 define as weak alias of __fegetenv. Use libm_hidden_weak.
1163 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1164 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1165 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1166 define as weak alias of __fegetenv. Use libm_hidden_weak.
1167 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1168 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1169 define as weak alias of __fegetenv. Use libm_hidden_weak.
1170 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1171 libm_hidden_def.
1172 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1174 Likewise.
1175 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1176 define as weak alias of __fegetenv. Use libm_hidden_weak.
1177 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1178 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1179 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1180 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1181 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1182 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1183 __fegetenv instead of fegetenv.
1184 (libc_feholdsetround_noex_ctx): Likewise.
1185
0bd95672
MF
11862014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1187
1188 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1189 (Elf_MIPS_ABIFlags_v0): New structure.
1190 (EF_MIPS_FP64): Define.
1191 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1192 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1193 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1194 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1195 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1196 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1197 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1198 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1199 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1200 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1201 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1202 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1203 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1204 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1205 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1206 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1207 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1208 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1209 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1210 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1211 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1212 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1213 field.
1214 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1215 EF_MIPS_FP64.
1216 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1217 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1218 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1219 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1220 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1221 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1222 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1223 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1224 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1225 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1226 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1227 record the current FP ABI extension.
1228 (mips-mode-switch): Define to show if kernel headers support mode
1229 switching.
1230 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1231 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1232 supported SYSV ABI version to 3.
1233 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1234 feature.
1235
f59ad976
RS
12362014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1237 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1238
1239 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1240 path.
1241 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1242
4a3d3999
JM
12432014-12-31 Joseph Myers <joseph@codesourcery.com>
1244
1245 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1246 __fegetround and redefine to call __fegetround. Remove condition
1247 on [!__NO_MATH_INLINES].
1248 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1249 function.
1250 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1251 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1252 Remove macro.
1253 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1254 instead of <fenv_libc.h>.
1255 (__llrintl): Call fegetround instead of __fegetround.
1256 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1257 instead of <fenv_libc.h>.
1258 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1259 (__lrintl): Call fegetround instead of __fegetround.
1260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1261 instead of <fenv_libc.h>.
1262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1263 (__rintl): Call fegetround instead of __fegetround.
1264
195f3afc
SP
12652014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1266
1267 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1268 arrays.
1269
7062bd42
L
12702014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1271
1272 [BZ #17775]
1273 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1274 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1275 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1276
07256e18
AS
12772014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1278
1279 * sysdeps/i386/tls-macros.h: Include <features.h>.
1280 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1281 (TLS_IE): Likewise.
1282 (TLS_LD): Likewise.
1283 (TLS_GD): Likewise.
1284 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1285 define for GCC >= 5.0.
1286
1ff950ad
CM
12872014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1288
1289 * math/test-fenv.c (test_single_exception, set_single_exc,
1290 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1291 feexcp_mask_test, feenable_test, fe_single_test): Add
1292 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1293 case where they are not used.
1294 * math/libm-test.inc: Likewise.
1295 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1296 unused in the absence of FP rounding/exception support.
1297 * stdio-common/tst-printf-round.c: Likewise.
1298 * stdlib/tst-strtod-round.c: Likewise.
1299 * stdlib/tst-strtod-underflow.c: Likewise.
1300
0747f818
JM
13012014-12-30 Joseph Myers <joseph@codesourcery.com>
1302
1303 [BZ #17723]
1304 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1305 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1306 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1307 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1308 libm_hidden_weak.
1309 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1310 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1311 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1312 libm_hidden_def.
1313 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1314 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1315 libm_hidden_weak.
1316 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1317 Likewise.
1318 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1319 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1320 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1321 libm_hidden_weak.
1322 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1323 libm_hidden_def.
1324 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1325 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1326 (__feraiseexcept): Likewise.
1327 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1328 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1329 libm_hidden_weak.
1330 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1331 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1332 libm_hidden_def.
1333 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1334 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1335 Use libm_hidden_def.
1336 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1337 libm_hidden_def.
1338 (feraiseexcept): Define as weak not strong alias. Use
1339 libm_hidden_weak.
1340 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1341 New inline function. Factored out of ...
1342 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1343 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1344 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1345 feraiseexcept.
1346 * math/w_acos.c (__acos): Likewise.
1347 * math/w_asin.c (__asin): Likewise.
1348 * math/w_ilogb.c (__ilogb): Likewise.
1349 * math/w_j0.c (y0): Likewise.
1350 * math/w_j1.c (y1): Likewise.
1351 * math/w_jn.c (yn): Likewise.
1352 * math/w_log.c (__log): Likewise.
1353 * math/w_log10.c (__log10): Likewise.
1354 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1355 * sysdeps/aarch64/fpu/math_private.h
1356 (libc_feupdateenv_test_aarch64): Likewise.
1357 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1358 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1359 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1360 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1361 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1362 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1363 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1365 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1366 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1367
8d2b2763
L
13682014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1369
1370 [BZ #17732]
1371 * io/test-utime.c (main): Replace %ld with %jd and cast to
1372 intmax_t.
41fad830 1373 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1374 * nptl/tst-mutex5.c: Include <stdint.h>.
1375 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1376 * posix/tst-regex.c (run_test): Likewise.
1377 (run_test_backwards): Likewise.
5d619de4
L
1378 * rt/tst-clock.c: Include <stdint.h>.
1379 (clock_test): Replace %ld with %jd and cast to intmax_t.
1380 * rt/tst-cpuclock1.c: Include <stdint.h>.
1381 (do_test): Replace %lu with %ju and cast to uintmax_t.
1382 * rt/tst-cpuclock2.c: Include <stdint.h>.
1383 (do_test): Replace %lu with %ju and cast to uintmax_t.
1384 * rt/tst-mqueue1.c: Include <stdint.h>.
1385 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1386 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1387 intmax_t.
1388 * rt/tst-mqueue4.c (do_test): Likewise.
1389 * rt/tst-timer4.c: Include <stdint.h>.
1390 (check_ts): Replace %ld with %jd and cast to intmax_t.
1391 (do_test): Likewise.
ad86fbc3
L
1392 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1393 and cast to intmax_t.
37f46900 1394 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1395 * time/clocktest.c (main): Likewise.
1396 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1397 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1398
8b4416d8
AS
13992014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1400 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1403 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1404 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1405 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1406 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1407 version if bit_Fast_Unaligned_Load is set.
1408 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1409 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1410 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1411 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1412 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1413 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1415 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1416 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1417 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1418 to 4.
1419 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1420 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1421 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1422 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1423
e47b8d3b
CM
14242014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1425
6d6d7fde
CM
1426 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1427 instead of #if to avoid a Wundef warning.
1428 * stdlib/tst-limits.c (do_test): Likewise.
1429
cd2c37c9
CM
1430 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1431 parallel other exception macros.
1432 (fegetenv): Convert from macro to extern inline so that it applies
1433 retroactively to inline functions already seen by the compiler.
1434 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1435
e47b8d3b
CM
1436 * posix/Makefile (before-compile): Use $(objpfx) for
1437 posix-conf-vars-def.h.
1438
4a6aca7b
SP
14392014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1440
7910c2ae
SP
1441 * posix/getconf.c (main): Use size_t for type of I.
1442 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1443 NSPEC.
1444
50cbbaa9
SP
1445 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1446 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1447 * posix/posix-envs.def: Likewise.
1448 * sysdeps/posix/sysconf.c: Likewise.
1449 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1450 (specs): Remove array.
1451 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1452 array.
1453
3b566046
SP
1454 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1455 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1456 (__sysconf): Use CONF_IS_* macros.
1457
4a6aca7b
SP
1458 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1459 ($(objpfx)posix-conf-vars-def.h): New target.
1460 * posix/posix-conf-vars.list: New file.
1461 * posix/posix-conf-vars.h: New file.
1462 * posix/confstr.c: Include posix-conf-vars.h.
1463 (confstr): Use CONF_IS_* macros.
1464 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1465 CONF_IS_* macros.
1466 * scripts/gen-posix-conf-vars.awk: New file.
1467
7c1395a7
CM
14682014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
1469
0025b4cc
CM
1470 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1471 fegetround): Add no-op macros to avoid linknamespace issues.
1472
d8aaf74b
CM
1473 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1474 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1475
5d24aa60
CM
1476 * sysdeps/unix/sysv/linux/tile/sysdep.h
1477 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1478 assembly-specific section to avoid a redefinition warning.
1479
7c1395a7
CM
1480 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1481 long before casting to pointer to avoid a cast warning.
1482
3c87c616
CM
14832014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
1484
1485 * sysdeps/tile/tilegx/Implies: New file.
1486
f559d8cf
RE
14872014-12-23 Richard Earnshaw <rearnsha@arm.com>
1488
1489 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1490
7d81e8d6
FW
14912014-12-23 Florian Weimer <fweimer@redhat.com>
1492
1493 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1494
90aa3d09
JM
14952014-12-22 Joseph Myers <joseph@codesourcery.com>
1496
1497 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1498 not define.
1499 * sysdeps/unix/sysv/linux/utimes.c: Do not include
1500 <kernel-features.h>.
1501 (__utimes) [__NR_utimes]: Make code unconditional.
1502 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1503 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1504 (__ASSUME_UTIMES): Do not undefine.
1505 * sysdeps/unix/sysv/linux/tile/kernel-features.h
1506 (__ASSUME_UTIMES): Likewise.
1507 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1508 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1509 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1510 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1511
4c0c0e2a
SE
15122014-12-22 Steve Ellcey <sellcey@imgtec.com>
1513
1514 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1515
0dacd7a3
CM
15162014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
1517
b638f96a
CM
1518 [BZ #17747]
1519 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1520 alias to weak alias for j0l, y0l.
1521 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1522 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1523
0dacd7a3
CM
1524 [BZ #17746]
1525 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1526 conversion.
1527
528479c4
SE
15282014-12-22 Steve Ellcey <sellcey@imgtec.com>
1529
1530 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1531 to zero if not already defined.
1532
f56f9124
JM
15332014-12-22 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #17724]
1536 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1537 (__kernel_standard_f): Remove. Moved to k_standardf.c.
1538 (__kernel_standard_l): Remove. Moved to k_standardl.c with
1539 (char *) casts added.
1540 * sysdeps/ieee754/k_standardf.c: New file.
1541 * sysdeps/ieee754/k_standardl.c: Likewise.
1542 * math/Makefile (libm-support): Remove k_standard.
1543 (libm-calls): Add k_standard.
1544
8622d556
WD
15452014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1546
1547 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1548 Optimize to avoid an unnecessary FPCR read.
1549
f3806bdb
WD
15502014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1551
1552 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1553 Optimize to reduce FPCR/FPSR accesses.
1554
9b47df58
WD
15552014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1556
1557 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1558 Call libc_fetestexcept_aarch64.
1559
97be3cac
WD
15602014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
1561
1562 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1563 Call libc_fesetround_aarch64.
1564
935ab817
JM
15652014-12-22 Joseph Myers <joseph@codesourcery.com>
1566
1567 [BZ #17733]
1568 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1569 (__bind): Do not define as weak alias.
1570 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1571 define.
1572 (__getsockname): Do not define as weak alias.
1573
cc8623f1
WN
15742014-12-22 Will Newton <will.newton@linaro.org>
1575
1576 * manual/install.texi: Document that we require bison 2.7
1577 or above.
1578 * INSTALL: Regenerate.
1579 * configure.ac: Use AC_CHECK_PROG_VER instead of
1580 AC_PATH_PROG when checking for bison and check for
1581 version 2.7 or above.
1582 * configure: Regenerate.
1583
a19ca65a
CM
15842014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1585
92901170 1586 [BZ #17745]
e969965a
CM
1587 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1588 * sysdeps/tile/ffsll.c (ffsll): To here.
1589
a19ca65a
CM
1590 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1591
050f7298
L
15922014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1593
1594 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1595 if not defined.
1596 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1597 definition.
1598 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1599 hidden ___tls_get_addr.
1600 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1601 hidden __tls_get_addr.
1602 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1603 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1604 Likewise.
1605
6df5547e
AS
16062014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1607
1608 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1609 _dl_init call.
1610
7432d613
L
16112014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1612
1613 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1614 from "call _dl_init@PLT".
1615 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 1616
98fe149e
AK
16172014-12-21 Anders Kaseorg <andersk@mit.edu>
1618
1619 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1620 guarantees.
1621
d12455f5
CM
16222014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1623
1624 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1625
95dee05f
CM
16262014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1627
92901170 1628 [BZ #17744]
95dee05f
CM
1629 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1630 strnlen.
1631
2ef4b74a
SE
16322014-12-19 Steve Ellcey <sellcey@imgtec.com>
1633
1634 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1635 of multu on MIPSr6.
1636 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1637 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1638 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1639 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1640 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1641
16422014-12-19 Steve Ellcey <sellcey@imgtec.com>
1643
1644 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1645 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1646 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1647 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 1648 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
1649 mips32r6/mips64r6.
1650 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1651
3eb38795
OB
16522014-12-19 Ondřej Bílka <neleai@seznam.cz>
1653
1654 * string/strncat.c (STRNCAT): Simplify implementation.
1655
6d4188dd
DM
16562014-12-19 David S. Miller <davem@davemloft.net>
1657
0d4ba8be
DM
1658 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1659 access the quad as both a long double and as a series of 4 words.
1660
6d4188dd
DM
1661 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1662 link_map->l_info array access.
1663
4ef91cdc
CM
16642014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1665
804c54f7
CM
1666 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1667
4ef91cdc
CM
1668 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1669 * math/atest-exp2.c (TIMEOUT): Likewise.
1670 * math/atest-sincos.c (TIMEOUT): Likewise.
1671
afd176d6
L
16722014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1675 -Wno-error with -fno-builtin-lround.
1676
a4a43a90
TR
16772014-12-19 Torvald Riegel <triegel@redhat.com>
1678
1679 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1680 Contains futex constants and functions moved over from ...
1681 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1682 <lowlevellock-futex.h>.
1683 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1684 (lll_timedwait_tid): Add comments and parentheses around macro
1685 arguments.
1686
76f71081
TR
16872014-12-19 Torvald Riegel <triegel@redhat.com>
1688
1689 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1690 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1691 (__lll_private_flag): Remove.
1692 (lll_futex_wait): Likewise.
1693 (lll_futex_timed_wait): Likewise.
1694 (lll_futex_wake): Likewise.
1695 (lll_futex_requeue): Likewise.
1696 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1697 (__lll_timedwait_tid): Spell out argument names.
1698 (lll_timedwait_tid): Add comments and parentheses around macro
1699 arguments.
1700 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1701 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1702
6b814909
TR
17032014-12-19 Torvald Riegel <triegel@redhat.com>
1704
1705 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1706 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1707 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1708 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1709 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1710 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1711 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1712 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1713 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1714 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1715 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1716 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1717 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1718 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1719 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1720 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1721 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1722 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1723 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1724
9cd4d4ab
L
17252014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * sysdeps/x86_64/x32/Makefile: New file.
1728
c9c1a2d0
L
17292014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1730
1731 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1732 1L with (mp_limb_t) 1.
1733
af102d95
RM
17342014-12-17 Roland McGrath <roland@hack.frob.com>
1735
dd690454
RM
1736 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1737 * nptl/libc_pthread_init.c: ... here.
1738 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1739 * nptl/register-atfork.c: ... here.
1740
74eb826c
RM
1741 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1742 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1743 Use assert_perror to check its return value.
1744 (__gai_create_helper_thread): Likewise.
1745
c9ce306b
RM
1746 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1747
af102d95
RM
1748 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1749
8ac5a76a
JM
17502014-12-17 Joseph Myers <joseph@codesourcery.com>
1751
ea41469b
JM
1752 [BZ #17725]
1753 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1754 __profil_counter.
1755 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1756 Likewise.
1757 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1758 Likewise.
1759 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1760 Likewise.
1761 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1762 (profil_counter): Likewise.
1763 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1764 (profil_counter): Likewise.
1765 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1768 Likewise.
1769 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1770 (profil_counter): Likewise.
1771 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1772 Likewise.
1773 [!__profil_counter] (profil_counter): Define as weak alias of
1774 __profil_counter.
1775 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1776 (profil_counter): Rename to __profil_counter.
1777 [!__profil_counter] (profil_counter): Define as weak alias of
1778 __profil_counter.
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1780 (profil_counter): Rename to __profil_counter.
1781 [!__profil_counter] (profil_counter): Define as weak alias of
1782 __profil_counter.
1783 * sysdeps/posix/profil.c: Update comment referring to
1784 profil_counter.
1785 (__profil): Use __profil_counter instead of profil_counter.
1786 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1787 __profil_counter. Use __profil_counter_ushort and
1788 __profil_counter_uint in definitions.
1789 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1790 instead of profil_counter_uint and profil_counter_ushort.
1791
8ac5a76a
JM
1792 [BZ #17722]
1793 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1794 define as weak alias of __inet_makeaddr.
1795 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1796 as weak alias of __inet_addr.
1797 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1798 as weak alias of __inet_pton. Use libc_hidden_weak.
1799 * include/arpa/inet.h (__inet_pton): Declare. Use
1800 libc_hidden_proto.
1801 (inet_makeaddr): Don't use libc_hidden_proto.
1802 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1803 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1804 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1805 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1806 Remove variable.
1807 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1808 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1809
66ce3cb1
SE
18102014-12-17 Steve Ellcey <sellcey@imgtec.com>
1811
1812 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1813
d22ce01b
SL
18142014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1815
1816 * stdio-common/bug-vfprintf-nargs.c (do_test):
1817 Cast value to intptr_t to avoid format warning
1818 for usage with PRIdPTR printing macro.
1819
eca2772b
SL
18202014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1821
1822 * libio/tst-widetext.c (do_test):
1823 Use format type %td instead of %Zd for ptrdiff_t
1824 in order to avoid format warning.
1825
bdf079da
AS
18262014-12-17 Andreas Schwab <schwab@suse.de>
1827
1828 * nscd/mem.c (gc): Add size_t cast to match printf format.
1829
3eb5d2fc
RM
18302014-12-16 Roland McGrath <roland@hack.frob.com>
1831
1832 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1833 (init): Apply PTR_MANGLE to pointers before storing them.
1834 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1835 before using them.
1836
d003ada2
JM
18372014-12-16 Joseph Myers <joseph@codesourcery.com>
1838
380292ba
JM
1839 [BZ #17719]
1840 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1841 define as weak alias of __memrchr.
1842 (__memrchr): Do not define as strong alias of memrchr.
1843 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1844 Remove variable.
1845 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1846 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1847 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1848
9a44d530
JM
1849 [BZ #17717]
1850 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1851 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1852 (if_indextoname): Rename to __if_indextoname and define as weak
1853 alias of __if_indextoname. Use libc_hidden_weak.
1854 (if_freenameindex): Rename to __if_freenameindex and define as
1855 weak alias of __if_freenameindex.
1856 (if_nameindex): Rename to __if_nameindex and define as weak alias
1857 of __if_nameindex.
1858 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1859 __if_nametoindex and define as weak alias of __if_nametoindex.
1860 Use libc_hidden_weak.
1861 (if_freenameindex): Rename to __if_freenameindex and define as
1862 weak alias of __if_freenameindex.
1863 (if_nameindex): Rename to __if_nameindex and define as weak alias
1864 of __if_nameindex.
1865 (if_indextoname): Rename to __if_indextoname and define as weak
1866 alias of __if_indextoname. Use libc_hidden_weak.
1867 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1868 __if_nametoindex and define as weak alias of __if_nametoindex.
1869 Use libc_hidden_weak.
1870 (if_freenameindex): Rename to __if_freenameindex and define as
1871 weak alias of __if_freenameindex. Use libc_hidden_weak.
1872 (if_nameindex_netlink): Use __if_freenameindex instead of
1873 if_freenameindex.
1874 (if_nameindex): Rename to __if_nameindex and define as weak alias
1875 of __if_nameindex. Use libc_hidden_weak.
1876 (if_indextoname): Rename to __if_indextoname and define as weak
1877 alias of __if_indextoname. Use libc_hidden_weak.
1878 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1879 libc_hidden_proto.
1880 [!_ISOMAC] (__if_freenameindex): Likewise.
1881 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1882 if_nametoindex.
1883 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1884 variable.
1885 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1886 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1887 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1888 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1889 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1890 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1891 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1892
d003ada2
JM
1893 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1894 Remove variable.
1895 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1896 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1897
a0d424ef
SP
18982014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1899
0cd85520
SP
1900 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1901 subscript above bounds'
1902
a0d424ef
SP
1903 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1904 bounds.
1905
0e426475
AS
19062014-12-16 Arjun Shankar <arjun.is@lostca.se>
1907
8b460906
AS
1908 * libio/tst-fopenloc.c: Use test-skeleton.c.
1909
fa13e15b
AS
1910 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1911 (entry): Rename to ITEM.
1912 (do_test, comp): Adjust.
1913
0e426475
AS
1914 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1915
4f646bce
TR
19162014-12-16 Torvald Riegel <triegel@redhat.com>
1917
1918 * string/tester.c: Include <libc-internal.h>.
1919 (test_memset): Ignore -Wmemset-transposed-args.
1920
a07c4427
TR
19212014-12-16 Torvald Riegel <triegel@redhat.com>
1922
1923 * misc/tst-mntent2.c (do_test): Fix warning.
1924
1469f466
TR
19252014-12-16 Torvald Riegel <triegel@redhat.com>
1926
1927 * elf/tst-unique4lib.cc(a): Mark as used.
1928
11e3417a
FW
19292014-12-16 Florian Weimer <fweimer@redhat.com>
1930
1931 [BZ #17630]
1932 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1933 names.
1934
ae61fc7b
AM
19352014-12-16 Allan McRae <allan@archlinux.org>
1936
1937 * stdio-common/Makefile (tests): Re-add bug26.
1938
363a9899
OB
19392014-12-15 Ondřej Bílka <neleai@seznam.cz>
1940
1941 [BZ #17657]
1942 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1943 static array.
1944
d52c62df
TR
19452014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1946
1947 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1948 (__lll_lock_wait): Likewise.
1949 (__lll_timedlock_wait): Likewise.
1950 (__lll_timedwait_tid): Likewise.
1951 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1952 (__lll_robust_timedlock_wait): Likewise.
1953 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1954 (lll_cond_trylock): Likewise.
1955 (__lll_lock): Likewise.
1956 (__lll_robust_lock): Likewise.
1957 (__lll_cond_lock): Likewise.
1958 (lll_robust_cond_lock): Likewise.
1959 (__lll_timedlock): Likewise.
1960 (__lll_robust_timedlock): Likewise.
1961 (__lll_unlock): Likewise.
1962 (__lll_robust_unlock): Likewise.
1963 (lll_wait_tid): Likewise.
1964 (lll_timedwait_tid): Likewise.
1965
045a6bcd
TR
19662014-12-15 Torvald Riegel <triegel@redhat.com>
1967
1968 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1969
7f786dc1
TR
19702014-12-15 Torvald Riegel <triegel@redhat.com>
1971
1972 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1973
e7e21cba
AZ
19742014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1975
1976 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1977 * stdio-common/tst-sprintf.c: Likewise.
1978
bc89c0fc
TR
19792014-12-15 Torvald Riegel <triegel@redhat.com>
1980
1981 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1982
a5357b7c
JL
19832014-12-15 Jeff Law <law@redhat.com>
1984
1985 [BZ #16617]
1986 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1987 on the heap. (CVE-2012-3406)
1988 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1989 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1990 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1991
3a12c70f
WN
19922014-12-15 Will Newton <will.newton@linaro.org>
1993
1994 * manual/install.texi: Bump required version of texinfo
1995 to 4.7 from 4.5.
1996 * INSTALL: Regenerated.
1997 * configure.ac: Check for makeinfo version 4.7 and above.
1998 * configure: Regenerated.
1999
e4f639e4
RM
20002014-12-12 Roland McGrath <roland@hack.frob.com>
2001
2002 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2003 PREFIX, string constant to insert between directory and name.
2004 * sysdeps/posix/shm_open.c: Update caller.
2005 * sysdeps/posix/shm_unlink.c: Likewise.
2006 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2007 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2008 (SEM_SHM_PREFIX): New macro.
2009 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2010 [$(have-thread-library) = no].
2011 * nptl/Makefile (libpthread-routines): Add shm-directory.
2012 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2013 * sysdeps/nptl/shm-directory.h: New file.
2014 * sysdeps/posix/shm-directory.c
2015 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2016 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2017 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2018 INTERNAL_SYSCALL.
2019 (__where_is_shmfs): Function removed.
2020 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2021 Variables removed.
2022 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2023 Use SHM_GET_NAME.
2024 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2025
2026 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2027 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2028 unconditional for use inside libpthread.
2029 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2030
439c43f6
RM
20312014-12-12 Roland McGrath <roland@hack.frob.com>
2032
c76d1ff5
RM
2033 * nptl/pthread_getaffinity.c: New file.
2034 * nptl/pthread_setaffinity.c: New file.
2035 * nptl/pthread_getname.c: New file.
2036 * nptl/pthread_setname.c: New file.
2037
439c43f6
RM
2038 * nptl/pthread_create.c (START_THREAD_DEFN)
2039 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2040
48e435cd
SL
20412014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2042 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2043
2044 * resolv/res_send.c (send_vc): Disable warning resplen may
2045 be used uninitialized.
2046
9d9c0019
SL
20472014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2048
2049 * nptl/tst-mutex6.c
2050 (ATTR_NULL): New define checks ATTR against NULL.
2051 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2052 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2053
9173840b
JL
20542014-12-11 James Lemke <jwlemke@codesourcery.com>
2055
2056 [BZ #17581]
2057 * malloc/hooks.c
2058 (mem2mem_check): Revert my previous change.
2059 (malloc_check_get_size): Revert my previous change.
2060 (mem2chunk_check): Revert my previous change.
2061
78e21c5d
RM
20622014-12-11 Roland McGrath <roland@hack.frob.com>
2063
2064 * sysdeps/posix/shm-directory.c: New file.
2065 * sysdeps/posix/shm-directory.h: New file.
2066 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2067 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2068 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2069 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2070 Transmute EPERM to EACCES.
2071 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2072 from ...
2073 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2074 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2075
f82c43af
KK
20762014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2077
2078 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2079 pointer and cast to uintptr_t.
2080 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2081 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2082 Add cast to avoid warning.
2083 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2084
fc00cf7b
JM
20852014-12-11 Joseph Myers <joseph@codesourcery.com>
2086
2087 * nptl/semaphore.h: Move to ...
2088 * sysdeps/pthread/semaphore.h: ... here.
2089 * Makefile (installed-headers): Change nptl/semaphore.h to
2090 sysdeps/pthread/semaphore.h.
2091
1c4053db
RM
20922014-12-11 Roland McGrath <roland@hack.frob.com>
2093
73b0c1a1
RM
2094 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2095 generated error format strings.
2096
1c4053db
RM
2097 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2098 -Wformat-extra-args warnings for scanf formats.
2099 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2100 test of zero-length format (duh).
2101 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2102 corner-case scanf format test.
2103 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2104 generated fprintf format string.
2105 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2106 corner-case sprintf format tests.
2107 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2108 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2109 -Wformat-extra-args warnings throughout.
2110 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2111 (CFLAGS-scanf4.c): Likewise.
2112 (CFLAGS-scanf7.c): Likewise.
2113 (CFLAGS-tst-sprintf.c): Likewise.
2114 (CFLAGS-tst-printf.c): Likewise.
2115 (CFLAGS-tst-printfsz.c): Likewise.
2116
47d51f4f
JM
21172014-12-11 Joseph Myers <joseph@codesourcery.com>
2118
a1edbf3c
JM
2119 * include/cpio.h: New file.
2120 * include/fmtmsg.h: Likewise.
2121
47d51f4f
JM
2122 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2123 corresponding format argument to size_t.
2124 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2125 arguments.
2126 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2127 corresponding format argument to size_t.
2128 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2129 arguments.
2130 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2131 corresponding format argument to size_t.
2132 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2133 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2134 (CFLAGS-tst-mbswcs2.c): Likewise.
2135 (CFLAGS-tst-mbswcs3.c): Likewise.
2136 (CFLAGS-tst-mbswcs4.c): Likewise.
2137 (CFLAGS-tst-mbswcs5.c): Likewise.
2138 (CFLAGS-tst-trans.c): Likewise
2139
e9813cfb
RM
21402014-12-11 Roland McGrath <roland@hack.frob.com>
2141
2142 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2143 rather than assuming they won't contain any '%'s.
2144
f627ca82
CM
21452014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2146
2147 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2148 inhibit_loop_to_libcall to avoid recursive calls.
2149 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2150 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2151
7f296942
AZ
21522014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2153
2154 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2155 prototype.
2156
d0276e18
SE
21572014-12-11 Steve Ellcey <sellcey@imgtec.com>
2158
2159 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2160 integer value instead of boolean.
2161
fc56e970
SE
21622014-12-11 Steve Ellcey <sellcey@imgtec.com>
2163
2164 * malloc/malloc.c: Fix powerof2 check.
2165
40e53917
SL
21662014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2167
2168 * locale/programs/locfile.h (maybe_swap_uint32):
2169 Remove inline and add unused attribute.
2170
1ea166df
SL
21712014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2172
9d9c0019 2173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2174 Truncating assembler expression to a .long expression.
2175
acf869f4
AS
21762014-12-11 Andreas Schwab <schwab@suse.de>
2177
2178 * elf/rtld.c (struct map_args): Constify str member.
2179 (do_preload): Constify fname argument.
2180
9d969099
AZ
21812014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182
2183 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2184 constants definition.
2185
da5bcaa4
AS
21862014-12-11 Andreas Schwab <schwab@suse.de>
2187
b0a3c164
AS
2188 [BZ #16657]
2189 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2190 FORCE_ELISION instead of DO_ELISION.
2191 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2192 Remove.
2193 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2194 Likewise.
2195
da5bcaa4
AS
2196 * iconvdata/gconv-modules: Remove duplicate entry.
2197
6d248857
WN
21982014-12-11 Will Newton <will.newton@linaro.org>
2199
2200 Merge gettext 0.19.3 into intl/.
2201
2202 This involves a number of cosmetic changes to comments
2203 and ANSI function definitions and prototypes throughout
2204 all the files. The gettext copyright header is used but
2205 with the date ranges taken from the glibc copy.
2206
2207 * NEWS: Add gettext merge to 2.21.
2208 * intl/bindtextdom.c: Switch to gettext copyright.
2209 Use ANSI definitions and prototypes.
2210 Use gl_* locking primitives rather than __libc_* ones.
2211 Use __builtin_expect rather than __glibc_likely/unlikely.
2212 * intl/dcgettext.c: Switch to gettext copyright.
2213 Use ANSI definitions and prototypes.
2214 * intl/dcigettext.c: Switch to gettext copyright.
2215 Use ANSI definitions and prototypes.
2216 (INTDIV0_RAISES_SIGFPE): New define.
2217 Use gl_* locking primitives rather than __libc_* ones.
2218 Include eval-plural.h instead of plural-eval.c.
2219 Use __builtin_expect rather than __glibc_likely/unlikely.
2220 * intl/dcngettext.c: Switch to gettext copyright.
2221 Use ANSI definitions and prototypes.
2222 * intl/dgettext.c: Likewise.
2223 * intl/dngettext.c: Likewise.
2224 * intl/plural-eval.c: Renamed to...
2225 * intl/eval-plural.h: ...this.
2226 * intl/explodename.c: Switch to gettext copyright.
2227 Use ANSI definitions and prototypes.
2228 (_nl_explode_name): Use strchr instead of __rawmemchr.
2229 * intl/finddomain.c: Switch to gettext copyright.
2230 Use ANSI definitions and prototypes.
2231 Use gl_* locking primitives rather than __libc_* ones.
2232 (_nl_find_domain): Use malloc rather than alloca for
2233 allocation of temporary locale name.
2234 * intl/gettext.c: Switch to gettext copyright.
2235 Use ANSI definitions and prototypes.
2236 * intl/gettextP.h: Switch to gettext copyright.
2237 Use ANSI definitions and prototypes.
2238 Use gl_* locking primitives rather than __libc_* ones.
2239 * intl/gmo.h: Switch to gettext copyright.
2240 (struct sysdep_string): Move struct segment_pair outside of
2241 struct definition.
2242 * intl/hash-string.c: Use ANSI definitions and prototypes.
2243 * intl/hash-string.h: Switch to gettext copyright.
2244 Use ANSI definitions and prototypes.
2245 * intl/l10nflist.c: Switch to gettext copyright.
2246 Use ANSI definitions and prototypes.
2247 (_nl_normalize_codeset): Avoid integer overflow.
2248 * intl/loadinfo.h: Switch to gettext copyright.
2249 Use ANSI definitions and prototypes.
2250 (LIBINTL_DLL_EXPORTED): New define.
2251 (PATH_SEPARATOR): New define.
2252 * intl/loadmsgcat.c: Switch to gettext copyright.
2253 * intl/localealias.c: Switch to gettext copyright.
2254 Use ANSI definitions and prototypes.
2255 (_nl_expand_alias): Use PATH_SEPARATOR.
2256 * intl/ngettext.c: Switch to gettext copyright.
2257 Use ANSI definitions and prototypes.
2258 * intl/plural-exp.c: Likewise.
2259 * intl/plural-exp.h: Switch to gettext copyright.
2260 Use ANSI definitions and prototypes.
2261 (struct expression): Move definition of enum operator outside
2262 of struct definition.
2263 * intl/plural.c: Regenerate.
2264 * intl/plural.y: Switch to gettext copyright.
2265 Use ANSI definitions and prototypes.
2266 Port to bison 3.0.
2267 * intl/textdomain.c: Switch to gettext copyright.
2268 Use ANSI definitions and prototypes.
2269 Use gl_* locking primitives rather than __libc_* ones.
2270
48c43298
SE
22712014-12-10 Steve Ellcey <sellcey@imgtec.com>
2272
2273 * debug/warning-nop.c: Add used atrribute.
2274
2b89bce9
JM
22752014-12-10 Joseph Myers <joseph@codesourcery.com>
2276
c153ac9f
JM
2277 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2278
2b89bce9
JM
2279 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2280 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2281 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2282
2cfbdb9a
JM
22832014-12-10 Joseph Myers <joseph@codesourcery.com>
2284 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285
2286 [BZ #17634]
2287 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2288 Undefine after defining function. Define as weak alias of
2289 __wcschr. Use libc_hidden_weak.
2290 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2291 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2292 (libc_hidden_def): Also define __GI___wcschr alias.
2293 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2294 __wcschr and define as weak alias of __wcschr.
2295 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2296 __wcschr.
2297 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2298 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2299 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2300 libc_hidden_weak. Do not use libc_hidden_def.
2301 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2302 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2303 __GI___wcschr alias.
2304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2305 [IS_IN (libc)] (wcschr): Define as macro expanding to
2306 __redirect_wcschr.
2307 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2308 [IS_IN (libc)] (__wcschr_power6): Likewise.
2309 [IS_IN (libc)] (__wcschr_power7): Likewise.
2310 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2311 instead of wcschr.
2312 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2313 __libc_wcschr.
2314 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2315 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2316 __wcschr and define as weak alias of __wcschr. Use
2317 libc_hidden_builtin_def.
2318 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2319 as weak alias of __wcschr. Use libc_hidden_weak.
2320 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2321 wcschr.
2322 * time/era.c (_nl_init_era_entries): Likewise.
2323 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2324 variable.
2325 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2326 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2327
1b8bf351
JM
23282014-12-10 Joseph Myers <joseph@codesourcery.com>
2329
2330 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2331 format for long int variable.
2332
f5f46d51
AK
23332014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2334
2335 [BZ #10672]
07008f7d 2336 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2337 qsort stable.
2338
217a74a8
AS
23392014-12-10 Andreas Schwab <schwab@suse.de>
2340
2341 [BZ #12847]
2342 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2343 user-controlled locks.
2344
aa76a5c7
RE
23452014-12-10 Richard Earnshaw <rearnsha@arm.com>
2346
2347 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2348 register.
2349
2084e7ca
JM
23502014-12-10 Joseph Myers <joseph@codesourcery.com>
2351
a4ecc9eb
JM
2352 * configure.ac (--disable-werror): New configure option.
2353 (enable_werror): New AC_SUBST.
2354 * configure: Regenerated.
2355 * config.make.in (enable-werror): New variable.
2356 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2357 -Wno-error=undef.
2358 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2359 * manual/install.texi (Configuring and compiling): Document
2360 --disable-werror.
2361 * INSTALL: Regenerated.
2362 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2363 (CFLAGS-tst-chk2.c): Likewise.
2364 (CFLAGS-tst-chk3.c): Likewise.
2365 (CFLAGS-tst-chk4.cc): Likewise.
2366 (CFLAGS-tst-chk5.cc): Likewise.
2367 (CFLAGS-tst-chk6.cc): Likewise.
2368 (CFLAGS-tst-lfschk1.c): Likewise.
2369 (CFLAGS-tst-lfschk2.c): Likewise.
2370 (CFLAGS-tst-lfschk3.c): Likewise.
2371 (CFLAGS-tst-lfschk4.cc): Likewise.
2372 (CFLAGS-tst-lfschk5.cc): Likewise.
2373 (CFLAGS-tst-lfschk6.cc): Likewise.
2374
0f88636c
JM
2375 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2376 (main): Disable -Wdeprecated-declarations around calls to
2377 register_printf_function.
2378
c81e9deb
JM
2379 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2380 (do_test): Disable -Wdiv-by-zero around some calls to
2381 fwrite_unlocked and fread_unlocked.
2382
2084e7ca
JM
2383 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2384 (DIAG_POP_NEEDS_COMMENT): Likewise.
2385 (_DIAG_STR1): Likewise.
2386 (_DIAG_STR): Likewise.
2387 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2388 * stdio-common/bug21.c: Include <libc-internal.h>.
2389 (do_test): Disable -Wformat around call to sscanf.
2390 * stdio-common/scanf14.c: Include <libc-internal.h>.
2391 (main): Disable -Wformat around some calls to scanf functions.
2392
df7ecc6b
TR
23932014-12-09 Torvald Riegel <triegel@redhat.com>
2394
2395 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2396
2aa3862e
AZ
23972014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2398
2399 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2400 stack variable alignment.
2401
c5c2b7c3
JM
24022014-12-06 Joseph Myers <joseph@codesourcery.com>
2403
2404 [BZ #17682]
2405 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2406 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2407 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2408 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2409 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2410 __getrlimit instead of getrlimit.
2411 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2412 __gettimeofday instead of gettimeofday.
2413 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2414 Likewise.
2415 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2416 Likewise.
2417 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2418 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2419 Remove variable.
2420 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2421 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2422
9752c3cd
AZ
24232014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2424
2425 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2426 for wide-character tests.
2427
4bee4cd9
RM
24282014-12-04 Roland McGrath <roland@hack.frob.com>
2429
2430 * io/openat64.c: #include <libc-internal.h>
2431 (__openat64): Prototypify. Use ignore_value on MODE.
2432 * io/openat.c: Likewise.
2433 * misc/reboot.c: #include <libc-internal.h>
2434 (reboot): Prototypify. Use ignore_value on HOWTO.
2435 * misc/ptrace.c: #include <libc-internal.h>
2436 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2437
84dbedb6
JM
24382014-12-04 Joseph Myers <joseph@codesourcery.com>
2439
2440 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2441 XPG4, UNIX98 and XOPEN2K.
2442 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2443 Remove variable.
2444 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2445
b7a3e1c4 24462014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2447
af50dfc1 2448 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2449 * libio/iofopen.c: Likewise.
2450 * libio/wfileops.c: Likewise.
2451
fe8b4d98
SP
2452 [BZ #17653]
2453 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2454 offset on EOF.
2455 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2456 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2457 (fgets_func): Function pointer to fgets and fgetws.
2458 (do_ftell_test): Add test to verify ftell value after read
2459 EOF.
2460 (do_test): Set fgets_func.
2461
61b4f792
SP
2462 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2463 O_TRUNC flag for w and w+ modes.
2464 (do_rewind_test): Likewise.
2465 (do_ftell_test): Likewise.
2466 (do_write_test): Likewise.
2467
be349d70
SP
2468 [BZ #17647]
2469 * libio/fileops.c (do_ftell): Seek only when there are
2470 unflushed writes.
2471 * libio/wfileops.c (do_ftell_wide): Likewise.
2472 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2473 test case.
2474 (do_one_test): Call it.
2475
e3d6dba5
JM
24762014-12-03 Joseph Myers <joseph@codesourcery.com>
2477
2478 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2479 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2480 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2481 Remove variable.
2482 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2483 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2484 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2485
7f994279
JM
24862014-12-02 Joseph Myers <joseph@codesourcery.com>
2487
28a91e8f
JM
2488 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2489 Remove variable.
2490 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2491
7f994279
JM
2492 [BZ #17668]
2493 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2494 as weak alias of __getifaddrs. Use libc_hidden_weak.
2495 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2496 __freeifaddrs. Use libc_hidden_weak.
2497 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2498 define as weak alias of __getifaddrs. Use libc_hidden_weak.
2499 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2500 __freeifaddrs. Use libc_hidden_weak.
2501 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2502 __getifaddrs and define as weak alias of __getifaddrs. Use
2503 libc_hidden_weak.
2504 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2505 __freeifaddrs. Use libc_hidden_weak.
2506 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2507 Remove variable.
2508 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2509 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2510
bbe4c142
PJ
25112014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
2512
2513 [BZ #17601]
2514 * sysdeps/mips/start.S (__start): Use indirect jump to call
2515 __libc_start_main.
2516
66cadc05
JM
25172014-12-02 Joseph Myers <joseph@codesourcery.com>
2518
909e16d9
JM
2519 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2520
4e0b9016
JM
2521 * nptl/tst-mutex1.c: Include <stdbool.h>.
2522 [!ATTR] (ATTR_NULL): New macro.
2523 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2524 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2525 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2526
b1aff6a4
JM
2527 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2528 to char *.
2529
266865c0
JM
2530 [BZ #17665]
2531 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2532 Change conditional to [__USE_MISC].
2533
84e5e756
JM
2534 [BZ #17664]
2535 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2536 fgets_unlocked.
2537 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2538 __fgets_unlocked.
2539 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2540 fgets_unlocked.
2541 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2542 Remove variable.
2543 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2544 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2545 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2546 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2547 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2548 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2549 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2550 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2551 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2552
66cadc05
JM
2553 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2554
2e8a2de2 25552014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
2556
2557 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2558 Remove strpbrk objects.
2559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2560 (__libc_ifunc_impl_list): Remove strpbrk implementation.
2561 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2562 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2563 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2564 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2565
bb2542e0
AZ
2566 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2567 Remove strcspn objects.
2568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2569 (__libc_ifunc_impl_list): Remove strcspn implementation.
2570 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2571 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2572 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2573 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
2574
2575 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2576 Remove strspn objetcs.
2577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2578 (__libc_ifunc_impl_list): Remove strspn implementation.
2579 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2580 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2582 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2583
08f1e1d2
JL
25842014-12-01 James Lemke <jwlemke@codesourcery.com>
2585
2586 [BZ #17581]
2587 * malloc/hooks.c
2588 (mem2mem_check): Add a terminator to the chain of checking blocks.
2589 (malloc_check_get_size): Use it here.
2590 (mem2chunk_check): Ditto.
2591
a8a7d7d2
RS
25922014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2593
2594 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2595 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2596
97114a38
CD
25972014-11-29 Carlos O'Donell <carlos@redhat.com>
2598
c8dc1727
CD
2599 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2600
6d03458e
CD
2601 * nptl/nptl-init.c: Include libc-internal.h.
2602 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2603
97114a38
CD
2604 * elf/ldconfig.c (search_dir): Expand comment.
2605
0e7e69ba
JM
26062014-11-29 Joseph Myers <joseph@codesourcery.com>
2607
2608 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2609 variable.
2610 (linknamespace-symlist-stdlibs-tests): Likewise.
2611 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2612 instead of $(objpfx)symlist-stdlibs.
2613 (linknamespace-libs-isoc): New variable.
2614 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2615 (linknamespace-libs-ISO): New variable.
2616 (linknamespace-libs-ISO99): Likewise.
2617 (linknamespace-libs-ISO11): Likewise.
2618 (linknamespace-libs-XPG3): Likewise.
2619 (linknamespace-libs-XPG4): Likewise.
2620 (linknamespace-libs-POSIX): Likewise.
2621 (linknamespace-libs-UNIX98): Likewise.
2622 (linknamespace-libs-XOPEN2K): Likewise.
2623 (linknamespace-libs-POSIX2008): Likewise.
2624 (linknamespace-libs-XOPEN2K8): Likewise.
2625 ($(objpfx)symlist-stdlibs): Replace by
2626 $(linknamespace-symlist-stdlibs-tests). Use
2627 $(linknamespace-libs-$*) as set of libraries.
2628 ($(linknamespace-header-tests)): Update dependencies. Use
2629 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2630 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2631 * conform/linknamespace.pl: Remove comment about considering
2632 definitions of symbols from irrelevant libraries.
2633
d8dd0080
L
26342014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2635
2636 [BZ #13862]
2637 * elf/dl-tls.c: Include <atomic.h>.
2638 (oom): Remove #ifdef SHARED/#endif.
2639 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2640 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2641 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2642 big enough.
2643 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2644 * nptl/Makefile (tests): Add tst-stack4.
2645 (modules-names): Add tst-stack4mod.
2646 ($(objpfx)tst-stack4): New.
2647 (tst-stack4mod.sos): Likewise.
2648 ($(objpfx)tst-stack4.out): Likewise.
2649 ($(tst-stack4mod.sos)): Likewise.
2650 (clean): Likewise.
2651 * nptl/tst-stack4.c: New file.
2652 * nptl/tst-stack4mod.c: Likewise.
2653
167da422
B
26542014-11-27 J. Brown <jb999@gmx.de>
2655
2656 * sysdeps/x86/bits/string.h: Add recent CPUs.
2657
9114625b
JM
26582014-11-27 Joseph Myers <joseph@codesourcery.com>
2659
6b5189eb
JM
2660 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2661 sigblock.
2662
49051f8e
JM
2663 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2664 feof.
2665
9114625b
JM
2666 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2667 variable.
2668
e7300fef
SL
26692014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2670
2671 * nscd/connections.c: Include libc-internal.h because of macro
2672 usage ignore_value.
2673
1721f0a4
SP
26742014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
2676 * string/bits/string3.h (__warn_memset_zero_len): Don't
2677 declare for gcc newer than 5.0.
2678 (memset): Don't test for zero-length __LEN for gcc newer than
2679 5.0.
2680
be970916
JM
26812014-11-27 Joseph Myers <joseph@codesourcery.com>
2682
d88548f4
JM
2683 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2684 size_t for %zu format.
2685
be970916
JM
2686 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2687 difference, not %ju.
2688
3b20fd5c
JM
26892014-11-26 Joseph Myers <joseph@codesourcery.com>
2690
8915eace
JM
2691 * include/libc-internal.h (ignore_value): New macro.
2692 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2693 with ignore_value.
2694
f1a5a0e3
JM
2695 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2696 definition.
2697
59ef1715
JM
2698 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2699 pthread_cleanup_push to void *.
2700
a6f3079b
JM
2701 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2702 Undefine.
2703
706688aa
JM
2704 [BZ #16619]
2705 [BZ #16740]
2706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2707 instead of 1L << 52.
2708
12da14a5
JM
2709 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2710 * libio/bug-rewind2.c (do_test): Likewise.
2711
bd5dadac
JM
2712 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2713 * debug/test-strcpy_chk-ifunc.c: Likewise.
2714 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2715 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2716 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2717 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2718 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2719 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2720 * Rules [$(multi-arch) = no] (tests): Do not filter out
2721 $(tests-ifunc).
2722 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2723 * debug/Makefile (tests-ifunc): Remove variable.
2724 (tests): Do not add $(tests-ifunc).
2725 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2726 (tests): Do not add $(tests-ifunc).
2727 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2728 [TEST_IFUNC]: Remove conditionals.
2729 * string/test-string.h (TEST_IFUNC): Remove macro.
2730 [TEST_IFUNC]: Remove conditionals.
2731
3b20fd5c
JM
2732 * string/test-strchr.c [!WIDE] (L): New macro.
2733 [WIDE] (L): Likewise.
2734 (check1): Use CHAR instead of char. Use L on string and character
2735 constants.
2736
704f7947
AZ
27372014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2738
2739 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2740 tests.
2741 * sysdeps/powerpc/bits/atomic.h
2742 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2743 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2744 (atomic_exchange_and_add_acq): Likewise.
2745 (atomic_exchange_and_add_rel): Likewise.
2746 * sysdeps/powerpc/powerpc32/bits/atomic.h
2747 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2748 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2749 * sysdeps/powerpc/powerpc64/bits/atomic.h
2750 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2751 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2752
cdcb42d7
TR
27532014-11-26 Torvald Riegel <triegel@redhat.com>
2754
2755 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2756 Change synchronization of __sched_fifo_min_prio and
2757 __sched_fifo_max_prio.
2758 * nptl/pthread_mutexattr_getprioceiling.c
2759 (pthread_mutexattr_getprioceiling): Likewise.
2760 * nptl/pthread_mutexattr_setprioceiling.c
2761 (pthread_mutexattr_setprioceiling): Likewise.
2762 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2763 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2764 Likewise.
2765
c82f5c0c
JM
27662014-11-26 Joseph Myers <joseph@codesourcery.com>
2767
2768 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2769 void.
2770
439e1ad6
JM
27712014-11-25 Joseph Myers <joseph@codesourcery.com>
2772
2773 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2774 third argument const.
2775
b1eda10e
PE
27762014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2777
2778 fnmatch: work around GCC compiler warning bug with uninit var
2779 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2780 This works around a bug with x86-64 GCC 4.9.2 and earlier
2781 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2782 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2783 used uninitialized in this function [-Wmaybe-uninitialized]".
2784
bde2667a
JM
27852014-11-25 Joseph Myers <joseph@codesourcery.com>
2786
2787 * posix/bug-regex31.c (main): Return RES not 0.
2788
5fbb5691
AB
27892014-11-25 Anton Blanchard <anton@samba.org>
2790
2791 * sysdeps/powerpc/bits/atomic.h
2792 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2793
467fec0b
BM
27942014-11-24 Sterling Augustine <saugustine@google.com>
2795
2796 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2797
e9ff8efb
RC
27982014-11-24 Ryan Cumming <etaoins@gmail.com>
2799
2800 [BZ #17608]
2801 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2802
9744496f
JM
28032014-11-24 Joseph Myers <joseph@codesourcery.com>
2804
2805 [BZ #17633]
2806 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2807 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2808 variable.
2809 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2810 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2811
6423d475
WD
28122014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2813
2814 * string/strncpy.c (strncpy): Improve performance by using memset.
2815
28162014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
2817
2818 * string/strcpy.c (strcpy):
2819 Improve performance by using strlen and memcpy.
2820
5d178c37
LH
28212014-11-24 Leonhard Holz <leonhard.holz@web.de>
2822
2823 * string/strcoll_l.c (get_next_seq): __always_inline.
2824 * string/strcoll_l.c (do_compare): __always_inline.
2825
279bc5b3
SP
28262014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2827
7a9ebfa1
SP
2828 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2829 defined.
2830 * include/mqueue.h: Likewise.
2831 * include/stdlib.h: Likewise.
2832
4f41c682
SP
2833 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2834 (get_null_defines): Adjust.
2835 * sunrpc/Makefile: Adjust comment.
2836 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2837 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2838 (CFLAGS-interp.c): Likewise.
2839 (CFLAGS-ldconfig.c): Likewise.
2840 (CPPFLAGS-.os): Likewise.
2841 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2842 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2843 * extra-modules.mk (extra-modules.mk): Likewise.
2844 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2845 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2846 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2847 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2848 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2849 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2850 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2851 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2852 * iconvdata/Makefile (CPPFLAGS): Likewise.
2853 (cpp-srcs-left): Add libof for all iconvdata routines.
2854 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2855 * include/assert.h: Likewise.
2856 * include/ctype.h: Likewise.
2857 * include/errno.h: Likewise.
2858 * include/libc-symbols.h: Likewise.
2859 * include/math.h: Likewise.
2860 * include/netdb.h: Likewise.
2861 * include/resolv.h: Likewise.
2862 * include/stdio.h: Likewise.
2863 * include/stdlib.h: Likewise.
2864 * include/string.h: Likewise.
2865 * include/sys/stat.h: Likewise.
2866 * include/wctype.h: Likewise.
2867 * intl/l10nflist.c: Likewise.
2868 * libidn/idn-stub.c: Likewise.
2869 * libio/libioP.h: Likewise.
2870 * nptl/libc_multiple_threads.c: Likewise.
2871 * nptl/pthreadP.h: Likewise.
2872 * posix/regex_internal.h: Likewise.
2873 * resolv/res_hconf.c: Likewise.
2874 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2875 * sysdeps/arm/memmove.S: Likewise.
2876 * sysdeps/arm/sysdep.h: Likewise.
2877 * sysdeps/generic/_itoa.h: Likewise.
2878 * sysdeps/generic/symbol-hacks.h: Likewise.
2879 * sysdeps/gnu/errlist.awk: Likewise.
2880 * sysdeps/gnu/errlist.c: Likewise.
2881 * sysdeps/i386/i586/memcpy.S: Likewise.
2882 * sysdeps/i386/i586/memset.S: Likewise.
2883 * sysdeps/i386/i686/memcpy.S: Likewise.
2884 * sysdeps/i386/i686/memmove.S: Likewise.
2885 * sysdeps/i386/i686/mempcpy.S: Likewise.
2886 * sysdeps/i386/i686/memset.S: Likewise.
2887 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2888 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2889 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2890 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2891 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2893 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2894 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2895 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2896 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2897 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2898 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2899 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2900 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2901 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2902 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2903 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2904 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2905 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2906 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2907 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2908 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2909 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2910 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2911 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2913 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2914 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2915 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2916 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2917 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2918 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2920 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2921 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2923 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2924 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2925 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2926 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2927 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2928 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2929 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2930 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2931 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2932 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2933 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2934 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2935 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2936 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2937 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2938 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2939 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2940 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2941 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2942 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2943 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2944 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2945 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2947 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2948 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2949 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2950 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2951 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2952 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2953 * sysdeps/posix/closedir.c: Likewise.
2954 * sysdeps/posix/opendir.c: Likewise.
2955 * sysdeps/posix/readdir.c: Likewise.
2956 * sysdeps/posix/rewinddir.c: Likewise.
2957 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2958 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2959 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2960 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2961 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2962 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2963 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2967 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2968 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2969 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2970 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2971 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2972 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2973 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2974 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2975 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2976 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2977 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2978 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2979 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2980 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2981 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2982 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2983 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2984 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2985 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2987 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2989 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2991 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2992 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2993 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2995 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2996 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2997 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2998 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2999 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3000 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3001 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3002 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3003 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3004 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3005 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3006 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3007 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3008 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3009 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3010 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3011 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3012 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3013 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3014 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3015 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3016 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3017 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3018 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3019 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3020 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3021 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3022 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3023 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3024 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3025 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3026 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3027 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3028 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3029 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3030 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3031 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3032 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3033 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3034 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3035 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3036 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3037 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3038 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3039 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3040 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3041 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3042 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3043 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3044 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3045 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3046 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3047 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3048 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3049 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3050 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3053 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3055 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3056 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3057 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3058 * sysdeps/unix/alpha/sysdep.S: Likewise.
3059 * sysdeps/unix/alpha/sysdep.h: Likewise.
3060 * sysdeps/unix/make-syscalls.sh: Likewise.
3061 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3063 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3064 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3065 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3066 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3067 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3068 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3069 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3070 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3071 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3072 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3073 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3074 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3075 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3076 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3077 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3078 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3079 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3080 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3081 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3082 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3083 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3084 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3085 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3086 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3087 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3090 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3091 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3092 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3093 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3096 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3099 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3100 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3101 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3102 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3103 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3104 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3105 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3106 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3108 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3110 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3111 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3112 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3113 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3114 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3115 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3116 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3117 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3119 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3120 * sysdeps/x86_64/memcpy.S: Likewise.
3121 * sysdeps/x86_64/memmove.c: Likewise.
3122 * sysdeps/x86_64/memset.S: Likewise.
3123 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3124 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3125 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3126 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3127 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3129 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3130 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3131 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3132 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3133 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3134 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3135 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3136 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3137 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3138 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3139 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3140 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3141 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3142 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3143 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3144 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3145 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3146 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3147 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3148 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3149 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3150 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3151 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3152 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3153 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3154 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3155 * sysdeps/x86_64/strcmp.S: Likewise.
3156
76ca86a5
SP
3157 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3158
a3848485
SP
3159 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3160 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3161 * elf/rtld-Rules: Likewise.
3162 * elf/setup-vdso.h: Likewise.
3163 * include/assert.h: Likewise.
3164 * include/bits/stdlib-float.h: Likewise.
3165 * include/errno.h: Likewise.
3166 * include/sys/stat.h: Likewise.
3167 * include/unistd.h: Likewise.
3168 * sysdeps/aarch64/setjmp.S: Likewise.
3169 * sysdeps/alpha/setjmp.S: Likewise.
3170 * sysdeps/arm/__longjmp.S: Likewise.
3171 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3172 * sysdeps/arm/setjmp.S: Likewise.
3173 * sysdeps/arm/sysdep.h: Likewise.
3174 * sysdeps/generic/_itoa.h: Likewise.
3175 * sysdeps/generic/dl-sysdep.h: Likewise.
3176 * sysdeps/generic/ldsodefs.h: Likewise.
3177 * sysdeps/i386/dl-tls.h: Likewise.
3178 * sysdeps/i386/setjmp.S: Likewise.
3179 * sysdeps/m68k/setjmp.c: Likewise.
3180 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3181 * sysdeps/mach/hurd/opendir.c: Likewise.
3182 * sysdeps/posix/getcwd.c: Likewise.
3183 * sysdeps/posix/opendir.c: Likewise.
3184 * sysdeps/posix/profil.c: Likewise.
3185 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3188 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3189 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3191 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3192 * sysdeps/s390/dl-tls.h: Likewise.
3193 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3194 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3195 * sysdeps/sh/sh3/setjmp.S: Likewise.
3196 * sysdeps/sh/sh4/setjmp.S: Likewise.
3197 * sysdeps/unix/alpha/sysdep.h: Likewise.
3198 * sysdeps/unix/arm/sysdep.S: Likewise.
3199 * sysdeps/unix/i386/sysdep.S: Likewise.
3200 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3201 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3202 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3203 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3204 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3205 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3206 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3207 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3208 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3209 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3210 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3211 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3212 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3215 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3217 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3218 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3219 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3220 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3223 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3224 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3225 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3227 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3228 * sysdeps/x86_64/setjmp.S: Likewise.
3229
a109996e
SP
3230 * include/math.h: Use IS_IN instead of IS_IN_libm.
3231 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3232 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3233 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3234 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3235 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3236 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3237 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3238 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3240 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3241 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3242 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3243 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3244 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3245 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3246 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3247 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3248 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3249 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3250 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3251 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3252 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3253 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3254 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3255 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3256 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3257 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3258 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3259 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3260 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3261 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3262 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3263 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3265 Likewise.
3266 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3267 Likewise.
3268 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3269 Likewise.
3270 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3271 Likewise.
3272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3273 Likewise.
3274 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3275 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3276 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3277 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3278 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3279 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3285 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3286 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3287 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3288 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3290 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3292 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3294 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3295 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3296 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3297 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3298 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3299 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3300 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3301
ce9f10f7
SP
3302 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3303 * nptl/pthreadP.h: Likewise.
3304 * nptl_db/structs.def: Likewise.
3305 * sysdeps/arm/sysdep.h: Likewise.
3306 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3307 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3308 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3309 * sysdeps/unix/alpha/sysdep.h: Likewise.
3310 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3311 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3312 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3313 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3314 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3315 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3316 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3317 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3318 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3319 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3320 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3321 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3322 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3323 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3326 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3327 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3328 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3329 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3330 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3331 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3332 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3333 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3334 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3335 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3336
016afc75
SP
3337 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3338 * nptl/pthreadP.h: Likewise.
3339 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3340 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3341 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3342 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3343 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3344 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3345 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3346 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3347 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3348 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3349 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3350 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3352 Likewise.
3353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3354 Likewise.
3355 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3356 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3357 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3360 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3361 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3362 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3363
9b42a0b3
SP
3364 * dlfcn/dladdr.c: Use IS_IN.
3365 * dlfcn/dladdr1.c: Likewise.
3366 * dlfcn/dlclose.c: Likewise.
3367 * dlfcn/dlerror.c: Likewise.
3368 * dlfcn/dlinfo.c: Likewise.
3369 * dlfcn/dlmopen.c: Likewise.
3370 * dlfcn/dlopen.c: Likewise.
3371 * dlfcn/dlsym.c: Likewise.
3372 * dlfcn/dlvsym.c: Likewise.
3373
85f36372
SP
3374 * include/ifaddrs.h: Use IS_IN.
3375 * inet/check_pf.c: Likewise.
3376 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3377 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3378
fb6784e3
SP
3379 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3380 IS_IN_ldconfig.
3381 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3382 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3383
2886d2d1
SP
3384 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3385 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3386 IS_IN (libc).
3387
9a484857
SP
3388 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3389
a10178bd
SP
3390 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3391 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3392 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3393 * include/libc-symbols.h (IS_IN_LIB): New macro.
3394 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3395 * include/netdb.h: Likewise.
3396 * include/stap-probe.h: Remove all uses of IN_LIB.
3397
279bc5b3
SP
3398 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3399 instead of IN_MODULE.
3400 * include/libc-symbols.h (IN_MODULE): Define using
3401 MODULE_NAME.
3402 (PASTE_NAME, PASTE_NAME1): New macros.
3403 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3404 of IN_LIB.
3405 (STAP_PROBE_ASM): Likewise.
3406
e0cfa510
ST
34072014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3408
3409 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3410 __mach_init in dlopened libc.
3411
34d97d87
MF
34122014-11-22 Mike Frysinger <vapier@gentoo.org>
3413
3414 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3415 * sysdeps/arm/preconfigure: Regenerate.
3416
33cd1f74
RM
34172014-11-21 Roland McGrath <roland@hack.frob.com>
3418
3419 * nptl/pthread_create.c (__pthread_create_2_1): Set
3420 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3421 when copying values from IATTR into PD.
3422
8c230039
WN
34232014-11-21 Will Newton <will.newton@linaro.org>
3424 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3425
6d3db89b
AP
3426 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3427 Refactor inline-asm. Also add comment.
3428
01194ba1
WN
3429 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3430 ElfW macro instead of hardcoded Elf64 types.
3431 (la_aarch64_gnu_pltenter): Likewise.
3432 * sysdeps/aarch64/dl-machine.h
3433 (elf_machine_runtime_setup): Use ElfW(Addr).
3434
8c230039
WN
3435 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3436 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3437 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3438 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3439 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3440 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3441 (R_AARCH64_TLS_DTPMOD): This.
3442 (R_AARCH64_TLS_DTPREL64): Rename to ...
3443 (R_AARCH64_TLS_DTPREL): This.
3444 (R_AARCH64_TLS_TPREL64): Rename to ...
3445 (R_AARCH64_TLS_TPREL): This.
3446 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3447 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3448 R_AARCH64_TLS_TPREL64.
3449 (elf_machine_rela): Likewise.
3450
0d79fa53
TR
34512014-11-21 Torvald Riegel <triegel@redhat.com>
3452
3453 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3454 by setting it to 0. 64b atomics are not supported currently.
3455
b59d114b
AO
34562014-11-21 Alexandre Oliva <aoliva@redhat.com>
3457
3458 [BZ #16469]
3459 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3460 search domain names.
3461
f3d945d5
AO
34622014-11-21 Alexandre Oliva <aoliva@redhat.com>
3463
3464 [BZ #16469]
3465 * NEWS: Update.
3466 * resolv/res_query.c (__libc_res_nquerydomain): Retain
3467 trailing dot.
3468 * posix/tst-getaddrinfo5.c: New.
3469 * posix/Makefile (tests): Add it.
3470
49698902
AO
34712014-11-21 Alexandre Oliva <aoliva@redhat.com>
3472
3473 [BZ #14498]
3474 * NEWS: Fixed.
3475 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3476 after parsing line but before break_if_match.
3477 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3478 if there is a protocol mismatch.
3479
81959214
MS
34802014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3481
3482 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3483 because the potential race is on the user-supplied stream.
3484
7729e0e9
AO
34852014-11-21 Alexandre Oliva <aoliva@redhat.com>
3486
3487 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3488 string literal if not passed a buffer.
3489 * manual/job.texi (ctermid): Update reasoning, note deviation
3490 from posix, suggest mtasurace when not passed a buffer, for
3491 future non-preliminary safety notes.
3492
a4ea5e28
AO
34932014-11-21 Alexandre Oliva <aoliva@redhat.com>
3494
3495 * manual/users.texi (cuserid): Fix MT-Safety note for the case
3496 of not passing it a buffer.
3497 Reported by Peng Haitao.
3498
a2b581cb
AO
34992014-11-21 Alexandre Oliva <aoliva@redhat.com>
3500
3501 * manual/Makefile ($(objpfx)stamp-summary): Require
3502 check-safety.sh to pass.
3503 * manual/check-safety.sh: Wish for verification that every
3504 @deftypefn and @deftypefun is followed by a @safety remark.
3505
f214ff74
RM
35062014-11-20 Roland McGrath <roland@hack.frob.com>
3507
7f0dfae0
RM
3508 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3509
2f531bbb
RM
3510 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3511 PTHREAD_CANCEL_ASYNCHRONOUS.
3512 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3513 send SIGCANCEL.
3514
f214ff74
RM
3515 * nptl/default-sched.h: New file.
3516 * sysdeps/unix/sysv/linux/default-sched.h: New file.
3517 * nptl/pthread_create.c: Include it.
3518 (__pthread_create_2_1): Use collect_default_sched instead of making
3519 Linux syscalls here directly.
3520
e37c91d4
TR
35212014-11-20 Torvald Riegel <triegel@redhat.com>
3522
3523 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3524 __pthread_once): Use C11 atomics.
3525
1eccfecd
TR
35262014-11-20 Torvald Riegel <triegel@redhat.com>
3527
3528 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3529
ff871426
TR
35302014-11-20 Torvald Riegel <triegel@redhat.com>
3531
3532 * include/atomic.h (__atomic_link_error, __atomic_check_size,
3533 atomic_thread_fence_acquire, atomic_thread_fence_release,
3534 atomic_thread_fence_seq_cst, atomic_load_relaxed,
3535 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3536 atomic_compare_exchange_weak_relaxed,
3537 atomic_compare_exchange_weak_acquire,
3538 atomic_compare_exchange_weak_release,
3539 atomic_exchange_acquire, atomic_exchange_release,
3540 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3541 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3542 atomic_fetch_and_acquire,
3543 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3544
1ea339b6
TR
35452014-11-20 Torvald Riegel <triegel@redhat.com>
3546
3547 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3548 USE_ATOMIC_COMPILER_BUILTINS): Define.
3549 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3551 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3553 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3555 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3557 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3559 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3561 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3563 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3564 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3565 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3566 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3567 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3568 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3569 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3570 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3571 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3572 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3573 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3574 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3575 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3576 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3577 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3578 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3579 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3580 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3581 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3582 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3583 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3584 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3586 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3587 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3588 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3589
cbd463e2
RM
35902014-11-19 Roland McGrath <roland@hack.frob.com>
3591
d960211f
RM
3592 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3593 the sched_priority value here. It was already checked when the user
3594 called pthread_attr_setschedparam.
3595
cbd463e2
RM
3596 * nptl/tst-bad-schedattr.c: New file.
3597 * nptl/Makefile (tests): Add it.
3598
a39208bd
CD
35992014-11-19 Carlos O'Donell <carlos@redhat.com>
3600 Florian Weimer <fweimer@redhat.com>
3601 Joseph Myers <joseph@codesourcery.com>
3602 Adam Conrad <adconrad@0c3.net>
3603 Andreas Schwab <schwab@suse.de>
3604 Brooks <bmoses@google.com>
3605
3606 [BZ #17625]
3607 * wordexp-test.c (__dso_handle): Add prototype.
3608 (__register_atfork): Likewise.
3609 (__app_register_atfork): New function.
3610 (registered_forks): New global.
3611 (register_fork): New function.
3612 (test_case): Add 3 new tests for WRDE_CMDSUB.
3613 (main): Call __app_register_atfork.
3614 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3615 fork count is non-zero fail the test.
3616 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3617 is set.
3618 (parse_dollars): Remove check for WRDE_NOCMD.
3619 (parse_dquote): Likewise.
3620
9cd47470
SP
36212014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3622
130ac68c
SP
3623 * Makeconfig (built-modules): List non-library modules to be
3624 built.
3625 (module-cppflags): Include libc-modules.h for
3626 everything except shlib-versions.v.i.
3627 (CPPFLAGS): Use it.
3628 (before-compile): Add libc-modules.h.
3629 ($(common-objpfx)libc-modules.h,
3630 $(common-objpfx)libc-modules.stmp): New targets.
3631 (common-generated): Add libc-modules.h and libc-modules.stmp.
3632 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3633 * include/libc-symbols.h: Don't include libc-modules.h.
3634 * include/libc-modules.h: Remove file.
3635 * scripts/gen-libc-modules.awk: New script to generate
3636 libc-modules.h.
3637 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3638 Depend on libc-modules.stmp.
3639
286663c3
SP
3640 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3641
9cd47470
SP
3642 * Makeconfig (in-module): Get value of libof set for the
3643 translation unit.
3644 (CPPFLAGS): Use $(in-module).
3645 * Makerules: Don't suffix routine names for nonlib.
3646 * include/libc-modules.h: New file.
3647 * include/libc-symbols.h: Include libc-modules.h
3648 (IS_IN): New macro to replace IS_IN_* macros.
3649 * elf/Makefile: Set libof-* for each routine.
3650 * elf/rtld-Rules: Likewise.
3651 * extra-modules.mk: Likewise.
3652 * iconv/Makefile: Likewise.
3653 * iconvdata/Makefile: Likewise.
3654 * locale/Makefile: Likewise.
3655 * malloc/Makefile: Likewise.
3656 * nss/Makefile: Likewise.
3657 * sysdeps/gnu/Makefile: Likewise.
3658 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3659 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3660 * sysdeps/s390/s390-64/Makefile: Likewise.
3661 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3662 CPPFLAGS for nscd instead of nonlib.
3663
32fed10f
RM
36642014-11-18 Roland McGrath <roland@hack.frob.com>
3665
d71035bd
RM
3666 * nptl/createthread.c: New file.
3667
6540b991
RM
3668 * nptl/createthread.c: Moved ...
3669 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3670
32fed10f
RM
3671 * nptl/createthread.c: Add proper top-line comment.
3672 (do_clone): Folded into ...
3673 (create_thread): ... here. Take new arguments STOPPED_START and
3674 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3675 increment __nptl_threads, do event-reporting logic, do
3676 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3677 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3678 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3679 just send SIGCANCEL.
3680 * nptl/pthread_create.c: Forward-declare create_thread before
3681 including createthread.c.
3682 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3683 declaration, and new macro START_THREAD_SELF to replace argument.
3684 Remove return statement.
3685 (report_thread_creation): New function.
3686 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3687 synchronization logic, and __nptl_nthreads increment here, around
3688 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3689 PD->parent_cancelhandling here, before create_thread. When
3690 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3691 __deallocate_stack, and ENOMEM translation here.
3692
107a5bf0
JM
36932014-11-18 Joseph Myers <joseph@codesourcery.com>
3694
3695 [BZ #17616]
3696 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3697 (mptwo): Rename to __mptwo.
3698 (__inv): Use __mptwo instead of mptwo.
3699 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3700 (mptwo): Rename to __mptwo.
3701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3702 of mpone and __mptwo instead of mptwo.
3703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3704 instead of mpone.
3705 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3706 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3707 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3708 of mpone and __mptwo instead of mptwo.
3709 (__mpranred): Use __mpone instead of mpone.
3710 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3711 variable.
3712 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3713 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3714 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3715 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3716 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3717 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3718 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3719 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3720 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3721 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3722 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3723 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3724 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3725 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3726 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3727 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3728 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3729 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3730 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3731
3b679ab3
TV
37322014-11-18 Tom de Vries <tom@codesoucery.com>
3733
3734 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3735 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
3736
37372014-11-17 Richard Henderson <rth@redhat.com>
3738
3739 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3740 (_FP_PACK_RAW_2): Remove.
3741 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3742 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3743 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3744 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3745 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3746 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3747 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3748 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3749 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3750 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3751 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3752 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3753 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3754 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3755 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3756 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3757
0781a777
RM
37582014-11-14 Roland McGrath <roland@hack.frob.com>
3759
3760 * signal/signal.h [__USE_MISC]
3761 (struct sigvec): Remove type.
3762 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3763 (sigvec): Remove declaration.
3764 * sysdeps/posix/sigvec.c: Moved ...
3765 * signal/sigvec.c: ... here, replacing old file.
3766 (struct sigvec): New type, copied from old signal.h definition.
3767 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3768 (__sigvec): Convert definition to prototype.
3769 (sigvec): Replace weak_alias with compat_symbol.
3770 * signal/Versions (libc: GLIBC_2.21): New version set.
3771 * include/signal.h: Remove __sigvec declaration.
3772 * sysdeps/unix/bsd/sigvec.c: Remove file.
3773 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3774 * manual/signal.texi (BSD Handler): Remove subsection.
3775 Move siginterrupt up to ...
3776 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3777 (Blocking in BSD): Fold subsection into its parent.
3778 * NEWS: Mention sigvec removal.
3779
a4733812
JM
37802014-11-14 Joseph Myers <joseph@codesourcery.com>
3781
5ae4fe60
JM
3782 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3783 (DLA_FMS): Make definition conditional only on [__FMA4__].
3784 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3785 definition.
3786
6a0dd472
JM
3787 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3788 Make definition conditional only on [PROF].
3789 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3790 definition.
3791 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3792 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3793
a4733812
JM
3794 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3795 !__GNUC__].
3796 * include/signal.h (__sigpause): Move declaration above call to
3797 libc_hidden_proto.
3798 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3799 variable.
3800 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3801 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3802
cf7246dd
DM
38032014-11-14 David S. Miller <davem@davemloft.net>
3804
3805 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3806 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3807
c1b0aadc
JM
38082014-11-14 Joseph Myers <joseph@codesourcery.com>
3809
4863355a
JM
3810 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3811 * configure: Regenerated.
3812 * manual/install.texi (Tools for Compilation): Document a
3813 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3814 compiler verified to work.
3815 * INSTALL: Regenerated.
3816
c1b0aadc
JM
3817 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3818 redeclare with asm name.
3819 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3820 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3821 including <string.h>.
3822 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3823 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3824 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3825 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3826 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3828 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3829
2a1cfd94
JM
38302014-11-13 Joseph Myers <joseph@codesourcery.com>
3831
bf438382
JM
3832 * stdlib/strtol.c (__strtol): Use prototype definition.
3833
2a1cfd94
JM
3834 [BZ #17594]
3835 * stdlib/strtol.c (SYM__): New macro.
3836 (SYM__1): Likewise.
3837 (__strtol): Likewise.
3838 (strtol): Rename to __strtol and define as weak alias of
3839 __strtol. Use libc_hidden_weak.
3840
20ed0d26
SL
38412014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3842
3843 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3844 Use numbered labels in inline assembly.
3845
53244a4e
SL
38462014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3847
3848 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3849 Add setjmp LIBC_PROBE.
3850 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3851 Likewise.
3852 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3853 Add longjmp, longjmp_target LIBC_PROBE.
3854 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3855 Likewise.
3856
47df8251
SL
38572014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3858
3859 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3860 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3861 to get rid of unused variable warning.
3862
618cebef
SL
38632014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3864
3865 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3866 Check for unwind_backtrace == NULL only in SHARED case.
3867 (__backchain_backtrace): Compile only in SHARED case.
3868 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3869 Likewise.
3870 (__backchain_backtrace): Declare as static.
3871
c6aab2cb
RM
38722014-11-12 Roland McGrath <roland@hack.frob.com>
3873
3874 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3875 (__libc_multiple_threads_ptr): Variable moved ...
3876 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3877
5a6fa4d7
JM
38782014-11-12 Joseph Myers <joseph@codesourcery.com>
3879
24f4f825
JM
3880 * conform/GlibcConform.pm: New file.
3881 * conform/conformtest.pl: Use GlibcConform module.
3882 * conform/linknamespace.pl: New file.
3883 * conform/list-header-symbols.pl: Likewise.
3884 * conform/Makefile (linknamespace-symlists-base): New variable.
3885 (linknamespace-symlists-tests): Likewise.
3886 (linknamespace-header-base): Likewise.
3887 (linknamespace-header-tests): Likewise.
3888 (tests-special): Add new tests.
3889 ($(linknamespace-symlists-tests)): New rule.
3890 (linknamespace-libs): New variable.
3891 ($(objpfx)symlist-stdlibs): New rule.
3892 ($(linknamespace-header-tests)): Likewise.
3893 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3894 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3895 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3896 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3897 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3898 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3899 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3900 (test-xfail-ISO/math.h/linknamespace): Likewise.
3901 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3902 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3903 (test-xfail-ISO/time.h/linknamespace): Likewise.
3904 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3905 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3906 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3907 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3908 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3909 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3910 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3911 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3912 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3913 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3914 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3915 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3916 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3917 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3918 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3919 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3920 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3921 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3922 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3923 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3924 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3925 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3926 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3927 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3928 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3929 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3930 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3931 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3932 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3933 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3934 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3935 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3936 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3937 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3938 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3939 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3940 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3941 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3942 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3943 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3944 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3945 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3946 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3947 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3948 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3949 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3950 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3951 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3952 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3953 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3954 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3955 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3956 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3957 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3958 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3959 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3960 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3961 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3962 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3963 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3964 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3965 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3966 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3967 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3968 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3969 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3970 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3971 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3972 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3973 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3974 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3975 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3976 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3977 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3978 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3979 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3980 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3981 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3982 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3983 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3984 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3985 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3986 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3987 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3988 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3989 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3990 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3991 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3992 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3993 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3994 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3995 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3996 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3997 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3998 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3999 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4000 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4001 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4002 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4003 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4004 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4005 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4006 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4007 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4008 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4009 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4010 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4011 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4012 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4013 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4014 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4015 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4016 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4017 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4018 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4019 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4020 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4021 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4022 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4023 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4024 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4025 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4026 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4027 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4028 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4029 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4030 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4031 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4032 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4033 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4034 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4035 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4036 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4037 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4038 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4039 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4040 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4041 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4042 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4043 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4044 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4045 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4046 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4047 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4048 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4049 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4050 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4051 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4052 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4053 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4054
cc67478e
JM
4055 [BZ #17589]
4056 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4057 of fgets_unlocked.
4058
9975e3d3
JM
4059 [BZ #17585]
4060 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4061 (memmem): Rename to __memmem and define as weak alias of
4062 __memmem. Use libc_hidden_weak.
4063 (__memmem): Use libc_hidden_def.
4064 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4065 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4066 memmem.
4067
c4eae752
JM
4068 [BZ #17582]
4069 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4070 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4071 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4072 and define as weak alias of __fgets_unlocked. Use
4073 libc_hidden_weak.
4074 (__fgets_unlocked): Use libc_hidden_def.
4075 * include/stdio.h (__fgets_unlocked): Declare. Use
4076 libc_hidden_proto.
4077 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4078 __fgets_unlocked instead of fgets_unlocked.
4079 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4080 (GET_NPROCS_CONF_PARSER): Likewise.
4081 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4082 (GET_NPROCS_CONF_PARSER): Likewise.
4083
01cad84e
JM
4084 [BZ #17574]
4085 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4086 weak alias of __wmemset. Use libc_hidden_weak.
4087 (__wmemset): Use libc_hidden_def.
4088 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4089 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4090 of wmemset.
4091
939da411
JM
4092 [BZ #17573]
4093 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4094 with asm name __mempcpy.
4095 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4096
293d9a41
JM
4097 [BZ #17572]
4098 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4099 and define as weak alias of __rawmemchr.
4100 (__rawmemchr): Do not define as strong alias of rawmemchr.
4101
bef8fd60
JM
4102 [BZ #17571]
4103 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4104 alias of __qsort_r.
4105 (qsort): Call __qsort_r instead of qsort_r.
4106 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4107 (__qsort_r): Declare. Call libc_hidden_proto.
4108 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4109 instead of qsort_r.
4110 * nscd/gai.c (__qsort_r): Define to qsort_r.
4111 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4112 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4113 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4114
c52ff39e
JM
4115 [BZ #17570]
4116 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4117 define as weak alias of __malloc_info.
4118
2f5c1b00
JM
4119 [BZ #17584]
4120 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4121 as weak alias of __rewinddir. Don't use libc_hidden_def.
4122 (__rewinddir): Use libc_hidden_def.
4123 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4124 as weak alias of __rewinddir. Don't use libc_hidden_def.
4125 (__rewinddir): Use libc_hidden_def.
4126 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4127 weak alias of __rewinddir. Don't use libc_hidden_def.
4128 (__rewinddir): Use libc_hidden_def.
4129 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4130 (__rewinddir): Use libc_hidden_proto.
4131 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4132 rewinddir.
4133 (__getcwd): Use __rewinddir instead of rewinddir.
4134
5a6fa4d7
JM
4135 [BZ #17583]
4136 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4137 alias of __fileno. Use libc_hidden_weak.
4138 (__fileno): Use libc_hidden_def.
4139 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4140 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4141 alias of __ftello.
4142 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4143 __ftello.
4144 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4145 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4146 libc_hidden_def.
4147 (fread_unlocked): Don't use libc_hidden_ver.
4148 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4149 and define as weak alias of __fread_unlocked. Don't use
4150 libc_hidden_def.
4151 (__fread_unlocked): Use libc_hidden_def.
4152 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4153 (ftello): Don't use libc_hidden_proto.
4154 (__ftello): Declare. Use libc_hidden_proto.
4155 (fread_unlocked): Don't use libc_hidden_proto.
4156 (__fread_unlocked): Declare. Use libc_hidden_proto.
4157 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4158 and __ftello instead of fileno, fread_unlocked and ftello.
4159
2581b98e
SP
41602012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4161
4162 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4163 GOT12.
4164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4165 Likewise.
4166 (_dl_start_user): Likewise.
4167 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4168
533bb7c2
SP
41692014-11-12 Carlos O'Donell <carlos@redhat.com>
4170 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
4172 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4173 Move argv and envp down instead of moving argc up.
4174 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4175
fffa1cf8
LH
41762014-11-12 Leonhard Holz <leonhard.holz@web.de>
4177
4178 [BZ #17506]
4179 * test-skeleton.c (main): Return successful if one of
4180 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4181 * string/tst-strcoll-overflow.c: Define expected status.
4182
fb89b46d
TU
41832014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4184
4185 [BZ #17475]
4186 * locale/iso-639.def: Define Bhili and Tulu language codes.
4187
5c40c3ba
AH
41882014-11-11 Alan Hayward <alan.hayward@arm.com>
4189
4190 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4191
b17fe01b 41922014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4193
4194 [BZ #17555]
4195 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4196
bd805071
AS
41972014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4198
4199 * configure.ac: Updated check of minimal required version to
4200 2.22.
4201 * manual/install.texi (Tools for Compilation): Updated version
4202 number.
4203 * configure: Regenerated.
4204 * INSTALL: Likewise.
4205
1400983e
AS
42062014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4207
4208 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4209 __tls_get_addr.
4210
2c46a66a
JM
42112014-11-07 Joseph Myers <joseph@codesourcery.com>
4212
4213 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4214 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4215 (__waitpid): Don't define as alias. Use libc_hidden_def not
4216 libc_hidden_weak.
4217 (waitpid): Define as alias of __waitpid.
4218 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4219 __waitpid.
4220 (__waitpid): Don't define as alias. Use libc_hidden_def not
4221 libc_hidden_weak.
4222 (waitpid): Define as alias of __waitpid.
4223 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4224 __libc_waitpid alias.
4225 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4226 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4227 Likewise.
4228 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4230 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4231 alias.
4232 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4233 __waitpid.
4234 (__waitpid): Don't define as alias. Use libc_hidden_def not
4235 libc_hidden_weak.
4236 (waitpid): Define as alias of __waitpid.
4237
da53d6db
CD
42382014-11-06 Carlos O'Donell <carlos@redhat.com>
4239
a2887bdb
CD
4240 * manual/llio.texi: Add comment that write safety has been
4241 fixed in Linux.
4242
da53d6db
CD
4243 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4244 (localplt-build-dso): Add elf/ld.so.
4245 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4246 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4247 and free for ld.so.
4248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4249 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4251 Likewise.
4252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4253 Likewise.
4254 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4255 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4256 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4257 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4258 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4259 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4260 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4261 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4262 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4263 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4264 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4265
9cf27b8d
JM
42662014-11-05 Joseph Myers <joseph@codesourcery.com>
4267
4268 [BZ #14132]
4269 * include/libc-symbols.h (INTUSE): Remove macro.
4270 (INTDEF): Likewise.
4271 (INTVARDEF): Likewise.
4272 (_INTVARDEF): Likewise.
4273 (INTDEF2): Likewise.
4274 (INTVARDEF2): Likewise.
4275 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4276 rtld_hidden_def instead of INTVARDEF.
4277 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4278 (_dl_starting_up_internal): Remove declaration.
4279 (_dl_starting_up): Use rtld_hidden_proto.
4280 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4281 declaration.
4282 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4283 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4284 _dl_starting_up.
4285 * elf/dl-writev.h (_dl_writev): Likewise.
4286 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4287 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4288 _dl_starting_up_internal.
4289
af83568d
AZ
42902014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4291
4292 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4293 test-skeleton.c.
4294
b01ee67c
WN
42952014-11-05 Will Newton <will.newton@linaro.org>
4296
4297 * benchtests/Makefile: (bench-malloc): Add malloc thread
4298 scalability benchmark.
4299 * benchtests/bench-malloc-threads.c: New file.
4300
be9d4ccc
RE
43012014-11-05 Richard Earnshaw <rearnsha@arm.com>
4302
4303 * sysdeps/aarch64/strchrnul.S: New file.
4304
7110166d
AZ
43052014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4306
4307 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4308 definition.
4309 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4310 Likwise.
4311 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4312 Likewise.
4313 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4314 Likewise.
4315 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4316 Likewise.
4317 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4318 Likewise.
4319
43202014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4321
4322 * catgets/test-gencat.c: Use test-skeleton.c.
4323 * catgets/tst-catgets.c: Likewise.
4324 * csu/tst-empty.c: Likewise.
4325 * elf/tst-audit2.c: Likewise.
4326 * elf/tst-global1.c: Likewise.
4327 * elf/tst-pathopt.c: Likewise.
4328 * elf/tst-piemod1.c: Likewise.
4329 * elf/tst-tls10.c: Likewise.
4330 * elf/tst-tls11.c: Likewise.
4331 * elf/tst-tls12.c: Likewise.
4332 * gnulib/tst-gcc.c: Likewise.
4333 * iconvdata/tst-e2big.c: Likewise.
4334 * iconvdata/tst-loading.c: Likewise.
4335 * iconv/tst-iconv1.c: Likewise.
4336 * iconv/tst-iconv2.c: Likewise.
4337 * inet/test-inet6_opt.c: Likewise.
4338 * inet/tst-gethnm.c: Likewise.
4339 * inet/tst-network.c: Likewise.
4340 * inet/tst-ntoa.c: Likewise.
4341 * intl/tst-codeset.c: Likewise.
4342 * intl/tst-gettext2.c: Likewise.
4343 * intl/tst-gettext3.c: Likewise.
4344 * intl/tst-ngettext.c: Likewise.
4345 * intl/tst-translit.c: Likewise.
4346 * io/test-stat.c: Likewise.
4347 * libio/test-fmemopen.c: Likewise.
4348 * libio/tst-freopen.c: Likewise.
4349 * libio/tst-sscanf.c: Likewise.
4350 * libio/tst-ungetwc1.c: Likewise.
4351 * libio/tst-ungetwc2.c: Likewise.
4352 * libio/tst-widetext.c: Likewise.
4353 * localedata/tst-ctype.c: Likewise.
4354 * localedata/tst-digits.c: Likewise.
4355 * localedata/tst-leaks.c: Likewise.
4356 * localedata/tst-mbswcs1.c: Likewise.
4357 * localedata/tst-mbswcs2.c: Likewise.
4358 * localedata/tst-mbswcs3.c: Likewise.
4359 * localedata/tst-mbswcs4.c: Likewise.
4360 * localedata/tst-mbswcs5.c: Likewise.
4361 * localedata/tst-setlocale.c: Likewise.
4362 * localedata/tst-trans.c: Likewise.
4363 * localedata/tst-wctype.c: Likewise.
4364 * localedata/tst-xlocale1.c: Likewise.
4365 * login/tst-grantpt.c: Likewise.
4366 * malloc/tst-calloc.c: Likewise.
4367 * malloc/tst-malloc.c: Likewise.
4368 * malloc/tst-mallocstate.c: Likewise.
4369 * malloc/tst-mcheck.c: Likewise.
4370 * malloc/tst-mtrace.c: Likewise.
4371 * malloc/tst-obstack.c: Likewise.
4372 * math/atest-exp2.c: Likewise.
4373 * math/atest-exp.c: Likewise.
4374 * math/atest-sincos.c: Likewise.
4375 * math/test-matherr.c: Likewise.
4376 * math/test-misc.c: Likewise.
4377 * math/test-powl.c: Likewise.
4378 * math/tst-definitions.c: Likewise.
4379 * misc/tst-dirname.c: Likewise.
4380 * misc/tst-efgcvt.c: Likewise.
4381 * misc/tst-fdset.c: Likewise.
4382 * misc/tst-hsearch.c: Likewise.
4383 * misc/tst-mntent2.c: Likewise.
4384 * nptl/tst-sem7.c: Likewise.
4385 * nptl/tst-sem8.c: Likewise.
4386 * nptl/tst-sem9.c: Likewise.
4387 * nss/test-netdb.c: Likewise.
4388 * posix/tst-fnmatch.c: Likewise.
4389 * posix/tst-getlogin.c: Likewise.
4390 * posix/tst-gnuglob.c: Likewise.
4391 * posix/tst-mmap.c: Likewise.
4392 * pwd/tst-getpw.c: Likewise.
4393 * resolv/tst-inet_ntop.c: Likewise.
4394 * rt/tst-timer.c: Likewise.
4395 * stdio-common/test-fseek.c: Likewise.
4396 * stdio-common/test-popen.c: Likewise.
4397 * stdio-common/test-vfprintf.c: Likewise.
4398 * stdio-common/tst-cookie.c: Likewise.
4399 * stdio-common/tst-fileno.c: Likewise.
4400 * stdio-common/tst-gets.c: Likewise.
4401 * stdio-common/tst-obprintf.c: Likewise.
4402 * stdio-common/tst-perror.c: Likewise.
4403 * stdio-common/tst-sprintf2.c: Likewise.
4404 * stdio-common/tst-sprintf3.c: Likewise.
4405 * stdio-common/tst-sprintf.c: Likewise.
4406 * stdio-common/tst-swprintf.c: Likewise.
4407 * stdio-common/tst-tmpnam.c: Likewise.
4408 * stdio-common/tst-unbputc.c: Likewise.
4409 * stdio-common/tst-wc-printf.c: Likewise.
4410 * stdlib/tst-environ.c: Likewise.
4411 * stdlib/tst-fmtmsg.c: Likewise.
4412 * stdlib/tst-limits.c: Likewise.
4413 * stdlib/tst-rand48-2.c: Likewise.
4414 * stdlib/tst-rand48.c: Likewise.
4415 * stdlib/tst-random2.c: Likewise.
4416 * stdlib/tst-random.c: Likewise.
4417 * stdlib/tst-strtol.c: Likewise.
4418 * stdlib/tst-strtoll.c: Likewise.
4419 * stdlib/tst-tls-atexit.c: Likewise.
4420 * stdlib/tst-xpg-basename.c: Likewise.
4421 * string/test-ffs.c: Likewise.
4422 * string/tst-bswap.c: Likewise.
4423 * string/tst-inlcall.c: Likewise.
4424 * string/tst-strtok.c: Likewise.
4425 * string/tst-strxfrm.c: Likewise.
4426 * sysdeps/x86_64/tst-audit10.c: Likewise.
4427 * sysdeps/x86_64/tst-audit3.c: Likewise.
4428 * sysdeps/x86_64/tst-audit4.c: Likewise.
4429 * sysdeps/x86_64/tst-audit5.c: Likewise.
4430 * time/tst-ftime_l.c: Likewise.
4431 * time/tst-getdate.c: Likewise.
4432 * time/tst-mktime3.c: Likewise.
4433 * time/tst-mktime.c: Likewise.
4434 * time/tst-posixtz.c: Likewise.
4435 * time/tst-strptime2.c: Likewise.
4436 * time/tst-strptime3.c: Likewise.
4437 * wcsmbs/tst-btowc.c: Likewise.
4438 * wcsmbs/tst-mbrtowc.c: Likewise.
4439 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4440 * wcsmbs/tst-wchar-h.c: Likewise.
4441 * wcsmbs/tst-wcpncpy.c: Likewise.
4442 * wcsmbs/tst-wcrtomb.c: Likewise.
4443 * wcsmbs/tst-wcsnlen.c: Likewise.
4444 * wcsmbs/tst-wcstof.c: Likewise.
4445
2004e7fb
JM
44462014-11-04 Joseph Myers <joseph@codesourcery.com>
4447
ab97ee8f
JM
4448 [BZ #14132]
4449 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4450 INTDEF.
4451 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4452 declaration.
4453 (_dl_mcount): Use rtld_hidden_proto.
4454 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4455 _dl_mcount.
4456 * elf/rtld.c (_rtld_global_ro): Likewise.
4457
c5684fdb
JM
4458 [BZ #14132]
4459 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4460 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4461 of _dl_init_internal.
4462 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4463 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4464 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4465 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4466 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4467 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4468 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4469 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4470 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4471 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4472 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4473 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4474 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4475 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4476 * sysdeps/tile/dl-start.S (_start): Likewise.
4477 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4478 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4479
4243cbea
JM
4480 [BZ #14132]
4481 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4482 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4483 (rtld_progname): Make macro definition unconditional.
4484 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4485 INTDEF.
4486 (dlmopen_doit): Do not use INTUSE with _dl_argv.
4487 (dl_main): Likewise.
4488 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4489 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4490 instead of _dl_argv_internal.
4491 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4492 __GI__dl_argv instead of INTUSE(_dl_argv).
4493 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4494 __GI__dl_argv instead of _dl_argv_internal.
4495
2004e7fb
JM
4496 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4497 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4498 macro.
4499 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4500 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4501 New macro.
4502 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4503 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4504 macro.
4505 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4506 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4507
97827bfc
AS
45082014-11-04 Andreas Schwab <schwab@suse.de>
4509
4510 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4511
5e4df284
AZ
45122014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4513
4514 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4515 mtvsrd instruction in binary form.
4516
04b76b5a
AS
45172014-11-03 Andreas Schwab <schwab@suse.de>
4518
4519 [BZ #17522]
4520 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4521 for less than MB_LEN_MAX use a local buffer of that size.
4522 * libio/tst-fputws.c: New file.
4523 * libio/Makefile (tests): Add tst-fputws.
4524
4c6da7da
JM
45252014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
4526
4527 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4528 the size of the fpu_fr.fpu_dregs[] array.
4529
1679ba8e
JM
45302014-11-01 Joseph Myers <joseph@codesourcery.com>
4531
4532 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4533 (__nanosleep): Do not define as alias.
4534 (nanosleep): Define as alias of __nanosleep.
4535 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4536 __libc_nanosleep name.
4537
2626c183
JM
45382014-10-31 Joseph Myers <joseph@codesourcery.com>
4539
4540 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4541 install.texi in comment.
4542
7f981fc2
TR
45432014-10-31 Torvald Riegel <triegel@redhat.com>
4544
4545 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4546 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4547 ... add here and use lwsync or sync ...
4548 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4549 ... and add here using lwsync.
4550
d6f373d2
MF
45512014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
4552
4553 * elf/dl-machine-reject-phdr.h: New file.
4554 * elf/dl-load.c: #include that.
4555 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4556 if that returned true.
4557
67c37987
RM
45582014-10-31 Roland McGrath <roland@hack.frob.com>
4559
4560 [BZ #17496]
4561 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4562 gen-as-const-headers chunk. Add a big scare comment after the last
4563 safe place to touch before-compile.
4564
94a42455 45652014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 4566
f3f5d895
JM
4567 * manual/install.texi (Tools for Compilation): Update autoconf
4568 version requirements.
4569 * INSTALL: Regenerated.
4570
f62ff286
JM
4571 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4572 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4573 (__libc_pselect): Likewise.
94a42455
JM
4574
4575 [BZ #14138]
4576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4580
ff9dbdc0
TR
45812014-10-31 Torvald Riegel <triegel@redhat.com>
4582
4583 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4584 correct barrier instruction.
4585 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4586 Likewise.
4587 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4588 Likewise.
4589
b4f66884
RM
45902014-10-30 Roland McGrath <roland@hack.frob.com>
4591
4592 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4593 after defining inlines. Instead, just use parens to defeat macro
4594 expansion of __isctype in its declaration.
4595
e19c95fd
JM
45962014-10-30 Joseph Myers <joseph@codesourcery.com>
4597
4598 * include/sys/uio.h (__libc_readv): Remove declaration.
4599 (__libc_writev): Likewise.
4600 * misc/readv.c (__libc_readv): Rename to __readv.
4601 (__readv): Do not define as alias.
4602 (readv): Define as alias of __readv.
4603 * misc/writev.c (__libc_writev): Rename to __writev.
4604 (__writev): Do not define as alias.
4605 (writev): Define as alias of __writev.
4606 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4607 (__readv): Do not define as alias.
4608 (readv): Define unconditionally as alias of __readv.
4609 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4610 (__writev): Do not define as alias.
4611 (writev): Define unconditionally as alias of __writev.
4612 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4613 name.
4614 (writev): Do not define __libc_writev name.
4615
65b00b6c
RM
46162014-10-30 Roland McGrath <roland@hack.frob.com>
4617
4618 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4619 (convert_charseq): New function, broken out of ...
4620 (use_from_charmap): ... here. Call it.
4621 (use_to_charmap): Use convert_charseq and free instead of duplicating
4622 its code with a variable-length stack struct.
4623
d4e157aa
JM
46242014-10-30 Joseph Myers <joseph@codesourcery.com>
4625
4626 * include/fcntl.h (__libc_creat): Remove declaration.
4627 * io/creat.c (__libc_creat): Rename to creat.
4628 (creat): Do not define as alias.
4629 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4630 of creat instead of __libc_creat.
4631 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4632 to creat.
4633 (creat): Do not define as alias.
4634 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4635 __libc_creat.
4636 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4637 __libc_creat name.
4638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4639 Likewise.
4640
0c6891a0
CD
46412014-10-29 Carlos O'Donell <carlos@redhat.com>
4642
4643 * manual/llio.texi: Add comments discussing why write() may be
4644 considered MT-unsafe on Linux.
4645
cc00cece
CD
46462014-10-28 Carlos O'Donell <carlos@redhat.com>
4647
4648 * dl-load.c (local_strdup): Remove.
4649 (expand_dynamic_string_token): Use __strdup.
4650 (decompose_rpath): Likewise.
4651 (_dl_map_object): Likewise.
4652
51e623f2
JM
46532014-10-28 Joseph Myers <joseph@codesourcery.com>
4654
4655 [BZ #14132]
4656 * sysdeps/generic/unwind-dw2-fde.c
4657 (__register_frame_info_bases_internal): Do not declare.
4658 (__register_frame_info_table_bases_internal): Likewise.
4659 (__deregister_frame_info_bases_internal): Likewise.
4660 (__register_frame_info_bases): Declare and use hidden_proto before
4661 definition. Use hidden_def instead of INTDEF.
4662 (__register_frame_info_table_bases): Likewise.
4663 (__deregister_frame_info_bases): Likewise.
4664 (__register_frame_info): Do not use INTUSE.
4665 (__register_frame): Likewise.
4666 (__register_frame_info_table): Likewise.
4667 (__register_frame_table): Likewise.
4668 (__deregister_frame_info): Likewise.
4669 (__deregister_frame): Likewise.
4670
03d41216
GC
46712014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4672
4673 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4674 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4675 not undefine.
4676 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4677 Likewise.
4678 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4679 Likewise.
4680
a4b3624d
JM
46812014-10-27 Joseph Myers <joseph@codesourcery.com>
4682
4683 [BZ #14138]
4684 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4685 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4686 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4687 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4688 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4689 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4690 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4691 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4692 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4693 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4694 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4695 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4696 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4697 syscall.
4698 (setfsuid): Likewise.
4699 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4700 (setfsuid): Likewise.
4701 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4702 (setfsuid): Likewise.
4703 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4704 Likewise.
4705 (setfsuid): Likewise.
4706 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4707 (setfsuid): Likewise.
4708 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4709 Likewise.
4710 (setfsuid): Likewise.
4711
3574f2fd
AS
47122014-10-27 Andreas Schwab <schwab@suse.de>
4713
4714 [BZ #17501]
4715 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4716 check for Slow_SSE4_2 feature bit.
4717 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4718 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4719 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4720 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4721
70996a37
RM
47222014-10-24 Roland McGrath <roland@hack.frob.com>
4723
461a7b1e
RM
4724 * configure.ac: Validate compiler version with a empirical test of
4725 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4726 $CC -v output.
4727 * configure: Regenerated.
4728
70996a37
RM
4729 * inet/htons.c (htons): Prototypify.
4730 * inet/htonl.c (htonl): Likewise.
4731
e80514b5
WD
47322014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4733
4734 * string/strncat.c (strncat): Improve performance by using strlen.
4735
6e46de42
WD
47362014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4737
4738 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4739
6a9ad2fa
WD
47402014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4741
4742 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4743 Call libc_fetestexcept_aarch64.
4744
1c8810ed
WD
47452014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4746
4747 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4748 Call libc_feholdexcept_aarch64.
4749
8b1af712
WD
47502014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4751
4752 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4753 Call get_rounding_mode.
4754
a7b00c11
WD
47552014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4756
4757 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4758 Simplify logic.
4759
3a84f1a6
WD
47602014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4761
4762 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4763 Simplify logic.
4764
48eb7a94
JM
47652014-10-24 Joseph Myers <joseph@codesourcery.com>
4766
c8bc4038
JM
4767 [BZ #14138]
4768 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4769 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4770 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4771 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4772 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4773 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4774 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4775 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4776 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4777 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4778 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4779 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4780 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4781 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4782 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4783 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4784 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4785 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4786 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4787 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4788 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4789 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4790 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4791 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4792 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4794 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4795 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4796 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4797 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4798 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4799 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4800 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4801 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4802 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4808 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4809 syscall.
4810 (geteuid): Likewise.
4811 (getgid): Likewise.
4812 (getuid): Likewise.
4813 (getresgid): Likewise.
4814 (getresuid): Likewise.
4815 (getgroups): Likewise.
4816 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4817 (geteuid): Likewise.
4818 (getgid): Likewise.
4819 (getuid): Likewise.
4820 (getresgid): Likewise.
4821 (getresuid): Likewise.
4822 (getgroups): Likewise.
4823 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4824 (geteuid): Likewise.
4825 (getgid): Likewise.
4826 (getuid): Likewise.
4827 (getresgid): Likewise.
4828 (getresuid): Likewise.
4829 (getgroups): Likewise.
4830 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4831 Likewise.
4832 (geteuid): Likewise.
4833 (getgid): Likewise.
4834 (getuid): Likewise.
4835 (getresgid): Likewise.
4836 (getresuid): Likewise.
4837 (getgroups): Likewise.
4838 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4839 (geteuid): Likewise.
4840 (getgid): Likewise.
4841 (getuid): Likewise.
4842 (getresgid): Likewise.
4843 (getresuid): Likewise.
4844 (getgroups): Likewise.
4845 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4846 Likewise.
4847 (geteuid): Likewise.
4848 (getgid): Likewise.
4849 (getuid): Likewise.
4850 (getgroups): Likewise.
4851
48eb7a94
JM
4852 [BZ #14138]
4853 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4854 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4855 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4857 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4858 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4859 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4860 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4861 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4862 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4863 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4864 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4865 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4866 __chown.
4867 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4868 (lchown): Likewise.
4869 (fchown): Likewise.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4871 Likewise.
4872 (lchown): Likewise.
4873 (fchown): Likewise.
4874 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4875 (lchown): Likewise.
4876 (fchown): Likewise.
4877 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4878 Likewise.
4879 (lchown): Likewise.
4880 (fchown): Likewise.
4881
ea9a7c8b
WD
48822014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4883
4884 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4885 Simplify logic.
4886
e226de33
WD
48872014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4888
4889 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4890 Cleanup logic.
4891
6e3d8ed3
WD
48922014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4893
4894 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4895 Remove unused include.
4896
eb04247d
WD
48972014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4898
4899 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4900 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4901 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4902 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4903
13d84554
CD
49042014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4905 Helge Deller <deller@gmx.de>
4906
4907 [BZ #17508]
4908 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4909 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4910 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4911
15f9c5df
JM
49122014-10-23 Joseph Myers <joseph@codesourcery.com>
4913
4914 [BZ #14132]
4915 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4916 Remove macro definition.
4917 (__ashrdi3_v_glibc20): Likewise.
4918 (__lshrdi3_v_glibc20): Likewise.
4919 (__cmpdi2_v_glibc20): Likewise.
4920 (__ucmpdi2_v_glibc20): Likewise.
4921 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4922 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4923 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4924 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4925 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4926 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4927
c6dfed24
RM
49282014-10-22 Roland McGrath <roland@hack.frob.com>
4929
4930 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4931 old GNU extension [0] syntax.
4932 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4933 alloca rather than an array member with variable length.
4934 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4935 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4936 (parse_opt): ... here. Likewise use alloca there.
4937 Validate the -i argument before checking for rootness.
4938 (send_shutdown): New function, broken out of ...
4939 (parse_opt): ... here.
4940
8c2b1ed8
RM
49412014-10-22 Roland McGrath <roland@hack.frob.com>
4942
4943 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4944 macro to get at the _rt_local_ro field.
4945 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4946 ([PIC] case) or _dl_hwcap ([!PIC] case).
4947 * sysdeps/arm/setjmp.S: Likewise.
4948
4949 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4950 * sysdeps/arm/configure.ac: New check to define it.
4951 * sysdeps/arm/configure: Regenerated.
4952 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4953 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4954 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4955 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4956 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4957 Use move/movt pair instead of a load.
4958 (LDST_GLOBAL): Macro removed.
4959 (LDR_GLOBAL): New macro replaces it.
4960 (LDR_HIDDEN): New macro.
4961 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4962 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4963
4964 * setjmp/tst-setjmp-static.c: New file.
4965 * setjmp/Makefile (tests): Add it.
4966 (tests-static): New variable.
4967
b5af9297
MR
49682014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4969
4970 [BZ #17485]
4971 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4972
a13d0d74
JM
49732014-10-21 Joseph Myers <joseph@codesourcery.com>
4974
4975 [BZ #14132]
4976 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4977
f05e73f6
RM
49782014-10-21 Roland McGrath <roland@hack.frob.com>
4979
4980 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4981
6ab1d1ea
RM
49822014-10-20 Roland McGrath <roland@hack.frob.com>
4983
4984 * io/fts.c (dirent_not_directory): New function.
4985 (fts_build): Call it.
4986
ab49e763
RM
49872014-10-20 Roland McGrath <roland@hack.frob.com>
4988
e436eb79
RM
4989 * nptl/version.c (__nptl_main): Use normal __write rather than
4990 INTERNAL_SYSCALL.
4991 (banner): Update copyright years.
4992
6af246cf
RM
4993 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4994 gettimeofday.
4995 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4996 * nptl/pthread_cond_timedwait.c: Likewise.
4997 * nptl/pthread_mutex_timedlock.c: Likewise.
4998 * nptl/sem_timedwait.c: Likewise.
4999
ab49e763
RM
5000 * sysdeps/nptl/bits/libc-lock.h
5001 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5002 (__libc_lock_init_recursive): Return void, not 0.
5003 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5004 (__libc_rwlock_init): Likewise.
5005 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5006
f50277c1
TR
50072014-10-20 Torvald Riegel <triegel@redhat.com>
5008
5009 [BZ #15215]
5010 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5011 (__pthread_once_slow): ... here.
5012 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5013 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5014
63668b70
TR
50152014-10-20 Torvald Riegel <triegel@redhat.com>
5016
5017 [BZ #15215]
5018 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5019 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5020 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5021 * nptl/pthread_once.c (__pthread_once): Likewise.
5022 Update comments.
5023
42b7f5d4
JM
50242014-10-20 Joseph Myers <joseph@codesourcery.com>
5025
5026 [BZ #14138]
5027 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5028 name.
5029 (writev): Use __libc_writev as strong name.
5030 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5031 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5032
b0643088
RM
50332014-10-17 Roland McGrath <roland@hack.frob.com>
5034
114c4e09
RM
5035 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5036
674b8978
RM
5037 * sysdeps/i386/nptl/tls.h
5038 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5039 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5040 New macros.
5041 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5042 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5043 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5044 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5045 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5046 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5047
184ee940
RM
5048 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5049 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5050 on [__NR_futex].
5051 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5052 broken out of ...
5053 (__pthread_mutex_init): ... here. Call it.
5054 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5055 Conditionalize PI cases on [__NR_futex].
5056 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5057 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5058 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5059
327ae257
RM
5060 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5061 conditional on [SIGSETXID].
5062 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5063 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5064 is defined. Likewise for SIGSETXID.
5065 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5066 Conditionalize definitions on [SIGSETXID].
5067 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5068 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5069 unblocking on [SIGCANCEL].
5070
b0643088
RM
5071 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5072 [__NR_set_robust_list].
5073
33cc770b
SP
50742014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5075
5076 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5077 (do_compare): Likewise.
5078
0742aef6
LH
50792014-10-17 Leonhard Holz <leonhard.holz@web.de>
5080
5081 [BZ #15884]
5082 * string/strcoll_l.c: Don't include stdio.h.
5083 (coll_seq): Remove members idxarr and rulearr.
5084 (get_next_seq_cached): Remove function.
5085 (get_next_seq): Likewise.
5086 (get_next_seq_nocache): Rename to get_next_seq.
5087 (do_compare): Remove function.
5088 (do_compare_nocache): Rename to do_compare.
5089 (STRCOLL): Remove weight and rules cache.
5090
ee54ce44
RM
50912014-10-16 Roland McGrath <roland@hack.frob.com>
5092
5093 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5094 * sysdeps/arm/sfp-machine.h: ... to here.
5095 * sysdeps/arm/Implies: Remove arm/soft-fp.
5096
a75d3b02
JM
50972014-10-14 Joseph Myers <joseph@codesourcery.com>
5098
5099 * conform/data/sys/utsname.h-data (*_t): Allow.
5100 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5101 [POSIX] (WEXITED): Do not expect constant.
5102 [POSIX] (WSTOPPED): Likewise.
5103 [POSIX] (WNOHANG): Likewise.
5104 [POSIX] (WNOWAIT): Likewise.
5105 [POSIX] (siginfo_t): Do not expect type or elements.
5106 [POSIX] (pid_t): Do not expect type.
5107 [POSIX] (signal.h): Do not allow header.
5108 [POSIX] (sys/resource.h): Likewise.
5109 [POSIX] (si_*): Do not allow pattern.
5110 [POSIX] (W*): Likewise.
5111 [POSIX] (P_*): Likewise.
5112 [POSIX] (BUS_*): Likewise.
5113 [POSIX] (CLD_*): Likewise.
5114 [POSIX] (FPE_*): Likewise.
5115 [POSIX] (ILL_*): Likewise.
5116 [POSIX] (POLL_*): Likewise.
5117 [POSIX] (SEGV_*): Likewise.
5118 [POSIX] (SI_*): Likewise.
5119 [POSIX] (TRAP_*): Likewise.
5120 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5121 variable.
5122
fda389c8
SP
51232014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5124
5125 [BZ #12926]
5126 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5127 infinite loop when __recvmsg returns 0.
5128
6bc6bd3b
JM
51292014-10-10 Joseph Myers <joseph@codesourcery.com>
5130
fcb32af1
JM
5131 * CANCEL-FCT-WAIVE: Remove file.
5132 * CANCEL-FILE-WAIVE: Likewise.
5133
6bc6bd3b
JM
5134 [BZ #14132]
5135 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5136 instead of INTVARDEF.
5137 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5138 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5139 rtld_hidden_data_def instead of INTVARDEF.
5140 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5141 * elf/dl-deps.c (expand_dst): Likewise.
5142 * elf/dl-load.c (_dl_dst_count): Likewise.
5143 (_dl_dst_substitute): Likewise.
5144 (decompose_rpath): Likewise.
5145 (_dl_init_paths): Likewise.
5146 (open_path): Likewise.
5147 (_dl_map_object): Likewise.
5148 * elf/rtld.c (dl_main): Likewise.
5149 (process_dl_audit): Likewise.
5150 (process_envvars): Likewise.
5151 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5152 Remove declaration.
5153 (__libc_enable_secure): Use rtld_hidden_proto.
5154
b8c80a7e
KS
51552014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5156
5157 * elf/dl-load.c
5158 (add_path): New function broken out of _dl_rtld_di_serinfo.
5159 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5160
ff12c11f
JM
51612014-10-09 Joseph Myers <joseph@codesourcery.com>
5162
5c0508a3
JM
5163 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5164 parentheses around macro arguments.
5165 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5166 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5167 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5168 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5169 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5170 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5171 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5172 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5173 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5174 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5175 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5176 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5177 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5178 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5179 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5180 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5181 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5182 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5183 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5184 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5185 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5186 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5187 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5188 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5189 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5190 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5191 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5192 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5193 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5194 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5195 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5196 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5197 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5198 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5199 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5200 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5201 Likewise.
5202 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5203 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5204 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5205 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5206 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5207 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5208 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5209 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5210 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5211 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5212 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5213 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5214 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5215 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5216 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5217 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5218 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5219 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5220 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5221 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5222 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5223 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5224 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5225 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5226 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5227 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5228 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5229 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5230 (_FP_FRAC_SRS_1): Likewise.
5231 (_FP_FRAC_CLZ_1): Likewise.
5232 (_FP_MUL_MEAT_1_imm): Likewise.
5233 (_FP_MUL_MEAT_1_wide): Likewise.
5234 (_FP_MUL_MEAT_1_hard): Likewise.
5235 (_FP_SQRT_MEAT_1): Likewise.
5236 (_FP_FRAC_ASSEMBLE_1): Likewise.
5237 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5238 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5239 (__FP_CLZ_2): Likewise.
5240 (_FP_MUL_MEAT_2_wide): Likewise.
5241 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5242 (_FP_MUL_MEAT_2_gmp): Likewise.
5243 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5244 (_FP_SQRT_MEAT_2): Likewise.
5245 (_FP_FRAC_ASSEMBLE_2): Likewise.
5246 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5247 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5248 (_FP_FRAC_CLZ_4): Likewise.
5249 (_FP_MUL_MEAT_4_wide): Likewise.
5250 (_FP_MUL_MEAT_4_gmp): Likewise.
5251 (_FP_SQRT_MEAT_4): Likewise.
5252 (_FP_FRAC_ASSEMBLE_4): Likewise.
5253 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5254 * soft-fp/op-common.h (_FP_CMP): Likewise.
5255 (_FP_CMP_EQ): Likewise.
5256 (_FP_CMP_UNORD): Likewise.
5257 (_FP_TO_INT): Likewise.
5258 (_FP_FROM_INT): Likewise.
5259 [!__FP_CLZ] (__FP_CLZ): Likewise.
5260 (_FP_DIV_HELP_imm): Likewise.
5261 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5262 Likewise.
5263 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5264 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5265 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5266 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5267 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5268 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5269 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5270 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5271 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5272 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5273 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5274 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5275 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5276 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5277 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5278 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5279 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5280 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5281 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5282 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5283 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5284 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5285 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5286 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5287 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5288 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5289 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5290 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5291 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5292 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5293 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5294 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5295 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5296 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5297 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5298 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5299 (FP_UNPACK_RAW_SP): Likewise.
5300 (FP_PACK_RAW_S): Likewise.
5301 (FP_PACK_RAW_SP): Likewise.
5302 (FP_UNPACK_S): Likewise.
5303 (FP_UNPACK_SP): Likewise.
5304 (FP_UNPACK_SEMIRAW_S): Likewise.
5305 (FP_UNPACK_SEMIRAW_SP): Likewise.
5306 (FP_PACK_S): Likewise.
5307 (FP_PACK_SP): Likewise.
5308 (FP_PACK_SEMIRAW_S): Likewise.
5309 (FP_PACK_SEMIRAW_SP): Likewise.
5310 (_FP_SQRT_MEAT_S): Likewise.
5311 (FP_CMP_S): Likewise.
5312 (FP_CMP_EQ_S): Likewise.
5313 (FP_CMP_UNORD_S): Likewise.
5314 (FP_TO_INT_S): Likewise.
5315 (FP_FROM_INT_S): Likewise.
5316
a736ec37
JM
5317 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5318
ff12c11f
JM
5319 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5320 (FP_EX_INVALID_IMZ): Likewise.
5321 (FP_EX_INVALID_IMZ_FMA): Likewise.
5322 (FP_EX_INVALID_ISI): Likewise.
5323 (FP_EX_INVALID_ZDZ): Likewise.
5324 (FP_EX_INVALID_IDI): Likewise.
5325 (FP_EX_INVALID_SQRT): Likewise.
5326 (FP_EX_INVALID_CVI): Likewise.
5327 (FP_EX_INVALID_VC): Likewise.
5328 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5329 "invalid" exceptions.
5330 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5331 (_FP_ADD_INTERNAL): Likewise.
5332 (_FP_MUL): Likewise.
5333 (_FP_FMA): Likewise.
5334 (_FP_DIV): Likewise.
5335 (_FP_CMP_CHECK_NAN): Likewise.
5336 (_FP_SQRT): Likewise.
5337 (_FP_TO_INT): Likewise.
5338 (FP_EXTEND): Likewise.
5339
b6dcfe8c
AM
53402014-10-09 Allan McRae <allan@archlinux.org>
5341
5342 * po/fr.po: Update French translation from translation project.
5343
2d6a47ba
JM
53442014-10-09 Joseph Myers <joseph@codesourcery.com>
5345
cb831245
JM
5346 [BZ #14132]
5347 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5348 of INTDEF.
5349 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5350 (__cxa_atexit): Use libc_hidden_proto.
5351 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5352
5deeb190
JM
5353 [BZ #14132]
5354 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5355 declaration.
5356 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5357 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5358 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5359 [!_ISOMAC] (__iswctype_internal): Likewise.
5360 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5361 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5362 alias.
5363 (fcntl): Remove __fcntl_internal alias.
5364 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5365 __connect_internal alias.
5366 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5367 Likewise.
5368
454ac701
JM
5369 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5370 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5371 FP_DENORM_ZERO.
5372 (_FP_CHECK_FLUSH_ZERO): New macro.
5373 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5374 (_FP_CMP): Likewise.
5375 (_FP_CMP_EQ): Likewise.
5376 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5377 FP_DENORM_ZERO.
5378 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5379 (FP_TRUNC): Likewise.
5380
0022e688
JM
5381 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5382 treated as invalid conversion, not as normal exponent.
5383
73e28d9c
JM
5384 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5385 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5386 (_FP_CMP_EQ): Likewise.
5387 (_FP_CMP_UNORD): Likewise.
5388 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5389 (FP_CMP_EQ_D): Likewise.
5390 (FP_CMP_UNORD_D): Likewise.
5391 * soft-fp/extended.h (FP_CMP_E): Likewise.
5392 (FP_CMP_EQ_E): Likewise.
5393 (FP_CMP_UNORD_E): Likewise.
5394 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5395 (FP_CMP_EQ_Q): Likewise.
5396 (FP_CMP_UNORD_Q): Likewise.
5397 * soft-fp/single.h (FP_CMP_S): Likewise.
5398 (FP_CMP_EQ_S): Likewise.
5399 (FP_CMP_UNORD_S): Likewise.
5400 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5401 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5402 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5403 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5404 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5405 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5406 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5407 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5408 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5409 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5410 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5411 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5412 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5413 to FP_CMP_Q.
5414 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5415 FP_CMP_Q.
5416 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5417 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5418 FP_CMP_EQ_Q.
5419 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5420 FP_CMP_Q.
5421 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5422 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5423 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5424 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5425 FP_CMP_EQ_Q.
5426 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5427 FP_CMP_Q.
5428 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5429 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5430 FP_CMP_EQ_Q.
5431 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5432 FP_CMP_Q.
5433 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5434 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5435 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5436 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5437 FP_CMP_EQ_Q.
5438
43059f42
JM
5439 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5440 a subnormal result, set the underflow exception if trapping on
5441 underflow is enabled.
5442 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5443 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5444 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5445 redefine to 0.
5446 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5447 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5448 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5449 * soft-fp/extendxftf2.c (__extendxftf2): Use
5450 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5451
2d6a47ba
JM
5452 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5453 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5454 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5455 FP_HANDLE_EXCEPTIONS.
5456 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5457 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5458 FP_HANDLE_EXCEPTIONS.
5459 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5460 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5461 FP_HANDLE_EXCEPTIONS.
5462 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5463 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5464 FP_HANDLE_EXCEPTIONS.
5465
620f462e
JM
54662014-10-08 Joseph Myers <joseph@codesourcery.com>
5467
5468 [BZ #14132]
5469 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5470 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5471 use INTUSE.
5472 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5473 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5474 Remove alias.
5475 (__adjtimex): Define using libc_hidden_ver.
5476 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5477 Remove declaration.
5478 (ntp_gettime): Call __adjtimex directly.
5479 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5480 Remove declaration.
5481 (ntp_gettimex): Call __adjtimex directly.
5482 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5483 __adjtimex_internal alias.
5484
c763c5d2
RM
54852014-10-08 Roland McGrath <roland@hack.frob.com>
5486
5487 [BZ #17460]
5488 * nscd/nscd.c (more_help): Rewrite list of tables collection
5489 using xstrdup and asprintf.
5490
5491 * nscd/nscd_conf.c: Remove local xstrdup declaration.
5492
7b8fb2b8
RM
54932014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5494 Roland McGrath <roland@hack.frob.com>
5495
5496 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5497 (do_lookup_unique): ... local function 'enter' here; update callers.
5498
abb280f7
JM
54992014-10-06 Joseph Myers <joseph@codesourcery.com>
5500
f7b42517
JM
5501 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5502 compat_symbol calls on [SHARED].
5503 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5504 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5505 Remove.
5506 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5507 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5508 (oldsetrlimit): Remove.
5509 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5511 (lchown): New syscall entry.
5512 (oldsetrlimit): Remove.
5513 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5515 (oldsetrlimit): Remove.
5516 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5517
abb280f7
JM
5518 [BZ #14138]
5519 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5520 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5521 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5522 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5523 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5524 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5525 (fchown): Likewise.
5526 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5527 (fchown): Likewise.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5529 Likewise.
5530
47d46237
AZ
55312014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5532
5533 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5534 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5535 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5536 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5537 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5538 Likewise.
5539 (__old_sem_post): Likewise.
5540
55412014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 5542
845a7343
CM
5543 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5544 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5545 HAVE_CLOCK_GETTIME_VSYSCALL macros.
5546 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5547 Use INLINE_VSYSCALL macro.
5548 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5549 __vdso_clock_gettime.
5550 * sysdeps/unix/sysv/linux/tile/init-first.c
5551 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5552 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5553 __vdso_clock_gettime.
5554
83d641ef
CM
5555 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5556 to set up frame more cleanly.
5557
d9cd52e6
CM
5558 * sysdeps/tile/memcmp.c: New file.
5559
4b68ea11
CM
5560 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5561
c86f7b80
CM
5562 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5563 * sysdeps/tile/tilegx/strcasestr.c: New file.
5564 * sysdeps/tile/tilegx/strnlen.c: New file.
5565 * sysdeps/tile/tilegx/strstr.c: New file.
5566
1c4c1a6f
CM
5567 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5568
99d86ea3
AS
55692014-10-06 Arjun Shankar <arjun.is@lostca.se>
5570
5571 * nptl/tst-setuid3.c: Write errors to stdout.
5572
06210a44
KS
55732014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5574
5575 * elf/dl-deps.c
5576 (preload): New functions broken out of _dl_map_object_deps.
5577 (_dl_map_object_deps): Remove a nested function. Update call sites.
5578
6268f532
JM
55792014-10-01 Joseph Myers <joseph@codesourcery.com>
5580
5581 [BZ #14138]
5582 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5583 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5584
b925285f
SE
55852014-10-01 Steve Ellcey <sellcey@mips.com>
5586
5587 * sysdeps/mips/strcmp.S: New.
5588
754a15c6
JM
55892014-09-30 Joseph Myers <joseph@codesourcery.com>
5590
5591 [BZ #14138]
5592 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5593 (linkat): Likewise.
5594 (mkdirat): Likewise.
5595 (readlinkat): Likewise.
5596 (renameat): Likewise.
5597 (symlinkat): Likewise.
5598 (unlinkat): Likewise.
5599 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5600 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5601 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5602 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5603 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5604 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5605 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5606
85bb81c9
WN
56072014-09-30 Will Newton <will.newton@linaro.org>
5608
dc6fe23b
WN
5609 * math/math.h: Define long double math functions if
5610 _LIBC_TEST is defined.
5611 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5612
85bb81c9
WN
5613 * localedata/Makefile: Move assignment to tests-special
5614 into an ifdef testing run-built-tests.
5615 * timezone/Makefile: Likewise.
5616
b7e02da4
JM
56172014-09-29 Joseph Myers <joseph@codesourcery.com>
5618
5619 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5620 with $(BASH) not $(SHELL).
5621
62058ce6
CD
56222014-09-29 Carlos O'Donell <carlos@redhat.com>
5623 Matthew LeGendre <legendre1@llnl.gov>
5624
5625 [BZ #17411]
5626 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5627 l_reloc_result.
5628
8e257a29
KS
56292014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5630
5631 * stdio-common/printf_fp.c
5632 (hack_digit): New function, broken out of ...
5633 (__printf_fp): ... local function here. Update call sites.
5634 hack_digit now takes an additional parameter that is a pointer
5635 to a struct of the referenced locals. Those locals moved inside
5636 the struct and references updated.
5637
f4a58f0d
L
56382014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5639
5640 * aclocal.m4: Require autoconf 2.69.
5641 * configure: Regenerated.
5642 * sysdeps/aarch64/configure: Likewise.
5643 * sysdeps/alpha/configure: Likewise.
5644 * sysdeps/arm/armv7/configure: Likewise.
5645 * sysdeps/arm/configure: Likewise.
5646 * sysdeps/ia64/configure: Likewise.
5647 * sysdeps/mach/configure: Likewise.
5648 * sysdeps/mips/configure: Likewise.
5649 * sysdeps/s390/configure: Likewise.
5650 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5652
5653 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5654 file.
5655 * sysdeps/ia64/configure.ac: Likewise.
5656
93ae1eba
JM
56572014-09-26 Joseph Myers <joseph@codesourcery.com>
5658
1810d3ab
JM
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5660 specify symbol version for ld.so. Do not include entry for
5661 libpthread.
5662 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5663 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5664 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5665
93ae1eba
JM
5666 [BZ #14171]
5667 * Makeconfig [$(build-shared) = yes]
5668 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5669 makefiles.
5670 [$(build-shared) = yes && $(soversions.mk-done) = t]
5671 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5672 [$(build-shared) = yes && $(soversions.mk-done) = t]
5673 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5674 to Makerules.
5675 [$(build-shared) = yes && $(soversions.mk-done) = t]
5676 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5677 here.
5678 [$(build-shared) = yes && $(soversions.mk-done) = t]
5679 (common-generated): Don't append gnu/lib-names.h and
5680 gnu/lib-names.stmp here.
5681 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5682 (lib-names-h-abi): New variable.
5683 [$(build-shared) = yes && $(soversions.mk-done) = t]
5684 (lib-names-stmp-abi): Likewise.
5685 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5686 abi-variants] (before-compile): Append
5687 $(common-objpfx)$(lib-names-h-abi).
5688 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5689 abi-variants] (common-generated): Append gnu/lib-names.h.
5690 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5691 abi-variants] (install-others-nosubdir): Depend on
5692 $(inst_includedir)/$(lib-names-h-abi).
5693 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5694 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5695 [$(build-shared) = yes && $(soversions.mk-done) = t]
5696 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5697 [$(build-shared) = yes && $(soversions.mk-done) = t]
5698 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5699 [$(build-shared) = yes && $(soversions.mk-done) = t]
5700 (common-generated): Append $(lib-names-h-abi) and
5701 $(lib-names-stmp-abi).
5702 * scripts/lib-names.awk: Do not handle multi being set.
5703 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5704 Remove variable.
5705 (abi-lp64_be-ld-soname): Likewise.
5706 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5707 Likewise.
5708 (abi-hard-ld-soname): Likewise.
5709 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5710 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5711 Remove variable.
5712 (abi-o32_hard-ld-soname): Likewise.
5713 (abi-o32_soft_2008-ld-soname): Likewise.
5714 (abi-o32_hard_2008-ld-soname): Likewise.
5715 (abi-n32_soft-ld-soname): Likewise.
5716 (abi-n32_hard-ld-soname): Likewise.
5717 (abi-n32_soft_2008-ld-soname): Likewise.
5718 (abi-n32_hard_2008-ld-soname): Likewise.
5719 (abi-n64_soft-ld-soname): Likewise.
5720 (abi-n64_hard-ld-soname): Likewise.
5721 (abi-n64_soft_2008-ld-soname): Likewise.
5722 (abi-n64_hard_2008-ld-soname): Likewise.
5723 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5724 Likewise.
5725 (abi-64-v2-ld-soname): Likewise.
5726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5727 ld.so entries.
5728 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5729 variable.
5730 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5731 entry.
5732 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5733 variable.
5734 (abi-64-ld-soname): Likewise.
5735 (abi-x32-ld-soname): Likewise.
5736 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5737 entry.
5738 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5739
68870f12
JM
57402014-09-23 Joseph Myers <joseph@codesourcery.com>
5741
5742 [BZ #14138]
5743 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5744 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5745 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5746 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5747 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5748 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5749 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5750 syscall entry for GLIBC_2.2 symbol version.
5751 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5752 Likewise.
5753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5754 (setrlimit): Likewise.
5755 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5756 Likewise.
5757
ea58f202
WN
57582014-09-23 Will Newton <will.newton@linaro.org>
5759
5760 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5761 _LINUX_ARM_SYSDEP_H include guard too.
5762 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5763 define.
5764
69eb9a18
RV
57652014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5766
5767 * sysdeps/unix/sysv/linux/eventfd.c:
5768 Make first argument unsigned.
5769 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5770 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5771
20e5a5f7
OB
57722014-09-20 Ondřej Bílka <neleai@seznam.cz>
5773
5774 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5775 * socket/sys/socket.h: Likewise
5776 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5777
d3c827e7
AK
57782014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5779
5780 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5781
fe1cc35a
AS
57822014-09-17 Arjun Shankar <arjun.is@lostca.se>
5783
5784 * time/tst-ftime.c: New test.
5785 * time/Makefile (tests): Add tst-ftime.
5786
4e8afe69
JM
57872014-09-17 Joseph Myers <joseph@codesourcery.com>
5788
c4fe3ea7
JM
5789 * soft-fp/extended.h: Fix comment formatting.
5790 * soft-fp/op-1.h: Likewise.
5791 * soft-fp/op-2.h: Likewise.
5792 * soft-fp/op-4.h: Likewise.
5793 * soft-fp/op-8.h: Likewise.
5794 * soft-fp/op-common.h: Likewise.
5795 * soft-fp/soft-fp.h: Likewise.
5796
4e8afe69
JM
5797 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5798
af296fcd
JM
57992014-09-16 Joseph Myers <joseph@codesourcery.com>
5800
5801 [BZ #6652]
5802 * Makeconfig (soversions-default-setname): Remove variable.
5803 ($(common-objpfx)soversions.i): Don't pass default_setname to
5804 soversions.awk.
5805 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5806 oldest_abi to abi-versions.awk.
5807 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5808 * config.make.in (oldest-abi): Remove variable.
5809 * configure.ac (--enable-oldest-abi): Remove configure option.
5810 * configure: Regenerated.
5811 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5812 text.
5813 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5814 * scripts/soversions.awk: Do not handle default_setname variable.
5815 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5816 variable.
5817 * sysdeps/mach/hurd/configure: Regenerated.
5818 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5819 variable.
5820 * sysdeps/unix/sysv/linux/configure: Regenerated.
5821
545583d6
SP
58222014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5823
d330b980
SP
5824 * elf/Makefile (CFLAGS-interp.c): Remove.
5825 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5826 path string.
5827 * elf/interp.c: Include generated runtime-linker.h
5828
02657da2
SP
5829 * Makerules (lib%.so): Don't include $(+interp) in
5830 prerequisites.
5831 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5832 * dlfcn/eval.c: Remove file.
5833
653b1080
SP
5834 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5835 macros.
5836
602f80ec
SP
5837 [BZ #17266]
5838 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5839 4.2 and newer.
5840
545583d6
SP
5841 [BZ #17370]
5842 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5843
884ddc50
SP
58442014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5845 Jakub Jelinek <jakub@redhat.com>
5846
5847 [BZ #17266]
5848 * libio/stdio.h: Check definition of __fortify_function
5849 instead of __extern_always_inline to include bits/stdio2.h.
5850 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5851 check if __extern_always_inline is defined.
5852 [__USE_MISC || __USE_XOPEN]: Likewise.
5853 [__USE_ISOC99] Likewise.
5854 * misc/sys/cdefs.h (__fortify_function): Define only if
5855 __extern_always_inline is defined.
5856 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5857 __extern_always_inline and __extern_inline only for g++-4.3
5858 and newer or a compatible gcc.
5859
a7b87268
AS
58602014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5861
5862 [BZ #17371]
5863 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5864 last change to handle zero prefix length.
5865
3f41521d
SP
58662014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5867
61fe374a
SP
5868 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5869 _SC_REGEX_VERSION.
5870
3f41521d
SP
5871 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5872 _POSIX_RAW_SOCKETS.
5873
d8f879ee
AM
58742014-09-13 Allan McRae <allan@archlinux.org>
5875
5876 * po/ru.po: Update Russian translation from translation project.
5877
c079afb7
RM
58782014-09-12 Roland McGrath <roland@hack.frob.com>
5879
a62b3c15
RM
5880 * locale/programs/locale.c (show_locale_vars): Inline local function
5881 into its sole call site. Clean up some style nits.
5882 (print_item): New function, broken out of ...
5883 (show_info): ... local function here. Clean up style nits.
5884
d7e49b19
RM
5885 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5886 out of ...
5887 (set_class_defaults): ... local function set_default here.
5888 Define set_default as a macro locally to pass constant parameters.
5889 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5890 rather than a shared local.
5891
c079afb7
RM
5892 * stdlib/rpmatch.c (try): New function, broken out of ...
5893 (rpmatch): ... local function here. Also, prototypify definition.
5894
0bd72468
JM
58952014-09-12 Joseph Myers <joseph@codesourcery.com>
5896
ba90e050
JM
5897 * scripts/soversions.awk: Do not handle configuration names.
5898 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5899 vendor and os variables to soversions.awk.
5900 * configure.ac: Do not modify gnu-* host_os.
5901 * configure: Regenerated
5902 * shlib-versions: Remove first column with configuration names.
5903 * nptl/shlib-versions: Likewise.
5904 * nptl_db/shlib-versions: Likewise.
5905 * sysdeps/hppa/shlib-versions: Likewise.
5906 * sysdeps/m68k/shlib-versions: Likewise.
5907 * sysdeps/mach/hurd/shlib-versions: Likewise.
5908 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5909 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5910 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5911 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5912 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5913 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5914 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5915 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5917 Likewise.
5918 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5919 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5920 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5921 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5922 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5923 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5924 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5925 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5926
73a39112
JM
5927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5928 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5930 Regenerated.
5931 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5933 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5934
c729e7c1
JM
5935 * shlib-versions: Remove OS-specific entries. Moved to files in
5936 sysdeps.
5937 * sysdeps/mach/hurd/shlib-versions: New file.
5938 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5939
dc932a24
JM
5940 * nptl/shlib-versions: Remove architecture-specific entries.
5941 Moved to files in sysdeps.
5942 * shlib-versions: Likewise.
5943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5944 file.
5945 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5946 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5948 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5949
0bd72468
JM
5950 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5951 (UDP_NO_CHECK6_RX): Likewise.
5952
920238e0
SP
59532014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5954
5955 * sysdeps/posix/sysconf.c (__sysconf): Spell
5956 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5957
ba7b4d29
FW
59582014-08-12 Florian Weimer <fweimer@redhat.com>
5959
5960 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5961 loading.
5962 * iconv/Versions (__gconv_transliterate): Export for use from
5963 gconv modules.
5964 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5965 (struct __gconv_trans_data, __gconv_trans_fct,
5966 __gconv_trans_context_fct, __gconv_trans_query_fct,
5967 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5968 definitions.
5969 (struct __gconv_step_data): Remove __trans member.
5970 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5971 longer hidden. Remove unused trans_data argument.
5972 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5973 (__gconv_translit_find): Remove declaration.
5974 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5975 prototype.
5976 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5977 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5978 trans_data argument. Add hidden definition.
5979 (__gconv_translit_find): Remove.
5980 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5981 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5982 * iconv/skeleton.c: Remove transliteration initialization.
5983 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5984 __gconv_step_data initialization.
5985 * libio/iofwide.c (__libio_translit_): Remove.
5986 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5987 * wcsmbs/btowc.c (__btowc): Likewise.
5988 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5989 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5990 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5991 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5992 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5993 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5994 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5995 * wcsmbs/wctob.c (wctob): Likewise.
5996
5379aebd
SP
59972014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5998
5999 [BZ #16194]
6000 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6001 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6002 register usage.
6003 * sysdeps/x86/Makefile: Adjust.
6004
8c0ab919
RM
60052014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6006 Roland McGrath <roland@hack.frob.com>
6007
6008 * locale/weight.h: Add include guard.
6009 (findidx): Make static rather than auto; take new parameters
6010 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6011 * locale/weightwc.h: Likewise.
6012 * posix/fnmatch_loop.c
6013 (FCT): Change type of EXTRA from int32_t to wint_t.
6014 Don't include either header inside the function.
6015 Call FINDIDX rather than findidx, and pass new arguments.
6016 #undef FINDIDX at the end of the file.
6017 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6018 FINDIDX before including fnmatch_loop.c for the non-wide version.
6019 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6020 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6021 for the wide version.
6022 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6023 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6024 Pass new arguments to findidx.
6025 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6026 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6027 Don't #include it inside the function. Pass new arguments to findidx.
6028 * posix/regex_internal.h
6029 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6030 (re_string_elem_size_at): Don't #include it inside the function.
6031 Pass new arguments to findidx.
6032 * string/strcoll_l.c: #include WEIGHT_H at top level.
6033 (get_next_seq): Don't #include it inside the function.
6034 Pass new arguments to findidx.
6035 (get_next_seq_nocache): Likewise.
6036 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6037 (STRXFRM): Don't #include it inside the function.
6038 Pass new arguments to findidx.
6039
52ffbdf2
FW
60402014-09-11 Florian Weimer <fweimer@redhat.com>
6041
6042 [BZ #17344]
6043 * malloc/malloc.c (unlink): Turn asserts into a call to
6044 malloc_printerr.
6045
984c0ea9
TL
60462014-09-11 Tim Lammens <tim.lammens@gmail.com>
6047
6048 [BZ #17370]
6049 * libio/wfileops (do_ftell_wide): Free OUT.
6050
3daee107
CM
60512014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6052
6053 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6054
58b930ae
SP
60552014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6056
6057 [BZ #17363]
6058 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6059 group if the current group is empty.
6060
3b473fec
AZ
60612014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6062
71ae8647
AZ
6063 * benchtests/bench-memset.c (test_main): Add more test from size
6064 from 32 to 512 bytes.
6065 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6066 Add POWER8 memset object.
6067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6068 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6069 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6070 implementation.
6071 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6072 Likewise.
6073 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6074 multiarch POWER8 memset optimization.
6075 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6076 POWER8 memset optimization.
6077
3b473fec
AZ
6078 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6079 Remove bzero multiarch objects.
6080 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6081 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6082 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6084 Remove define.
6085 [__bzero]: Redefine to specific name.
6086 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6088 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6089 define.
6090 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6091 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6092
e6fb9587
FW
60932014-09-10 Florian Weimer <fweimer@redhat.com>
6094
6095 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6096 warnings into errors.
6097
6098 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6099 __cxa_thread_atexit_impl prototype.
6100
9d3a350b
SE
61012014-09-09 Steve Ellcey <sellcey@mips.com>
6102
6103 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6104 Fix capitalization of error message.
6105
0febba23
SE
61062014-09-09 Steve Ellcey <sellcey@mips.com>
6107
6108 * sysdeps/mips/preconfigure: Modify ABI tests.
6109
645a0e9c
CD
61102014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6111
6112 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6113
d83f0734
CD
61142014-09-07 Roland McGrath <roland@hack.frob.com>
6115 Carlos O'Donell <carlos@systemhalted.org>
6116
6117 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6118 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6119 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6120 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6121 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6122 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6123 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6124 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6125 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6126 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6127 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6128 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6129 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6130 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6131 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6132 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6133 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6134 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6135 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6136 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6137 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6138 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6139 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6140 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6141 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6142 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6143 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6144 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6145 Deconditionalize the code that was previously under [RESET_PID].
6146 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6147 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6148 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6149 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6150 include sysdep.h.
6151
21c83793
AM
61522014-09-08 Allan McRae <allan@archlinux.org>
6153
6154 * version.h (RELEASE): Set to "development".
6155 (VERSION): Set to "2.20.90"
6156
1cd9b65c
AM
61572014-09-07 Allan McRae <allan@archlinux.org
6158
b8079dd0
AM
6159 * version.h (RELEASE): Set to "stable".
6160 (VERSION): Set to "2.20"
6161 * include/features.h (__GLIBC_MINOR__): Set to 20.
6162
c46303ef
AM
6163 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6164 Liebler.
6165
1cd9b65c
AM
6166 * po/ko.po: Update Korean translation from translation project.
6167
8622092d
CM
61682014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6169
6170 [BZ #17354]
6171 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6172 macro for handling signed relocations.
6173
41488498
FW
61742014-09-03 Florian Weimer <fweimer@redhat.com>
6175
6176 [BZ #17325]
6177 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6178 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6179 assert.
6180 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6181 * iconvdata/ibm935.c (BODY): Likewise.
6182 * iconvdata/ibm937.c (BODY): Likewise.
6183 * iconvdata/ibm939.c (BODY): Likewise.
6184 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6185 assert.
6186 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6187 script.
6188 * iconvdata/run-iconv-test.sh: New test loop for checking for
6189 decoder crashers.
6190
a78b712d
KR
61912014-09-02 Khem Raj <raj.khem@gmail.com>
6192
6193 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6194 libm_hidden_ver.
6195
cb08abc6
AM
61962014-09-01 Allan McRae <allan@archlinux.org>
6197
2c31e102
AM
6198 * po/eo.po: Update Esperanto translation from translation project.
6199
cb08abc6
AM
6200 * po/ca.po: Update Catalan translation from translation project.
6201
17a62de1
ST
62022014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6203
6204 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6205 __proc_dostop call.
6206
9570bc53
MW
62072014-08-27 Mark Wielaard <mjw@redhat.com>
6208
6209 [BZ #17319]
6210 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6211 to call set_thread_area instead of hand written asm.
6212 (__NR_set_thread_area): Removed define.
6213 (TLS_FLAG_WRITABLE): Likewise.
6214 (__ASSUME_SET_THREAD_AREA): Remove check.
6215 (TLS_EBX_ARG): Remove define.
6216 (TLS_LOAD_EBX): Likewise.
6217
b0f955c9
ST
62182014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6219
6220 Simplify atomicity of socket creation in bind.
6221
6222 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6223 looking up the name after linking the file.
6224
529bf515
AM
62252014-08-27 Allan McRae <allan@archlinux.org>
6226
6227 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6228
a1a6a401
FW
62292014-08-26 Florian Weimer <fweimer@redhat.com>
6230
6231 [BZ #17187]
6232 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6233 trans_compare, open_translit, __gconv_translit_find):
6234 Remove module loading code.
6235
686ab290
AM
62362014-08-26 Allan McRae <allan@archlinux.org>
6237
e4e7cfd2
AM
6238 * po/vi.po: Update Vietnamese translation from translation project.
6239
6aa09f71
AM
6240 * po/uk.po: Update Ukrainian translation from translation project.
6241
edc0660e
AM
6242 * po/fr.po: Update French translation from translation project.
6243
7eea72ac
AM
6244 * po/ru.po: Update Russian translation from translation project.
6245
93c49eff
AM
6246 * po/pl.po: Update Polish translation from translation project.
6247
46acaf63
AM
6248 * po/cs.po: Update Czech translation from translation project.
6249
a9f5ce98
AM
6250 * po/de.po: Update German translation from translation project.
6251
373f2b78
AM
6252 * po/bg.po: Update Bulgarian translation from translation project.
6253
e7548bd8
AM
6254 * po/sv.po: Update Sweedish translation from translation project.
6255
c526bf4d
AM
6256 * po/nl.po: Update Dutch translation from translation project.
6257
686ab290
AM
6258 * po/es.po: Update Spanish translation from translation project.
6259
eb72478a
SP
62602014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6261
dd763fdb
SP
6262 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6263
318c7a58
SP
6264 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6265 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6266 (CPPFLAGS-iconvconfig): Likewise.
6267 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6268
eb72478a
SP
6269 * include/libc-symbols.h: Remove unnecessary check for
6270 NOT_IN_libc.
6271 * nptl/pthreadP.h: Likewise.
6272 * sysdeps/aarch64/setjmp.S: Likewise.
6273 * sysdeps/alpha/setjmp.S: Likewise.
6274 * sysdeps/arm/sysdep.h: Likewise.
6275 * sysdeps/i386/setjmp.S: Likewise.
6276 * sysdeps/m68k/setjmp.c: Likewise.
6277 * sysdeps/posix/getcwd.c: Likewise.
6278 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6279 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6280 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6281 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6282 * sysdeps/sh/sh3/setjmp.S: Likewise.
6283 * sysdeps/sh/sh4/setjmp.S: Likewise.
6284 * sysdeps/unix/alpha/sysdep.h: Likewise.
6285 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6287 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6288 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6292 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6293 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6294 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6295 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6296 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6298 * sysdeps/x86_64/setjmp.S: Likewise.
6299
d44a052c
JM
63002014-08-13 Joseph Myers <joseph@codesourcery.com>
6301
6302 [BZ #17263]
6303 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6304 <stdint.h>.
6305 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6306 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6307
508ce3ac
SP
63082014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6309
e44c8b0e
SP
6310 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6311
508ce3ac
SP
6312 [BZ #17262]
6313 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6314 and __x86_64__ when disabling x87 inline functions.
6315
b4acef1f
L
63162014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6317
6318 [BZ #17259]
6319 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6320 asm statement with __cpuid_count.
6321
61b1ef6e
MF
63222014-08-12 Mike Frysinger <vapier@gentoo.org>
6323
6324 * configure.ac: Change __ehdr_start code to dereference the struct.
6325 Run readelf on the output to look for relocations.
6326 * configure: Regenerated.
6327
898c62f4
JM
63282014-08-12 Joseph Myers <joseph@codesourcery.com>
6329
6330 [BZ #17261]
6331 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6332 value to 0.
6333 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6334
9a8a5720
RM
63352014-08-12 Roland McGrath <roland@hack.frob.com>
6336
6337 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6338
4e75751c
BO
63392014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6340
6341 [BZ #16892]
6342 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6343 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6344
bb2ce416
SA
63452014-08-12 Sean Anderson <seanga2@gmail.com>
6346
6347 * malloc/malloc.c: Fix typo in comment.
6348
7950a4ee
AM
63492014-08-09 Allan McRae <allan@archlinux.org>
6350
6351 * Regenerate libc.po.
6352
f469c49f
MF
63532014-08-08 Mike Frysinger <vapier@gentoo.org>
6354
6355 * intl/tst-gettext2.sh: Check every lang file for creation.
6356
656b84c2
WD
63572014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6358
6359 * sysdeps/aarch64/fpu/math_private.h
6360 (libc_feholdsetround_noex_aarch64_ctx): New function.
6361
538e9e45
W
63622014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6363
6364 * sysdeps/arm/armv6/strcpy.S (strcpy):
6365 Fix performance issue in misaligned cases.
6366
d4795e4a
AZ
63672014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6368
6369 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6370 Move definition from termios.h.
6371 (struct termio): Likewise.
6372 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6373 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6374 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6375 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6376 Likewise.
6377 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6378 Move definition to ioctl-types.h
6379 (struct termio): Likewise.
6380 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6381 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6382 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6383 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6384 Likewise.
6385
64accb62
RH
63862014-08-05 Richard Henderson <rth@redhat.com>
6387
27bb6dc0
RH
6388 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6389 exceptions.
6390 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6391 Add fraiseexcpt.
6392 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6393 Use __feraiseexcept.
6394 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6395 Protect libm symbols with IS_IN_libm.
6396
64accb62
RH
6397 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6398
e5292691
BO
63992014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6400
6401 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6402
5b4bd2d4
WN
64032014-08-04 Will Newton <will.newton@linaro.org>
6404
6405 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6406 file.
6407
fcadaeef
MF
64082014-08-04 Mike Frysinger <vapier@gentoo.org>
6409
6410 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6411 variants for each function.
6412
43a94c64
RM
64132014-08-04 Roland McGrath <roland@hack.frob.com>
6414
6415 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6416 appended ...
6417 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6418 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6419 appended ...
6420 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6421 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6422 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6423 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6424 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6425 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6426 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6427 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6428 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6429 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6430 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6431 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6432 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6433 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6434 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6435 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6436 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6438 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6439 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6440 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6441 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6442 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6443 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6444 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6445 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6446 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6447 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6448 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6449 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6450 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6451 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6452 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6453 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6454 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6455 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6456 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6457 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6458 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6459 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6460 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6461 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6462 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6463 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6464 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6465 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6466 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6467 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6468 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6469 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6470 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6471 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6472 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6473 Update #include.
6474 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6475 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6476
8f3c1fa4
RM
64772014-08-04 Roland McGrath <roland@hack.frob.com>
6478
6479 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6480 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6481 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6482 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6483 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6484 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6485
ca08746f
RM
64862014-08-04 Roland McGrath <roland@hack.frob.com>
6487
6488 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6489 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6490 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6491 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6492
9c925ff9
RM
64932014-08-04 Roland McGrath <roland@hack.frob.com>
6494
6495 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6496 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6497 (__libc_vfork): Define function under this name.
6498 (__vfork): Define as an alias.
6499 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6500 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6501
e641054c
RM
65022014-08-04 Roland McGrath <roland@hack.frob.com>
6503
6504 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6505 that was previously under [RESET_PID].
6506 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6507
dacdc867
AS
65082014-08-04 Andreas Schwab <schwab@suse.de>
6509
6510 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6511
41f725ff
MF
65122014-08-03 Mike Frysinger <vapier@gentoo.org>
6513
6514 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6515 (main): Likewise.
6516
277cfb31
RM
65172014-08-01 Roland McGrath <roland@hack.frob.com>
6518
6519 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6520
4896f049
RH
65212014-08-01 Richard Henderon <rth@redhat.com>
6522
6523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6524 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6525 typo in exact zero test.
6526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6527 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6529
6f64e7d7
RM
65302014-08-01 Roland McGrath <roland@hack.frob.com>
6531
6532 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6533 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6534 * sysdeps/arm/sysdep.h: ... here.
6535 [!__ASSEMBLER__]: Include <stdint.h>.
6536
3f3dd810
SP
65372014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
a476ac4b
SP
6539 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6540 (HAVE_WCTYPE_H): Likewise.
6541 (HAVE_ISWCTYPE): Likewise.
6542 (ENABLE_NLS): Likewise.
6543 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6544 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6545
78dd658a
SP
6546 * posix/regex_internal.c: Check if DEBUG is defined and is
6547 set.
6548
3f3dd810
SP
6549 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6550 (HAVE_MBSRTOWCS): Likewise.
6551 * posix/fnmatch.c: Include string.h unconditionally.
6552
95ee7fb1
SL
65532014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6554
6555 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6556 reversal.
6557
23fe486b
RM
65582014-07-31 Roland McGrath <roland@hack.frob.com>
6559
f61a113f
RM
6560 * sysdeps/generic/safe-fatal.h: New file.
6561 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6562 * nptl/forward.c: Include it.
6563 (__pthread_unwind): Use __safe_fatal as default action, rather
6564 than a bogus use of INTERNAL_SYSCALL that could never work.
6565
9fe7e787
RM
6566 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6567 * configure.ac (libc_cv_builtin_trap): New test.
6568 * configure: Regenerated.
6569 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6570 (ABORT_INSTRUCTION): Define using __builtin_trap.
6571
23fe486b
RM
6572 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6573 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6574 * sysdeps/nptl/nptl-signals.h: New file.
6575 * nptl/pthreadP.h: Include <nptl-signals.h>.
6576
f349489e
SL
65772014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6578
6579 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6580 (ONE_DIRECTION): Define.
6581 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6582 (ONE_DIRECTION): Define.
6583 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6584 (ONE_DIRECTION): Define.
6585
2f438e20
SL
65862014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6587
6588 * sysdeps/s390/Makefile: Delete file.
6589 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6590 * sysdeps/s390/__longjmp.c: Delete file.
6591 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6592 Remove fields __flags and __reserved.
6593 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6594 and add versioning.
6595 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6596 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6597 * sysdeps/s390/rtld-setjmp.S: Likewise.
6598 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6599 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6600 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6601 * sysdeps/s390/s390-32/setjmp.S: ... here.
6602 Add versioning.
6603 (__sigsetjmp): Remove setting __flags field.
6604 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6605 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6606 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6607 * sysdeps/s390/s390-64/setjmp.S: ... here.
6608 Add versioning.
6609 (__sigsetjmp): Remove setting __flags field.
6610 * sysdeps/s390/setjmp.S: Delete file.
6611 * sysdeps/s390/sigjmp.c: Likewise.
6612 * sysdeps/s390/v1-longjmp.c: Likewise.
6613 * sysdeps/s390/v1-setjmp.h: Likewise.
6614 * sysdeps/s390/v1-sigjmp.c: Likewise.
6615 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6616 Remove v1-longjmp_chk.
6617 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6618 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6619 Include debug/longjmp_chk.c and add versioning.
6620 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6621 Include nptl/pt-longjmp.c and add versioning.
6622 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6623 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6624 Include __longjmp.c.
6625 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6626 Move to ...
6627 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6628 (__getcontext): Remove setting __flags field.
6629 Add versioning.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6631 Don't restore upper high grps.
6632 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6633 Likewise.
6634 (__swapcontext): Remove setting uc_flags field.
6635 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6636 Delete file.
6637 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6638 Include __longjmp.c.
6639 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6640 Move to ...
6641 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6642 (__getcontext): Remove setting __flags field.
6643 Add versioning.
6644 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6645 (__swapcontext): Remove setting uc_flags field.
6646 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6647 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6648 Remove fields uc_high_gprs and __reserved.
6649 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6650 New file with reverted content.
6651 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6652 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6653 Regenerated.
6654 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6655 Regenerated.
6656
6c9578a2
AS
66572014-07-31 Andreas Schwab <schwab@suse.de>
6658
6659 * config.h.in (HAVE_IFUNC): Define to 0.
6660 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6661 definedness.
6662
05f3633d
LM
66632014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6664
6665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6666 memmove-avx-unaligned, memcpy-avx-unaligned and
6667 mempcpy-avx-unaligned.
6668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6669 Add tests for AVX memcpy functions.
6670 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6671 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6672 memcpy_chk.
6673 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6674 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6675 memmove_chk.
6676 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6677 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6678 mempcpy_chk.
6679 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6680 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6681 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6682
a53fbd8e
AZ
66832013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684
6685 [BZ #17213]
6686 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6687 powerpc64le.
6688
0961f7e1
JL
66892014-07-29 Jeff Layton <jlayton@poochiereds.net>
6690
6691 [BZ #16839]
6692 * manual/llio.texi: Add section about open file description locks.
6693 * manual/examples/ofdlocks.c: Example of open file description
6694 lock usage.
6695 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6696 F_OFD_SETLK, and F_OFD_SETLKW.
6697
cc5fb300
AM
66982014-07-23 Allan McRae <allan@archlinux.org>
6699
6700 * po/es.po: Update Spanish translation from translation project.
6701
23329dca
AS
67022014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6703
6704 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6705
9c82da17
MR
67062014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6707
6708 [BZ #17078]
6709 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6710 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6711 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6712
29c4f53e
JM
67132014-07-17 Joseph Myers <joseph@codesourcery.com>
6714
831b9896
JM
6715 [BZ #17088]
6716 * math/fesetenv.c (__fesetenv)
6717 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6718 * math/feupdateenv.c (__feupdateenv)
6719 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6720
b21c2d50
JM
6721 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6722 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6723 (__ASSUME_SOCKETCALL): Do not define.
6724
067764ef
JM
6725 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6726 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6727 (__ASSUME_SOCKETCALL): Do not define.
6728 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6729 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6730 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6731 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6732 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6733 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6734 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6735 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6736
642530c1
JM
6737 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6738 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6739 (__ASSUME_SOCKETCALL): Do not define.
6740 (__ASSUME_IPC64): Define unconditionally.
6741 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6742 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6743 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6744 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6745 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6746 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6747 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6748 Likewise.
6749
03f77315
JM
6750 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6751 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6752 (__ASSUME_SOCKETCALL): Do not define.
6753 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6754 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6755 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6756 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6757 (__ASSUME_REQUEUE_PI): Define unconditionally.
6758 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6759 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6760 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6761 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6762 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6763 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6764
083b1f7c
JM
6765 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6766 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6767 (__ASSUME_SOCKETCALL): Do not define.
6768 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6769 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6770 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6771 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6772 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6773 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6774
5be44ea6
JM
6775 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6776 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6777 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6778 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6779 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6780 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6781 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6782 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6783 (__ASSUME_GETCPU_SYSCALL): Likewise.
6784
d95ffd4c
JM
6785 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6786 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6787 cases for individual architectures.
6788 * sysdeps/gnu/configure: Regenerated.
6789 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6790 LIBC_SLIBDIR_RTLDDIR.
6791 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6792 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6793 LIBC_SLIBDIR_RTLDDIR.
6794 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6796 LIBC_SLIBDIR_RTLDDIR.
6797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6798 Regenerated.
6799 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6800 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6801 file.
6802 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6803 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6804 file.
6805 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6806 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6807 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6808 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6809
29c4f53e
JM
6810 * sysdeps/aarch64/shlib-versions: Move to ...
6811 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6812 * sysdeps/alpha/shlib-versions: Move to ...
6813 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6814 * sysdeps/arm/shlib-versions: Move to ...
6815 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6816 * sysdeps/hppa/shlib-versions: Move all contents except for
6817 libgcc_s entry to ...
6818 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6819 entry from ...
6820 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6821 * sysdeps/ia64/shlib-versions: Move to ...
6822 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6823 entry from ...
6824 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6825 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6826 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6827 * sysdeps/microblaze/shlib-versions: Move to ...
6828 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6829 * sysdeps/mips/shlib-versions: Move to ...
6830 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6831 entry from ...
6832 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6833 * sysdeps/tile/shlib-versions: Move to ...
6834 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6835 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6836 from ...
6837 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6838 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6839 entry from ...
6840 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6841
32bead5b
WN
68422014-07-17 Will Newton <will.newton@linaro.org>
6843
57977c4b
WN
6844 * sysdeps/arm/bits/atomic.h
6845 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6846 (__arch_compare_and_exchange_bool_16_int): Likewise.
6847 (__arch_compare_and_exchange_bool_64_int): Likewise.
6848
32bead5b
WN
6849 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6850 into an #else block.
6851
37fccd41
RM
68522014-07-16 Roland McGrath <roland@hack.frob.com>
6853
6854 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6855 just Linux configurations. Test empirically that the compiler sets
6856 __ARM_EABI__, rather than using the tuple to decide.
6857 * sysdeps/arm/preconfigure: Regenerated.
6858 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6859 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6860 contents appended ...
6861 * sysdeps/arm/configure.ac: ... here.
6862 * sysdeps/arm/configure: Regenerated.
6863
b365f3ec
RM
68642014-07-15 Roland McGrath <roland@hack.frob.com>
6865
8badf496
RM
6866 * nptl/pthread_kill.c: New file.
6867 * nptl/pthread_sigmask.c: New file.
6868 * nptl/pthread_sigqueue.c: New file.
6869
3df6f22e
RM
6870 * sysdeps/nptl/lowlevellock.h: New file.
6871 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6872 * sysdeps/nptl/lowlevellock-futex.h: New file.
6873
b365f3ec
RM
6874 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6875 Remove dead declarations.
6876
f2fef657
L
68772014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6878
6879 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6880 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6881 config-cflags-avx2.
6882 * sysdeps/x86_64/configure.ac: Likewise.
6883 * sysdeps/i386/configure: Regenerated.
6884 * sysdeps/x86_64/configure: Likewise.
6885 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6886 memset-avx2 only if config-cflags-avx2 is yes.
6887 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6888 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6889 defined.
6890 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6891 only if HAVE_AVX2_SUPPORT is defined.
6892 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6893
f6c44d47
AM
68942014-07-14 Alan Modra <amodra@gmail.com>
6895
6896 [BZ #17153]
6897 * elf/elf.h (DT_PPC64_NUM): Correct value.
6898 * NEWS: Add to fixed bug list.
6899
7ee03f00
JM
69002014-07-13 Jim Meyering <meyering@fb.com>
6901
6902 [BZ 17150]
6903 regex: don't deref NULL upon heap allocation failure
6904 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6905 failure in one more place.
6906 To trigger the segfault, configure grep -with-included-regex,
6907 build it, and run these commands:
6908 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6909
9d39d517
AS
69102014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6911
6912 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6913
a75b89b7
RH
69142014-07-11 Richard Henderson <rth@redhat.com>
6915
6916 * sysdeps/aarch64/libm-test-ulps: Update.
6917
771eb141
FW
69182014-07-10 Florian Weimer <fweimer@redhat.com>
6919
6920 [BZ #17135]
6921 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6922 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6923 (__nptl_setxid): Initialize error member. Call
6924 __nptl_setxid_error.
6925 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6926 * nptl/descr.h (struct xid_command): Add error member.
6927 * nptl/tst-setuid3.c: New file.
6928 * nptl/Makefile (tests): Add it.
6929
bc1da176
AZ
69302014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6931
6932 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6933 New define.
6934 (__lll_trylock): Use __lll_base_trylock.
6935 (__lll_cond_trylock): Likewise.
6936
887865fc
RM
69372014-07-10 Roland McGrath <roland@hack.frob.com>
6938
c0c6bac9
RM
6939 * nptl/pthread_create.c (start_thread): Use atomic_or and
6940 lll_futex_wake directly rather than lll_robust_dead.
6941 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6942 (lll_robust_dead): Macro removed.
6a42be57 6943 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
6944 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6945 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6946 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6947 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6948 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6949 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6950 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6951 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6952 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6953 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6954 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6955 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6956 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6958
887865fc
RM
6959 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6960 Use atomic_compare_and_exchange_val_acq directly rather than
6961 lll_robust_trylock.
6962 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6963 (__lll_robust_trylock, lll_robust_trylock): Removed.
6964 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6965 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6966 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6967 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6968 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6969 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6970 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6971 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6972 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6973 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6974 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6976 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6978
58536726
FW
69792014-07-02 Florian Weimer <fweimer@redhat.com>
6980
6981 * manual/locale.texi (Locale Names): New section documenting
6982 locale name syntax. Adjust menu and node chaining accordingly.
6983 (Choosing Locale): Reference Locale Names, Locale Categories.
6984 Mention setting LC_ALL=C. Reflect that name syntax is now
6985 documented.
6986 (Locale Categories): New section title. Reference Locale Names.
6987 LC_ALL is an environment variable, but not a category.
6988 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6989 description, now in Locale Name. Reference that section. Locale
6990 name syntax is now documented.
6991
4e8f95a0
FW
69922014-07-02 Florian Weimer <fweimer@redhat.com>
6993
6994 [BZ #17137]
6995 * locale/findlocale.c (name_present, valid_locale_name): New
6996 functions.
6997 (_nl_find_locale): Use the loc_name variable to store name
6998 candidates. Call name_present and valid_locale_name to check and
6999 validate locale names. Return an error if the locale is invalid.
7000
d1836456
FW
70012014-07-02 Florian Weimer <fweimer@redhat.com>
7002
7003 * locale/setlocale.c (setlocale): Use strdup for allocating
7004 composite name copy.
7005
d69b7f5a
SP
70062014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7007
888c679b
SP
7008 Sync up with gnulib.
7009 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7010 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7011 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7012 and _GL_ARG_NONNULL.
7013 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7014 [!_LIBC]: Include code for Windows and Cygwin.
7015 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7016 Include prototype for int strerror_r.
7017 [!_LIBC] (is_open): New function.
7018 (flush_stdout): New function.
7019 (print_errno_message): Use it.
7020 (error): Likewise.
7021 (error_at_line): Likewise.
7022 (error_tail) Add function attribute macros. Use
7023 __builtin_expect.
7024
180e0e4b
SP
7025 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7026
d22f1fe2
SP
7027 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7028
12f2254b
SP
7029 * io/ftw.c: Include sys/param.h unconditionally.
7030
c3c7c360
SP
7031 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7032
d62aa75a
SP
7033 [BZ #17125]
7034 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7035 libc_freeres_ptr.
7036 (freecache): New function to free CACHE on exit.
7037
d69b7f5a
SP
7038 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7039 initialization.
7040
5efe06a1
DM
70412014-07-09 David S. Miller <davem@davemloft.net>
7042
7043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7044
7000d82e
DM
7045 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7046 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7047 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7048 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7049 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7050 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7051 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7052 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7053 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7054 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7055 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7056 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7057 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7058
c213442d
AS
70592014-07-09 Andreas Schwab <schwab@suse.de>
7060
4a2552c3
AS
7061 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7062 output.
7063 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7064 (do_test): Likewise.
7065
c213442d
AS
7066 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7067
82374e65
WN
70682014-07-09 Will Newton <will.newton@linaro.org>
7069
7070 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7071 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7072 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7073 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7074 * sysdeps/hppa/start.S (_start): Likewise.
7075
6680738a
SP
70762014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7077
6ee3eab4
SP
7078 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7079
6680738a
SP
7080 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7081 defined.
7082
80b5c505
SP
70832014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7084
e35c53e3
SP
7085 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7086 after checking that it is non-NULL.
7087
80b5c505
SP
7088 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7089
91f4b564
AZ
70902014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7091
27b75f56
AZ
7092 * sysdeps/powerpc/memmove.c: Remove file.
7093 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7094 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7096 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7097 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7098 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7099 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7100 string memmove instead of removed powerpc one.
7101
e7f95bb5
AZ
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7103 [weak_alias]: Fix compiler warning due trailing data.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7105 [weak_alias]: Likewise.
7106 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7107 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7108
91f4b564
AZ
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7110 (__libc_ifunc_impl_list): Add memmove functions.
7111
7c33f1e5
SP
71122014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7113
7114 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7115 Remove code.
7116 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7117 Likewise
7118 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7119 Likewise
7120 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7121 Likewise
7122 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7123 Likewise
7124 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7125 Likewise
7126 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7127 Likewise
7128 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7129 Likewise
7130 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7131 Likewise
7132 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7133 Likewise
7134 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7135 Likewise
7136 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7137 Likewise
7138 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7139 Likewise
7140 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7141 Likewise
7142 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7143 Likewise
7144 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7145 Likewise
7146 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7147 Likewise
7148
3f17b03b
AZ
71492014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7150
87868c24
AZ
7151 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7152 to avoid alignment traps in non-cacheable memory.
7153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7154
07aedd78
AZ
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7156 multiarch objects.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7158 file: multiarch power7 memmove.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7160 multiarch default memmove.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7162 multiarch memove for powerpc32/power4.
7163
17762f66
AZ
7164 * string/bcopy.c: Use full path to include memmove.c.
7165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7166 multiarch objects.
7167 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7168 bcopy for powerpc64.
7169 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7170 bcopy for powerpc64.
7171 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7172 and memmove implementations.
7173 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7174 optimized multiarch memmove for POWER7/powerpc64.
7175 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7176 default multiarch memmove for powerpc64.
7177 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7178 multiarch for powerpc64.
7179 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7180 for POWER7/powerpc64.
7181 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7182 memmove for POWER7/powerpc64.
7183
d6f68bbe
AZ
7184 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7185 glibc default one.
7186
3f17b03b
AZ
7187 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7188 __ELF_NATIVE_CLASS equal to 64.
7189
08192659
RM
71902014-07-07 Roland McGrath <roland@hack.frob.com>
7191
f4c4021b
RM
7192 * sysdeps/nptl/lowlevellock.h: File removed.
7193
f083450f
RM
7194 * NEWS: NPTL is no longer an add-on!
7195 * nptl/internaltypes.h: Moved ...
7196 * sysdeps/nptl/internaltypes.h: ... here.
7197 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7198 * sysdeps/nptl/fork.c: Likewise.
7199 * sysdeps/nptl/gai_misc.h: Likewise.
7200 * sysdeps/nptl/librt-cancellation.c: Likewise.
7201 * sysdeps/nptl/jmp-unwind.c: Likewise.
7202 * sysdeps/nptl/setxid.h: Likewise.
7203 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7204 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7205 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7206 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7207 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7208 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7209 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7210 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7211 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7212 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7213 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7214 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7215 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7216 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7217 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7218 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7219 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7220 * nptl/Makeconfig: Moved ...
7221 * sysdeps/nptl/Makeconfig: ... here.
7222 * nptl/configure: File removed.
7223 * nptl/ANNOUNCE: File removed.
7224 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7225 * sysdeps/unix/sysv/linux/configure: Regenerated.
7226
08192659
RM
7227 * nptl/Makefile (routines): Add libc_pthread_init,
7228 libc_multiple_threads, register-atfork and unregister-atfork.
7229 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7230 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7231 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7232 pthread-pi-defines.sym, structsem.sym.
7233 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7234 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7235 [$(subdir) = nptl] (tests): Add tst-setgetname.
7236 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7237 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7238 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7239 [!LIBC_SIGACTION]: Remove aliases.
7240 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7241 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7242 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7243 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7244 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7245 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7246 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7248 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7249 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7250 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7251 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7252 __libc_allocate_rtsig_private.
7253 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7254 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7255 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7256 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7257 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7258 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7259 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7260 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7261 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7262 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7263 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7264 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7265 * nptl/internaltypes.h: ... here.
7266 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7267 * sysdeps/nptl/jmp-unwind.c: ... here.
7268 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7269 * nptl/libc-lowlevellock.c: ... here.
7270 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7271 * nptl/libc_multiple_threads.c: ... here.
7272 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7273 * nptl/libc_pthread_init.c: ... here.
7274 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7275 * nptl/lowlevelbarrier.sym: ... here.
7276 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7277 * nptl/lowlevelcond.sym: ... here.
7278 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7279 * nptl/lowlevellock.c: ... here.
7280 * nptl/lowlevellock.h: Moved ...
7281 * sysdeps/nptl/lowlevellock.h: ... here.
7282 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7283 * nptl/lowlevelrobustlock.c: ... here.
7284 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7285 * nptl/lowlevelrobustlock.sym: ... here.
7286 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7287 * nptl/lowlevelrwlock.sym: ... here.
7288 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7289 * nptl/pt-fork.c: ... here.
7290 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7291 * nptl/pthread-pi-defines.sym: ... here.
7292 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7293 * nptl/pthread_attr_getaffinity.c: ... here.
7294 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7295 * nptl/pthread_attr_setaffinity.c: ... here.
7296 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7297 * nptl/pthread_mutex_cond_lock.c: ... here.
7298 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7299 Update #include.
7300 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7301 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7302 * nptl/pthread_once.c: ... here, replacing old file.
7303 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7304 * nptl/pthread_yield.c: ... here.
7305 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7306 * nptl/register-atfork.c: ... here.
7307 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7308 * nptl/sem_post.c: ... here.
7309 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7310 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7311 * nptl/sem_timedwait.c: ... here.
7312 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7313 * nptl/sem_trywait.c: ... here.
7314 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7315 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7316 * nptl/sem_wait.c: ... here.
7317 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7318 * nptl/structsem.sym: ... here.
7319 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7320 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7321 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7322 * nptl/unregister-atfork.c: ... here.
7323 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7324 * nptl/unwindbuf.sym: ... here.
7325 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7326 * sysdeps/nptl/fork.c: ... here.
7327 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7328 * sysdeps/nptl/fork.h: ... here.
7329 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7330 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7331 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7332 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7333 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7334 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7335 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7336 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7337 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7338 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7339 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7340 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7341 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7342 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7343 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7344 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7345 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7346 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7347 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7348 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7349 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7350 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7351 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7352 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7353 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7354 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7355 * sysdeps/unix/sysv/linux/raise.c: ... here.
7356 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7357 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7358 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7359 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7360 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7361 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7362 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7363 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7364 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7365 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7366 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7367 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7368 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7369 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7370 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7371
96baf6ff
SP
73722014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7373
7374 * sysdeps/generic/memcopy.h: Add comment for
7375 MEMCPY_OK_FOR_FWD_MEMMOVE.
7376
6b7b14b2
WN
73772014-07-04 Will Newton <will.newton@linaro.org>
7378
1570a72b
WN
7379 * string/memchr.c: Merge from gnulib.
7380 [_LIBC]: Remove conditionals.
7381 (__ptr_t): Remove define.
7382 (LONG_MAX_32_BITS): Likewise.
7383 (LONG_MAX): Likewise.
7384 (MEMCHR): Use ANSI prototype and optimize algorithm.
7385
6b7b14b2
WN
7386 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7387
38851324
SP
73882014-07-03 Roland McGrath <roland@hack.frob.com>
7389
3d9eb57c
RM
7390 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7391 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7392
78b984ae
RM
7393 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7394 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7395 in a bare environment with no <stdlib.h> installed.
7396 * sysdeps/nptl/configure: Regenerated.
7397
2d5976a5
RM
7398 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7399
c1f5acd4
RM
7400 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7401 AC_EGREP_CPP for kernel header checks, so they only succeed if
7402 including <linux/version.h> actually works right.
7403 * sysdeps/unix/sysv/linux/configure: Regenerated.
7404
4d614fe5
RM
7405 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7406 value so it's not diagnosed as unused.
7407
38851324
SP
7408 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7409 thing) with "ifeq ($(subdir),rt)".
7410
b3ec00e5
RH
74112014-07-03 Richard Henderson <rth@redhat.com>
7412
69862e25
RH
7413 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7414 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7415 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7416
d5e16ade
RH
7417 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7418 (math_force_eval): New.
7419
ca7b945c
RH
7420 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7421 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7422
cd1175a3
RH
7423 * sysdeps/alpha/fpu/s_round.c: Remove file.
7424 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7425
b3ec00e5
RH
7426 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7427 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7428 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7429 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7430 (_dl_start, print_statistics): Likewise.
7431 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7432 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7433
7434 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7435 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7436 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7437 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7438 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7439 (HP_SMALL_TIMING_AVAIL): Define.
7440 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7441 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7442 (HP_SMALL_TIMING_AVAIL): Define.
7443 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7444 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7445
7446 * sysdeps/aarch64/hp-timing.h: New file.
7447
7448 * sysdeps/generic/hp-timing.h: Remove dead comment.
7449 * sysdeps/generic/hp-timing-common.h: New file.
7450 * sysdeps/alpha/hp-timing.h: Include it.
7451 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7452 * sysdeps/i386/i686/hp-timing.h: Likewise.
7453 * sysdeps/ia64/hp-timing.h: Likewise.
7454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7455 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7456 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7457 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7458 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7459 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7460 (hp_timing_t): New.
7461
7462 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7463 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7464 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7465 * elf/rtld.c (_dl_start_final): Likewise.
7466 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7467 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7468 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7469 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7470 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7471 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7472 (HP_TIMING_DIFF_INIT): Remove.
7473 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7474 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7475 (HP_TIMING_DIFF_INIT): Remove.
7476 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7477 * sysdeps/i386/i686/hp-timing.c: Remove file.
7478 * sysdeps/x86_64/hp-timing.c: Remove file.
7479 * sysdeps/ia64/hp-timing.c: Remove file.
7480 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7481 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7482 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7483 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7484
7485 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7486 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7487 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7488 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7489 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7490 (HP_TIMING_ACCUM): Remove.
7491 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7492 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7493 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7494
7495 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7496 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7497 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7498 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7499 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7500 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7501 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7502 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7503
7504 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7505
225f410f
MR
75062014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
7507
7508 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7509
3247f285
SP
75102014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7511
7512 Sync up with gettext.
7513 * intl/loadmsgcat.c: Define O_BINARY if not defined.
7514 [_MSC_VER]: Include malloc.h
7515 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7516 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7517 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
7518 TEMP_FAILURE_RETRY. Cast return of alloca.
7519 [!_LIBC] Call gl_rwlock_init.
7520 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7521
d12704c7
SP
75222014-07-02 Roland McGrath <roland@hack.frob.com>
7523
7524 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7525 before checking its value.
7526
99f8dc92
SP
75272014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7528
05fdac77
SP
7529 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7530
99f8dc92
SP
7531 * debug/memcpy_chk.c: Don't include pagecopy.h.
7532 * debug/mempcpy_chk.c: Likewise.
7533 * string/memcpy.c: Likewise.
7534 * string/memmove.c: Likewise.
7535 * sysdeps/powerpc/memmove.c: Likewise.
7536 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
7537 definition of PAGE_COPY_FWD_MAYBE here...
7538 * sysdeps/generic/pagecopy.h: ... from here.
7539 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7540
bc8ea385
VR
75412014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7542 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7543
7544 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7546 optimizations.
7547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7548 (__libc_ifunc_impl_list): Likewise.
7549 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7550 multiarch strcat for PPC64.
7551 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7552 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7553
fe5f34e4
RM
75542014-07-02 Roland McGrath <roland@hack.frob.com>
7555
7556 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7557
256aa665
SP
75582014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7559
d4eb8195
SP
7560 * intl/loadmsgcat.c: Remove declaration of
7561 get_sysdep_segment_value.
7562 (get_sysdep_segment_value): Use ISO C style.
7563 (_nl_load_domain): Use ISO C style. Get rid of redundant
7564 semicolon. Fix typo and formatting in comment.
7565 (_nl_unload_domain): Use ISO C style.
7566
256aa665
SP
7567 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7568
b100f9aa
WN
75692014-07-02 Will Newton <will.newton@linaro.org>
7570
7571 * malloc/obstack.c: Merge from gnulib master.
7572 [HAVE_CONFIG_H]: Remove conditional code.
7573 [!_LIBC]: Include config.h.
7574 [!ELIDE_CODE]: Don't include inttypes.h, include
7575 stdint.h unconditionally.
7576 (print_and_abort): Mark as _Noreturn.
7577 (_obstack_allocated_p): Mark as __attribute_pure__.
7578 (obstack_free): Rename to __obstack_free.
7579 [!__attribute__]: Remove conditional code.
7580 * malloc/obstack.h: Merge from gnulib master.
7581 [__cplusplus]: Move conditional down.
7582 [!__attribute_pure__]: Define __attribute_pure__ here
7583 if it is not already defined.
7584 (_obstack_memory_used): Mark as __attribute_pure__.
7585 [!__obstack_free]: Define as obstack_free.
7586 [__GNUC__]: Remove check for ancient NeXT gcc.
7587
c4c41244
PE
75882014-07-02 Will Newton <will.newton@linaro.org>
7589 Paul Eggert <eggert@cs.ucla.edu>
7590
7591 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7592
e1e041c4
SP
75932014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7594
7595 * resolv/gethnamaddr.c: Add comment warning that the file is
7596 not maintained.
7597
ccf431ff
CD
75982014-07-01 Carlos O'Donell <carlos@redhat.com>
7599
d34570a6
CD
7600 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7601 entries.
7602
ccf431ff
CD
7603 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7604 entry for aio_cancel and aio_cancel64.
7605 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7606 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7607 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7608 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7609 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7610 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7611 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7612 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7613 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7614 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7615 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7616 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7617 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7618
ca06321d
RM
76192014-07-01 Roland McGrath <roland@hack.frob.com>
7620
7621 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7622 * nptl/pthread_mutex_lock.c: Likewise.
7623 * nptl/pthread_mutex_timedlock.c: Likewise.
7624 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7625
a1ac3184
RH
76262014-07-01 Richard henderson <rth@redhat.com>
7627
631021e0
RH
7628 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7629 (__isnan, __isnanl): Remove.
7630 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7631
a1ac3184
RH
7632 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7633
0c1d731f
SL
76342014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7635
7636 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7637
76985d3e
SP
76382014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7639
7640 * resolv/nss_dns/dns-host.c (getanswer_r)
7641 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7642
b0cb3096
JM
76432014-07-01 Joseph Myers <joseph@codesourcery.com>
7644
7645 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7646 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7647 undefine.
7648 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7649 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7650
4d76cb39
RM
76512014-07-01 Roland McGrath <roland@hack.frob.com>
7652
7653 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7654 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7655
7656 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7657 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7658
7659 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7660 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7661 ... here.
7662 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7663 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7664
7665 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7666 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7667 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7668 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7669
7670 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7671 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7672 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7673 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7674 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7675 Moved ...
7676 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7677 ... here.
7678 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7679 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7680 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7681 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7682 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7683 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7684 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7685 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7686 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7687 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7688 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7689 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7690 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7691 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7692 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7693 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7694 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7695 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7696 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7697 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7698 ... here.
7699 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7700 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7701 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7702 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7703 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7704 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7705 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7706 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7707
0cdcad17
DH
77082014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7709
7710 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7711 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7712 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7713 Add sysdep.
7714
9b71d0e3
AZ
77152014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7716
7717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7718
665390c2
JM
77192014-06-30 Joseph Myers <joseph@codesourcery.com>
7720
ae05a9d7
JM
7721 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7722 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7723
a7672a2f
JM
7724 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7725
665390c2
JM
7726 * sysdeps/arm/libm-test-ulps: Regenerated.
7727
d7a05d07
MR
77282014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7729 Roland McGrath <roland@hack.frob.com>
7730
7731 * test-skeleton.c (signal_handler): Kill the whole process group
7732 before killing the child individually.
7733 (main): Report any failure on `setpgid'.
7734
46f1d8a6
RM
77352014-06-30 Roland McGrath <roland@hack.frob.com>
7736
7737 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7738 from _TLS_H to _ARM_NPTL_TLS_H.
7739 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7740 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7741
9c37ec0b
JM
77422014-06-30 Joseph Myers <joseph@codesourcery.com>
7743
ce9c5b3e
JM
7744 [BZ #16539]
7745 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7746 (__expm1l): Return argument unchanged when small but not
7747 subnormal.
7748
3a6e9887
JM
7749 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7750 include macro name.
7751 (_FP_UNPACK_RAW_1_P): Likewise.
7752 (_FP_PACK_RAW_1): Likewise.
7753 (_FP_PACK_RAW_1_P): Likewise.
7754 (_FP_MUL_MEAT_1_wide): Likewise.
7755 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7756 (_FP_MUL_MEAT_1_hard): Likewise.
7757 (_FP_DIV_MEAT_1_imm): Likewise.
7758 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7759 (_FP_DIV_MEAT_1_udiv): Likewise.
7760 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7761 (_FP_UNPACK_RAW_2): Likewise.
7762 (_FP_UNPACK_RAW_2_P): Likewise.
7763 (_FP_PACK_RAW_2): Likewise.
7764 (_FP_PACK_RAW_2_P): Likewise.
7765 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7766 (_FP_MUL_MEAT_2_wide): Likewise.
7767 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7768 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7769 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7770 (_FP_MUL_MEAT_2_gmp): Likewise.
7771 (_FP_DIV_MEAT_2_udiv): Likewise.
7772 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7773 (_FP_FRAC_SRL_4): Likewise.
7774 (_FP_FRAC_SRST_4): Likewise.
7775 (_FP_FRAC_SRS_4): Likewise.
7776 (_FP_UNPACK_RAW_4): Likewise.
7777 (_FP_UNPACK_RAW_4_P): Likewise.
7778 (_FP_PACK_RAW_4): Likewise.
7779 (_FP_PACK_RAW_4_P): Likewise.
7780 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7781 (_FP_MUL_MEAT_4_wide): Likewise.
7782 (_FP_MUL_MEAT_4_gmp): Likewise.
7783 (umul_ppppmnnn): Likewise.
7784 (_FP_DIV_MEAT_4_udiv): Likewise.
7785 (__FP_FRAC_ADD_4): Likewise.
7786 (__FP_FRAC_SUB_3): Likewise.
7787 (__FP_FRAC_SUB_4): Likewise.
7788 (__FP_FRAC_DEC_3): Likewise.
7789 (__FP_FRAC_DEC_4): Likewise.
7790 (__FP_FRAC_ADDI_4): Likewise.
7791 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7792 (_FP_FRAC_SRL_8): Likewise.
7793 (_FP_FRAC_SRS_8): Likewise.
7794
9c37ec0b
JM
7795 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7796 include macro name.
7797 (FP_UNPACK_RAW_EP): Likewise.
7798 (FP_PACK_RAW_E): Likewise.
7799 (FP_PACK_RAW_EP): Likewise.
7800 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7801 (_FP_ISSIGNAN): Likewise.
7802 (_FP_ADD_INTERNAL): Likewise.
7803 (_FP_FMA): Likewise.
7804 (_FP_CMP): Likewise.
7805 (_FP_SQRT): Likewise.
7806 (_FP_TO_INT): Likewise.
7807 (_FP_FROM_INT): Likewise.
7808 (FP_EXTEND): Likewise.
7809 (_FP_DIV_MEAT_N_loop): Likewise.
7810
2125f674
MR
78112014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7812
7813 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7814 throughout.
7815
edea4028
JM
78162014-06-29 Joseph Myers <joseph@codesourcery.com>
7817
7818 [BZ #17097]
7819 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7820 result with correct sign in case of exponents that produce
7821 overflow except for X very close to 1.
7822
dd0ba018
PE
78232014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7824
7825 mktime: merge #if/#ifdef usage from glibc
7826 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7827 as that works with both Glibc's and Gnulib's style.
7828 See thread starting at Siddhesh Poyarekar's bug report at:
7829 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7830
64df73c2
SP
78312014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7832
7833 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7834 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7835 * sysdeps/tile/tilegx/memmove.c: Remove file.
7836
f1eafb41
JM
78372014-06-27 Joseph Myers <joseph@codesourcery.com>
7838
7839 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7840 abi-name definition.
7841 * scripts/soversions.awk: Do not handle or generate ABI lines.
7842 * shlib-versions: Remove ABI entries.
7843 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7844 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7845
58eb0862
RM
78462014-06-27 Roland McGrath <roland@hack.frob.com>
7847
37caf178
RM
7848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7849 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7850 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7851 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7852 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7853 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7854 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7855 Moved ...
7856 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7857 ... here.
7858 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7861 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7863 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7864 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7869 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7871 Moved ...
7872 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7878 Moved ...
7879 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7881 Moved ...
7882 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7886 Moved ...
7887 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7891 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7892 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7893 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7894 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7895 Moved ...
7896 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7897 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7898 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7899 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7900 Moved ...
7901 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7903 Moved ...
7904 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7905 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7906 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7908 Moved ...
7909 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7910 ... here.
7911 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7912 Identical file removed.
7913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7914 Moved ...
7915 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7917 Identical file removed.
7918 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7919 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7921 Moved ...
7922 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7923 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7924 Identical file removed.
7925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7926 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7928 Identical file removed.
7929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7932 Identical file removed.
7933 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7936 Identical file removed.
7937 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7938 Moved ...
7939 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7941 Identical file removed.
7942 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7943 Moved ...
7944 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7948 Identical file removed.
7949 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7950 Moved ...
7951 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7952 ... here.
7953 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7954 Identical file removed.
7955 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7956 Moved ...
7957 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7959 Identical file removed.
7960 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7961 Moved ...
7962 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7963 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7964 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7966 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7967 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7968 Moved ...
7969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7970 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7971 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7972
58eb0862
RM
7973 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7974 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7975 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7976 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7977 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7978
6f12d062
AS
79792014-06-27 Arjun Shankar <arjun.is@lostca.se>
7980
7981 [BZ #17092]
7982 * nscd/nscd.c (monitor_child): Return exit status of child
7983 instead of return value from wait syscall.
7984
be254932
JM
79852014-06-27 Joseph Myers <joseph@codesourcery.com>
7986
cb403c34
JM
7987 * configure.ac (libc_commonpagesize): Remove variable.
7988 (libc_relro_required): Likewise.
7989 (libc_cv_z_relro): Remove configure test.
7990 * configure: Regenerated.
7991 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7992 variable.
7993 (libc_relro_required): Likewise.
7994 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7995 (libc_relro_required): Likewise.
7996 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7997 (libc_relro_required): Likewise.
7998 * sysdeps/arm/preconfigure: Regenerated.
7999 * sysdeps/ia64/preconfigure: Remove file.
8000 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8001 variable.
8002 (libc_relro_required): Likewise.
8003
be254932
JM
8004 [BZ #16561]
8005 [BZ #16562]
8006 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8007 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8008 recompute overflowing results in original rounding mode.
8009 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8010 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8011 recompute overflowing results in original rounding mode.
8012 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8013 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8014 recompute overflowing results in original rounding mode.
8015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8016 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8017 recompute overflowing results in original rounding mode.
8018 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8019 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8020 recompute overflowing results in original rounding mode.
8021 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8022 (libc_feholdsetround_ctx): New macro.
8023 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8024 * sysdeps/i386/fpu/libm-test-ulps: Update.
8025 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8026
b351d85a
JM
80272014-06-26 Joseph Myers <joseph@codesourcery.com>
8028
8029 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8030 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8031 corresponding .cpsetup call.
8032
3cb4de47
RM
80332014-06-26 Roland McGrath <roland@hack.frob.com>
8034
8035 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8036 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8037 * sysdeps/arm/Makefile [$(subdir) = csu]
8038 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8039 (static-only-routines): Add aeabi_read_tp here.
8040 (shared-only-routines): Add libc-aeabi_read_tp here.
8041 (CFLAGS-libc-start.c): Add -fexceptions here.
8042 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8043 (sysdep_routines, static-only-routines, shared-only-routines):
8044 Don't add to these here.
8045 (CFLAGS-libc-start.c): Likewise.
8046
8047 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8048 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8049 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8050 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8051 * sysdeps/arm/Makefile [$(subdir) = rt]
8052 (librt-sysdep_routines, librt-shared-only-routines):
8053 Append rt-aeabi_unwind_cpp_pr1 here.
8054 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8055 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8056 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8057 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8058 Append nptl-aeabi_unwind_cpp_pr1 here.
8059 (tests): Filter out tst-cleanupx4 here.
8060 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8061 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8062 Don't do those here.
8063
354426bb
JM
80642014-06-26 Joseph Myers <joseph@codesourcery.com>
8065
8066 * scripts/list-sources.sh: Do not handle ports specially.
8067
28b0a8c9
RM
80682014-06-26 Roland McGrath <roland@hack.frob.com>
8069
a3dd035d
RM
8070 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8071 * sysdeps/arm/feupdateenv.c: Likewise.
8072
28b0a8c9
RM
8073 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8074
e66a8203
JM
80752014-06-26 Joseph Myers <joseph@codesourcery.com>
8076
8077 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8078 trailing whitespace removed.
8079 * scripts/config.guess: Update to version 2014-03-23.
8080 * scripts/config.sub: Update to version 2014-05-01
8081 * scripts/install-sh: Update to version 2013-12-25.23.
8082 * scripts/move-if-change: Update from gnulib.
8083
74171115
SP
80842014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8085
b97c9ce5
SP
8086 * debug/memmove_chk.c: Remove pagecopy.h include.
8087
4000f892
SP
80882014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8089
74171115
SP
8090 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8091 identical to gnulib mktime.
8092
a8779c28
JM
80932014-06-26 Joseph Myers <joseph@codesourcery.com>
8094
e64708de
JM
8095 * configure.ac: Do not test for machine being rs6000. Do not test
8096 for powerpc*-*soft.
8097 * configure: Regenerated.
8098
a8779c28
JM
8099 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8100 test.
8101 * configure: Regenerated.
8102 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8103 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8104 Remove configure test.
8105 * sysdeps/arm/configure: Regenerated.
8106 * sysdeps/nptl/configure.ac: Do not check
8107 libc_cv_asm_cfi_directives.
8108 * sysdeps/nptl/configure: Regenerated.
8109 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8110 * sysdeps/x86_64/nptl/configure: Remove generated file.
8111 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8112 unconditional.
8113 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8114
2aac0a86
SP
81152014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8116
059bf913
SP
8117 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8118 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8119 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8120 it is defined.
8121
4cf5b6d0
SP
8122 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8123 instead of whether it is defined.
8124 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8125 * sysdeps/hppa/dl-machine.h: Likewise.
8126 * sysdeps/ia64/dl-machine.h: Likewise.
8127 * sysdeps/m68k/dl-machine.h: Likewise.
8128 * sysdeps/microblaze/dl-machine.h: Likewise.
8129 * sysdeps/mips/dl-machine.: Likewise.
8130 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8131 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8132 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8133 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8134 * sysdeps/sh/dl-machine.h: Likewise.
8135 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8136 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8137 * sysdeps/tile/dl-machine.h: Likewise.
8138 * sysdeps/x86_64/dl-machine.h: Likewise.
8139
2aac0a86
SP
8140 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8141 code.
8142 (verify_persistent_db): Likewise.
8143
6ad2df0b
RM
81442014-06-26 Roland McGrath <roland@hack.frob.com>
8145
d8a483f3
RM
8146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8147 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8151 Moved ...
8152 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8153 ... here.
8154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8157 Identical file removed.
8158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8165 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8169 Moved ...
8170 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8174 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8176 Moved ...
8177 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8179 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8181 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8183 Identical file removed.
8184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8185 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8187 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8189 Moved ...
8190 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8191 ... here.
8192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8193 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8195 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8197 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8199 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8201 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8203 Moved ...
8204 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8206 Moved ...
8207 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8209 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8211 Moved ...
8212 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8214 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8215
52ae23b4
RM
8216 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8217 folded into ...
8218 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8219 * sysdeps/unix/sysv/linux/s390/Versions
8220 (libpthread: GLIBC_2.19): New version set.
8221 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8222 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8223 (librt: GLIBC_2.3.3): New version set.
8224 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8225 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8226 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8227 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8228 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8229 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8230 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8232 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8234 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8236 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8238 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8240 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8242 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8244 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8246 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8247 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8248 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8250 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8252 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8254 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8256 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8258 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8260 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8262 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8264 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8266 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8267 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8268 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8269
39507e4a
RM
8270 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8271 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8272 (__libc_vfork): Define the function under this name.
8273 [!NOT_IN_libc] (__vfork): Make this an alias.
8274 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8275 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8276 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8277 (__libc_vfork): Define the function under this name.
8278 [!NOT_IN_libc] (__vfork): Make this an alias.
8279 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8280 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8281 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8282 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8283 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8284 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8285
e549ee56
RM
8286 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8287 code that was previously under [RESET_PID].
8288 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8289 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8290 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8291
6ad2df0b
RM
8292 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8293 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8294 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8295 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8296 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8297 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8298 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8299 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8300 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8301 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8302 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8303 Moved ...
8304 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8305 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8306 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8307 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8308 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8309 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8310 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8311 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8312 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8313 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8314 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8315 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8316 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8317 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8318 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8319 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8320 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8321 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8322 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8323 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8324 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8325 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8326 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8327 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8328 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8329 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8330 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8331 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8332 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8333
7c1c1d8e
RM
83342014-06-25 Roland McGrath <roland@hack.frob.com>
8335
8336 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8337 that was previously under [RESET_PID].
8338 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8339
3e239be6
JM
83402014-06-25 Joseph Myers <joseph@codesourcery.com>
8341
74385da5
JM
8342 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8343 not undefine and redefine.
8344 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8345 [O_CLOEXEC]: Make code unconditional.
8346 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8347 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8348 <kernel-features.h>.
8349 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8350 conditional variable definition.
8351 (shm_open) [O_CLOEXEC]: Make code unconditional.
8352 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8353 code.
8354
c2570a0b
JM
8355 * configure.ac (USE_REGPARMS): Don't define here.
8356 * configure: Regenerated.
8357 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8358 * sysdeps/i386/configure: Regenerated.
8359
11b076bb
JM
8360 * nptl/createthread.c: Don't include kernel-features.h.
8361 * nptl/pthread_cancel.c: Likewise.
8362 * nptl/pthread_condattr_setclock.c: Likewise.
8363 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8364 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8365 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8366 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8367 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8368 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8369 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8370 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8371 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8372 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8373 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8374 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8375 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8376 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8377 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8378 * nscd/gai.c: Likewise.
8379 * nss/nss_db/db-open.c: Likewise.
8380 * sysdeps/generic/ldsodefs.h: Likewise.
8381 * sysdeps/sh/nptl/tls.h: Likewise.
8382 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8383 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8384 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8385 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8386 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8387 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8388 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8389 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8390 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8391 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8392 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8393 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8394 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8395 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8396 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8397 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8398 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8399 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8400 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8401 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8402 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8403 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8404 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8405 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8406 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8407 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8408 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8410 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8411 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8412 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8413 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8414 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8415 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8416 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8417 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8418 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8419 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8420 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8421 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8422 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8423 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8424 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8425 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8426 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8427 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8428 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8429 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8430 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8431 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8432 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8433 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8434 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8435 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8436 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8437 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8438 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8439 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8462 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8463 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8464 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8465 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8466 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8467 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8469 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8470 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8471 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8472 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8473 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8474 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8475 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8476 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8477 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8480 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8481 * sysdeps/unix/sysv/linux/system.c: Likewise.
8482 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8483 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8484 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8485 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8486 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8487 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8488 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8489
92072d57
JM
8490 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8491 * configure: Regenerated.
8492 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8493
3e239be6
JM
8494 * configure.ac (base_machine): Do not set specially for particular
8495 machines here.
8496 * configure: Regenerated.
8497 * sysdeps/powerpc/preconfigure: Move machine and base_machine
8498 settings from configure.ac.
8499 * sysdeps/i386/preconfigure: New file.
8500 * sysdeps/s390/preconfigure: Likewise.
8501 * sysdeps/sh/preconfigure: Likewise.
8502 * sysdeps/sparc/preconfigure: Likewise.
8503
06d50baa
RM
85042014-06-25 Roland McGrath <roland@hack.frob.com>
8505
74836003
RM
8506 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8507 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8508 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8509 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8510 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8511 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8512 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8513 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8514 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8515 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8516 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8517 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8518 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8519 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8520 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8521 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8522 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8523 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8524 * sysdeps/sparc/sparc64/Makefile: ... appended here.
8525
8526 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8527 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8528 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8529 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8530 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8531 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8532 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8533 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8534 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8535 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8536 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8537 * sysdeps/sparc/sparc32/sem_post.c: ... here.
8538 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8539 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8540 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8541 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8542 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8543 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8544 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8545 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8547 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8548 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8549 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8551 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8552 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8553 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8554 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8555 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8556 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8557 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8558 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8559 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8560 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8561 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8562 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8563 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8564
06d50baa
RM
8565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8566 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8568 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8570 Moved ...
8571 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8572 ... here.
8573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8574 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8576 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8578 Moved ...
8579 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8581 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8582 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8583 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8585 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8587 Moved ...
8588 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8590 Moved ...
8591 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8593 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8595 Moved ...
8596 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8598 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8600 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8602 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8604 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8606 Moved ...
8607 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8608 ... here.
8609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8610 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8612 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8614 Moved ...
8615 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8617 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8619 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8621 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8623 Moved ...
8624 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8626 Moved ...
8627 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8629 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8631 Moved ...
8632 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8636 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8637
a4ccbc9b
JM
86382014-06-25 Joseph Myers <joseph@codesourcery.com>
8639
0828edbf
JM
8640 * timezone/checktab.awk: Update from tzcode 2014e.
8641 * timezone/private.h: Likewise.
8642 * timezone/tzfile.h: Likewise.
8643 * timezone/zdump.c: Likewise.
8644 * timezone/zic.c: Likewise.
8645
a4ccbc9b
JM
8646 * sysdeps/unix/sysv/linux/kernel-features.h
8647 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8648 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8649 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8650 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8651 Remove conditional code.
8652
9aea0cb8
WN
86532014-06-25 Will Newton <will.newton@linaro.org>
8654
8655 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8656 (_dl_arm_cap_flags): Add HWCAP2 values.
8657 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8658 (_DL_HWCAP_COUNT): Increase to 37.
8659 (_DL_HWCAP_LAST): New define.
8660 (_DL_HWCAP2_LAST): New define.
8661 (_dl_procinfo): Add support for printing
8662 AT_HWCAP2 entries.
8663 (_dl_string_hwcap): Use _dl_hwcap_string.
8664
6eaa65ce
AZ
86652014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8666
8667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8668
0f5b7185
JM
86692014-06-25 Joseph Myers <joseph@codesourcery.com>
8670
cfd2ea50
JM
8671 * README: Do not mention ports directory.
8672
cecf2ed4
JM
8673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8674 Remove macro.
8675 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8676 <kernel-features.h>.
8677 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8678 conditional variable definition.
8679 (__futimes): Update comment.
8680 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8681 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8682
a638de82
JM
8683 [BZ #16560]
8684 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8685 arguments close to 0.
8686 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8687 Likewise.
8688 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8689 Likewise.
8690 * math/auto-libm-test-in: Add more tests of exp10.
8691 * math/auto-libm-test-out: Regenerated.
8692 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8693
0f5b7185
JM
8694 * sysdeps/unix/sysv/linux/kernel-features.h
8695 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8696 * sysdeps/unix/sysv/linux/readv.c: Do not include
8697 <kernel-features.h>.
8698 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8699 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8700 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8701 unconditional.
8702 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8703 conditional code.
8704 * sysdeps/unix/sysv/linux/writev.c: Do not include
8705 <kernel-features.h>.
8706 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8707 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8708 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8709 unconditional.
8710 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8711 conditional code.
8712
c7aec4be
WN
87132014-06-25 Will Newton <will.newton@linaro.org>
8714
8715 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8716 comment changes throughout the file. Remove checks
8717 for HAVE_*_H definitions that are not required.
8718 (__gen_tempname): Call abort if an unknown kind value is
8719 passed.
8720
c5241f95
AS
87212014-06-25 Andreas Schwab <schwab@suse.de>
8722
8723 [BZ #17086]
8724 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8725 scalbln, scalblnf, scalblnl in libc.
8726
911422da
SP
87272014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8728
8729 [BZ #17086]
8730 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8731 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8732 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8733
0d749bbe
RM
87342014-06-24 Roland McGrath <roland@hack.frob.com>
8735
8736 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8737 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8738 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8739 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8740 Update #include.
8741 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8742 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8743 Update #include.
8744 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8745 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8746 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8747 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8748 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8749 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8750 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8751 * sysdeps/x86/bits/semaphore.h: ... here.
8752 * sysdeps/x86/nptl/elide.h: Moved ...
8753 * sysdeps/x86/elide.h: ... here.
8754 * sysdeps/x86_64/nptl/Implies: File removed.
8755 * sysdeps/i386/nptl/Implies: File removed.
8756
0ea5d373
JM
87572014-06-24 Joseph Myers <joseph@codesourcery.com>
8758
4060283d
JM
8759 [BZ #16539]
8760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8761 return the argument for normal arguments with exponent below -64.
8762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8763 Likewise.
8764 * math/auto-libm-test-in: Add another test of expm1.
8765 * math/auto-libm-test-out: Regenerated.
8766
e7dd3c8c
JM
8767 [BZ #16287]
8768 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8769 calling __erfcl for arguments at least 16.
8770 * math/auto-libm-test-in: Add more tests of erf.
8771 * math/auto-libm-test-out: Regenerated.
8772
0ea5d373
JM
8773 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8774 individual architectures.
8775 * sysdeps/unix/sysv/linux/configure: Regenerated.
8776 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8777 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8778 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8779 (ldd_rewrite_script): Define variable.
8780 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8782 file.
8783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8784 generated file.
8785 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8786 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8787 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8788 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8789 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8790 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8791 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8792 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8793
2307e126
SP
87942014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8795
8796 [BZ #17084]
8797 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8798 Rename member __data.d to __data.__elision_data.
8799
c0a4ed77
W
88002014-06-24 Wilco <wdijkstr@arm.com>
8801
8802 * NEWS: Add 16918 to fixed bug list.
8803
b8c00573
W
88042014-06-24 Wilco <wdijkstr@arm.com>
8805
8806 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8807
b5570d92
W
88082014-06-24 Wilco <wdijkstr@arm.com>
8809
8810 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8811 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8812 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8813 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8814 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8815 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8816 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8817 Use _FPU_MASK_RM.
8818
947bdca2
W
88192014-06-24 Wilco <wdijkstr@arm.com>
8820
8821 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8822
00f669ed
W
88232014-06-24 Wilco <wdijkstr@arm.com>
8824
8825 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8826 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8827 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8828 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8829
db59bad3
W
88302014-06-24 Wilco <wdijkstr@arm.com>
8831
8832 [BZ #16918]
8833 * sysdeps/arm/feupdateenv.c (feupdateenv):
8834 Rewrite to reduce FPSCR accesses and fix return value.
8835
001f7b77
W
88362014-06-24 Wilco <wdijkstr@arm.com>
8837
8838 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8839 Optimize to avoid unnecessary FPSCR writes.
8840 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8841 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8842 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8843 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8844
4841e6a6
W
88452014-06-24 Wilco <wdijkstr@arm.com>
8846
8847 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8848 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8849 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8850 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8851 Call libc_fetestexcept_vfp.
8852 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8853 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8854 __SOFTFP__ ifdef so that they can be built for softfp.
8855
0813022c
SP
88562014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
08e5862f
SP
8858 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8859 argument type signed char.
8860
0813022c
SP
8861 * Makerules (check-abi): Dump diff of symlist if the test
8862 fails.
8863
3fc7236a
RM
88642014-06-23 Roland McGrath <roland@hack.frob.com>
8865
aba8ef95
RM
8866 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8867 using abort.
8868
3fc7236a
RM
8869 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8870 Remove unused variable ST.
8871
4da6db51
JM
88722014-06-23 Joseph Myers <joseph@codesourcery.com>
8873
4648909d
JM
8874 [BZ #16354]
8875 [BZ #17061]
8876 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8877 small arguments before calling __expm1.
8878 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8879 small arguments before calling __expm1f.
8880 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8881 small arguments before calling __expm1l.
8882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8883 Likewise.
8884 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8885 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8886 spurious underflow for some cosh tests.
8887 * math/auto-libm-test-out: Regenerated.
8888 * sysdeps/i386/fpu/libm-test-ulps: Update.
8889
46a3d3c7
JM
8890 [BZ #17050]
8891 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8892 (__ieee754_y1): Set errno if return value overflows.
8893 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8894 (__ieee754_y1f): Set errno if return value overflows.
8895 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8896 (__ieee754_y1l): Set errno if return value overflows.
8897 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8898 (__ieee754_y1l): Set errno if return value overflows.
8899 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8900 * math/auto-libm-test-out: Regenerated.
8901
863893ec
JM
8902 * math/gen-auto-libm-tests.c: Document use of
8903 ignore-zero-inf-sign.
8904 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8905 (input_flags): Add ignore-zero-inf-sign.
8906 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8907 * math/gen-libm-test.pl (generate_testfile): Handle
8908 ignore-zero-inf-sign.
8909 * math/auto-libm-test-in: Mark some cpow tests with
8910 ignore-zero-inf-sign and some with xfail-rounding.
8911 * math/auto-libm-test-out: Regenerated.
8912 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8913 * sysdeps/i386/fpu/libm-test-ulps: Update.
8914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8915
4da6db51
JM
8916 [BZ #16315]
8917 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8918 overflowing or underflowing operations take place with sign of
8919 result.
8920 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8921 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8922 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8923 (__ieee754_pow): Recompute overflowing and underflowing results in
8924 original rounding mode.
8925 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8926 (__powl_helper): Allow negative argument X and scale negated value
8927 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8928 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8929 overflowing or underflowing operations take place with sign of
8930 result.
8931 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8932 Include <math.h>.
8933 * math/auto-libm-test-in: Add more tests of pow.
8934 * math/auto-libm-test-out: Regenerated.
8935 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8936 (pow_tonearest_test_data): Remove.
8937 (pow_test_tonearest): Likewise.
8938 (pow_towardzero_test_data): Likewise.
8939 (pow_test_towardzero): Likewise.
8940 (pow_downward_test_data): Likewise.
8941 (pow_test_downward): Likewise.
8942 (pow_upward_test_data): Likewise.
8943 (pow_test_upward): Likewise.
8944 (main): Don't call removed functions.
8945 * sysdeps/i386/fpu/libm-test-ulps: Update.
8946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947
5686b236
RM
89482014-06-23 Roland McGrath <roland@hack.frob.com>
8949
8950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8951 Moved ...
8952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8954 Moved ...
8955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8957 Moved ...
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8960 Moved ...
8961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8963 File removed.
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8965 File removed.
8966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8967 File removed.
8968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8969 File removed.
8970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8971 File removed.
8972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8973 File removed.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8975 File removed.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8977 File removed.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8979 File removed.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8981 File removed.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8983 File removed.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8985 File removed.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8987 Moved ...
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8990 Moved ...
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8992 ... here.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8994 Moved ...
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8997 Moved ...
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9000 Moved ...
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9003 Moved ...
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9006 Moved ...
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9009 Moved ...
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9012 Moved ...
9013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9016 ... here.
9017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9018 Moved ...
9019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9021 Moved ...
9022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9023 ... here.
9024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9025 Moved ...
9026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9027 ... here.
9028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9029 Moved ...
9030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9031 ... here.
9032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9033 Moved ...
9034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9036 Moved ...
9037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9041 Moved ...
9042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9043 ... here.
9044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9045 Moved ...
9046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9047 ... here.
9048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9049 Moved ...
9050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9052 Moved ...
9053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9055 Moved ...
9056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9058 Moved ...
9059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9061 Moved ...
9062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9063 ... here.
9064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9065 Moved ...
9066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9068 Moved ...
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9071 Moved ...
9072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9074 Moved ...
9075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9079 Moved ...
9080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9082 Moved ...
9083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9085 Moved ...
9086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9087 ... here.
9088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9089 Moved ...
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9091 ... here.
9092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9093 Moved ...
9094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9095 ... here.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9097 Moved ...
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9100 Moved ...
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9103 Moved ...
9104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9106 Moved ...
9107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9108 ... here.
9109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9110 Moved ...
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9112 ... here.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9114 Moved ...
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9116 ... here.
9117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9118 Moved ...
9119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9121 Moved ...
9122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9123
e6d90d67
WD
91242014-06-23 Will Newton <will.newton@linaro.org>
9125 Wilco <wdijkstr@arm.com>
9126
9127 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9128 implementation. Include get-rounding-mode.h.
9129 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9130 [!libc_feholdsetround_noex_ctx]: Define
9131 libc_feholdsetround_noex_ctx.
9132 [!libc_feholdsetround_noexf_ctx]: Define
9133 libc_feholdsetround_noexf_ctx.
9134 [!libc_feholdsetround_noexl_ctx]: Define
9135 libc_feholdsetround_noexl_ctx.
9136 (libc_feholdsetround_ctx): New function.
9137 (libc_feresetround_ctx): New function.
9138 (libc_feholdsetround_noex_ctx): New function.
9139 (libc_feresetround_noex_ctx): New function.
9140
d42df555
RM
91412014-06-23 Roland McGrath <roland@hack.frob.com>
9142
88a46474
RM
9143 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9144 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9145 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9146 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9147 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9148 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9149
15bed472
RM
9150 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9151 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9152 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9153 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9154 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9155 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9157 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9158 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9161 Moved ...
9162 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9163 ... here.
9164 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9165 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9167 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9168 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9169 Moved ...
9170 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9171 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9172 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9173 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9174 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9175 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9176 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9178 Moved ...
9179 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9181 Moved ...
9182 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9183 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9184 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9185 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9186 Moved ...
9187 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9188 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9189 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9190 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9191 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9192 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9193 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9194 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9195 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9196 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9197 Moved ...
9198 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9199 ... here.
9200 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9201 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9202 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9203 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9204 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9205 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9206 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9207 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9208 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9209 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9210 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9211 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9212 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9213 Moved ...
9214 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9215 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9216 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9217 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9218 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9219 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9220 Moved ...
9221 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9222 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9223 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9224 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9225 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9226
d42df555
RM
9227 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9228 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9229 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9230 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9232 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9233 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9234 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9235 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9236 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9237 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9238 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9239 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9240 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9241 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9242 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9243 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9244 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9245 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9246 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9247 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9248 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9249 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9250 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9251 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9252 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9253 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9254 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9255
76e5216e
JM
92562014-06-23 Joseph Myers <joseph@codesourcery.com>
9257
9258 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9259 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9260 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9261 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9262 (IPV6_PMTUDISC_INTERFACE): Likewise.
9263 (IPV6_PMTUDISC_OMIT): Likewise.
9264
7a81cbcc
AS
92652014-06-23 Andreas Schwab <schwab@suse.de>
9266
9267 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9268 Remove unused errout label.
9269
db224009
AZ
92702014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9271
9272 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9273 macro: hardware supports Vector Crypto instructions.
9274
f393b4aa
WN
92752014-06-23 Will Newton <will.newton@linaro.org>
9276
cc7d0447
WN
9277 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9278 rather than __builtin_expect.
9279
d6d06225
WN
9280 * elf/dl-lookup.c (undefined_msg): Remove variable.
9281 (_dl_lookup_symbol_x): Replace undefined_msg with string
9282 literal.
9283
f393b4aa
WN
9284 * elf/dl-lookup.c (do_lookup_unique): New function.
9285 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9286 to a separate function.
9287
ac60763e
AS
92882014-06-23 Andreas Schwab <schwab@suse.de>
9289
9290 [BZ #17079]
9291 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9292 before reading the next line.
9293
c5c13355
WN
92942014-06-23 Will Newton <will.newton@linaro.org>
9295
9296 * test-skeleton.c (signal_handler): Use printf and %m
9297 rather than perror. Use printf rather than fprintf to
9298 stderr. Use puts rather than fputs to stderr.
9299 (main): Likewise.
9300
bd3675f9
LC
93012014-06-22 Ludovic Courtès <ludo@gnu.org>
9302
9303 * nscd/nscd.c (thread_info_t): Remove typedef.
9304 (thread_info): Remove variable.
9305
d03efb2f
AM
93062014-06-21 Allan McRae <allan@archlinux.org>
9307
9308 * NEWS: Mention CVE-2014-4043.
9309
bc4a86fa
RM
93102014-06-20 Roland McGrath <roland@hack.frob.com>
9311
dc9a54f8
RM
9312 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9313 * nptl/smp.h: ... here.
9314
bd7022c4
RM
9315 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9316
26ffd5e6
RM
9317 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9318 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9319 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9320 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9321
93a6d082
RM
9322 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9323 * nptl/stack-aliasing.h: New file.
9324 * sysdeps/i386/i686/stack-aliasing.h: New file.
9325 * sysdeps/i386/i686/nptl/Makefile: File removed.
9326 * sysdeps/x86_64/stack-aliasing.h: New file.
9327 * sysdeps/x86_64/nptl/Makefile
9328 (CFLAGS-pthread_create.c): Variable removed.
9329
bc4a86fa
RM
9330 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9331 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9332 old file.
9333 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9334 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9335 old file.
9336
2272ffc1
JM
93372014-06-21 Joseph Myers <joseph@codesourcery.com>
9338
9339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9340 (__ASSUME_SIGFRAME_V2): Remove macro.
9341 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9342 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9343 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9344 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9345 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9346 Declare as function. Remove conditional macro definitions.
9347 (__default_rt_sa_restorer): Likewise.
9348 (__default_sa_restorer_v1): Remove declaration.
9349 (__default_sa_restorer_v2): Likewise.
9350 (__default_rt_sa_restorer_v1): Likewise.
9351 (__default_rt_sa_restorer_v2): Likewise.
9352 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9353 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9354 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9355
4b88139b
RM
93562014-06-20 Roland McGrath <roland@hack.frob.com>
9357
9358 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9359 (libpthread-routines): Add sysdep.
9360 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9361 * sysdeps/unix/sysv/linux/sparc/Versions
9362 (libpthread: GLIBC_2.3.3): New version set.
9363 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9364 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9365 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9366 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9367 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9368 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9369 Moved ...
9370 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9371 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9372 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9373 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9374 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9375 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9376 * sysdeps/sparc/nptl/sem_init.c: ... here.
9377 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9378 * sysdeps/sparc/nptl/sem_post.c: ... here.
9379 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9380 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9381 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9382 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9383 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9384 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9385 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9386 (libpthread-routines): Add cpu_relax.
9387 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9388 File removed.
9389 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9390 (librt: GLIBC_2.3.3): New version set.
9391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9392 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9393 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9394 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9397 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9399 Moved ...
9400 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9402 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9404 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9406 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9408 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9410 Moved ...
9411 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9412 Update #include.
9413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9414 Moved ...
9415 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9416 Update #include.
9417 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9418 Moved ...
9419 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9420 Update #include.
9421 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9422 Moved ...
9423 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9424 Update #include.
9425 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9426 Moved ...
9427 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9428 Update #include.
9429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9430 Moved ...
9431 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9432 Update #include.
9433 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9434 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9435 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9436 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9437 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9439 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9440 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9442 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9443 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9444 Moved ...
9445 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9446 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9447 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9448 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9449 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9450
d7109027
JM
94512014-06-20 Joseph Myers <joseph@codesourcery.com>
9452
9bc6103d
JM
9453 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9454 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9455 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9456 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9457 * nscd/nscd.c: Likewise.
9458 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9459 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9460 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9461 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9462
d7109027
JM
9463 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9464 <kernel-features.h>.
9465 (init_mq_netlink): Remove conditional have_sock_cloexec
9466 definitions. Remove code conditional on have_sock_cloexec < 0.
9467 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9468 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9469 * sysdeps/unix/sysv/linux/opensock.c: Do not include
9470 <kernel-features.h>.
9471 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9472 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9473
d92d8f8a
L
94742014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9475
9476 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9477 Add tests for memset_chk and memset.
9478
9479 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9480 with AVX2_Usable.
9481
4e6d2347
MR
94822014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9483
257ce712
MR
9484 [BZ #16046]
9485 * elf/tst-dl-iter-static.c: New file.
9486 * elf/Makefile (tests-static): Add tst-dl-iter-static.
9487
4e6d2347
MR
9488 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9489 error.
9490
a2a76afe
JM
94912014-06-20 Joseph Myers <joseph@codesourcery.com>
9492
7fd00f99
JM
9493 * sysdeps/unix/sysv/linux/kernel-features.h
9494 (__ASSUME_F_GETOWN_EX): Remove macro.
9495 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9496 <kernel-features.h>.
9497 (miss_F_GETOWN_EX): Remove variable or macro.
9498 (do_fcntl): Do not check miss_F_GETOWN_EX.
9499 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9500
4a103975
JM
9501 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9502 Remove macro.
9503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9504 [!__ASSUME_AT_RANDOM]: Remove conditional code.
9505 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9506
a2a76afe
JM
9507 * sysdeps/unix/sysv/linux/kernel-features.h
9508 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9509 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9510 [ADJ_OFFSET_SS_READ]: Make code unconditional.
9511 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9512
90e5dd48
MR
95132014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
9514
9515 [BZ #17075]
9516 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9517 Fix calculation of the symbol's value.
9518 * sysdeps/arm/tst-armtlsdescloc.c: New file.
9519 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9520 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9521 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9522 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9523 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9524 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9525 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9526 (modules-names): Add `tst-armtlsdescmod',
9527 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9528 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9529 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9530 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9531 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9532 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9533 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9534 ($(objpfx)tst-armtlsdescloc): New dependency.
9535 ($(objpfx)tst-armtlsdescextnow): Likewise.
9536 ($(objpfx)tst-armtlsdescextlazy): Likewise.
9537 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9538 TLS scheme support.
9539 * sysdeps/arm/configure: Regenerate.
9540
809fdf0d
JM
95412014-06-20 Joseph Myers <joseph@codesourcery.com>
9542
9543 * include/fcntl.h (__atfct_seterrno): Remove prototype.
9544 (__atfct_seterrno_2): Likewise.
9545 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9546 <kernel-features.h>.
9547 (__ASSUME_ATFCTS): Do not undefine and redefine.
9548 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9549 (__have_atfcts): Remove conditional definition.
9550 (__fxstatat([__NR_fstatat64]: Make code unconditional.
9551 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9552 unreachable if [__ASSUME_ATFCTS].
9553 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9554 not undefine and redefine.
9555 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9556 <kernel-features.h>.
9557 (faccessat) [__NR_faccessat]: Make code unconditional.
9558 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9559 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9560 <kernel-features.h>.
9561 (fchmodat) [__NR_fchmodat]: Make code unconditional.
9562 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9563 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9564 <kernel-features.h>.
9565 (fchownat) [__NR_fchownat]: Make code unconditional.
9566 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9567 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9568 <kernel-features.h>.
9569 (futimesat) [__NR_futimesat]: Make code unconditional.
9570 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9571 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9572 <kernel-features.h>.
9573 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9574 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9575 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9576 <kernel-features.h>.
9577 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9578 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9579 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9580 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9581 <kernel-features.h>.
9582 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9583 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9584 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9585 <kernel-features.h>.
9586 (linkat) [__NR_linkat]: Make code unconditional.
9587 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9588 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9589 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9590 <kernel-features.h>.
9591 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9592 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9593 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9594 <kernel-features.h>.
9595 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9596 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9597 * sysdeps/unix/sysv/linux/openat.c: Do not include
9598 <kernel-features.h>.
9599 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9600 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9601 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9602 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9603 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9604 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9605 <kernel-features.h>.
9606 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9607 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9608 result of INLINE_SYSCALL directly, not via int variable.
9609 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9610 <kernel-features.h>.
9611 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9612 (renameat) [__NR_renameat]: Make code unconditional.
9613 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9614 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9615 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9616 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9617 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9618 (__ASSUME_ATFCTS): Do not undefine and redefine.
9619 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9620 <kernel-features.h>.
9621 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9622 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9623 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9624 <kernel-features.h>.
9625 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9626 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9627 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9628 (__ASSUME_ATFCTS): Do not undefine and redefine.
9629 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9630 <kernel-features.h>.
9631 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9632 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9633 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9634 <kernel-features.h>.
9635 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9636 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9637
224c6c51
L
96382014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9639
9640 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9641
aa6ec754
AS
96422014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9643
9644 [BZ #17069]
9645 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9646 constructed tree before returning error.
9647 * posix/bug-regexp36.c: Expand test case.
9648
d8c2869d
SL
96492014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9650
3ef6b850
SL
9651 [BZ #6803]
9652 * math/libm-test.inc (scalbln_test_date):
9653 Add errno expectations.
9654 * math/w_scalblnf.c: New File.
9655 Add wrapper which checks for setting errno to ERANGE.
9656 Add weak_alias for corresponding scalbln function.
9657 * math/w_scalbln.c: Likewise.
9658 * math/w_scalblnl.c: Likewise.
9659 * math/Makefile (libm-calls): Add w_scalbln.
9660 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9661 Remove weak_alias for corresponding scalbln function.
9662 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9663 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9664 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9665 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9666 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9667 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9668 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9669 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9670 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9671 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9672 Remove long_double_symbol for scalblnl function in libm, libc.
9673 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9674 Add wrapper which checks for setting errno to ERANGE.
9675 Add long_double_symbol for scalblnl function in libm, libc.
9676 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9677 Remove long_double_symbol for scalblnl in libm.
9678 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9679 Add wrapper which checks for setting errno to ERANGE.
9680 Add long_double_symbol for scalblnl function in libm.
9681 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9682 Do not use wrapper because of own implementation.
9683
c8daec5c
L
96842014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9687 3 bytes for __pad1 for x32.
9688 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9689
5c74e47c
LM
96902014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9691 H.J. Lu <hongjiu.lu@intel.com>
9692
9693 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9694 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9695 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9696 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9697 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9698
4d43ef1e
AS
96992014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9700
9701 [BZ #17069]
9702 * posix/regcomp.c (parse_expression): Deallocate partially
9703 constructed tree before returning error.
9704 * posix/Makefile.c (tests): Add bug-regex36.
9705 (generated): Add bug-regex36.mtrace.
9706 (tests-special): Add $(objpfx)bug-regex36-mem.out
9707 (bug-regex36-ENV): New variable.
9708 ($(objpfx)bug-regex36-mem.out): New rule.
9709 * posix/bug-regex36.c: New file.
9710
51a7380b
WN
97112014-06-19 Will Newton <will.newton@linaro.org>
9712
9713 * malloc/malloc.c (systrim): If extra is zero then return
9714 early.
9715
91b84fe5
SP
97162014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9717
9718 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9719
f940b965
RE
97202014-06-19 Richard Earnshaw <rearnsha@arm.com>
9721
9722 * sysdeps/aarch64/strchr.S: New file.
9723
4ba7a00f
JM
97242014-06-18 Joseph Myers <joseph@codesourcery.com>
9725
9726 [BZ #17022]
9727 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9728 from arguments -2 or below.
9729 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9730 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9731
b3a9f56b
AS
97322014-06-18 Andreas Schwab <schwab@suse.de>
9733
9734 [BZ #17062]
9735 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9736 of a bracket expr not to run off the end of the string.
9737 * posix/Makefile (tests): Add tst-fnmatch3.
9738 * posix/tst-fnmatch3.c: New file.
9739
85d89278
JM
97402014-06-18 Joseph Myers <joseph@codesourcery.com>
9741
9742 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9743 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9744 [$(cross-compiling) = no]: Likewise.
9745 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9746 [$(cross-compiling) = no]: Likewise.
9747
754c5a08
RS
97482014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9749
9750 [BZ #17031]
9751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9752 double, adjusted for any remainder from the high double.
9753 * math/libm-test.inc (nearbyint): Add tests.
9754 (rint): Likewise.
9755
556f529d
AZ
97562014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9757
9758 * nptl/sysdeps/powerpc/Makefile: Moved ...
9759 * sysdeps/powerpc/nptl/Makefile: ... here.
9760 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9761 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9762 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9763 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9764 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9765 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9766 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9767 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9768 * nptl/sysdeps/powerpc/tls.h: Moved ...
9769 * sysdeps/powerpc/nptl/tls.h: ... here.
9770
91c03c53
JM
97712014-06-16 Joseph Myers <joseph@codesourcery.com>
9772
9773 [BZ #16681]
9774 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9775 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9776 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9777 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9778 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9779 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9780 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9781 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9782 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9783
a76e63c5
AS
97842014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9785
9786 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9787
f2f6d82f
AS
97882014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9789
ea8a15f6
AS
9790 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9791 defined operator.
9792
f2f6d82f
AS
9793 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9794 $TIMEOUTFACTOR.
9795
a7291117
FW
97962014-06-16 Florian Weimer <fweimer@redhat.com>
9797
9798 [BZ #17058]
9799 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9800 non-executed part of the test.
9801
3d7c00e3
AS
98022014-06-16 Andreas Schwab <schwab@suse.de>
9803
9804 * string/bits/string2.h (strdup, strndup): Update feature guard.
9805
6957fb31
DM
98062014-06-14 David S. Miller <davem@davemloft.net>
9807
9808 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9809
11b9e55b
AS
98102014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9811
1d2a0492
AS
9812 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9813 that was previously under [RESET_PID].
9814 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9815
11b9e55b
AS
9816 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9817 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9818 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9819 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9820 (__libc_vfork): New strong alias.
9821 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9822
0f6901d0
AK
98232014-06-14 Andi Kleen <ak@linux.intel.com>
9824
9825 * sysdeps/generic/elide.h: New file.
9826
38bbbb9f
SL
98272014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9828
9829 * Makefile (installed-headers): Adjust path of pthread.h header.
9830
45193bb8
RM
98312014-06-13 Roland McGrath <roland@hack.frob.com>
9832
9a25fd1e
RM
9833 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9834 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9835 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9836 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9837
4004f7e4
RM
9838 * nptl/sysdeps/s390/Makefile: Moved ...
9839 * sysdeps/s390/nptl/Makefile: ... here.
9840 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9841 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9842 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9843 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9844 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9845 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9846 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9847 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9848 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9849 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9850 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9851 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9852 * nptl/sysdeps/s390/tls.h: Moved ...
9853 * sysdeps/s390/nptl/tls.h: ... here.
9854
45193bb8
RM
9855 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9856 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9857
f6fdf533
DM
98582014-06-13 David S. Miller <davem@davemloft.net>
9859
9860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9861 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9863 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9865 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9867 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9868 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9869 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9870 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9871 Remove RESET_PID cpp guards.
9872 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9873 Remove RESET_PID cpp guards.
9874 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9875
f5d71e14
AS
98762014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9877
9878 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9879 __sp to uintptr_t.
9880
b7aa8caa
AK
98812014-06-13 Andi Kleen <ak@linux.intel.com>
9882
4b266200
AZ
9883 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9884 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9885 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9886 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9887 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9888 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9889 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9890 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9891 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9892 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9893 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9894 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9895 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9896 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9897 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9898 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9899 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9900 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9901 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
9903
9904 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
9905 (pthread_rwlock_rdlock): Add elision.
9906 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9907 (pthread_rwlock_wrlock): Add elision.
9908 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9909 (pthread_rwlock_trywrlock): Add elision.
9910 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9911 (pthread_rwlock_tryrdlock): Add elision.
9912 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9913 (pthread_rwlock_tryrdlock): Add elision unlock.
9914 * nptl/sysdeps/pthread/pthread.h:
9915 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9916 (PTHREAD_RWLOCK_INITIALIZER,
9917 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9918 Handle new elision field.
9919 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9920 * sysdeps/arm/nptl/bits/pthreadtypes.h
9921 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9922 * sysdeps/sh/nptl/bits/pthreadtypes.h
9923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9924 * sysdeps/tile/nptl/bits/pthreadtypes.h
9925 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9926 * sysdeps/a/nptl/bits/pthreadtypes.h
9927 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9928 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9929 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9930 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9931 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9932 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9933 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9934 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9935 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9936 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9937 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9938 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9939 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9940 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9941 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9942 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9943 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9944 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9945 (elision_init): Set try_xbegin to zero when no RTM.
9946 * sysdeps/x86/nptl/bits/pthreadtypes.h
9947 (pthread_rwlock_t): Change __pad1 to __rwelision.
9948 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 9949
a832bdd3
AK
99502014-06-13 Andi Kleen <ak@linux.intel.com>
9951
9952 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9953 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9954 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9955 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9956
995a46bb
MI
99572014-06-13 Meador Inge <meadori@codesourcery.com>
9958
9959 [BZ #16996]
03ed7738 9960 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
9961 that the cached result has been set before returning it.
9962
45262aee
RM
99632014-06-12 Roland McGrath <roland@hack.frob.com>
9964
febf6cc5
RM
9965 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9966 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9967 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9968 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9969 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9970 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9971
e2682246
RM
9972 * nptl/sysdeps/sparc/Makefile: Moved ...
9973 * sysdeps/sparc/nptl/Makefile: ... here.
9974 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9975 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9976 * nptl/sysdeps/sparc/tls.h: Moved ...
9977 * sysdeps/sparc/nptl/tls.h: ... here.
9978 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9979 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9980 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9981 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9982 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9983 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9984 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9985 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9986 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9987 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9988 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9989 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9990 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9991 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9992 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9993 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9994 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9995 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9996 Update #include.
9997 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9998 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9999 Update #include.
10000 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10002 Update #include.
10003 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10004 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10005 Update #include.
10006
b0725f43
RM
10007 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10008
b14368b8
RM
10009 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10010 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10011
c5620eb3
RM
10012 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10013 (struct list_links): Type removed.
10014 (struct thread_node, struct timer_node): Replace struct list_links
10015 with struct list_head.
10016 (list_unlink_ip): Likewise.
10017 * sysdeps/pthread/timer_routines.c
10018 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10019 (list_append, list_insbefore): Likewise.
10020 (list_init): Function removed.
10021 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10022 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10023 * sysdeps/pthread/Makefile: ... here, new file.
10024
10025 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10026 * sysdeps/nptl/Implies: ... here.
10027 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10028 * nptl/sysdeps/pthread/list.h: Moved ...
10029 * include/list.h: ... here.
10030 * nptl/sysdeps/pthread/createthread.c: Moved ...
10031 * nptl/createthread.c: ... here.
10032 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10033 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10034 * nptl/pt-longjmp.c: ... here.
10035 * nptl/sysdeps/pthread/Makefile: Moved ...
10036 * sysdeps/nptl/Makefile: ... here.
10037 * nptl/sysdeps/pthread/Subdirs: Moved ...
10038 * sysdeps/nptl/Subdirs: ... here.
10039 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10040 * sysdeps/nptl/aio_misc.h: ... here.
10041 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10042 * sysdeps/nptl/bits/libc-lock.h: ... here.
10043 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10044 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10045 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10046 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10047 * nptl/sysdeps/pthread/configure: Moved ...
10048 * sysdeps/nptl/configure: ... here.
10049 * nptl/sysdeps/pthread/configure.ac: Moved ...
10050 * sysdeps/nptl/configure.ac: ... here.
10051 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10052 * sysdeps/nptl/gai_misc.h: ... here.
10053 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10054 * sysdeps/nptl/librt-cancellation.c: ... here.
10055 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10056 * sysdeps/nptl/malloc-machine.h: ... here.
10057 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10058 * sysdeps/nptl/pthread-functions.h: ... here.
10059 * nptl/sysdeps/pthread/pthread.h: Moved ...
10060 * sysdeps/nptl/pthread.h: ... here.
10061 * nptl/sysdeps/pthread/setxid.h: Moved ...
10062 * sysdeps/nptl/setxid.h: ... here.
10063 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10064 * sysdeps/nptl/sigfillset.c: ... here.
10065 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10066 * sysdeps/nptl/tcb-offsets.h: ... here.
10067 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10068 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10069 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10070 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10071 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10072 * sysdeps/pthread/allocalim.h: ... here.
10073 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10074 * sysdeps/pthread/bits/sigthread.h: ... here.
10075 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10076 * sysdeps/pthread/flockfile.c: ... here.
10077 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10078 * sysdeps/pthread/ftrylockfile.c: ... here.
10079 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10080 * sysdeps/pthread/funlockfile.c: ... here.
10081 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10082 * sysdeps/pthread/posix-timer.h: ... here.
10083 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10084 * sysdeps/pthread/timer_create.c: ... here.
10085 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10086 * sysdeps/pthread/timer_delete.c: ... here.
10087 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10088 * sysdeps/pthread/timer_getoverr.c: ... here.
10089 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10090 * sysdeps/pthread/timer_gettime.c: ... here.
10091 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10092 * sysdeps/pthread/timer_routines.c: ... here.
10093 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10094 * sysdeps/pthread/timer_settime.c: ... here.
10095 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10096 * sysdeps/pthread/tst-timer.c: ... here.
10097 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10098 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10099
e876b090
RM
10100 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10101 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10102
f6b07b3d
RM
10103 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10104 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10105 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10106 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10107 Update #include target.
10108 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10109 * sysdeps/i386/i686/nptl/Makefile: ... here.
10110 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10111 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10112 Update #include target.
10113 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10114 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10115 * nptl/sysdeps/i386/Makefile: Moved ...
10116 * sysdeps/i386/nptl/Makefile: ... here.
10117 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10118 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10119 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10120 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10121 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10122 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10123 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10124 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10125 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10126 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10127 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10128 * nptl/sysdeps/i386/tls.h: Moved ...
10129 * sysdeps/i386/nptl/tls.h: ... here.
10130
45262aee
RM
10131 * sysdeps/sh/Makefile [$(subdir) = csu]
10132 (gen-as-const-headers): Add tcb-offsets.sym.
10133 * nptl/sysdeps/sh/Makefile: File removed.
10134 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10135 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10136 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10137 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10138 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10139 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10140 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10141 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10142 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10143 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10144 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10145 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10146 * nptl/sysdeps/sh/tls.h: Moved ...
10147 * sysdeps/sh/nptl/tls.h: ... here.
10148 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10149 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10150 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10151 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10152 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10153 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10154 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10155 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10156 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10157 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10158 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10159 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10160 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10161 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10162 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10163 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10164 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10165 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10166 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10167 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10168 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10169 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10170 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10171 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10172 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10173 Moved ...
10174 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10175 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10176 Moved ...
10177 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10178 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10179 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10180 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10181 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10182 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10183 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10184 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10185 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10186 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10187 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10188 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10189 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10190 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10191 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10192 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10193 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10194 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10195 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10196
35a5e3e3
SL
101972014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10198
10199 * posix/spawn_faction_addopen.c: Include string.h.
10200
14642b85
RM
102012014-06-11 Roland McGrath <roland@hack.frob.com>
10202
10203 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10204 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10205 * nptl/sysdeps/x86_64/Makefile: Moved ...
10206 * sysdeps/x86_64/nptl/Makefile: ... here.
10207 * nptl/sysdeps/x86_64/configure: Moved ...
10208 * sysdeps/x86_64/nptl/configure: ... here.
10209 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10210 * sysdeps/x86_64/nptl/configure.ac: ... here.
10211 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10212 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10213 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10214 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10215 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10216 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10217 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10218 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10219 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10220 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10221 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10222 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10223 * nptl/sysdeps/x86_64/tls.h: Moved ...
10224 * sysdeps/x86_64/nptl/tls.h: ... here.
10225 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10226 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10227 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10228 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10229
10230 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10231
31c44fea
AZ
102322014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10233
10234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10235
e81a4f9a
JM
102362014-06-11 Joseph Myers <joseph@codesourcery.com>
10237
10238 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10239 type.
10240 [POSIX] (off_t): Likewise.
10241 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10242 [POSIX] (S_ISBLK): Require macro.
10243 [POSIX] (S_ISCHR): Likewise.
10244 [POSIX] (S_ISDIR): Likewise.
10245 [POSIX] (S_ISFIFO): Likewise.
10246 [POSIX] (S_ISREG): Likewise.
10247 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10248 optional-macro.
10249 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10250 type.
10251 [POSIX] (time_t): Likewise.
10252 [POSIX] (timer_t): Likewise.
10253
89e435f3
FW
102542014-06-11 Florian Weimer <fweimer@redhat.com>
10255
10256 [BZ #17048]
10257 * posix/spawn_int.h (struct __spawn_action): Make the path string
10258 non-const to support deallocation.
10259 * posix/spawn_faction_addopen.c
10260 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10261 * posix/spawn_faction_destroy.c
10262 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10263 path in all spawn_do_open actions.
10264 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10265 posix_spawn_file_actions_addopen.
10266
c3a2ebe1
CM
102672014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10268
10269 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10270 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10271 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10272 conditional code always true.
10273 (__libc_vfork): New alias.
10274
9503784a
RM
102752014-06-11 Roland McGrath <roland@hack.frob.com>
10276
c9cab3d2
RM
10277 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10278 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10279
d3996c79
RM
10280 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10281
ba5ec611
RM
10282 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10283 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10284
f12b4814
RM
10285 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10286 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10287
9503784a
RM
10288 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10289 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10290
e23d3d26
VR
102912014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10292
10293 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10294 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10295 multiarch strcmp for PPC64.
10296 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10297 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10298 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10299 multiarch optimizations.
10300 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10301 (__libc_ifunc_impl_list): Likewise.
10302
42b1161e
SP
103032014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10304
10305 * benchtests/scripts/validate_benchout.py: New script.
10306 * benchtests/Makefile (bench-func): Call it.
10307 * benchtests/scripts/benchout.schema.json: New file.
10308
2d0fc4dc
CM
103092014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10310
4a594c34
AZ
10311 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10312 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10313 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10314 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10315 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10316 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10317 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10318 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10319 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10320 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10321 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10322 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10323 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10324 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10325 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10326 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10327 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10328 Moved ...
4a594c34 10329 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10330 ... here.
4a594c34 10331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10332 Moved ...
4a594c34
AZ
10333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10335 Moved ...
4a594c34 10336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10337 ... here.
4a594c34 10338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10339 Moved ...
4a594c34 10340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10341 ... here.
4a594c34 10342 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10343 Moved ...
4a594c34
AZ
10344 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10346 Moved ...
4a594c34 10347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10348 ... here.
4a594c34 10349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10350 Moved ...
4a594c34 10351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10352 ... here.
4a594c34 10353 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10354 Moved ...
4a594c34
AZ
10355 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10357 Moved ...
4a594c34 10358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10359 ... here.
4a594c34 10360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10361 Moved ...
4a594c34 10362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10363 ... here.
4a594c34 10364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10365 Moved ...
4a594c34 10366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10367 ... here.
4a594c34 10368 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10369 Moved ...
4a594c34
AZ
10370 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10372 Moved ...
4a594c34 10373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10374 ... here.
4a594c34 10375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10376 Moved ...
4a594c34 10377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10378 ... here.
4a594c34 10379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10380 Moved ...
4a594c34 10381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10382 ... here.
4a594c34 10383 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10384 Moved ...
4a594c34
AZ
10385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10387 Moved ...
4a594c34 10388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10389 ... here.
4a594c34 10390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10391 Moved ...
4a594c34 10392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10393 ... here.
4a594c34 10394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10395 Moved ...
4a594c34
AZ
10396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10397 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10398 Moved ...
4a594c34 10399 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10400 ... here.
4a594c34 10401 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10402 Moved ...
4a594c34
AZ
10403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10405 Moved ...
4a594c34
AZ
10406 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10408 Moved ...
4a594c34 10409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10410 ... here.
4a594c34 10411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10412 Moved ...
4a594c34 10413 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10414 ... here.
4a594c34 10415 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10416 Moved ...
4a594c34 10417 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10418 ... here.
4a594c34 10419 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10420 Moved ...
4a594c34
AZ
10421 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10423 Moved ...
4a594c34 10424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10425 ... here.
4a594c34 10426 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10427 Moved ...
4a594c34 10428 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10429 ... here.
4a594c34
AZ
10430 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10431 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10432 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10433 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10435 Moved ...
4a594c34 10436 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10437 ... here.
4a594c34
AZ
10438 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10439 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10440 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10441 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10442 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10443 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10444 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10445 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10446 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10447 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10448 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10449 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10450 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10451 Moved ...
4a594c34
AZ
10452 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10453 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10454 Moved ...
4a594c34
AZ
10455 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10456 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10457 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10458 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10459 Moved ...
4a594c34
AZ
10460 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10461 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10462 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10464 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10465 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10466 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 10467
0570cfed
W
104682014-06-10 Wilco <wdijkstr@arm.com>
10469
10470 * math/test-fenv-return.c: New file.
10471 * math/Makefile: Add new test test-fenv-return.
10472
f8ba1b56
JM
104732014-06-10 Joseph Myers <joseph@codesourcery.com>
10474
10475 [BZ #17042]
10476 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10477 when x - 1 is zero.
10478 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10479 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10480 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10481 0.0L for an argument of 1.0L.
10482 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10483 Likewise.
10484 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10485 value when x - 1 is zero.
10486 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10487 * sysdeps/i386/fpu/libm-test-ulps: Update.
10488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10489
2c3520d9
BO
104902014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
10491
10492 [BZ #15119]
10493 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10494
acaa4d24
RM
104952014-06-09 Roland McGrath <roland@hack.frob.com>
10496
10497 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10498 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10499
962b744d
RM
105002014-06-09 Roland McGrath <roland@hack.frob.com>
10501
d752f0cc
RM
10502 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10503 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10504
34eda6d1
RM
10505 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10506 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10507
50f0a637
RM
10508 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10509 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10510
08f41f04
RM
10511 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10512 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10513
962b744d
RM
10514 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10515 if not already defined.
10516 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10517 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10518 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10519 (TLS_INIT_TP): Use it.
10520 (TLS_DEFINE_INIT_TP): New macro.
10521 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10522
09f19b05
JM
105232014-06-09 Joseph Myers <joseph@codesourcery.com>
10524
10525 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10526 constant.
10527 [POSIX] (IXANY): Likewise.
10528 [POSIX] (OLCUC): Likewise.
10529 [POSIX || POSIX2008] (CBAUD): Do not allow.
10530 [POSIX || POSIX2008] (DEFECHO): Likewise.
10531 [POSIX || POSIX2008] (ECHOCTL): Likewise.
10532 [POSIX || POSIX2008] (ECHOKE): Likewise.
10533 [POSIX || POSIX2008] (ECHOPRT): Likewise.
10534 [POSIX || POSIX2008] (EXTA): Likewise.
10535 [POSIX || POSIX2008] (EXTB): Likewise.
10536 [POSIX || POSIX2008] (FLUSHO): Likewise.
10537 [POSIX || POSIX2008] (LOBLK): Likewise.
10538 [POSIX || POSIX2008] (PENDIN): Likewise.
10539 [POSIX || POSIX2008] (SWTCH): Likewise.
10540 [POSIX || POSIX2008] (VDISCARD): Likewise.
10541 [POSIX || POSIX2008] (VDSUSP): Likewise.
10542 [POSIX || POSIX2008] (VLNEXT): Likewise.
10543 [POSIX || POSIX2008] (VREPRINT): Likewise.
10544 [POSIX || POSIX2008] (VSTATUS): Likewise.
10545 [POSIX || POSIX2008] (VWERASE): Likewise.
10546 (B*): Change to B[0123456789]*.
10547 * conform/data/time.h-data [POSIX || UNIX98]
10548 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10549 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10550 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10551 [POSIX] (tm_*): Do not allow.
10552
686554bf
JM
105532014-06-07 Joseph Myers <joseph@codesourcery.com>
10554
10555 * Makefile (install): Don't set LANGUAGE.
10556 * Makefile.in (install): Likewise.
10557 * assert/Makefile (test-assert-ENV): Remove variable.
10558 (test-assert-perr-ENV): Likewise.
10559 * elf/Makefile (neededtest4-ENV): Likewise.
10560 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10561 [$(cross-compiling) = no]: Don't set LANGUAGE.
10562 * io/ftwtest-sh (LANG): Remove variable.
10563 * libio/Makefile (tst-widetext-ENV): Likewise.
10564 * manual/install.texi (Running make install): Don't refer to
10565 environment settings for make install.
10566 * INSTALL: Regenerated.
10567 * nptl/tst-tls6.sh: Don't set LANG.
10568 * posix/globtest.sh (LANG): Remove variable.
10569 * string/Makefile (tester-ENV): Likewise.
10570 (inl-tester-ENV): Likewise.
10571 (noinl-tester-ENV): Likewise.
10572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10573 [$(cross-compiling) = no]: Don't set LANGUAGE.
10574 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10575 without explicit environment settings.
10576
68e6b6b1
RM
105772014-06-06 Roland McGrath <roland@hack.frob.com>
10578
10579 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10580 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10582 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10583
4d3ae034
CM
105842014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10585
10586 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10587 other files in the crypt directory.
10588 * crypt/crypt.c: Remove duplicate includes.
10589 * crypt/crypt-entry.c: Likewise.
10590 * crypt/crypt_util.c: Likewise.
10591
8540f6d2
JM
105922014-06-06 Joseph Myers <joseph@codesourcery.com>
10593
10594 * Makeconfig (run-program-env): New variable.
10595 (run-program-prefix-before-env): Likewise.
10596 (run-program-prefix-after-env): Likewise.
10597 (run-program-prefix): Define in terms of new variables.
10598 (built-program-cmd-before-env): New variable.
10599 (built-program-cmd-after-env): Likewise.
10600 (built-program-cmd): Define in terms of new variables.
10601 (test-program-prefix-before-env): New variable.
10602 (test-program-prefix-after-env): Likewise.
10603 (test-program-prefix): Define in terms of new variables.
10604 (test-program-cmd-before-env): New variable.
10605 (test-program-cmd-after-env): Likewise.
10606 (test-program-cmd): Define in terms of new variables.
10607 * Rules (make-test-out): Use $(run-program-env).
10608 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10609 (help): Do not mention environment variables. Mention
10610 --timeoutfactor option.
10611 (timeoutfactor): New variable.
10612 (blacklist_exports): Remove function.
10613 (exports): Remove variable.
10614 (command): Do not include ${exports}.
10615 * manual/install.texi (Configuring and compiling): Do not mention
10616 test wrappers preserving environment variables. Mention that last
10617 assignment to a variable must take precedence.
10618 * INSTALL: Regenerated.
10619 * benchtests/Makefile (run-bench): Use $(run-program-env).
10620 * catgets/Makefile ($(objpfx)test1.cat): Use
10621 $(built-program-cmd-before-env), $(run-program-env) and
10622 $(built-program-cmd-after-env).
10623 ($(objpfx)test2.cat): Do not specify environment variables
10624 explicitly.
10625 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10626 $(run-program-env) and $(built-program-cmd-after-env).
10627 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10628 $(run-program-env) and $(test-program-cmd-after-env).
10629 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10630 explicitly.
10631 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10632 run_program_env and test_program_cmd_after_env arguments.
10633 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10634 * elf/tst-pathopt.sh: Use run_program_env argument.
10635 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10636 $(test-wrapper-env) and $(run-program-env).
10637 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10638 run_program_env arguments.
10639 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10640 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10641 $(test-program-prefix-before-env), $(run-program-env) and
10642 $(test-program-prefix-after-env).
10643 ($(objpfx)tst-gettext2.out): Likewise.
10644 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10645 run_program_env and test_program_prefix_after_env arguments.
10646 * intl/tst-gettext2.sh: Likewise.
10647 * intl/tst-gettext4.sh: Do not set environment variables
10648 explicitly.
10649 * intl/tst-gettext6.sh: Likewise.
10650 * intl/tst-translit.sh: Likewise.
10651 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10652 $(test-program-prefix-before-env), $(run-program-env) and
10653 $(test-program-prefix-after-env).
10654 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10655 run_program_env and test_program_prefix_after_env arguments.
10656 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10657 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10658 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10659 explicitly with each use of ${test_wrapper_env}.
10660 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10661 $(test-program-prefix-before-env), $(run-program-env) and
10662 $(test-program-prefix-after-env).
10663 * posix/tst-getconf.sh: Do not set environment variables
10664 explicitly.
10665 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10666 run_program_env and test_program_prefix_after_env arguments.
10667 * stdio-common/tst-printf.sh: Do not set environment variables
10668 explicitly.
10669 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10670 $(test-program-prefix-before-env), $(run-program-env) and
10671 $(test-program-prefix-after-env).
10672 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10673 run_program_env and test_program_prefix_after_env arguments.
10674 Split $test calls into $test_pre and $test.
10675 * timezone/Makefile (build-testdata): Use
10676 $(built-program-cmd-before-env), $(run-program-env) and
10677 $(built-program-cmd-after-env).
10678
ed36bfa1
AZ
106792014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10680
10681 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10682 strlen for non SHARED builds.
10683
fc75bf46
SP
106842014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10685
10686 * nptl/allocatestack.c (check_list): Inlined function...
10687 (__reclaim_stacks): ... here.
10688
d89b3d80
OB
106892014-06-05 Ondřej Bílka <neleai@seznam.cz>
10690
10691 [BZ #15698]
10692 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10693 memory overrun.
10694
2bf18041
JM
106952014-06-05 Joseph Myers <joseph@codesourcery.com>
10696
10697 * Rules (make-test-out): Include
10698 LOCPATH=$(common-objpfx)localedata in default environment.
10699 * debug/Makefile (tst-chk1-ENV): Remove variable.
10700 (tst-chk2-ENV): Likewise.
10701 (tst-chk3-ENV): Likewise.
10702 (tst-chk4-ENV): Likewise.
10703 (tst-chk5-ENV): Likewise.
10704 (tst-chk6-ENV): Likewise.
10705 (tst-lfschk1-ENV): Likewise.
10706 (tst-lfschk2-ENV): Likewise.
10707 (tst-lfschk3-ENV): Likewise.
10708 (tst-lfschk4-ENV): Likewise.
10709 (tst-lfschk5-ENV): Likewise.
10710 (tst-lfschk6-ENV): Likewise.
10711 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10712 (tst-iconv7-ENV): Likewise.
10713 * intl/Makefile (LOCPATH-ENV): Likewise.
10714 (tst-codeset-ENV): Likewise.
10715 (tst-gettext3-ENV): Likewise.
10716 (tst-gettext5-ENV): Likewise.
10717 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10718 (tst-fopenloc-ENV): Likewise.
10719 (tst-fgetws-ENV): Remove variable.
10720 (tst-ungetwc1-ENV): Likewise.
10721 (tst-ungetwc2-ENV): Likewise.
10722 (bug-ungetwc2-ENV): Likewise.
10723 (tst-swscanf-ENV): Likewise.
10724 (bug-ftell-ENV): Likewise.
10725 (tst-fgetwc-ENV): Likewise.
10726 (tst-fseek-ENV): Likewise.
10727 (tst-ftell-partial-wide-ENV): Likewise.
10728 (tst-ftell-active-handler-ENV): Likewise.
10729 (tst-ftell-append-ENV): Likewise.
10730 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10731 (tst-regexloc-ENV): Likewise.
10732 (bug-regex1-ENV): Likewise.
10733 (tst-regex-ENV): Likewise.
10734 (tst-regex2-ENV): Likewise.
10735 (bug-regex5-ENV): Likewise.
10736 (bug-regex6-ENV): Likewise.
10737 (bug-regex17-ENV): Likewise.
10738 (bug-regex18-ENV): Likewise.
10739 (bug-regex19-ENV): Likewise.
10740 (bug-regex20-ENV): Likewise.
10741 (bug-regex22-ENV): Likewise.
10742 (bug-regex23-ENV): Likewise.
10743 (bug-regex25-ENV): Likewise.
10744 (bug-regex26-ENV): Likewise.
10745 (bug-regex30-ENV): Likewise.
10746 (bug-regex32-ENV): Likewise.
10747 (bug-regex33-ENV): Likewise.
10748 (bug-regex34-ENV): Likewise.
10749 (bug-regex35-ENV): Likewise.
10750 (tst-rxspencer-ENV): Likewise.
10751 (tst-rxspencer-no-utf8-ENV): Likewise.
10752 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10753 (tst-sscanf-ENV): Likewise.
10754 (tst-swprintf-ENV): Likewise.
10755 (tst-swscanf-ENV): Likewise.
10756 (test-vfprintf-ENV): Likewise.
10757 (scanf13-ENV): Likewise.
10758 (bug14-ENV): Likewise.
10759 (tst-grouping-ENV): Likewise.
10760 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10761 (tst-strtod3-ENV): Likewise.
10762 (tst-strtod4-ENV): Likewise.
10763 (tst-strtod5-ENV): Likewise.
10764 (testmb2-ENV): Likewise./
10765 * string/Makefile (tst-strxfrm-ENV): Likewise.
10766 (tst-strxfrm2-ENV): Likewise.
10767 (bug-strcoll1-ENV): Likewise.
10768 (test-strcasecmp-ENV): Likewise.
10769 (test-strncasecmp-ENV): Likewise.
10770 * time/Makefile (tst-strptime-ENV): Likewise.
10771 (tst-ftime_l-ENV): Likewise.
10772 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10773 (tst-mbrtowc-ENV): Likewise.
10774 (tst-wcrtomb-ENV): Likewise.
10775 (tst-mbrtowc2-ENV): Likewise.
10776 (tst-c16c32-1-ENV): Likewise.
10777 (tst-mbsnrtowcs-ENV): Likewise.
10778
cd1fb604
OB
107792014-06-05 Ondřej Bílka <neleai@seznam.cz>
10780
10781 * manual/resource.texi (How to get information about the memory
10782 subsystem?): Fix typo.
10783 Reported by Peon de la Parra Ivan <peon@keba.com>
10784
b42eca7d
GY
107852014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10786
10787 [BZ #16882]
10788 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10789 (pthread_spin_lock): Branch out of spin loop to proper location.
10790 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10791 (pthread_spin_lock): Likewise.
10792
902b71f9
DM
10793 * nptl/tst-spin4.c: New test.
10794 * nptl/Makefile (tests): Add tst-spin4.
10795
f9d2d032
AS
107962014-06-03 Andreas Schwab <schwab@suse.de>
10797
10798 [BZ #15946]
10799 * resolv/res_send.c (send_dg): Reload file descriptor after
10800 calling reopen.
10801
cf7bfd28
SL
108022014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10803
10804 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10805
111cc714
RH
108062014-06-03 Richard Henderson <rth@redhat.com>
10807
89b4bd6b
RH
10808 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10809 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10810 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10811 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10812 in the SAVE_PID block.
10813 (__libc_vfork): New alias.
71840409 10814 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 10815
111cc714
RH
10816 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10817 child in registers, not on the stack. Remove RESET_PID conditionals.
10818 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10819
ccc39911
MS
108202014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10821
10822 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10823
693096cc
W
108242014-06-03 Wilco <wdijkstr@arm.com>
10825
10826 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10827 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10828 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10829 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10830 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10831 Likewise.
10832
0b4366bc
W
108332014-06-03 Wilco <wdijkstr@arm.com>
10834
10835 * sysdeps/aarch64/fpu/math_private.h
10836 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10837 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10838 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10839 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10840 Fix declarations.
10841
8747cd03
KS
108422014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10843
10844 * crypt/crypt-private.h: Include ufc-crypt.h.
10845 (__b64_from_24bit): Declare extern.
10846 * crypt/crypt_util.c(__b64_from_24bit): New function.
10847 (b64t): New static const variable.
10848 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10849 (b64t): Remove variable.
10850 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10851 * crypt/sha256-crypt.c: Include crypt-private.h.
10852 (b64t): Remove variable.
10853 (__sha256_crypt_r): Remove b64_from_24bit and replace
10854 with __b64_from_24bit.
10855 * crypt/sha512-crypt.c: Likewise.
10856
d936d379
RM
108572014-06-02 Roland McGrath <roland@hack.frob.com>
10858
10859 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10860 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10861 Label the code __libc_vfork rather than __vfork.
10862 [!NOT_IN_libc] (vfork): Define as weak alias.
10863 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10864 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10865 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10866
9fa76613
SP
108672014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10868
10869 * malloc/malloc.c (malloc_info): Fix format specifier for
10870 n_mmaps.
10871
a88dadbe
W
108722014-06-02 Wilco <wdijkstr@arm.com>
10873
10874 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10875 FPCR write.
10876
c95b3011
W
108772014-06-02 Wilco <wdijkstr@arm.com>
10878
10879 [BZ #17009]
10880 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10881 Rewrite to reduce FPCR/FPSR accesses.
10882
6b4d7a90
DM
108832014-06-01 David S. Miller <davem@davemloft.net>
10884
10885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10886
30f3d07c
DM
108872014-05-31 David S. Miller <davem@davemloft.net>
10888
10889 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10890 to occur in round to nearest mode when |x| >= 2.0
10891
74f31c18
RH
108922014-05-30 Richard Henderson <rth@twiddle.net>
10893
f0712b54
RH
10894 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10895 (PSEUDO_RET_NOERRNO): Remove.
10896 (ret): Don't redefine.
10897 (ret_NOERRNO): Define in terms of ret.
10898 (ret_ERRVAL): Likewise.
10899
74f31c18
RH
10900 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10901 use of PSEUDO_RET; perform the error check directly.
10902
30477995
MM
109032014-05-30 Marko Myllynen <myllynen@redhat.com>
10904
10905 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10906 with __int128_t.
10907
62a58816
SP
109082014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10909
10910 * malloc/malloc (malloc_info): Fix formatting.
10911
4d653a59
SP
109122014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10913 Roland McGrath <roland@hack.frob.com>
10914
10915 * malloc/malloc (malloc_info): Also print mmapped statistics.
10916
5190c17f
RM
109172014-05-30 Roland McGrath <roland@hack.frob.com>
10918
10919 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10920 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10921
987c0269
OB
109222014-05-30 Ondřej Bílka <neleai@seznam.cz>
10923
10924 * malloc/malloc.c (malloc_info): Inline mi_arena.
10925
af4e8ef9
RH
109262014-05-29 Richard Henderson <rth@twiddle.net>
10927
1670e207
RH
10928 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10929 Remove comma before expanding ASM_ARGS_##nr.
10930 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10931 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10932 of ASM_ARGS_##nr.
10933 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10934 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10935 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10936 (ASM_ARGS_1): Add leading comma.
10937
11a28aee
RH
10938 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10939 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10940 to __errno_location.
10941 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10942 Remove the expected plt for __errno_location.
10943
a17e5ffb 10944 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 10945 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
10946 call to __read_tp.
10947
b5be4597
RH
10948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10949 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10950 it and break it down.
10951 (DOCARGS_0, DOCARGS_1): Do nothing.
10952 (DOCARGS_2): Update to store into the new stack frame.
10953 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10954 (UNDOCARGS_1): Update to restore from the new stack frame.
10955 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10956 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10957
645d44ab
RH
10958 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10959 (SINGLE_THREAD_P): New parameter for result regno.
10960 (PSEUDO): Update to match; use cbz instead of beq.
10961
a8b4f04a
RH
10962 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10963 Use ENTRY to define the _nocancel entry point. Share the syscall
10964 and syscall error check paths with the cancel path.
10965 (PSEUDO_END): New.
10966
af4e8ef9
RH
10967 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10968 whitespace; tabs before and after asm mnemonics.
10969
26b0d2e1
EW
109702014-05-29 Eric Wong <normalperson@yhbt.net>
10971
10972 [BZ #15132]
10973 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10974 Call fstat64 or stat64 internally, depending on arguments passed.
10975 Replace stat buffer argument with file descriptor argument.
10976 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10977 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10978 Pass fd to __internal_statvfs instead of calling fstat64.
10979 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10980 Pass fd to __internal_statvfs64 instead of calling fstat64.
10981 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10982 Pass -1 to __internal_statvfs instead of calling stat64.
10983 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10984 Pass -1 to __internal_statvfs64 instead of calling stat64.
10985
1efe2bd9
RM
109862014-05-28 Roland McGrath <roland@hack.frob.com>
10987
0d3b7a19
RM
10988 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10989 that was previously under [RESET_PID].
10990 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10991
1efe2bd9
RM
10992 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10993 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10994
a6bea3ca
RM
109952014-05-27 Roland McGrath <roland@hack.frob.com>
10996
30b6629e
RM
10997 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10998
a6bea3ca
RM
10999 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11000 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11001
3dfb9a5c
OB
110022014-05-27 Ondřej Bílka <neleai@seznam.cz>
11003
11004 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11005
774f9285
AS
110062014-05-27 Andreas Schwab <schwab@suse.de>
11007
11008 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11009 TLS_INIT_TP macro.
11010 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11011 * elf/rtld.c (init_tls, dl_main): Likewise.
11012 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11013 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11014 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11015 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11016 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11017 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11018 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11019 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11020 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11021 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11022 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11023 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11024 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11025 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11026 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11027 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11028 * sysdeps/generic/tls.h: Update description.
11029
36ffe739
WN
110302014-05-27 Will Newton <will.newton@linaro.org>
11031
11032 [BZ #16990]
11033 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11034 and restore r2 rather than just restoring.
11035
2482ae43
SP
110362014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11037
11038 [BZ #16724]
11039 * libio/tst-ftell-append.c: New test case.
11040 * libio/Makefile (tests): Add test case.
11041 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11042 append mode.
11043 * libio/wfileops.c (do_ftell_wide): Likewise.
11044
3d1024e8
AZ
110452014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11046
bab90016
AZ
11047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11048
c7a8d667
AZ
11049 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11050 ...
11051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11053 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11054 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11055 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11056 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11057 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11058 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11059 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11060 Moved ...
11061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11062 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11063 Moved ...
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11065 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11066 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11067 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11068 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11069 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11070 ...
11071 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11073 Moved ...
11074 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11075 here.
11076 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11077 ...
11078 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11080 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11081
daee7851
AZ
11082 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11083 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11084 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11085 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11086
50a40819
AZ
11087 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11088 merge into ...
11089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11091 ...
11092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11094 ...
11095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11096 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11097 Moved ...
11098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11099 here.
11100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11101 Moved ...
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11104 Moved ...
11105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11106
8464c2a1
AZ
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11108 conditional [RESET_PID].
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11110 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11111 removed.
11112 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11113 removed.
11114
3d1024e8
AZ
11115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11116 <tcb-offsets.h>.
11117 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11118 (__libc_vfork): New strong alias.
11119 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11120 removed.
11121 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11122 Removed.
11123
11124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11125 <tcb-offsets.h>.
11126 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11127 (__libc_vfork): New strong alias.
11128 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11129 removed.
11130 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11131 removed.
11132
fdfd175d
CD
111332014-05-26 Carlos O'Donell <carlos@redhat.com>
11134
11135 * malloc/malloc.c (mi_arena): New function.
11136 (malloc_info): Remove nested function mi_arena. Call non-nosted
11137 function mi_arena.
11138
d298c416
AZ
111392014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11140
11141 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11142 by insrwi.
11143 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11144 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11145 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11146 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11147 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11148 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11149 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11150
b60ea6ff
AS
111512014-05-26 Andreas Schwab <schwab@suse.de>
11152
11153 [BZ #16984]
11154 * locale/programs/repertoire.c (repertoire_read): Add slash
11155 between I18NPATH element and file name.
11156 * locale/programs/locfile.c (locfile_read): Likewise.
11157
67365926
SL
111582014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11159
11160 * nptl/pthread_mutexattr_settype.c
11161 (__pthread_mutexattr_settype):
11162 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11163
f8bdf1f0
SL
111642014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11165
11166 * nptl/tst-mutex5 (do_test):
11167 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11168
15eaf6ff
SP
111692014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11170
11171 * benchtests/README: Document 'init' directive.
11172 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11173 BENCH_INIT.
11174 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11175 (parse_file): Recognize 'init' directive.
11176
75f11331
KM
111772014-05-26 Kyle McMartin <kyle@redhat.com>
11178
11179 [BZ #16796]
11180 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11181 alignment of struct pthread.
11182
c3ec475c
SP
111832014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11184
11185 [BZ #16878]
11186 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11187 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11188 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11189 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11190
82aab97c
RH
111912014-05-25 Richard Henderson <rth@twiddle.net>
11192
aa2f176d
RH
11193 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11194 (SINGLE_THREAD_P_PIC): Remove.
11195 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11196 (SINGLE_THREAD_P_PIC): Remove.
11197
ca3cfa40
RH
11198 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11199 branch to syscall error ...
11200 (PSEUDO): ... here.
11201 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11202 from __local_syscall_error to .Lsyscall_error.
11203 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11204 (SYSCALL_ERROR): Update label name.
11205
6e6c2d01
RH
11206 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11207 Do not use DOARGS/UNDOARGS.
11208 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11209 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11210 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11211 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11212 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11213
c69abcee
RH
11214 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11215 block comment.
11216
82aab97c
RH
11217 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11218 define if !NOT_IN_libc.
11219 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11220 define with non-default symbol versions.
11221
8820e3ac
RH
112222014-05-23 Richard Henderson <rth@twiddle.net>
11223
900e445f
RH
11224 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11225 (vfork, __vfork): Define via compat_symbol.
11226
8820e3ac
RH
11227 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11228 [!HAVE_IFUNC] (vfork_compat): Remove.
11229 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11230
e59252a5
JM
112312014-05-23 Joseph Myers <joseph@codesourcery.com>
11232
11233 [BZ #16978]
11234 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11235 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11236 variable.
11237
132c7f5f
RH
112382014-05-23 Richard Henderson <rth@twiddle.net>
11239
bc89e962
RH
11240 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11241 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11242 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11243 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11244
11245 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11246 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11247 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11248 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11249 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11250 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11251 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11252 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11253 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11254 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11255 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11256 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11257 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11258 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11259 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11260 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11261 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11262 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11263 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11264 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11265 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11266 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11267 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11268 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11269 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11270 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11271 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11272 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11273 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11274 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11275 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11276 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11277 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11278 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11279 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11280 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11281 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11282 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11283 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11284 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11285 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11286 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11287 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11288 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11289 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11290 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11291 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11292 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11293 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11294 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11295 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11296 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11297 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11298 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11299 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11300 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11301
e2fa4bc2
RH
11302 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11303 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11304 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11305 before exiting on error.
11306 (__libc_vfork): New strong alias.
11307 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11308 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11309
279b24e2
RH
11310 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11311 that was previously under [RESET_PID].
11312 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11313
132c7f5f
RH
11314 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11315
b72592e7
JM
113162014-05-23 Joseph Myers <joseph@codesourcery.com>
11317
11318 [BZ #16977]
11319 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11320 value when x - 1 is zero.
11321 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11322 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11323 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11324 0.0L for an argument of 1.0L.
11325 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11326 Likewise.
11327 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11328 value when x - 1 is zero.
11329 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11330 * sysdeps/i386/fpu/libm-test-ulps: Update.
11331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11332
2302d679
RV
113332014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11334
11335 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11336 alphasort and versionsort.
11337
32999d63
AZ
113382014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11339
11340 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11341 macro.
11342 [copysignf]: Likewise.
11343
019324d0
SP
113442014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11345
11346 * crypt/md5-crypt.c: Fix formatting.
11347
34fff5c2
KS
113482014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11349
11350 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11351 (b64_from_24bit): New function.
11352
3d2badac
AZ
113532014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11354
11355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11356 libc_hidden_builtin_def to ifunc.
11357 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11358 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11359
f7bb179f 113602014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11361
11362 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11363 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11364
4134b50d
JM
113652014-05-21 Joseph Myers <joseph@codesourcery.com>
11366
bb7d0337
JM
11367 * nscd/Depend (linuxthreads): Remove.
11368 (nptl): Add.
11369 * resolv/Depend (linuxthreads): Remove.
11370 * rt/Depend (linuxthreads): Remove.
11371
4134b50d
JM
11372 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11373 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11374 $(common-objpfx)elf/.
11375 (link-libc-before-gnulib): Likewise.
11376 (elfobjdir): Remove variable.
11377 * Makefile (install): Use $(elf-objpfx) instead of
11378 $(common-objpfx)elf/.
11379 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11380 $(elfobjdir)/.
11381 (link-libc-deps): Likewise.
11382 ($(common-objpfx)libc.so): Likewise.
11383 ($(common-objpfx)linkobj/libc.so): Likewise.
11384 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11385 instead of $(common-objpfx)elf/.
11386 (symbolic-link-list): Likewise.
11387 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11388 [$(cross-compiling) = no]: Likewise.
11389 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11390 $(elfobjdir)/.
11391 (static-gnulib-arch): Likewise.
11392 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11393 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11394 $(common-objpfx)elf/.
11395
3612eb8f
RH
113962014-05-21 Richard Henderson <rth@redhat.com>
11397
a6b3657b
RH
11398 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11399 (SINGLE_THREAD_P): Use the correct width load. Fold
11400 into the ldr offset.
11401
3612eb8f
RH
11402 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11403 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11404
175cef41
JM
114052014-05-20 Joseph Myers <joseph@codesourcery.com>
11406
11407 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11408 (libgcc_s_resume): Use __attribute_used__.
11409 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11410 Likewise.
11411
e13bccd3
AZ
114122014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11413
11414 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11415 optimization when used with float constants.
11416
7c112a38
AZ
11417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11418
ae75a883
AJ
114192014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11420
11421 [BZ #16915]
11422 * locale/nl_langinfo_l.c: Make direct reference to every
11423 _nl_current_CATEGORY symbol.
11424 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11425 (tests-static): Add tst-langinfo-static.
11426 (tests-special): Add tst-langinfo-static.out.
11427 ($(objpfx)tst-langinfo.out): Redirect output.
11428 ($(objpfx)tst-langinfo-static.out): New.
11429 * localedata/tst-langinfo.sh: Send output to stdout.
11430 * localedata/tst-langinfo-static.c: New file.
11431
4406c41c
AJ
11432 [BZ #16965]
11433 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11434 when the shift amount is modulo the limb size.
11435
4c0a1e63
RH
114362014-05-20 Richard Henderson <rth@redhat.com>
11437
de9d8f20
RH
11438 [BZ #16967]
11439 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11440 Change type of sa_flags from unsigned int to int.
11441
4c0a1e63
RH
11442 [BZ #16966]
11443 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11444
11445 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11446
a60339aa
WN
114472014-05-20 Will Newton <will.newton@linaro.org>
11448
11449 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11450 Test the return value of the system call in the nocancel case.
11451
7d05a816
YR
114522014-05-20 Will Newton <will.newton@linaro.org>
11453 Yvan Roux <yvan.roux@linaro.org>
11454
11455 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11456 #include of asm/ptrace.h.
11457 (PTRACE_GET_THREAD_AREA): Remove #undef.
11458 (PTRACE_GETHBPREGS): Likewise.
11459 (PTRACE_SETHBPREGS): Likewise.
11460 (struct user_regs_struct): New structure.
11461 (struct user_fpsimd_struct): New structure.
11462 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11463 #include of asm/ptrace.h and second #include of sys/user.h.
11464 (PTRACE_GET_THREAD_AREA): Remove #undef.
11465 (PTRACE_GETHBPREGS): Likewise.
11466 (PTRACE_SETHBPREGS): Likewise.
11467 (ELF_NGREG): Use new struct user_regs_struct.
11468 (elf_fpregset_t): Use new struct user_fpsimd_struct.
11469
af121e37
AZ
114702014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11471
11472 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11473 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11474
834caf06
JM
114752014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
11476
11477 [BZ #16958]
11478 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11479 membar to avoid block loads/stores to overlap previous stores.
11480
e184a918
RH
114812014-05-17 Richard Henderson <rth@redhat.com>
11482
11483 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11484 Create the __##syscall_name##_nocancel entry point.
11485 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11486 Remove; let the sysdep-cancel.h code create it.
11487
f56c7a6a
DM
114882014-05-17 David S. Miller <davem@davemloft.net>
11489
11490 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11491 Protect with __USE_GNU.
11492 (TIOCSET_TEMPT): Likewise.
11493 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11494 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11495 these are already provided in bits/ioctl-types.h
11496
f75616b2
RM
114972014-05-16 Roland McGrath <roland@hack.frob.com>
11498
3edeca86
RM
11499 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11500 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11501
f75616b2
RM
11502 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11503 Use wait4 regardless of [__NR_waitpid].
11504
deb0f7f6
MR
115052014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
11506
11507 PR libgcc/60166
11508 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11509 (_FP_NANSIGN_Q): Set the quiet bit.
11510
79520f4b
JM
115112014-05-16 Joseph Myers <joseph@codesourcery.com>
11512
11513 * benchtests/Makefile
11514 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11515 not $(common-objpfx)math/libm.so.
11516 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11517 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11518 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11519 $(common-objpfx)dlfcn/libdl.so.
11520 ($(objpfx)tst-audit8): Depend on $(libm), not
11521 $(common-objpfx)math/libm.so.
11522 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11523 not $(common-objpfx)dlfcn/libdl.so.
11524 * math/Makefile
11525 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11526 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
11527 [$(build-shared) = yes].
11528 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11529 $(common-objpfx)nptl/libpthread.so.
11530 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11531 $(common-objpfx)math/libm.so$(libm.so-version) or
11532 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11533 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11534 $(common-objpfx)dlfcn/libdl.so.
11535 * setjmp/Makefile (link-libm): Remove variable.
11536 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11537 * stdio-common/Makefile (link-libm): Remove variable.
11538 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11539 * stdlib/Makefile (link-libm): Remove variable.
11540 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11541 ($(objpfx)tst-strtod-round): Likewise.
11542 ($(objpfx)tst-tininess): Likewise.
11543 ($(objpfx)tst-strtod-underflow): Likewise.
11544 ($(objpfx)tst-strtod6): Likewise.
11545 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11546 $(libdl), not $(common-objpfx)nptl/libpthread.so and
11547 $(common-objpfx)dlfcn/libdl.so.
11548
026b0fe4
AZ
115492014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11550
11551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11552 BSD terminal modes definitions.
11553
def4bcb2
RM
115542014-05-16 Roland McGrath <roland@hack.frob.com>
11555
fe39b021
RM
11556 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11557 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11558
1d1fc46e 11559 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
11560 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11561 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11562 Don't do #include_next.
11563 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11564 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11565 Don't do #include_next.
11566 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11567 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11568 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11569 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11570
c72399fb
AM
115712014-05-16 Allan McRae <allan@archlinux.org>
11572
d51d659d
AM
11573 * po/sv.po: Update Swedish translation from translation project.
11574
c72399fb
AM
11575 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11576 in sed expression.
11577
d0583c40
AJ
115782014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11579
11580 [BZ #16917]
11581 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11582 errno if the TIOCGPTN ioctl fails with an error different than
11583 EINVAL.
11584 * login/tst-ptsname.c: New file.
11585 * login/Makefile (tests): Add tst-ptsname.
11586
d16e6ec7
AJ
11587 [BZ #16943]
11588 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11589 and prlimit64.
11590
cf26a0cb
SP
115912014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11592
11593 [BZ #16849]
11594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11595 herrno to return EAI_AGAIN.
11596
5675da1e
RM
115972014-05-14 Roland McGrath <roland@hack.frob.com>
11598
a5d87b3d
RM
11599 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11600 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11601 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11602 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11603 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11604 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11606 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11607 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11608 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11609 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11610 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11611 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11616 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11617 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11618 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11619 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11620 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11621 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11622 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11624 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11625 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11626 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11628 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11630 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11632 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11634 Moved ...
11635 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11637 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11639 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11641 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11642 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11643 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11645 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11647 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11649 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11650 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11651 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11653 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11655 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11656 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11657 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11659 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11663 Moved ...
11664 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11665 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11666 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11668 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11672 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11673 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11674 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11675 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11676 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11677 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11678 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11679 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11680 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11681 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11682 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11683 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11684 Moved ...
11685 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11688
039890a6
RM
11689 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11690 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11691 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11692 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11693 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11694 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11695 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11696 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11697 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11698 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11699 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11700 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11701 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11702 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11703 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11704 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11705 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11706 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11707 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11708 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11709 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11710 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11711 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11712 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11713 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11714 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11715 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11716 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11717 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11718 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11719 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11720
65c89320
RM
11721 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11722 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11723
348f8e8c
RM
11724 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11725 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11726 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11727 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11728 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11729 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11730 Moved ...
11731 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11733 Moved ...
11734 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11735 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11736 Moved ...
11737 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11738 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11739 Moved ...
11740 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11741 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11742 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11743 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11744 Moved ...
11745 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11746 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11747 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11749 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11750 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11751 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11752 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11753 Moved ...
11754 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11755 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11756 Moved ...
11757 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11758 ... here.
11759 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11760 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11761 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11762 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11763 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11764 Moved ...
11765 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11766 ... here.
11767 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11768 Moved ...
11769 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11770 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11771 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11772 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11773 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11774 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11775 Moved ...
11776 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11777 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11778 Moved ...
11779 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11780 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11781 Moved ...
11782 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11783 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11784 Moved ...
11785 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11786 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11787 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11788 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11789 Moved ...
11790 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11792 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11794 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11796 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11798 Moved ...
11799 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11800 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11801 Moved ...
11802 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11803 ... here.
11804 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11805 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11806 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11807 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11808 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11809 Moved ...
11810 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11811 ... here.
11812 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11813 Moved ...
11814 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11815 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11816 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11817 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11818 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11820 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11822 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11823 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11824 Moved ...
11825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11826 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11827 Moved ...
11828 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11830 Moved ...
11831 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11833 Moved ...
11834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11835 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11836 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11837 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11838 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11839 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11840 Moved ...
11841 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11842 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11843 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11844 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11845 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11846 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11847 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11848 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11849 Moved ...
11850 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11851 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11852 Moved ...
11853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11854 ... here.
11855 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11856 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11857 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11858 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11859 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11860 Moved ...
11861 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11862 ... here.
11863 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11864 Moved ...
11865 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11867 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11869 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11871 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11873 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11875 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11876
5085af05
RM
11877 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11878 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11879
708f0813
RM
11880 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11881 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11882
c96067bc
RM
11883 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11884 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11885 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11887 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11889 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11891 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11893 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11894 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11895 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11896 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11897 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11899 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11900 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11901 Moved ...
11902 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11904 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11905 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11906 Moved ...
11907 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11909 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11910 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11911 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11912 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11913 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11915 Moved ...
11916 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11917 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11918 Moved ...
11919 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11920 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11921 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11922 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11923 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11924 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11925 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11926 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11927 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11928 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11929 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11930 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11931 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11932 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11933 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11934 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11935 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11936
ec136444
RM
11937 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11938 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11939 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11940 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11941 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11942
2fbdf533
RM
11943 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11944 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11945 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11946 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11947 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11948 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11949 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11950 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11951 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11952 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11953
4c68138b
RM
11954 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11955 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11956
4eaae765
RM
11957 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11958 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
11959 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11960 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11961 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11962 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11963 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11964 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11965 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11966 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11967 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11968 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11969 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11970 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11971 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11972 Update #include.
11973 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11974 Likewise.
11975 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11976 Likewise.
11977 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11978 Likewise.
11979 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11980 Likewise.
11981 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11982 Likewise.
11983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11984 Likewise.
11985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11986 Likewise.
11987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11988 Likewise.
11989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11990 Likewise.
4ef6befa
RM
11991 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11992 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11994 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
11996 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11997 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11998 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12000 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12001 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12002 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12003 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12004 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12005 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12006
941d7dfd
RM
12007 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12008 that was previously under [RESET_PID].
12009 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12010 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12011 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12012
1b731c35
RM
12013 * sysdeps/i386/nptl/Implies: New file.
12014 * sysdeps/x86_64/nptl/Implies: New file.
12015 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12016 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12017 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12018 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12019
e2787137
RM
12020 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12021 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12022 (__libc_vfork): New strong alias.
12023 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12024 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12025
12026 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12027 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12028 (__libc_vfork): New strong alias.
12029 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12030 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12031
5675da1e
RM
12032 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12033 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12034 (__libc_vfork): New strong alias.
12035 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12036 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12037 * nptl/pt-vfork.c: New file.
12038 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12039 (libpthread: GLIBC_2.20): New version set (empty).
12040
4f02e2b8
WN
120412014-05-14 Will Newton <will.newton@linaro.org>
12042
12043 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12044 rather than #if.
12045
0bf061d3
JM
120462014-05-14 Joseph Myers <joseph@codesourcery.com>
12047
1a84c3d6
JM
12048 [BZ #16564]
12049 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12050 arguments with exponent 65 or above.
12051 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12052 arguments 0x1p113L or above.
12053 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12054 to arguments 0x1p107L or above.
12055 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12056 positive arguments with exponent 65 or above.
12057 * math/auto-libm-test-in: Add more tests of log1p.
12058 * math/auto-libm-test-out: Regenerated.
12059
01dbacd2
JM
12060 [BZ #16928]
12061 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12062 non-finite arguments is +0.
12063 * math/s_cacosf.c (__cacosf): Likewise.
12064 * math/s_cacosl.c (__cacosl): Likewise.
12065 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12066 * sysdeps/i386/fpu/libm-test-ulps: Update.
12067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12068
913d03c8
JM
12069 [BZ #16927]
12070 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12071 value.
12072 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12073 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12074 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12075 for explicit high bit of mantissa when testing for argument equal
12076 to 1.
12077 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12078 * sysdeps/i386/fpu/libm-test-ulps: Update.
12079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12080
0bf061d3
JM
12081 [BZ #16516]
12082 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12083 (__erf): Scale by 16 instead of 8 in potentially underflowing
12084 case. Ensure exception if result actually underflows.
12085 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12086 (__erff): Scale by 16 instead of 8 in potentially underflowing
12087 case. Ensure exception if result actually underflows.
12088 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12089 (efx8): Remove variable.
12090 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12091 case. Ensure exception if result actually underflows.
12092 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12093 (efx8): Remove variable.
12094 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12095 case. Ensure exception if result actually underflows.
12096 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12097 (efx8): Remove variable.
12098 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12099 case. Ensure exception if result actually underflows.
12100 * math/auto-libm-test-in: Add more tests of erf.
12101 * math/auto-libm-test-out: Regenerated.
12102
73ba67cb
AS
121032014-05-14 Andreas Schwab <schwab@suse.de>
12104
3d8c8bff
AS
12105 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12106 Remove code conditionalized on USE___THREAD.
12107
73ba67cb
AS
12108 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12109 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12110 not definedness.
12111
5c521ecd
JM
121122014-05-14 Joseph Myers <joseph@codesourcery.com>
12113
5e7698c6
JM
12114 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12115 Define unconditionally.
12116 (__ASSUME_O_CLOEXEC): Likewise.
12117 (__ASSUME_SOCK_CLOEXEC): Likewise.
12118 (__ASSUME_IN_NONBLOCK): Likewise.
12119 (__ASSUME_PIPE2): Likewise.
12120 (__ASSUME_EVENTFD2): Likewise.
12121 (__ASSUME_SIGNALFD4): Likewise.
12122 (__ASSUME_DUP3): Likewise.
12123 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12124 (__ASSUME_DUP3): Do not define.
12125 (__ASSUME_EVENTFD2): Likewise.
12126 (__ASSUME_IN_NONBLOCK): Likewise.
12127 (__ASSUME_O_CLOEXEC): Likewise.
12128 (__ASSUME_PIPE2): Likewise.
12129 (__ASSUME_SIGNALFD4): Likewise.
12130 (__ASSUME_SOCK_CLOEXEC): Likewise.
12131 (__ASSUME_UTIMES): Undefine.
12132 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12133 (__ASSUME_UTIMES): Do not define.
12134 (__ASSUME_O_CLOEXEC): Likewise.
12135 (__ASSUME_SOCK_CLOEXEC): Likewise.
12136 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12137 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12138 0x020621].
12139 (__ASSUME_PIPE2): Likewise.
12140 (__ASSUME_EVENTFD2): Likewise.
12141 (__ASSUME_SIGNALFD4): Likewise.
12142 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12143 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12144 Do not define.
12145 (__ASSUME_EVENTFD2): Likewise.
12146 (__ASSUME_SIGNALFD4): Likewise.
12147 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12148 (__ASSUME_32BITUIDS): Likewise.
12149 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12150 (__ASSUME_IPC64): Likewise.
12151 (__ASSUME_ST_INO_64_BIT): Likewise.
12152 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12153 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12154 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12155 (__ASSUME_UTIMES): Do not define.
12156 (__ASSUME_PSELECT): Likewise.
12157 (__ASSUME_PPOLL): Likewise.
12158 (__ASSUME_O_CLOEXEC): Likewise.
12159 (__ASSUME_SOCK_CLOEXEC): Likewise.
12160 (__ASSUME_IN_NONBLOCK): Likewise.
12161 (__ASSUME_PIPE2): Likewise.
12162 (__ASSUME_EVENTFD2): Likewise.
12163 (__ASSUME_SIGNALFD4): Likewise.
12164 (__ASSUME_DUP3): Likewise.
12165 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12166 (__ASSUME_UTIMES): Likewise.
12167 (__ASSUME_O_CLOEXEC): Likewise.
12168 (__ASSUME_SOCK_CLOEXEC): Likewise.
12169 (__ASSUME_IN_NONBLOCK): Likewise.
12170 (__ASSUME_PIPE2): Likewise.
12171 (__ASSUME_EVENTFD2): Likewise.
12172 (__ASSUME_SIGNALFD4): Likewise.
12173 (__ASSUME_DUP3): Likewise.
12174 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12175 (__ASSUME_UTIMES): Likewise.
12176 (__ASSUME_O_CLOEXEC): Likewise.
12177 (__ASSUME_SOCK_CLOEXEC): Likewise.
12178 (__ASSUME_IN_NONBLOCK): Likewise.
12179 (__ASSUME_PIPE2): Likewise.
12180 (__ASSUME_EVENTFD2): Likewise.
12181 (__ASSUME_SIGNALFD4): Likewise.
12182 (__ASSUME_DUP3): Likewise.
12183 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12184 Likewise.
12185 (__ASSUME_UTIMES): Likewise.
12186 (__ASSUME_EVENTFD2): Likewise.
12187 (__ASSUME_SIGNALFD4): Likewise.
12188 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12189 (__ASSUME_O_CLOEXEC): Likewise.
12190 (__ASSUME_SOCK_CLOEXEC): Likewise.
12191 (__ASSUME_IN_NONBLOCK): Likewise.
12192 (__ASSUME_PIPE2): Likewise.
12193 (__ASSUME_EVENTFD2): Likewise.
12194 (__ASSUME_SIGNALFD4): Likewise.
12195 (__ASSUME_DUP3): Likewise.
12196 (__ASSUME_UTIMES): Undefine.
12197
5c521ecd
JM
12198 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12199 feclearexcept. Remove symbol versioning code.
12200 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12201 symbol versioning code.
12202 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12203 symbol versioning code.
12204 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12205 feupdateenv. Remove symbol versioning code.
12206 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12207 fegetexceptflag. Remove symbol versioning code.
12208 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12209 fesetexceptflag. Remove symbol versioning code.
12210 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12211 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12212 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12213 (__posix_fadvise64_l32): Remove prototype.
12214 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12215 code.
12216
5da9dfad
RM
122172014-05-13 Roland McGrath <roland@hack.frob.com>
12218
12219 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12220 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12221 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12222 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12223
893b4f37
SK
122242014-05-13 Sami Kerola <kerolasa@iki.fi>
12225
12226 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12227 current working directory
12228
e0db6517
RM
122292014-05-13 Roland McGrath <roland@hack.frob.com>
12230
58aa195d
RM
12231 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12232 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12233 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12234 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12235 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12236 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12237 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12238 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12239 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12240 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12241 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12242 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12243 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12244 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12245 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12246 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12247 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12248 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12249 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12250 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12251 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12252 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12253 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12254 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12255 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12256 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12257 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12258 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12259 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12260 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12261 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12262 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12263 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12264 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12265 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12266 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12267 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12268 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12269 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12270 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12271 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12272 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12273
8c6d01f0
RM
12274 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12275 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12276
12277 * sysdeps/unix/sysv/linux/arm/Makefile
12278 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12279 Add rt-aeabi_unwind_cpp_pr1.
12280 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12281 Add nptl-aeabi_unwind_cpp_pr1.
12282 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12283 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12284 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12285 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12286 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12287 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12288
12289 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12290 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12291 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12292 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12293
bba6da4e
RM
12294 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12295 Deconditionalize the code that was previously under [RESET_PID].
12296 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12297
e0db6517
RM
12298 * sysdeps/generic/exit-thread.h: New file.
12299 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12300 * include/unistd.h (__exit_thread): Remove declaration.
12301 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12302 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12303 * csu/libc-start.c: Include <exit-thread.h>.
12304 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12305 * nptl/pthread_create.c: Include <exit-thread.h>.
12306 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12307 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12308 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12309 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12310 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12311 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12312 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12313 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12314 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12315 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12316 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12317 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12318 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12319 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12320 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12321 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12322 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12323
01eb16fd
AS
123242014-05-13 Andreas Schwab <schwab@suse.de>
12325
12326 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12327
637461d9
JM
123282014-05-12 Joseph Myers <joseph@codesourcery.com>
12329
12330 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12331 (__ASSUME_UTIMES): Do not condition on kernel version.
12332 (__ASSUME_PSELECT): Define unconditionally.
12333 (__ASSUME_PPOLL): Likewise.
12334 (__ASSUME_ATFCTS): Likewise.
12335 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12336 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12337 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12338 (__ASSUME_UTIMENSAT): Define unconditionally.
12339 (__ASSUME_PRIVATE_FUTEX): Likewise.
12340 (__ASSUME_FALLOCATE): Likewise.
12341 (__ASSUME_O_CLOEXEC): Likewise.
12342 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12343 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12344 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12345 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12346 (__ASSUME_IN_NONBLOCK): Likewise.
12347 (__ASSUME_PIPE2): Likewise.
12348 (__ASSUME_EVENTFD2): Likewise.
12349 (__ASSUME_SIGNALFD4): Likewise.
12350 (__ASSUME_DUP3): Likewise.
12351 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12352 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12353 (__ASSUME_AT_RANDOM): Likewise.
12354 (__ASSUME_PREADV): Likewise.
12355 (__ASSUME_PWRITEV): Likewise.
12356 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12357 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12358 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12360 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12361 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12362 (__ASSUME_O_CLOEXEC): Define unconditionally.
12363 (__ASSUME_PSELECT): Do not undefine conditionally.
12364 (__ASSUME_PPOLL): Likewise.
12365 (__ASSUME_ATFCTS): Likewise.
12366 (__ASSUME_SET_ROBUST_LIST): Likewise.
12367 (__ASSUME_UTIMENSAT): Likewise.
12368 (__ASSUME_FDATASYNC): Define unconditionally.
12369 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12370 (__ASSUME_SIGFRAME_V2): Likewise.
12371 )__ASSUME_EVENTFD2): Likewise.
12372 (__ASSUME_SIGNALFD4): Likewise.
12373 (__ASSUME_PSELECT): Do not undefine conditionally.
12374 (__ASSUME_PPOLL): Likewise.
12375 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12376 (__ASSUME_PSELECT): Define unconditionally.
12377 (__ASSUME_PPOLL): Likewise.
12378 (__ASSUME_O_CLOEXEC): Likewise.
12379 (__ASSUME_SOCK_CLOEXEC): Likewise.
12380 (__ASSUME_IN_NONBLOCK): Likewise.
12381 (__ASSUME_PIPE2): Likewise.
12382 (__ASSUME_EVENTFD2): Likewise.
12383 (__ASSUME_SIGNALFD4): Likewise.
12384 (__ASSUME_DUP3): Likewise.
12385 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12386 (__ASSUME_O_CLOEXEC): Likewise.
12387 (__ASSUME_SOCK_CLOEXEC): Likewise.
12388 (__ASSUME_IN_NONBLOCK): Likewise.
12389 (__ASSUME_PIPE2): Likewise.
12390 (__ASSUME_EVENTFD2): Likewise.
12391 (__ASSUME_SIGNALFD4): Likewise.
12392 (__ASSUME_DUP3): Likewise.
12393 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12394 (__ASSUME_EVENTFD2): Likewise.
12395 (__ASSUME_SIGNALFD4): Likewise.
12396 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12397
315eb1d8
AS
123982014-05-12 Andreas Schwab <schwab@suse.de>
12399
12400 [BZ #16932]
12401 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12402 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12403 than maximum RPC packet size.
12404 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12405 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12406 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12407 (_nss_nis_getservbyport_r): Likewise.
12408
91df99f7
WN
124092014-05-12 Will Newton <will.newton@linaro.org>
12410
12411 * malloc/Makefile (tests): Add tst-mallopt.
12412 * malloc/tst-mallopt.c: New file.
12413
0a982a29
RM
124142014-05-09 Roland McGrath <roland@hack.frob.com>
12415
12416 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12417 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12418
0ded08a5
AZ
124192014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12420
12421 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12422 (tst-tlsmod6.so): Likewise.
12423
55d4d550
RM
124242014-05-09 Roland McGrath <roland@hack.frob.com>
12425
12426 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12427
77d08aca
JM
124282014-05-09 Joseph Myers <joseph@codesourcery.com>
12429
12430 [BZ #16064]
12431 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12432 and <dl-procinfo.h>.
12433 (__fegetenv): Save SSE state in envp->__eip if supported.
12434 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12435 envp->__eip if supported.
12436 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12437 and <dl-procinfo.h>.
12438 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12439 __data_offset and __data_selector in environment to 0. Set SSE
12440 state if supported.
12441 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12442 test-fenv-sse.
12443 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12444 -mfpmath=sse.
12445 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12446
28162f4d
WN
124472014-05-09 Will Newton <will.newton@linaro.org>
12448
12449 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12450 and libc_relro_required for ARM.
12451 * sysdeps/arm/preconfigure: Regenerate.
12452
5a414ff7
DV
124532014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12454 Stefan Liebler <stli@linux.vnet.ibm.com>
12455
12456 * config.make.in (enable-lock-elision): New Makefile variable.
12457 * configure.ac: Likewise.
12458 * configure: Regenerate.
12459 * sysdeps/s390/configure.ac:
12460 Add check for gcc transactions support.
12461 * sysdeps/s390/configure: Regenerate.
12462 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12463 Build elision files if enabled.
12464 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12465 Add lock elision support for s390.
12466 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12467 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12468 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12469 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12470 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12471 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12472 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12473 Likewise.
12474 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12475 Likewise.
12476 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12477 Likewise.
12478 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12479 Likewise.
12480 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12481 (__lll_timedlock_elision, __lll_lock_elision)
12482 (__lll_unlock_elision, __lll_trylock_elision)
12483 (lll_timedlock_elision, lll_lock_elision)
12484 (lll_unlock_elision, lll_trylock_elision): Add.
12485 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12486 (pthread_mutex_t): Add lock elision support for s390.
12487
1a2f40e5
W
124882014-05-14 Wilco <wdijkstr@arm.com>
12489
12490 * sysdeps/arm/fclrexcpt.c: Cleanup.
12491 * sysdeps/arm/fedisblxcpt.c: Cleanup.
12492 * sysdeps/arm/feenablxcpt.c: Cleanup.
12493 * sysdeps/arm/fegetenv.c: Cleanup.
12494 * sysdeps/arm/fegetexcept.c: Cleanup.
12495 * sysdeps/arm/fegetround.c: Cleanup.
12496 * sysdeps/arm/feholdexcpt.c: Cleanup.
12497 * sysdeps/arm/fesetenv.c: Cleanup.
12498 * sysdeps/arm/fesetround.c: Cleanup.
12499 * sysdeps/arm/feupdateenv.c: Cleanup.
12500 * sysdeps/arm/fgetexcptflg.c: Cleanup.
12501 * sysdeps/arm/fraiseexcpt.c: Cleanup.
12502 * sysdeps/arm/fsetexcptflg.c: Cleanup.
12503 * sysdeps/arm/ftestexcept.c: Cleanup.
12504 * sysdeps/arm/get-rounding-mode.h: Cleanup.
12505 * sysdeps/arm/setfpucw.c: Cleanup.
12506
f63c86fe
WN
125072014-05-09 Will Newton <will.newton@linaro.org>
12508
12509 * sysdeps/arm/armv7/strcmp.S: New file.
12510 * NEWS: Mention addition of ARMv7 optimized strcmp.
12511
7a1a51b5
RM
125122014-05-08 Roland McGrath <roland@hack.frob.com>
12513
95afbbe5
RM
12514 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12515 look for %.ac rather than %.in.
12516
12517 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12518 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12519 * sysdeps/mach/hurd/configure: Regenerated.
12520 * sysdeps/unix/sysv/linux/configure: Regenerated.
12521
7a1a51b5
RM
12522 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12523
5057ad3b
SE
125242014-05-07 Steve Ellcey <sellcey@mips.com>
12525
12526 [BZ# 16922]
12527 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12528 (LONG_SUB): Ditto.
12529 (PTR_SUB): Ditto.
12530
8dc97517
AS
125312014-05-07 Andreas Schwab <schwab@suse.de>
12532
12533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12534 when skipping over non-matching result from nscd.
12535
ce0c5b8f
OB
125362014-05-07 Ondřej Bílka <neleai@seznam.cz>
12537
12538 [BZ #16876]
12539 * nptl/sockperf.c (client): Check socket return value.
8dc97517 12540
a1189263
OB
12541 [BZ #16877]
12542 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12543 nscd security class.
ce0c5b8f 12544
0f58d252
RM
125452014-05-06 Roland McGrath <roland@hack.frob.com>
12546
12547 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12548 * sysdeps/arm/unwind.h: ... here.
12549
83df9ad0
AJ
125502014-05-06 Aurelien Jarno <aurelien@aurel32.net>
12551
ce0c5b8f
OB
12552 [BZ# 16916]
12553 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12554 Define.
83df9ad0 12555
f360f94a
VR
125562014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12557
12558 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12559 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12560 multiarch strncpy for PPC64.
12561 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12562 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12563 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12564 multiarch optimizations.
12565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12566 (__libc_ifunc_impl_list): Likewise.
12567 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12568 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12569 multiarch stpncpy for PPC64.
12570 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12571 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12572
978a41c3
AS
125732014-05-06 Andreas Schwab <schwab@suse.de>
12574
12575 [BZ #16912]
12576 * gmon/mcount.c (_MCOUNT_DECL): Use
12577 atomic_compare_and_exchange_bool_acq instead of
12578 catomic_compare_and_exchange_bool_acq.
12579
eb1ed03d
RM
125802014-05-05 Roland McGrath <roland@hack.frob.com>
12581
fe658845
RM
12582 * elf/Makefile (others, install-bin): Remove pldd.
12583 (pldd-modules): Variable removed.
12584 ($(objpfx)pldd): Target removed.
12585 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12586 (others, install-bin): Append pldd here.
12587 ($(objpfx)pldd): New target.
12588
eb1ed03d
RM
12589 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12590 to 0, so the first #if test emitted later doesn't see it undefined.
12591 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12592 * sysdeps/gnu/errlist.c: Regenerated.
12593
19c4bec0
AZ
125942014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12595
12596 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12597 [libc_hidden_builtin_def]: Define to empty value.
12598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12599 [libc_hidden_builtin_def]: Likewise.
12600 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12601 [libc_hidden_builtin_def]: Likewise.
12602 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12603 [libc_hidden_builtin_def]: Likewise.
12604 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12605 __redirect_memcpy and define ifunc as default hidden symbol.
12606 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12607 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12608
7776e669
AC
126092014-05-04 Adam Conrad <adconrad@0c3.net>
12610
12611 * locale/iso-4217.def: Reintroduce XDR currency.
12612
d69aeb12
AM
126132014-05-04 Allan McRae <allan@archlinux.org>
12614
12615 * po/eo.po: Update Esperanto translation from translation project.
12616
8f1df5cf
CD
126172014-05-02 Carlos O'Donell <carlos@redhat.com>
12618
12619 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12620 and FEATURE_INDEX_MAX to 1.
12621 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12622
13e402e7
SE
126232014-05-01 Steve Ellcey <sellcey@mips.com>
12624
12625 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12626 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12627 * iconvdata/big5.c (ONE_DIRECTION): Define.
12628 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12629 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12630 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12631 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12632 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12633 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12634 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12635 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12636 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12637 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12638 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12639 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12640 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12641 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12642 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12643 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12644 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12645 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12646 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12647 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12648 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12649 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12650 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12651 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12652 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12653 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12654 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12655 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12656 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12657 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12658 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12659 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12660 * iconvdata/johab.c (ONE_DIRECTION): Define.
12661 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12662 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12663 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12664 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12665 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12666 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12667 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12668 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12669 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12670 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12671
c727f032
RM
126722014-05-01 Roland McGrath <roland@hack.frob.com>
12673
8f2f08d0
RM
12674 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12675 (_IO_JUMPS_OFFSET): Define to 0.
12676
c727f032
RM
12677 * nptl/sysdeps/pthread/bits/libc-lock.h
12678 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12679 (__libc_lock_define_initialized_recursive): Always define using
12680 initializer. Modern compilers treat uninitialized (implicit zero) and
12681 explicit zero initializers the same (i.e. put the datum in bss).
12682
a849e800
AS
126832014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12684
12685 * nscd/nscd-client.h: Include <string.h>.
12686
5331255b
DM
126872014-05-01 David S. Miller <davem@davemloft.net>
12688
12689 [BZ #16885]
12690 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12691 multiple zero bytes exist at the end of a string.
12692 Reported by Aurelien Jarno <aurelien@aurel32.net>
12693
12694 * string/test-strcmp.c (check): Add explicit test for situations where
12695 there are multiple zero bytes after the first.
12696
4fdfe821
AS
126972014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12698
12699 [BZ #16890]
12700 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12701 when compiling wprintf.
12702 * stdio-common/tstdiomisc.c (t3): New function.
12703 (main): Call it.
12704
0cdddc25
SE
127052014-05-01 Steve Ellcey <sellcey@mips.com>
12706
12707 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12708 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12709 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12710 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12711
6426d77e
SE
127122014-05-01 Steve Ellcey <sellcey@mips.com>
12713
12714 * stdlib/longlong.h: Updated from GCC.
12715
6d96f5e4
WN
127162014-05-01 Will Newton <will.newton@linaro.org>
12717 Bernard Ogden <bernie.ogden@linaro.org>
12718
7470db0c
WN
12719 * NEWS: Update fixed bug list.
12720
6d96f5e4
WN
12721 [BZ #15119]
12722 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12723
211d653c
DM
127242014-04-30 David S. Miller <davem@davemloft.net>
12725
4fa262fa
DM
12726 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12727 (libc_feholdexcept_setround_sparc_ctx): New function.
12728 (libc_fesetenv_sparc_ctx): Likewise.
12729 (libc_feupdateenv_sparc_ctx): Likewise.
12730 (libc_feholdsetround_sparc_ctx): Likewise.
12731 (libc_feholdexcept_setround_ctx): Define.
12732 (libc_feholdexcept_setroundf_ctx): Likewise.
12733 (libc_feholdexcept_setroundl_ctx): Likewise.
12734 (libc_fesetenv_ctx): Likewise.
12735 (libc_fesetenvf_ctx): Likewise.
12736 (libc_fesetenvl_ctx): Likewise.
12737 (libc_feupdateenv_ctx): Likewise.
12738 (libc_feupdateenvf_ctx): Likewise.
12739 (libc_feupdateenvl_ctx): Likewise.
12740 (libc_feresetround_ctx): Likewise.
12741 (libc_feresetroundf_ctx): Likewise.
12742 (libc_feresetroundl_ctx): Likewise.
12743 (libc_feholdsetround_ctx): Likewise.
12744 (libc_feholdsetroundf_ctx): Likewise.
12745 (libc_feholdsetroundl_ctx): Likewise.
12746
1d3d93ef
DM
12747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12748 with __USE_GNU instead of XOPEN cpp guards.
12749
8aa583c3
DM
12750 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12751 0.
12752
211d653c
DM
12753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12754 with XOPEN cpp guards.
12755
60c8f1f6
JB
127562014-04-30 Julian Brown <julian@codesourcery.com>
12757
12758 [BZ #16888]
12759 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12760 handling.
12761
9a461d46
JM
127622014-04-30 Joseph Myers <joseph@codesourcery.com>
12763
d0f5b3f8
JM
12764 [BZ #9894]
12765 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12766 Change to 2.6.32.
12767 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12768 * sysdeps/unix/sysv/linux/configure: Regenerated.
12769 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12770 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12771 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12772 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12773 * README: Update reference to required Linux kernel version.
12774 * manual/install.texi (Linux): Update reference to required Linux
12775 kernel headers version.
12776 * INSTALL: Regenerated.
12777
9a461d46
JM
12778 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12779 header inclusion.
12780 [POSIX] (limits.h): Likewise.
12781 [POSIX] (math.h): Likewise.
12782 [POSIX] (sys/wait.h): Likewise.
12783 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12784 function.
12785 [POSIX] (stddef.h): Do not allow header inclusion.
12786
1775babf
AZ
127872014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12788
57f41c40 12789 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 12790
8f630cca
YY
127912014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12792
12793 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12794 Return immediately after lll_futex_wake.
12795
1cdeb237
SP
127962014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12797
bc8f194c
SP
12798 [BZ #16791]
12799 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12800 structure.
12801 (datahead_init_pos): Call datahead_init_common early.
12802 (datahead_init_neg): Likewise.
12803
1cdeb237
SP
12804 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12805 datahead_init_neg): New functions.
12806 * nscd/aicache.c (addhstaiX): Use them.
12807 * nscd/grpcache.c (cache_addgr): Likewise.
12808 * nscd/hstcache.c (cache_addhst): Likewise.
12809 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12810 * nscd/netgroupcache.c (do_notfound): Likewise.
12811 (addgetnetgrentX): Likewise.
12812 (addinnetgrX): Likewise.
12813 * nscd/pwdcache.c (cache_addpw): Likewise.
12814 * nscd/servicescache.c (cache_addserv): Likewise.
12815
16b293a7
SP
128162014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12817 Atsushi Onoe <atsushi@onoe.org>
12818
12819 [BZ #14308]
12820 [BZ #12994]
12821 [BZ #13651]
12822 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12823 one response is valid.
12824 * resolv/res_send.c (send_dg): Check for validity of other
12825 response if the current response is a referral.
12826
a28a9b94
SE
128272014-04-29 Steve Ellcey <sellcey@mips.com>
12828
12829 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12830
2ca180e9
SL
128312014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12832
12833 [BZ #16823]
12834 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12835 Always divide by positive zero when computing -Inf result.
12836 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12837 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12838
18f2945a
AZ
128392014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12840
12841 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12842 FPSCR if value do not change.
12843 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12844 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12845 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12846 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12847 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12848 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12849 function.
12850
5abebba4
CD
128512014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12852
12853 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12854 * sysdeps/unix/sysv/linux/hppa: Move directory from
12855 ports/systeps/unix/sysv/linux/hppa.
12856 * README: Update listing for hppa-*-linux-gnu.
12857
f7ed60c2
OB
128582014-04-28 Ondřej Bílka <neleai@seznam.cz>
12859
fff763a5
OB
12860 [BZ #16754]
12861 * manual/stdio.texi (Hook functions): Fix types of stream hook
12862 functions.
f7ed60c2
OB
12863 [BZ #16854]
12864 * socket/sys/socket.h: Fix typo in comment.
12865
df639d73
WD
128662014-04-28 Wilco <wdijkstr@arm.com>
12867
f7ed60c2 12868 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
12869 * sysdeps/arm/math_private.h: New file.
12870 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12871
48332d82
L
128722014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12873
12874 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12875 with __int128_t.
12876 (La_x86_64_retval): Likewise.
12877
e5e0d9a4
IB
128782014-04-24 Ian Bolton <ian.bolton@arm.com>
12879
12880 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12881 fpsr if value didn't change.
12882 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12883 to fpcr if value didn't change.
12884 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12885 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12886 fpsr or fpcr if value didn't change.
12887 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12888 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12889 fpcr if value didn't change.
12890 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12891 to fpsr if value didn't change.
12892
bacc75f7
SP
128932014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12894
12895 * nptl/tst-sem3.c: Use test-skeleton.c
12896 (main): Rename to do_test. Use return instead of
12897 exit.
12898 * nptl/tst-sem4.c: Use test-skeleton.c
12899 (main): Rename to do_test.
12900
a059d359
DM
129012014-04-22 David S. Miller <davem@davemloft.net>
12902
12903 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12904 (struct sigaction): New struct member __glibc_reserved0, change
12905 type of sa_flags to int.
12906
ea6c92f3
YZ
129072014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12908
12909 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12910 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12911
766c4a36
SP
129122014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12913
12914 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12915 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12916
140cc7ab
VK
129172014-04-22 Will Newton <will.newton@linaro.org>
12918 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12919
12920 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12921 (__longjmp): Add longjmp and longjmp_target SystemTap
12922 probes.
12923 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12924 (__sigsetjmp): Add setjmp SystemTap probe.
12925
c54e5cf7
CD
129262014-04-17 Carlos O'Donell <carlos@redhat.com>
12927
12928 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12929 match manual order.
12930
75ffb047
AZ
129312014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12932
12933 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12934
2cd925f7
AZ
12935 * sysdeps/powerpc/fpu/fenv_private.h
12936 (libc_feholdexcept_setroundl_ctx): Define to
12937 libc_feholdexcept_setround_ppc_ctx.
12938 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12939 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12940 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12941 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12942
39e6cd8d
IB
129432014-04-17 Ian Bolton <ian.bolton@arm.com>
12944
12945 * sysdeps/aarch64/math-tests.h: New file.
12946
f9281df9
SY
129472014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12948
12949 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12950 New.
12951 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12952 Check and set bit_AVX2_Usable.
12953 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12954 macro.
12955 (bit_AVX2): Likewise.
12956 (index_AVX2_Usable): Likewise.
12957 (CPUID_AVX2): Likewise.
12958 (HAS_AVX2): Likewise.
12959
37d35007
WN
129602014-04-17 Will Newton <will.newton@linaro.org>
12961
7c677662
WN
12962 * manual/setjmp.texi (System V contexts): Add note that
12963 calling setcontext on a context created by a call to a
12964 signal handler is undefined. Update text to note that
12965 setcontext from a signal handler is possible but not
12966 recommended.
12967
37d35007 12968 [BZ #16629]
e04a4e9d
WN
12969 * stdlib/tst-setcontext.c: Include signal.h.
12970 (main): Check that the signal stack before and
12971 after swapcontext is the same.
12972
37d35007
WN
12973 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12974 Re-implement to restore registers in user code and avoid
12975 rt_sigreturn system call.
12976
423a7160
W
129772014-04-17 Wilco <wdijkstr@arm.com>
12978
12979 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12980 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12981 * math/test-fenv.c: Skip exception trap tests on targets which only
12982 support non-stop mode.
12983
bc93ab29
IB
129842014-04-17 Ian Bolton <ian.bolton@arm.com>
12985 Wilco Dijkstra <wilco.dijkstra@arm.com>
12986
12987 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12988 (libc_feholdsetround_aarch64_ctx)
12989 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12990 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12991 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12992 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12993 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12994 (libc_feresetround_noexl_ctx): Define.
12995
95fc5fa3
RH
129962014-04-16 Richard Henderson <rth@redhat.com>
12997
ddb04724
RH
12998 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12999
d77c0899
RH
13000 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13001 unwind tables.
13002
a3df56fc
RH
13003 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13004 const from the non-libc, non-ldso copy.
13005
95fc5fa3
RH
13006 * sysdeps/alpha/libm-test-ulps: Regenerate.
13007
7e0b6763
IB
130082014-04-16 Ian Bolton <ian.bolton@arm.com>
13009 Wilco Dijkstra <wilco.dijkstra@arm.com>
13010
13011 * sysdeps/aarch64/fpu/math_private.h: New file.
13012
a9ea2e0c
MS
130132014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13014
13015 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13016
ea8ba7cd
IZ
130172014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13018
7e54fd04 13019 [BZ #16275]
ea8ba7cd
IZ
13020 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13021 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13023 Intel MPX bound registers before _dl_profile_fixup.
13024 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13025 registers after _dl_profile_fixup. Save and restore bound
13026 registers bnd0/bnd1 when calling _dl_call_pltexit.
13027 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13028 (LR_BND_OFFSET): Likewise.
13029 (LRV_BND0_OFFSET): Likewise.
13030 (LRV_BND1_OFFSET): Likewise.
13031
9f2a4fbc
ST
130322014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13033
13034 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13035 to...
13036 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13037 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13038 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13039 fields.
9f2a4fbc 13040
fd15a59b
ST
130412014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13042
13043 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13044
f19dfa0a
SL
130452014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13046
13047 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13048
4fa8bc3b
SL
130492014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13050
13051 [BZ #14770]
13052 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13053 * sysdeps/s390/configure: Regenerate.
13054
8ea587db
SL
13055 [BZ #16824]
13056 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13057 Set round-to-nearest internally to reduce error accumulation.
13058
aa5f0ff1
AM
130592014-04-16 Alan Modra <amodra@gmail.com>
13060
13061 [BZ #16740]
13062 [BZ #16619]
13063 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13064 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13065 * NEWS: Update fixed bug list.
aa5f0ff1 13066
bb9c256f
SP
130672014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13068
13069 * benchtests/Makefile: Depend on libraries in build directory.
13070 (bench-math): Separate out math tests.
13071 (bench-pthread): Separate out pthread tests.
13072 (bench): Include math and pthread tests.
13073
f737dfd0
CD
130742014-04-14 Carlos O'Donell <carlos@redhat.com>
13075
13076 [BZ #16831]
13077 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13078 _dl_debug_initialize.
13079
0699f766
CD
13080 * configure.ac: Remove SELinux header check.
13081 * configure: Regenerate.
13082 * nscd/selinux.c (perms): Array of const char* to permission names.
13083 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13084 default policy. Call string_to_security_class and string_to_av_perm to
13085 translate strings. Enforce default policy and call avs_has_perm with
13086 results of translated strings.
13087
809bd45f
DM
130882014-04-13 David S. Miller <davem@davemloft.net>
13089
13090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13091
89e691f2
AM
130922014-04-12 Allan McRae <allan@archlinux.org>
13093
13094 [BZ #16838]
13095 * manual/string.texi (Collation Functions): Fix qsort argument
13096 order in example.
13097 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13098
9c9daaeb
CM
130992014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13100
13101 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13102 Make the test a no-op if there are no exceptions defined.
13103
95561fb9
PP
131042014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13105
fe8d072c 13106 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13107 enable-hardcoded-path-in-tests
13108
970c602a
WN
131092014-04-11 Will Newton <will.newton@linaro.org>
13110
13111 * benchtests/Makefile (extra-objs): Add json-lib.o.
13112 (bench-func): Tidy up JSON output.
13113 * benchtests/bench-skeleton.c: Include json-lib.h.
13114 (main): Use JSON library functions to do output of
13115 benchmark results.
13116 * benchtests/bench-timing-type.c (main): Output the
13117 timing type simply, leaving formatting to the user.
13118 * benchtests/json-lib.c: New file.
13119 * benchtests/json-lib.h: Likewise.
13120
36875b06
TR
131212014-04-11 Torvald Riegel <triegel@redhat.com>
13122
13123 [BZ #15215]
13124 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13125 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13126 memory barriers. Add comments.
13127 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13128 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13129 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13130 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13131 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13132 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13133
579db35a
SL
131342014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13135
13136 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13137 * sysdeps/s390/s390-64/configure.ac: ... this ...
13138 * sysdeps/s390/configure.ac: ... to here.
13139 * sysdeps/s390/s390-32/configure: Delete file.
13140 * sysdeps/s390/s390-64/configure: Delete file.
13141 * sysdeps/s390/configure: Regenerate.
13142
c12e9f37
JAPH
131432014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13144
13145 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13146
439bda32
WN
131472014-04-11 Will Newton <will.newton@linaro.org>
13148
13149 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13150 to zero if it is not defined elsewhere. (mtrim): Test
13151 the value of MALLOC_DEBUG with #if rather than #ifdef.
13152
6a5d6ea1
TR
131532014-04-10 Torvald Riegel <triegel@redhat.com>
13154
13155 * benchtests/pthread_once-inputs: New file.
13156 * benchtests/pthread_once-source.c: New file.
13157 * benchtests/README: Update documentation.
13158
a4c75cfd
IZ
131592014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13160 H.J. Lu <hongjiu.lu@intel.com>
13161
7e54fd04 13162 [BZ #16275]
a4c75cfd
IZ
13163 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13164 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13165 * sysdeps/x86_64/configure: Regenerated.
13166 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13167 macro.
13168 (REGISTER_SAVE_RAX): Likewise.
13169 (REGISTER_SAVE_RCX): Likewise.
13170 (REGISTER_SAVE_RDX): Likewise.
13171 (REGISTER_SAVE_RSI): Likewise.
13172 (REGISTER_SAVE_RDI): Likewise.
13173 (REGISTER_SAVE_R8): Likewise.
13174 (REGISTER_SAVE_R9): Likewise.
13175 (REGISTER_SAVE_BND0): Likewise.
13176 (REGISTER_SAVE_BND1): Likewise.
13177 (REGISTER_SAVE_BND2): Likewise.
13178 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13179 bound registers when calling _dl_fixup.
13180
27822ce6
AZ
131812014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13182
13183 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13184 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13185 of its definition.
27822ce6
AZ
13186 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13187 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13188 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13189 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13190 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13191 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13192 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13193
a88ddc90
PTB
131942014-04-09 Peter Brett <peter@peter-b.co.uk>
13195
13196 [BZ #15514]
13197 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13198 pathconf(_PC_NAME_MAX).
13199
01f8eac2
AZ
132002014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13201
13202 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13203 Remove macro usage.
13204 (__PTHREAD_SPINS): Move definition to ...
13205 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13206 (__PTHREAD_SPINS): ... here.
13207 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13208 (__PTHREAD_SPIN): Likewise.
13209 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13210 (__PTHREAD_SPIN): Likewise.
13211 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13212 (__PTHREAD_SPIN): Likewise.
13213 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13214 (__PTHREAD_SPIN): Likewise.
13215 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13216 (__PTHREAD_SPIN): Likewise.
13217 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13218 (__PTHREAD_SPIN): Likewise.
13219 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13220 (__PTHREAD_SPIN): Likewise.
13221 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13222 (__PTHREAD_SPIN): Likewise.
13223 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13224 (__PTHREAD_SPIN): Likewise.
13225 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13226 (__PTHREAD_SPIN): Likewise.
13227 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13228 (__PTHREAD_SPIN): Likewise.
13229 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13230 (__PTHREAD_SPIN): Likewise.
13231
de21c33c
AZ
13232 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13233 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13234 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13235 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13236 imply folder.
13237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13238 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13239 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13240 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13241 correct imply path.
13242 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13243 strlen symbol for non multi-arch builds.
13244 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13245 missing hidden_def and weak_alias.
13246
862c472e
CD
132472014-04-08 Carlos O'Donell <carlos@redhat.com>
13248
13249 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13250
8667f90e
WN
132512014-04-07 Will Newton <will.newton@linaro.org>
13252
13253 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13254 and contents. [!_LIBC] Remove #ifndef and contents.
13255 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13256 * string/memccpy.c (__memccpy): Use ANSI prototype.
13257 * string/memfrob.c (memfrob): Likewise.
13258 * string/strcoll.c (STRCOLL): Likewise.
13259 * string/strlen.c (strlen): Likewise.
13260 * string/strtok.c (STRTOK): Likewise.
13261 * string/strcat.c: Remove unused #include of memcopy.h.
13262 (strcat): Use ANSI prototype.
13263 * string/strchr.c: Remove unused #include of memcopy.h.
13264 (strchr): Use ANSI prototype.
13265 * string/strcmp.c: Remove unused #include of memcopy.h.
13266 (strcmp): Use ANSI prototype.
13267 * string/strcpy.c: Remove unused #include of memcopy.h.
13268 (strcpy): Use ANSI prototype.
13269
7ffa9423
AZ
132702014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13271
13272 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13273 * config.make.in (config-extra-cppflags): Set it from
13274 libc_extra_cppflags.
13275 * configure.ac (libc_extra_cflags): Make it accumulate over
13276 configure fragments.
13277 (libc_extra_cppflags): New flag.
13278 * configure. Regenerate.
13279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13280 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13281 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13283
8bd70862
AZ
13284 [BZ #16815]
13285 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13286 result for FE_DOWNWARD rounding mode.
13287 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13288 Likewise.
13289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13290
d42f3448
CM
132912014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13292
13293 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13294 in function argument name.
13295
1c21d115
DS
132962014-04-03 David Svoboda <svoboda@cert.org>
13297
13298 [BZ #5666]
13299 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13300 explicitly.
13301
fcccd512
RM
133022014-04-03 Roland McGrath <roland@hack.frob.com>
13303
13304 * elf/dl-unmap-segments.h: New file.
13305 * sysdeps/generic/ldsodefs.h
13306 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13307 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13308 * elf/dl-fptr.c: Likewise.
13309 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13310 * sysdeps/aarch64/tlsdesc.c: Likewise.
13311 * sysdeps/arm/tlsdesc.c: Likewise.
13312 * sysdeps/i386/tlsdesc.c: Likewise.
13313 * sysdeps/tile/dl-runtime.c: Likewise.
13314 * sysdeps/x86_64/tlsdesc.c: Likewise.
13315 * elf/dl-load.h: New file.
13316 * elf/dl-load.c: Include it.
13317 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13318 Macros moved to dl-load.h.
13319 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13320 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13321 Use _dl_unmap_segments in place of __munmap.
13322 Break out segment-mapping loop into ...
13323 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13324
f6488e2b
WN
133252014-04-03 Will Newton <will.newton@linaro.org>
13326
13327 * elf/dl-lookup.c (do_lookup_x): Remove comment
13328 referring to nested function and move variable
13329 declarations down to before first use.
13330
6f05bafe
JM
133312014-04-02 Joseph Myers <joseph@codesourcery.com>
13332
a84e78c8
JM
13333 [BZ #16799]
13334 [BZ #16800]
13335 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13336 with 0 numerator.
13337 * math/s_catanf.c (__catanf): Likewise.
13338 * math/s_catanh.c (__catanh): Likewise.
13339 * math/s_catanhf.c (__catanhf): Likewise.
13340 * math/s_catanhl.c (__catanhl): Likewise.
13341 * math/s_catanl.c (__catanl): Likewise.
13342 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13343 by positive zero when computing -Inf result.
13344 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13345 (catanh_test): Likewise.
13346 * sysdeps/i386/fpu/libm-test-ulps: Update.
13347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13348
6f05bafe
JM
13349 [BZ #16789]
13350 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13351 instead of using underflowing value in computing result.
13352 * math/s_clog10.c (__clog10): Likewise.
13353 * math/s_clog10f.c (__clog10f): Likewise.
13354 * math/s_clog10l.c (__clog10l): Likewise.
13355 * math/s_clogf.c (__clogf): Likewise.
13356 * math/s_clogl.c (__clogl): Likewise.
13357 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13358 (clog10_test): Likewise.
13359 * sysdeps/i386/fpu/libm-test-ulps: Update.
13360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13361
b0abbc21
AM
133622014-04-02 Alan Modra <amodra@gmail.com>
13363
13364 [BZ #16739]
13365 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13366 output when value is near a power of two. Use int64_t for lx and
13367 remove casts. Use decimal rather than hex exponent constants.
13368 Don't use long double multiplication when double will suffice.
13369 * math/libm-test.inc (nextafter_test_data): Add tests.
13370 * NEWS: Add 16739 and 16786 to bug list.
13371
af6b1797
AM
13372 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13373
483818d7
AM
13374 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13375
f6c55796
WN
133762014-04-01 Will Newton <will.newton@linaro.org>
13377
13378 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13379 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13380
13f7fe35
FW
133812014-04-01 Florian Weimer <fweimer@redhat.com>
13382
13383 [BZ #13347]
13384 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13385 * nptl/tst-setuid2.c: New file.
13386 * nptl/Makefile (xtests): Add tst-setuid2.
13387
c859b32e
AM
133882014-04-01 Alan Modra <amodra@gmail.com>
13389
13390 [BZ #16786]
13391 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13392
54fa2475
JM
133932014-03-31 Joseph Myers <joseph@codesourcery.com>
13394
8795b4a4
JM
13395 [BZ #6803]
13396 [BZ #6804]
13397 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13398 set errno as appropriate.
13399 * math/w_scalbf.c (__scalbf): Likewise.
13400 * math/w_scalbl.c (__scalbl): Likewise.
13401 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13402 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13403 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13404 Add more NaN tests.
13405
54fa2475
JM
13406 [BZ #16349]
13407 * math/w_atan2.c: Include <errno.h>.
13408 (__atan2): Set errno for result underflowing to zero.
13409 * math/w_atan2f.c: Include <errno.h>.
13410 (__atan2f): Set errno for result underflowing to zero.
13411 * math/w_atan2l.c: Include <errno.h>.
13412 (__atan2l): Set errno for result underflowing to zero.
13413 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13414 tests.
13415 * math/auto-libm-test-out: Regenerated.
13416
757d9dd5
AZ
134172014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13418
13419 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13420 Encode instruction correctly in little endian.
13421 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13422 Likewise.
13423 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13424 Likewise.
13425 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13426 Likewise.
13427 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13428 Likewise.
13429
d7a68734
JM
134302014-03-31 Joseph Myers <joseph@codesourcery.com>
13431
47c5adeb
JM
13432 [BZ #9894]
13433 * sysdeps/unix/sysv/linux/kernel-features.h
13434 [__sparc__ && !__arch64__ && !__sparc_v9__]
13435 (__ASSUME_SET_ROBUST_LIST): Do not define.
13436 [__sparc__ && !__arch64__ && !__sparc_v9__]
13437 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13438 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13439 Likewise.
13440 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13441 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13442 (__ASSUME_REQUEUE_PI): Likewise.
13443 (__ASSUME_SET_ROBUST_LIST): Likewise.
13444 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13445 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13446 Undefine.
13447 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13448 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13449 Likewise.
13450 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13451 Likewise.
13452 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13453 Likewise.
13454 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13455 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13456 Undefine.
13457 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13458 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13459 Likewise.
13460
d7a68734
JM
13461 [BZ #16648]
13462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13463 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13464 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13465
c760f5c2
WN
134662014-03-31 Will Newton <will.newton@linaro.org>
13467
13468 * benchtests/Makefile (bench): Add ffs and ffsll to list
13469 of tests.
13470 * benchtests/ffs-inputs: New file.
13471 * benchtests/ffsll-inputs: Likewise.
13472
ea6029b1
JM
134732014-03-29 Joseph Myers <joseph@codesourcery.com>
13474
13475 [BZ #16770]
13476 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13477 too large before casting to int.
13478 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13479 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13480 * math/libm-test.inc (scalb_test_data): Add more tests.
13481
cf806aff
SP
134822014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13483
56737508
SP
13484 * benchtests/Makefile (DETAILED_OPT): New make option.
13485 (bench-func): Run benchmark program with -d if DETAILED_OPT is
13486 set.
13487 * benchtests/bench-skeleton.c: Include stdbool.h.
13488 (main): Store and print timings per input.
13489 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13490 member to each argument value.
13491 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13492 (_print_arg_data): Initialize per-input timing to 0.
13493
cb5e4aad
SP
13494 * benchtests/Makefile (timing-type): New binary.
13495 (bench-clean): Also remove bench-timing-type.
13496 (bench): New target for timing-type.
13497 (bench-func): Print output in JSON format.
13498 * benchtests/bench-skeleton.c (main): Print output in JSON
13499 format.
13500 * benchtests/bench-timing-type.c: New file.
13501 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13502 (TIMING_PRINT_STATS): Remove.
13503 * benchtests/scripts/bench.py (_print_arg_data): Store variant
13504 name separately.
13505
cf806aff
SP
13506 * benchtests/bench-modf.c: Remove.
13507 * benchtests/modf-inputs: New inputs file.
13508
289e0779
JM
135092014-03-28 Joseph Myers <joseph@codesourcery.com>
13510
13511 [BZ #16362]
13512 * math/s_clog10.c (M_PI_LOG10E): New macro.
13513 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13514 imaginary parts are 0.
13515 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13516 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13517 imaginary parts are 0.
13518 * math/s_clog10l.c (M_PI_LOG10El): New macro.
13519 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13520 imaginary parts are 0.
13521 * math/libm-test.inc (clog10_test_data): Update expected results
13522 for when real and imaginary parts are 0.
13523
277ae3f1
PP
135242014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
13525
13526 * elf/dl-load.c: Finish conversion of __builtin_expect into
13527 __glibc_{un}likely.
13528
03a7091f
JM
135292014-03-27 Joseph Myers <joseph@codesourcery.com>
13530
13531 [BZ #16348]
13532 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13533 1+x for argument with exponent below -67.
13534 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13535 Likewise.
13536 * math/auto-libm-test-in: Add more tests of exp.
13537 * math/auto-libm-test-out: Regenerated.
13538
ea7d8b95
SP
135392014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13540
dd3022d7
SP
13541 [BZ #16759]
13542 * inet/getnetgrent_r.c (get_nonempty_val): New function.
13543 (nscd_getnetgrent): Use it.
13544
ea7d8b95
SP
13545 [BZ #16760]
13546 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13547 of stpcpy.
13548
df5b85da
AK
135492014-03-27 Andi Kleen <ak@linux.intel.com>
13550
57f41c40
AS
13551 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13552 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13553 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13554 (lll_robust_unlock): Remove out of line section. Use cfi
13555 intrinsics.
df5b85da 13556 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
13557 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13558 (lll_robust_lock, lll_cond_lock, lll_timedlock)
13559 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13560 (lll_robust_unlock): Remove out of line section. Use cfi
13561 intrinsics.
df5b85da
AK
13562 (LLL_STUB_UNWIND_INFO*): Remove.
13563
fbd6b5a4
SP
135642014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13565
13566 [BZ #16758]
13567 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13568 blank values.
13569
1b26b855
PP
135702014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
13571
13572 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13573
9be36fb8
JM
135742014-03-26 Joseph Myers <joseph@codesourcery.com>
13575
13576 [BZ #16198]
13577 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13578 fnstenv.
13579 * math/test-fenv-preserve.c: New file.
13580 * math/Makefile (tests): Add test-fenv-preserve.
13581
60a2f3c1
WN
135822014-03-26 Will Newton <will.newton@linaro.org>
13583
13584 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13585
a5e5f1e2
RM
135862014-03-25 Roland McGrath <roland@hack.frob.com>
13587
13588 * scripts/versionlist.awk: Partition the version sets and emit all
13589 GLIBC_* (sorted) before all others (sorted).
13590
00f4012a
JM
135912014-03-25 Joseph Myers <joseph@codesourcery.com>
13592
13593 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13594 GLIBC_2.2.5 version.
13595
7bc5a741
AZ
135962014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13597
13598 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13599 calls.
13600
7578473b
AZ
13601 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13602 previous change.
13603
f3f1dab3
AZ
13604 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13605
6da36183
AS
136062014-03-25 Andreas Schwab <schwab@suse.de>
13607
13608 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13609 label to be used after in6ailist is initialized.
13610
f3f1dab3 136112014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 13612
7578473b 13613 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
13614 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13615
046651c1
JM
136162014-03-25 Joseph Myers <joseph@codesourcery.com>
13617
13618 [BZ #16357]
13619 [BZ #16599]
13620 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13621 min_plus_half.
13622 (fp_formats): Update initializers.
13623 (init_fp_formats): Initialize new field.
13624 (output_for_one_input_case): Allow underflow for results up to
13625 min_plus_half.
13626 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13627 * math/auto-libm-test-in: Don't mark some underflows from asin and
13628 atanh as spurious.
13629 * math/auto-libm-test-out: Regenerated.
13630 * sysdeps/i386/fpu/libm-test-ulps: Update.
13631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13632
003e49ed
AS
136332014-03-25 Andreas Schwab <schwab@suse.de>
13634
13635 * libio/Makefile (tst-ftell-partial-wide-ENV)
13636 (tst-ftell-active-handler-ENV): Define.
13637
de031874
SL
136382014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13639
13640 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13641
55a81e3b
PP
136422014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13643
13644 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13645
f3426898
JM
136462014-03-24 Joseph Myers <joseph@codesourcery.com>
13647
13648 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13649 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13650 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13651
a42faf59
PP
136522014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13653
13654 [BZ #16634]
a42faf59 13655 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
13656 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13657 (open_path): Change from boolean 'secure' to complete flag 'mode'
13658 (_dl_map_object): Adjust.
a42faf59
PP
13659 * elf/Makefile (tests): Add tst-dlopen-aout.
13660 * elf/tst-dlopen-aout.c: New test.
13661
50936127
SL
136622014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13663
13664 [BZ #16714]
13665 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13666 (struct stat): Rename member pad0 to __glibc_reserved0.
13667
26011b5c
SL
13668 [BZ #16712]
13669 * sysdeps/s390/s390-32/bits/wordsize.h
13670 (__WORDSIZE32_SIZE_ULONG): New define.
13671 * sysdeps/s390/s390-64/bits/wordsize.h
13672 (__WORDSIZE32_SIZE_ULONG): Likewise.
13673 * sysdeps/generic/stdint.h (SIZE_MAX):
13674 Define as UL if __WORDSIZE32_SIZE_ULONG.
13675
a2d86bf1
SL
13676 [BZ #16713]
13677 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13678 (__glibc_reserved0): New variable.
13679 (sa_flags): Change type to int.
13680
78b6eebc
SL
13681 * posix/Makefile (before-compile): Use += before-compile instead
13682 of a :=.
13683
f1399b5a
SL
13684 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13685 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13686
a071766e
AS
136872014-03-20 Andreas Schwab <schwab@suse.de>
13688
13689 [BZ #16743]
13690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13691 non-matching result from nscd.
13692
27c673b8
SP
136932014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13694
13695 * scripts/bench.py: Moved to ...
13696 * benchtests/scripts/bench.py: ... here.
13697 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13698
44152e4b
AS
136992014-03-24 Andreas Schwab <schwab@suse.de>
13700
13701 [BZ #16002]
13702 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13703 alloca_account and account alloca use for struct in6ailist.
13704
b376a11a
JM
137052014-03-24 Joseph Myers <joseph@codesourcery.com>
13706
13707 [BZ #16284]
13708 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13709 rounding mode to recompute results that overflow to infinity or
13710 underflow to zero.
13711 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13712 bug 16284.
13713 * math/auto-libm-test-out: Regenerated.
13714 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13715 (ccosh_test): Likewise.
13716 (csin_test_data): Use plus_oflow.
13717 (csin_test): Use ALL_RM_TEST.
13718 (csinh_test_data): Use plus_oflow.
13719 (csinh_test): Use ALL_RM_TEST.
13720 * sysdeps/i386/fpu/libm-test-ulps: Update.
13721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13722
f7be7376
JM
137232014-03-21 Joseph Myers <joseph@codesourcery.com>
13724
1ca2d03e
JM
13725 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13726 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13727 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13728
f7be7376
JM
13729 [BZ #16731]
13730 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13731 when x - 1 is zero.
13732 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13733 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13734 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13736 argument is 1.
13737 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13738 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13739 zero.
13740 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13741 * sysdeps/i386/fpu/libm-test-ulps: Update.
13742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13743
fdf4534d
SP
137442014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13745
df26ea53
SP
13746 * scripts/bench.pl: Remove file.
13747 * scripts/bench.py: New benchmark script.
13748 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13749 * benchtests/README: Mention python dependency.
13750 * scripts/pylintrc: New file.
13751 * scripts/pylint: New file.
13752
fdf4534d
SP
13753 * bits/mathdef.h: Use #ifdef instead of #if.
13754 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13755 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13756 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13757 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13758 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13759 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13760
6f23d093
AZ
137612014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13762 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13763
13764 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13765 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13766 and strpbrk-ppc64 objects.
13767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13768 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13769 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13770 multiarch strpbrk for POWER7.
13771 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13772 multiarch strpbrk for PPC64.
13773 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13774 ifunc selector.
13775 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13776 strpbrk for POWER7.
13777
8c92dfff
JM
137782014-03-20 Joseph Myers <joseph@codesourcery.com>
13779
13780 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13781 (atan_test): Likewise.
13782 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13783 (atanh_test): Use ALL_RM_TEST.
13784 (atan2_test_data): Likewise.
13785 (cabs_test): Likewise.
13786 (cacosh_test): Likewise.
13787 (carg_test): Likewise.
13788 (casin_test): Likewise.
13789 (casinh_test): Likewise.
13790 (cbrt_test): Likewise.
13791 (csqrt_test): Likewise.
13792 (erf_test): Likewise.
13793 (erfc_test): Likewise.
13794 (pow10_test): Likewise.
13795 (exp2_test): Likewise.
13796 (hypot_test): Likewise.
13797 (j0_test): Likewise.
13798 (j1_test): Likewise.
13799 (lgamma_test): Likewise.
13800 (gamma_test): Likewise.
13801 (sincos_test): Likewise.
13802 (tanh_test): Likewise.
13803 (y0_test): Likewise.
13804 (y1_test): Likewise.
13805 * sysdeps/i386/fpu/libm-test-ulps: Update.
13806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13807
6eaf95cb
AZ
138082014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13809
a387428c
SP
13810 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
13812 and strcspn-ppc64 objects.
13813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13814 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13815 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13816 multiarch strcspn for POWER7.
13817 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13818 multiarch strcspn for PPC64.
13819 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13820 ifunc selector.
13821 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13822 strcspn for POWER7.
13823
ae3a5dff
JM
138242014-03-20 Joseph Myers <joseph@codesourcery.com>
13825
13826 * math/gen-libm-test.pl (generate_testfile): Expect only function
13827 name as argument to AUTO_TESTS_* and pass results for all rounding
13828 modes to parse_args.
13829 (parse_auto_input): Separate inputs of automatic tests from
13830 outputs before storing in %auto_tests.
13831 * math/libm-test.inc (acos_test_data): Update call to
13832 AUTO_TESTS_f_f.
13833 (acos_test): Use ALL_RM_TEST.
13834 (acos_tonearest_test_data): Remove.
13835 (acos_test_tonearest): Likewise.
13836 (acos_towardzero_test_data): Likewise.
13837 (acos_test_towardzero): Likewise.
13838 (acos_downward_test_data): Likewise.
13839 (acos_test_downward): Likewise.
13840 (acos_upward_test_data): Likewise.
13841 (acos_test_upward): Likewise.
13842 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13843 (asin_test_data): Likewise.
13844 (asin_test): Use ALL_RM_TEST.
13845 (asin_tonearest_test_data): Remove.
13846 (asin_test_tonearest): Likewise.
13847 (asin_towardzero_test_data): Likewise.
13848 (asin_test_towardzero): Likewise.
13849 (asin_downward_test_data): Likewise.
13850 (asin_test_downward): Likewise.
13851 (asin_upward_test_data): Likewise.
13852 (asin_test_upward): Likewise.
13853 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13854 (atan_test_data): Likewise.
13855 (atanh_test_data): Likewise.
13856 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13857 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13858 (carg_test_data): Likewise.
13859 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13860 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13861 (ccosh_test_data): Likewise.
13862 (cexp_test_data): Likewise.
13863 (clog_test_data): Likewise.
13864 (clog10_test_data): Likewise.
13865 (cos_test_data): Update call to AUTO_TESTS_f_f.
13866 (cos_test): Use ALL_RM_TEST.
13867 (cos_tonearest_test_data): Remove.
13868 (cos_test_tonearest): Likewise.
13869 (cos_towardzero_test_data): Likewise.
13870 (cos_test_towardzero): Likewise.
13871 (cos_downward_test_data): Likewise.
13872 (cos_test_downward): Likewise.
13873 (cos_upward_test_data): Likewise.
13874 (cos_test_upward): Likewise.
13875 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13876 (cosh_test): Use ALL_RM_TEST.
13877 (cosh_tonearest_test_data): Remove.
13878 (cosh_test_tonearest): Likewise.
13879 (cosh_towardzero_test_data): Likewise.
13880 (cosh_test_towardzero): Likewise.
13881 (cosh_downward_test_data): Likewise.
13882 (cosh_test_downward): Likewise.
13883 (cosh_upward_test_data): Likewise.
13884 (cosh_test_upward): Likewise.
13885 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13886 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13887 (ctan_test_data): Likewise.
13888 (ctan_test): Use ALL_RM_TEST.
13889 (ctan_tonearest_test_data): Remove.
13890 (ctan_test_tonearest): Likewise.
13891 (ctan_towardzero_test_data): Likewise.
13892 (ctan_test_towardzero): Likewise.
13893 (ctan_downward_test_data): Likewise.
13894 (ctan_test_downward): Likewise.
13895 (ctan_upward_test_data): Likewise.
13896 (ctan_test_upward): Likewise.
13897 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13898 (ctanh_test): Use ALL_RM_TEST.
13899 (ctanh_tonearest_test_data): Remove.
13900 (ctanh_test_tonearest): Likewise.
13901 (ctanh_towardzero_test_data): Likewise.
13902 (ctanh_test_towardzero): Likewise.
13903 (ctanh_downward_test_data): Likewise.
13904 (ctanh_test_downward): Likewise.
13905 (ctanh_upward_test_data): Likewise.
13906 (ctanh_test_upward): Likewise.
13907 (erf_test_data): Update call to AUTO_TESTS_f_f.
13908 (erfc_test_data): Likewise.
13909 (exp_test_data): Likewise.
13910 (exp_test): Use ALL_RM_TEST.
13911 (exp_tonearest_test_data): Remove.
13912 (exp_test_tonearest): Likewise.
13913 (exp_towardzero_test_data): Likewise.
13914 (exp_test_towardzero): Likewise.
13915 (exp_downward_test_data): Likewise.
13916 (exp_test_downward): Likewise.
13917 (exp_upward_test_data): Likewise.
13918 (exp_test_upward): Likewise.
13919 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13920 (exp10_test): Use ALL_RM_TEST.
13921 (exp10_tonearest_test_data): Remove.
13922 (exp10_test_tonearest): Likewise.
13923 (exp10_towardzero_test_data): Likewise.
13924 (exp10_test_towardzero): Likewise.
13925 (exp10_downward_test_data): Likewise.
13926 (exp10_test_downward): Likewise.
13927 (exp10_upward_test_data): Likewise.
13928 (exp10_test_upward): Likewise.
13929 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13930 (expm1_test_data): Likewise.
13931 (expm1_test): Use ALL_RM_TEST.
13932 (expm1_tonearest_test_data): Remove.
13933 (expm1_test_tonearest): Likewise.
13934 (expm1_towardzero_test_data): Likewise.
13935 (expm1_test_towardzero): Likewise.
13936 (expm1_downward_test_data): Likewise.
13937 (expm1_test_downward): Likewise.
13938 (expm1_upward_test_data): Likewise.
13939 (expm1_test_upward): Likewise.
13940 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13941 (fma_test): Use ALL_RM_TEST.
13942 (fma_towardzero_test_data): Remove.
13943 (fma_test_towardzero): Likewise.
13944 (fma_downward_test_data): Likewise.
13945 (fma_test_downward): Likewise.
13946 (fma_upward_test_data): Likewise.
13947 (fma_test_upward): Likewise.
13948 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13949 (j0_test_data): Update call to AUTO_TESTS_f_f.
13950 (j1_test_data): Likewise.
13951 (jn_test_data): Update call to AUTO_TESTS_if_f.
13952 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13953 (log_test_data): Update call to AUTO_TESTS_f_f.
13954 (log10_test_data): Likewise.
13955 (log1p_test_data): Likewise.
13956 (log2_test_data): Likewise.
13957 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13958 (pow_tonearest_test_data): Likewise.
13959 (sin_test_data): Update call to AUTO_TESTS_f_f.
13960 (sin_test): Use ALL_RM_TEST.
13961 (sin_tonearest_test_data): Remove.
13962 (sin_test_tonearest): Likewise.
13963 (sin_towardzero_test_data): Likewise.
13964 (sin_test_towardzero): Likewise.
13965 (sin_downward_test_data): Likewise.
13966 (sin_test_downward): Likewise.
13967 (sin_upward_test_data): Likewise.
13968 (sin_test_upward): Likewise.
13969 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13970 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13971 (sinh_test): Use ALL_RM_TEST.
13972 (sinh_tonearest_test_data): Remove.
13973 (sinh_test_tonearest): Likewise.
13974 (sinh_towardzero_test_data): Likewise.
13975 (sinh_test_towardzero): Likewise.
13976 (sinh_downward_test_data): Likewise.
13977 (sinh_test_downward): Likewise.
13978 (sinh_upward_test_data): Likewise.
13979 (sinh_test_upward): Likewise.
13980 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13981 (sqrt_test): Use ALL_RM_TEST.
13982 (sqrt_tonearest_test_data): Remove.
13983 (sqrt_test_tonearest): Likewise.
13984 (sqrt_towardzero_test_data): Likewise.
13985 (sqrt_test_towardzero): Likewise.
13986 (sqrt_downward_test_data): Likewise.
13987 (sqrt_test_downward): Likewise.
13988 (sqrt_upward_test_data): Likewise.
13989 (sqrt_test_upward): Likewise.
13990 (tan_test_data): Update call to AUTO_TESTS_f_f.
13991 (tan_test): Use ALL_RM_TEST.
13992 (tan_tonearest_test_data): Remove.
13993 (tan_test_tonearest): Likewise.
13994 (tan_towardzero_test_data): Likewise.
13995 (tan_test_towardzero): Likewise.
13996 (tan_downward_test_data): Likewise.
13997 (tan_test_downward): Likewise.
13998 (tan_upward_test_data): Likewise.
13999 (tan_test_upward): Likewise.
14000 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14001 (tgamma_test_data): Likewise.
14002 (y0_test_data): Likewise.
14003 (y1_test_data): Likewise.
14004 (yn_test_data): Update call to AUTO_TESTS_if_f.
14005 (main): Do not call removed functions.
14006
d71aeee8
JM
140072014-03-19 Joseph Myers <joseph@codesourcery.com>
14008
14009 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14010 (ldexp_test_data): Remove.
14011 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14012 scalbn_test_data.
14013 (scalb_test): Use ALL_RM_TEST.
14014
baaf1ded
AS
140152014-03-19 Andreas Schwab <schwab@suse.de>
14016
14017 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14018
b1115e91
JM
140192014-03-19 Joseph Myers <joseph@codesourcery.com>
14020
14021 [BZ #16649]
14022 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14023 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14024 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14026 (__ASSUME_PREADV): Undefine.
14027 (__ASSUME_PWRITEV): Likewise.
14028
0283ecca
RM
140292014-03-18 Roland McGrath <roland@hack.frob.com>
14030
7d375303
RM
14031 * bits/mman-linux.h: Add comment about non-Linux use.
14032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14033 bits/mman-linux.h resting place.
14034
0283ecca
RM
14035 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14036 * bits/mman-linux.h: ... here.
14037
aebe1003
AZ
140382014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14039
14040 * conform/conformtest.pl: Add standard definition when calling C
14041 preprocessor on data files.
14042 (checknamespace): Remove unused variable.
14043
b29b6bb8
JM
140442014-03-18 Joseph Myers <joseph@codesourcery.com>
14045
14046 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14047 minus_oflow, plus_uflow and minus_uflow in expected results.
14048 * math/libm-test.inc (scalbn_test_data): Add more tests of
14049 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14050 minus_uflow.
14051 (scalbn_test): Use ALL_RM_TEST.
14052 (scalbln_test_data): Add more tests of negative arguments. Use
14053 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14054 (scalbln_test): Use ALL_RM_TEST.
14055
c8f8fa15
RM
140562014-03-18 Roland McGrath <roland@hack.frob.com>
14057
14058 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14059
fede7a5f
WN
140602014-03-18 Will Newton <will.newton@linaro.org>
14061
14062 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14063 inaccurate comment.
14064
80cf0a58
JM
140652014-03-18 Joseph Myers <joseph@codesourcery.com>
14066
14067 * Makerules [!subdir] (check-abi): Exit with error status if a
14068 test failed.
14069
b3620862
JM
140702014-03-17 Joseph Myers <joseph@codesourcery.com>
14071
14072 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14073 for rint. Include results for all rounding modes.
14074 (nearbyint_test): Use ALL_RM_TEST.
14075 (rint_test_data): Include all tests used for nearbyint.
14076
788bba36
WN
140772014-03-17 Will Newton <will.newton@linaro.org>
14078
04ec140a
WN
14079 * nptl/sysdeps/pthread/pthread.h: Revert previous
14080 change.
14081
7579d8d5
WN
14082 * sysdeps/generic/ldsodefs.h: Revert previous
14083 change.
14084
c15cf13a
WN
14085 * libio/genops.c: Revert previous change.
14086 * libio/libioP.h: Likewise.
14087 * stdio-common/vfprintf.c: Likewise.
14088
d0ac1324
WN
14089 * sysdeps/generic/math_private.h: Revert previous
14090 change.
14091
9290130a
WN
14092 * sysdeps/generic/math_private.h: Check whether
14093 HAVE_RM_CTX is defined with #ifdef rather
14094 than #if.
14095
afb466fc
WN
14096 * argp/argp-fmtstream.h: Check whether
14097 __STRICT_ANSI__ is defined with #ifdef rather
14098 than #if.
14099 * argp/argp.h: Likewise.
14100
f7efd7c3
WN
14101 * libio/genops.c: Check whether
14102 _IO_JUMPS_OFFSET is defined with #ifdef rather
14103 than #if.
14104 * libio/libioP.h: Likewise.
14105 * stdio-common/vfprintf.c: Likewise.
14106
53f1bed3
WN
14107 * sysdeps/generic/ldsodefs.h: Check whether
14108 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14109 than #if.
14110
788bba36
WN
14111 * nptl/sysdeps/pthread/pthread.h: Check
14112 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14113 its value.
14114
fcd89ebe
SP
141152014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14116
ae42bbc5
SP
14117 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14118 setting O_APPEND.
14119 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14120 test case.
14121
ea33158c
SP
14122 [BZ #16680]
14123 * libio/fileops.c (_IO_file_open): Seek to end of file but
14124 don't cache the offset.
14125 (get_file_offset): Remove function.
14126 (do_ftell): Use cached offset when available.
14127 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14128 don't cache the offset.
14129 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14130 case.
14131 (do_one_test): Call it.
14132 (do_ftell_test): Fix up expected old offset for a+ mode.
14133 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14134 available.
14135
b1dbb426
SP
14136 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14137 up test status with function return status.
14138 (do_write_test): Likewise.
14139 (do_append_test): Likewise.
14140
fcd89ebe
SP
14141 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14142 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14143 Remove.
14144
9962a2d3
JM
141452014-03-17 Joseph Myers <joseph@codesourcery.com>
14146
14147 * math/gen-libm-test.pl (parse_args): Handle results specified for
14148 each rounding mode separately.
14149 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14150 tests and results from lrint_tonearest_test_data,
14151 lrint_towardzero_test_data, lrint_downward_test_data and
14152 lrint_upward_test_data.
14153 (lrint_test): Use ALL_RM_TEST.
14154 (lrint_tonearest_test_data): Remove.
14155 (lrint_test_tonearest): Likewise.
14156 (lrint_towardzero_test_data): Likewise.
14157 (lrint_test_towardzero): Likewise.
14158 (lrint_downward_test_data): Likewise.
14159 (lrint_test_downward): Likewise.
14160 (lrint_upward_test_data): Likewise.
14161 (lrint_test_upward): Likewise.
14162 (llrint_test_data): Merge in per-rounding-mode tests and results
14163 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14164 llrint_downward_test_data and llrint_upward_test_data.
14165 (llrint_test): Use ALL_RM_TEST.
14166 (llrint_tonearest_test_data): Remove.
14167 (llrint_test_tonearest): Likewise.
14168 (llrint_towardzero_test_data): Likewise.
14169 (llrint_test_towardzero): Likewise.
14170 (llrint_downward_test_data): Likewise.
14171 (llrint_test_downward): Likewise.
14172 (llrint_upward_test_data): Likewise.
14173 (llrint_test_upward): Likewise.
14174 (rint_test_data): Merge in per-rounding-mode tests and results
14175 from rint_tonearest_test_data, rint_towardzero_test_data,
14176 rint_downward_test_data and rint_upward_test_data. Add
14177 per-rounding-mode results for tests not in those arrays.
14178 (rint_test): Use ALL_RM_TEST.
14179 (rint_tonearest_test_data): Remove.
14180 (rint_test_tonearest): Likewise.
14181 (rint_towardzero_test_data): Likewise.
14182 (rint_test_towardzero): Likewise.
14183 (rint_downward_test_data): Likewise.
14184 (rint_test_downward): Likewise.
14185 (rint_upward_test_data): Likewise.
14186 (rint_test_upward): Likewise.
14187 (main): Don't call removed functions.
14188
5006148e
RM
141892014-03-14 Roland McGrath <roland@hack.frob.com>
14190
14191 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14192 "Compiled on ..." crapola. It is anti-useful.
14193
d6fe5e58
JM
141942014-03-14 Joseph Myers <joseph@codesourcery.com>
14195
14196 * scripts/evaluate-test.sh: Handle fourth argument to determine
14197 whether test run should stop on failure.
14198 * Makeconfig (stop-on-test-failure): New variable.
14199 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14200 $(stop-on-test-failure).
14201 * Makefile (tests): Give a summary of results from testing and
14202 exit with failure status if they include an ERROR or FAIL.
14203 (xtests): Likewise.
14204 * manual/install.texi (Configuring and compiling): Mention
14205 stop-on-test-failure=y.
14206 * INSTALL: Regenerated.
14207
498a2233
RM
142082014-03-14 Roland McGrath <roland@hack.frob.com>
14209
22dbc19d
RM
14210 * scripts/versionlist.awk: New file.
14211 * Makerules [$(build-shared) = yes]
14212 (postclean-generated): Add Versions.def, not Versions.def.v and
14213 Versions.def.v.i.
14214 ($(common-objpfx)Versions.def.v.i): Target removed.
14215 ($(common-objpfx)Versions.def): New target.
14216 ($(common-objpfx)Versions.all): Depend on that rather that
14217 $(common-objpfx)Versions.def.v.
14218 * Versions.def: File removed.
14219
498a2233
RM
14220 * Makeconfig (+gccwarn): Add -Wundef.
14221 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14222 a dl-sysdep.h breaking its contract.
14223 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14224 * include/stackinfo.h: New file.
14225 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14226 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14227 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14228 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14229 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14230 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14231 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14232 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14233 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14234 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14235 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14236 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14237 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14238 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14239 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14240
c7de5025
AZ
142412014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14242
14243 [BZ #16707]
14244 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14245 implementation.
14246 * math/libm-test.inc (round_test_data): Add more tests.
14247
98fb27a3
AZ
14248 [BZ #16706]
14249 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14250 implementation.
14251 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14252
374f7f61
AZ
14253 [BZ #16701]
14254 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14255 implementation.
14256 * math/libm-test.inc (ceil_test_data): Add more tests.
14257
4655c291
AZ
14258 * math/libm-test.inc (trunc_test_data): Add more tests related to
14259 BZ#16414.
14260
d7329d4b
RM
142612014-03-14 Roland McGrath <roland@hack.frob.com>
14262
14263 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14264 with #if rather than #ifdef.
14265 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14266
aa4de9ce
L
142672014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14268
14269 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14270 first. Disable AVX-512 GCC support if assembler doesn't support
14271 it.
14272 * sysdeps/x86_64/configure: Regenerated.
14273
2e03fae7
CD
142742014-03-13 Carlos O'Donell <carlos@redhat.com>
14275
14276 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14277 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14278 (__old_pthread_attr_setstack): Likewise.
14279 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14280 [!_STACK_GROWS_DOWN]: Likewise.
14281
43ca83ec
MF
142822014-03-13 Mike Frysinger <vapier@gentoo.org>
14283
14284 * config.make.in (have-bash2): Delete.
14285 * configure.ac (libc_cv_have_bash2): Delete.
14286 * configure: Regenerate.
14287 * elf/Makefile (common-ldd-rewrite): Rename to ...
14288 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14289 (sh-ldd-rewrite): Delete.
14290 (bash-ldd-rewrite): Delete.
14291 (have-bash2): Delete checks.
57f41c40
AS
14292 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14293 ldd-rewrite.
c66e48b4
MF
14294
14295 * config.make.in (have-ksh): Delete.
14296 (KSH): Delete.
14297 * configure.ac (libc_cv_have_ksh): Delete.
14298 * configure: Regenerate.
14299
b93834ef
MF
14300 * elf/Makefile: Delete $(have-ksh) check.
14301 ($(objpfx)sotruss): Change KSH to BASH.
14302 * elf/sotruss.ksh: Rename to ...
14303 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14304 function style to match POSIX. Drop ksh vim mode setting.
14305
f3a4632a
MF
14306 * manual/time.texi (Specifying the Time Zone with TZ): Change
14307 Tuesday to Thursday.
14308
5896c8bd
MF
14309 * debug/tst-longjmp_chk2.c: Update header comment.
14310 (stackoverflow_handler): Add comment. Call assert on pass value.
14311
2d63a517
IZ
143122014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14313
7e54fd04 14314 [BZ #16194]
2d63a517
IZ
14315 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14316 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14317 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14318 (La_x86_64_vector): Add zmm.
14319 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14320 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14321 ($(objpfx)tst-audit10): New target.
14322 ($(objpfx)tst-audit10.out): Likewise.
14323 (tst-audit10-ENV): New.
14324 (AVX512-CFLAGS): Likewise.
14325 (CFLAGS-tst-audit10.c): Likewise.
14326 (CFLAGS-tst-auditmod10a.c): Likewise.
14327 (CFLAGS-tst-auditmod10b.c): Likewise.
14328 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14329 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14330 * sysdeps/x86_64/configure: Regenerated.
14331 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14332 AVX-512 zmm register support.
14333 (_dl_x86_64_save_sse): Likewise.
14334 (_dl_x86_64_restore_sse): Likewise.
14335 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14336 size vector registers.
14337 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14338 (ZMM_SIZE): Likewise.
14339 * sysdeps/x86_64/tst-audit10.c: New file.
14340 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14341 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14342
44c4e5d5
RM
143432014-03-13 Roland McGrath <roland@hack.frob.com>
14344
14345 * configure.ac (HAVE_EHDR_START): New check.
14346 * configure: Regenerated.
14347 * config.h.in (HAVE_EHDR_START): New #undef.
14348 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14349 assuming the lowest-addressed segment maps the start of the file.
14350
acd6e389
JM
143512014-03-13 Joseph Myers <joseph@codesourcery.com>
14352
14353 * INSTALL: Regenerated.
14354
6f918f36
WN
143552014-03-13 Will Newton <will.newton@linaro.org>
14356
14357 * manual/setjmp.texi (System V contexts): Improve
14358 clarity and grammar of documentation.
14359
798212a0
PP
143602014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14361
14362 [BZ #16381]
798212a0 14363 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14364 (tests-pie): Add tst-pie2.
798212a0
PP
14365 * elf/tst-pie2.c: New file.
14366 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14367 for ET_EXEC.
14368 * elf/rtld.c (map_doit): Load executable as lt_executable.
14369 (dl_main): Likewise.
14370
abe6d90c
JM
143712014-03-12 Joseph Myers <joseph@codesourcery.com>
14372
14373 [BZ #16642]
14374 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14375 (__ASSUME_PSELECT): Undefine.
14376
dd3946c6
AZ
143772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14378
14379 [BZ #16689]
14380 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14381 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14382 static build.
14383 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14384 selector for static builds.
14385
c44496df
SP
143862014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14387
14388 [BZ #16695]
14389 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14390 key in the buffer.
14391
27c7220a
AZ
143922014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14393
57f41c40
AS
14394 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14395 IFUNC selector for static builds.
27c7220a 14396
600fa361
JM
143972014-03-11 Joseph Myers <joseph@codesourcery.com>
14398
76c96cf7
JM
14399 * sysdeps/mips/math_private.h [__mips_hard_float]
14400 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14401 libc_feresetround_mips_ctx.
14402 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14403 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14404 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14405
600fa361
JM
14406 [BZ #16677]
14407 * math/s_nextafter.c (__nextafter): Do not return value from
14408 overflowing computation.
14409 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14410 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14411 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14412 Likewise.
14413 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14414 Likewise.
14415 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14416 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14417
d7706c32
RM
144182014-03-11 Roland McGrath <roland@hack.frob.com>
14419
14420 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14421 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14422 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14423 the new mov targetting sp.
14424
4facea47
AZ
144252014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14426
14427 [BZ #16683]
14428 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14429 Define it for static builds as well.
14430 (NO_BZERO_IMPL): Likewise.
14431
e65caf1f
VR
144322014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14433
14434 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14435 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14436 multiarch strspn for PPC64.
14437 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14438 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14439 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14440 (__libc_ifunc_impl_list): Likewise.
14441 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14442 multiarch optimizations
14443 * string/strspn.c (strspn): Using macro to redefine symbol name.
14444
ba9cc071
AZ
144452014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14446 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14447
14448 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14449 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14450 multiarch strncat for PPC64.
14451 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14452 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14453 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14454 (__libc_ifunc_impl_list): Likewise.
14455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14456 multiarch optimizations
14457
8b4ff974
SP
144582014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14459
14460 [BZ #16639]
14461 * nscd/nscd.service: Make service type forking.
14462
54b46a4b
AZ
144632014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14464
14465 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14466 sign in non default rounding modes.
14467 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14468
e9996ef7
JM
144692014-03-08 Joseph Myers <joseph@codesourcery.com>
14470
14471 * math/libm-test.inc (ALL_RM_TEST): New macro.
14472 (ceil_test): Use ALL_RM_TEST.
14473 (cimag_test): Likewise.
14474 (conj_test): Likewise.
14475 (copysign_test): Likewise.
14476 (cproj_test): Likewise.
14477 (creal_test): Likewise.
14478 (fabs_test): Likewise.
14479 (floor_test): Likewise.
14480 (fmax_test): Likewise.
14481 (fmin_test): Likewise.
14482 (fmod_test): Likewise.
14483 (fpclassify_test): Likewise.
14484 (frexp_test): Likewise.
14485 (ilogb_test): Likewise.
14486 (isfinite_test): Likewise.
14487 (finite_test): Likewise.
14488 (isgreater_test): Likewise.
14489 (isgreaterequal_test): Likewise.
14490 (isinf_test): Likewise.
14491 (isless_test): Likewise.
14492 (islessequal_test): Likewise.
14493 (islessgreater_test): Likewise.
14494 (isnan_test): Likewise.
14495 (isnormal_test): Likewise.
14496 (issignaling_test): Likewise.
14497 (isunordered_test): Likewise.
14498 (logb_test): Likewise.
14499 (logb_downward_test_data): Remove.
14500 (logb_test_downward): Likewise.
14501 (lround_test): Use ALL_RM_TEST.
14502 (llround_test): Likewise.
14503 (modf_test): Likewise.
14504 (nexttoward_test): Likewise.
14505 (remainder_test): Likewise.
14506 (drem_test): Likewise.
14507 (remainder_tonearest_test_data): Likewise.
14508 (remainder_test_tonearest): Likewise.
14509 (drem_test_tonearest): Likewise.
14510 (remainder_towardzero_test_data): Likewise.
14511 (remainder_test_towardzero): Likewise.
14512 (drem_test_towardzero): Likewise.
14513 (remainder_downward_test_data): Likewise.
14514 (remainder_test_downward): Likewise.
14515 (drem_test_downward): Likewise.
14516 (remainder_upward_test_data): Likewise.
14517 (remainder_test_upward): Likewise.
14518 (drem_test_upward): Likewise.
14519 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
14520 (round_test): Use ALL_RM_TEST.
14521 (signbit_test): Likewise.
14522 (trunc_test): Likewise.
14523 (significand_test): Likewise.
14524 (main): Don't call removed functions.
14525
bc61d27c
JM
145262014-03-07 Joseph Myers <joseph@codesourcery.com>
14527
5c780849
JM
14528 [BZ #16674]
14529 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14530 || __USE_XOPEN2K8].
14531 (ILL_ILLOPN): Likewise.
14532 (ILL_ILLADR): Likewise.
14533 (ILL_ILLTRP): Likewise.
14534 (ILL_PRVOPC): Likewise.
14535 (ILL_PRVREG): Likewise.
14536 (ILL_COPROC): Likewise.
14537 (ILL_BADSTK): Likewise.
14538 (FPE_INTDIV): Likewise.
14539 (FPE_INTOVF): Likewise.
14540 (FPE_FLTDIV): Likewise.
14541 (FPE_FLTOVF): Likewise.
14542 (FPE_FLTUND): Likewise.
14543 (FPE_FLTRES): Likewise.
14544 (FPE_FLTINV): Likewise.
14545 (FPE_FLTSUB): Likewise.
14546 (SEGV_MAPERR): Likewise.
14547 (SEGV_ACCERR): Likewise.
14548 (BUS_ADRALN): Likewise.
14549 (BUS_ADRERR): Likewise.
14550 (BUS_OBJERR): Likewise.
14551 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14552 (TRAP_TRACE): Likewise.
14553 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14554 __USE_XOPEN2K8].
14555 (CLD_KILLED): Likewise.
14556 (CLD_DUMPED): Likewise.
14557 (CLD_TRAPPED): Likewise.
14558 (CLD_STOPPED): Likewise.
14559 (CLD_CONTINUED): Likewise.
14560 (POLL_IN): Likewise.
14561 (POLL_OUT): Likewise.
14562 (POLL_MSG): Likewise.
14563 (POLL_ERR): Likewise.
14564 (POLL_PRI): Likewise.
14565 (POLL_HUP): Likewise.
14566 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14567 Likewise.
14568 (ILL_ILLOPN): Likewise.
14569 (ILL_ILLADR): Likewise.
14570 (ILL_ILLTRP): Likewise.
14571 (ILL_PRVOPC): Likewise.
14572 (ILL_PRVREG): Likewise.
14573 (ILL_COPROC): Likewise.
14574 (ILL_BADSTK): Likewise.
14575 (FPE_INTDIV): Likewise.
14576 (FPE_INTOVF): Likewise.
14577 (FPE_FLTDIV): Likewise.
14578 (FPE_FLTOVF): Likewise.
14579 (FPE_FLTUND): Likewise.
14580 (FPE_FLTRES): Likewise.
14581 (FPE_FLTINV): Likewise.
14582 (FPE_FLTSUB): Likewise.
14583 (SEGV_MAPERR): Likewise.
14584 (SEGV_ACCERR): Likewise.
14585 (BUS_ADRALN): Likewise.
14586 (BUS_ADRERR): Likewise.
14587 (BUS_OBJERR): Likewise.
14588 (BUS_MCEERR_AR): Likewise.
14589 (BUS_MCEERR_AO): Likewise.
14590 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14591 (TRAP_TRACE): Likewise.
14592 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14593 __USE_XOPEN2K8].
14594 (CLD_KILLED): Likewise.
14595 (CLD_DUMPED): Likewise.
14596 (CLD_TRAPPED): Likewise.
14597 (CLD_STOPPED): Likewise.
14598 (CLD_CONTINUED): Likewise.
14599 (POLL_IN): Likewise.
14600 (POLL_OUT): Likewise.
14601 (POLL_MSG): Likewise.
14602 (POLL_ERR): Likewise.
14603 (POLL_PRI): Likewise.
14604 (POLL_HUP): Likewise.
14605 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14606 (ILL_ILLOPN): Likewise.
14607 (ILL_ILLADR): Likewise.
14608 (ILL_ILLTRP): Likewise.
14609 (ILL_PRVOPC): Likewise.
14610 (ILL_PRVREG): Likewise.
14611 (ILL_COPROC): Likewise.
14612 (ILL_BADSTK): Likewise.
14613 (FPE_INTDIV): Likewise.
14614 (FPE_INTOVF): Likewise.
14615 (FPE_FLTDIV): Likewise.
14616 (FPE_FLTOVF): Likewise.
14617 (FPE_FLTUND): Likewise.
14618 (FPE_FLTRES): Likewise.
14619 (FPE_FLTINV): Likewise.
14620 (FPE_FLTSUB): Likewise.
14621 (SEGV_MAPERR): Likewise.
14622 (SEGV_ACCERR): Likewise.
14623 (BUS_ADRALN): Likewise.
14624 (BUS_ADRERR): Likewise.
14625 (BUS_OBJERR): Likewise.
14626 (BUS_MCEERR_AR): Likewise.
14627 (BUS_MCEERR_AO): Likewise.
14628 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14629 (TRAP_TRACE): Likewise.
14630 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14631 __USE_XOPEN2K8].
14632 (CLD_KILLED): Likewise.
14633 (CLD_DUMPED): Likewise.
14634 (CLD_TRAPPED): Likewise.
14635 (CLD_STOPPED): Likewise.
14636 (CLD_CONTINUED): Likewise.
14637 (POLL_IN): Likewise.
14638 (POLL_OUT): Likewise.
14639 (POLL_MSG): Likewise.
14640 (POLL_ERR): Likewise.
14641 (POLL_PRI): Likewise.
14642 (POLL_HUP): Likewise.
14643 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14644 Likewise.
14645 (ILL_ILLOPN): Likewise.
14646 (ILL_ILLADR): Likewise.
14647 (ILL_ILLTRP): Likewise.
14648 (ILL_PRVOPC): Likewise.
14649 (ILL_PRVREG): Likewise.
14650 (ILL_COPROC): Likewise.
14651 (ILL_BADSTK): Likewise.
14652 (ILL_BADIADDR): Likewise.
14653 (ILL_BREAK): Likewise.
14654 (FPE_INTDIV): Likewise.
14655 (FPE_INTOVF): Likewise.
14656 (FPE_FLTDIV): Likewise.
14657 (FPE_FLTOVF): Likewise.
14658 (FPE_FLTUND): Likewise.
14659 (FPE_FLTRES): Likewise.
14660 (FPE_FLTINV): Likewise.
14661 (FPE_FLTSUB): Likewise.
14662 (FPE_DECOVF): Likewise.
14663 (FPE_DECDIV): Likewise.
14664 (FPE_DECERR): Likewise.
14665 (FPE_INVASC): Likewise.
14666 (FPE_INVDEC): Likewise.
14667 (SEGV_MAPERR): Likewise.
14668 (SEGV_ACCERR): Likewise.
14669 (SEGV_PSTKOVF): Likewise.
14670 (BUS_ADRALN): Likewise.
14671 (BUS_ADRERR): Likewise.
14672 (BUS_OBJERR): Likewise.
14673 (BUS_MCEERR_AR): Likewise.
14674 (BUS_MCEERR_AO): Likewise.
14675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14676 (TRAP_TRACE): Likewise.
14677 (TRAP_BRANCH): Likewise.
14678 (TRAP_HWBKPT): Likewise.
14679 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14680 __USE_XOPEN2K8].
14681 (CLD_KILLED): Likewise.
14682 (CLD_DUMPED): Likewise.
14683 (CLD_TRAPPED): Likewise.
14684 (CLD_STOPPED): Likewise.
14685 (CLD_CONTINUED): Likewise.
14686 (POLL_IN): Likewise.
14687 (POLL_OUT): Likewise.
14688 (POLL_MSG): Likewise.
14689 (POLL_ERR): Likewise.
14690 (POLL_PRI): Likewise.
14691 (POLL_HUP): Likewise.
14692 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14693 (ILL_ILLOPN): Likewise.
14694 (ILL_ILLADR): Likewise.
14695 (ILL_ILLTRP): Likewise.
14696 (ILL_PRVOPC): Likewise.
14697 (ILL_PRVREG): Likewise.
14698 (ILL_COPROC): Likewise.
14699 (ILL_BADSTK): Likewise.
14700 (FPE_INTDIV): Likewise.
14701 (FPE_INTOVF): Likewise.
14702 (FPE_FLTDIV): Likewise.
14703 (FPE_FLTOVF): Likewise.
14704 (FPE_FLTUND): Likewise.
14705 (FPE_FLTRES): Likewise.
14706 (FPE_FLTINV): Likewise.
14707 (FPE_FLTSUB): Likewise.
14708 (SEGV_MAPERR): Likewise.
14709 (SEGV_ACCERR): Likewise.
14710 (BUS_ADRALN): Likewise.
14711 (BUS_ADRERR): Likewise.
14712 (BUS_OBJERR): Likewise.
14713 (BUS_MCEERR_AR): Likewise.
14714 (BUS_MCEERR_AO): Likewise.
14715 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14716 (TRAP_TRACE): Likewise.
14717 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14718 __USE_XOPEN2K8].
14719 (CLD_KILLED): Likewise.
14720 (CLD_DUMPED): Likewise.
14721 (CLD_TRAPPED): Likewise.
14722 (CLD_STOPPED): Likewise.
14723 (CLD_CONTINUED): Likewise.
14724 (POLL_IN): Likewise.
14725 (POLL_OUT): Likewise.
14726 (POLL_MSG): Likewise.
14727 (POLL_ERR): Likewise.
14728 (POLL_PRI): Likewise.
14729 (POLL_HUP): Likewise.
14730 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14731 (ILL_ILLOPN): Likewise.
14732 (ILL_ILLADR): Likewise.
14733 (ILL_ILLTRP): Likewise.
14734 (ILL_PRVOPC): Likewise.
14735 (ILL_PRVREG): Likewise.
14736 (ILL_COPROC): Likewise.
14737 (ILL_BADSTK): Likewise.
14738 (FPE_INTDIV): Likewise.
14739 (FPE_INTOVF): Likewise.
14740 (FPE_FLTDIV): Likewise.
14741 (FPE_FLTOVF): Likewise.
14742 (FPE_FLTUND): Likewise.
14743 (FPE_FLTRES): Likewise.
14744 (FPE_FLTINV): Likewise.
14745 (FPE_FLTSUB): Likewise.
14746 (SEGV_MAPERR): Likewise.
14747 (SEGV_ACCERR): Likewise.
14748 (BUS_ADRALN): Likewise.
14749 (BUS_ADRERR): Likewise.
14750 (BUS_OBJERR): Likewise.
14751 (BUS_MCEERR_AR): Likewise.
14752 (BUS_MCEERR_AO): Likewise.
14753 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14754 (TRAP_TRACE): Likewise.
14755 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14756 __USE_XOPEN2K8].
14757 (CLD_KILLED): Likewise.
14758 (CLD_DUMPED): Likewise.
14759 (CLD_TRAPPED): Likewise.
14760 (CLD_STOPPED): Likewise.
14761 (CLD_CONTINUED): Likewise.
14762 (POLL_IN): Likewise.
14763 (POLL_OUT): Likewise.
14764 (POLL_MSG): Likewise.
14765 (POLL_ERR): Likewise.
14766 (POLL_PRI): Likewise.
14767 (POLL_HUP): Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14769 (ILL_ILLOPN): Likewise.
14770 (ILL_ILLADR): Likewise.
14771 (ILL_ILLTRP): Likewise.
14772 (ILL_PRVOPC): Likewise.
14773 (ILL_PRVREG): Likewise.
14774 (ILL_COPROC): Likewise.
14775 (ILL_BADSTK): Likewise.
14776 (FPE_INTDIV): Likewise.
14777 (FPE_INTOVF): Likewise.
14778 (FPE_FLTDIV): Likewise.
14779 (FPE_FLTOVF): Likewise.
14780 (FPE_FLTUND): Likewise.
14781 (FPE_FLTRES): Likewise.
14782 (FPE_FLTINV): Likewise.
14783 (FPE_FLTSUB): Likewise.
14784 (SEGV_MAPERR): Likewise.
14785 (SEGV_ACCERR): Likewise.
14786 (BUS_ADRALN): Likewise.
14787 (BUS_ADRERR): Likewise.
14788 (BUS_OBJERR): Likewise.
14789 (BUS_MCEERR_AR): Likewise.
14790 (BUS_MCEERR_AO): Likewise.
14791 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14792 (TRAP_TRACE): Likewise.
14793 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14794 __USE_XOPEN2K8].
14795 (CLD_KILLED): Likewise.
14796 (CLD_DUMPED): Likewise.
14797 (CLD_TRAPPED): Likewise.
14798 (CLD_STOPPED): Likewise.
14799 (CLD_CONTINUED): Likewise.
14800 (POLL_IN): Likewise.
14801 (POLL_OUT): Likewise.
14802 (POLL_MSG): Likewise.
14803 (POLL_ERR): Likewise.
14804 (POLL_PRI): Likewise.
14805 (POLL_HUP): Likewise.
14806 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14807 (ILL_ILLOPN): Likewise.
14808 (ILL_ILLADR): Likewise.
14809 (ILL_ILLTRP): Likewise.
14810 (ILL_PRVOPC): Likewise.
14811 (ILL_PRVREG): Likewise.
14812 (ILL_COPROC): Likewise.
14813 (ILL_BADSTK): Likewise.
14814 (ILL_DBLFLT): Likewise.
14815 (ILL_HARDWALL): Likewise.
14816 (FPE_INTDIV): Likewise.
14817 (FPE_INTOVF): Likewise.
14818 (FPE_FLTDIV): Likewise.
14819 (FPE_FLTOVF): Likewise.
14820 (FPE_FLTUND): Likewise.
14821 (FPE_FLTRES): Likewise.
14822 (FPE_FLTINV): Likewise.
14823 (FPE_FLTSUB): Likewise.
14824 (SEGV_MAPERR): Likewise.
14825 (SEGV_ACCERR): Likewise.
14826 (BUS_ADRALN): Likewise.
14827 (BUS_ADRERR): Likewise.
14828 (BUS_OBJERR): Likewise.
14829 (BUS_MCEERR_AR): Likewise.
14830 (BUS_MCEERR_AO): Likewise.
14831 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14832 (TRAP_TRACE): Likewise.
14833 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14834 __USE_XOPEN2K8].
14835 (CLD_KILLED): Likewise.
14836 (CLD_DUMPED): Likewise.
14837 (CLD_TRAPPED): Likewise.
14838 (CLD_STOPPED): Likewise.
14839 (CLD_CONTINUED): Likewise.
14840 (POLL_IN): Likewise.
14841 (POLL_OUT): Likewise.
14842 (POLL_MSG): Likewise.
14843 (POLL_ERR): Likewise.
14844 (POLL_PRI): Likewise.
14845 (POLL_HUP): Likewise.
14846 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14847 (ILL_ILLOPN): Likewise.
14848 (ILL_ILLADR): Likewise.
14849 (ILL_ILLTRP): Likewise.
14850 (ILL_PRVOPC): Likewise.
14851 (ILL_PRVREG): Likewise.
14852 (ILL_COPROC): Likewise.
14853 (ILL_BADSTK): Likewise.
14854 (FPE_INTDIV): Likewise.
14855 (FPE_INTOVF): Likewise.
14856 (FPE_FLTDIV): Likewise.
14857 (FPE_FLTOVF): Likewise.
14858 (FPE_FLTUND): Likewise.
14859 (FPE_FLTRES): Likewise.
14860 (FPE_FLTINV): Likewise.
14861 (FPE_FLTSUB): Likewise.
14862 (SEGV_MAPERR): Likewise.
14863 (SEGV_ACCERR): Likewise.
14864 (BUS_ADRALN): Likewise.
14865 (BUS_ADRERR): Likewise.
14866 (BUS_OBJERR): Likewise.
14867 (BUS_MCEERR_AR): Likewise.
14868 (BUS_MCEERR_AO): Likewise.
14869 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14870 (TRAP_TRACE): Likewise.
14871 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14872 __USE_XOPEN2K8].
14873 (CLD_KILLED): Likewise.
14874 (CLD_DUMPED): Likewise.
14875 (CLD_TRAPPED): Likewise.
14876 (CLD_STOPPED): Likewise.
14877 (CLD_CONTINUED): Likewise.
14878 (POLL_IN): Likewise.
14879 (POLL_OUT): Likewise.
14880 (POLL_MSG): Likewise.
14881 (POLL_ERR): Likewise.
14882 (POLL_PRI): Likewise.
14883 (POLL_HUP): Likewise.
14884 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14885 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14886
bc61d27c
JM
14887 [BZ #16670]
14888 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14889 before #include of <time.h>.
14890 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14891 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14892 (test-xfail-UNIX98/sched.h/conform): Likewise.
14893
302949e2
MS
148942014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14895
14896 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14897 error absence of trapping exception support.
14898 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14899
a00f522a
JM
149002014-03-07 Joseph Myers <joseph@codesourcery.com>
14901
6f99f280
JM
14902 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14903 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14904 * timezone/Makefile (testdata): Move definition above include of
14905 Rules.
14906 (test-zones): New variable.
14907 (tests-special): Add zone files.
14908 (build-testdata): Use $(evaluate-test).
14909
0b20a9e8
JM
14910 * elf/Makefile (tests-special): Rename tests to end with .out.
14911 ($(objpfx)noload-mem): Likewise.
14912 ($(objpfx)tst-leaks1-mem): Likewise.
14913 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14914 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14915 $(objpfx)test-iconvconfig.out.
14916 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14917 set -e inside subshell and redirect output to file.
14918 * iconvdata/Makefile (generated): Rename tests to end with .out.
14919 Correct type.
14920 (tests-special): Rename tests to end with .out.
14921 ($(objpfx)mtrace-tst-loading): Likewise.
14922 * intl/Makefile (generated): Likewise.
14923 (tests-special): Likewise.
14924 ($(objpfx)mtrace-tst-gettext): Likewise.
14925 * misc/Makefile (generated): Likewise.
14926 (tests-special): Likewise.
14927 ($(objpfx)tst-error1-mem): Likewise.
14928 * nptl/Makefile (tests-special): Likewise.
14929 ($(objpfx)tst-stack3-mem): Likewise.
14930 (generated): Likewise.
14931 * posix/Makefile (generated): Likewise.
14932 (tests-special): Likewise.
14933 (xtests-special): Likewise.
14934 ($(objpfx)tst-fnmatch-mem): Likewise.
14935 ($(objpfx)bug-regex2-mem): Likewise.
14936 ($(objpfx)bug-regex14-mem): Likewise.
14937 ($(objpfx)bug-regex21-mem): Likewise.
14938 ($(objpfx)bug-regex31-mem): Likewise.
14939 ($(objpfx)tst-vfork3-mem): Likewise.
14940 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14941 ($(objpfx)tst-pcre-mem): Likewise.
14942 ($(objpfx)tst-boost-mem): Likewise.
14943 ($(objpfx)bug-ga2-mem): Likewise.
14944 ($(objpfx)bug-glob2-mem): Likewise.
14945 * resolv/Makefile (generate): Likewise.
14946 (tests-special): Likewise.
14947 (xtests-special): Likewise.
14948 (generated): Likewise.
14949 ($(objpfx)mtrace-tst-leaks): Likewise.
14950 ($(objpfx)mtrace-tst-leaks2): Likewise.
14951
265d52ab
JM
14952 * scripts/merge-test-results.sh: New file.
14953 * Makefile (tests-special-notdir): New variable.
14954 (tests): Run merge-test-results.sh.
14955 (xtests): Likewise.
14956 * Rules (tests-special-notdir): New variable.
14957 (xtests-special-notdir): Likewise.
14958 (tests): Run merge-test-results.sh
14959 (xtests): Likewise.
14960
54ee292d
JM
14961 * Makeconfig (test-xfail-name): New variable.
14962 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14963 compute variable name for expected failures.
14964 * conform/Makefile (conformtest-headers-data): New variable.
14965 (conformtest-standards): Likewise.
14966 (conformtest-headers-ISO): Likewise.
14967 (conformtest-headers-ISO99): Likewise.
14968 (conformtest-headers-ISO11): Likewise.
14969 (conformtest-headers-POSIX): Likewise.
14970 (conformtest-headers-XPG3): Likewise.
14971 (conformtest-headers-XPG4): Likewise.
14972 (conformtest-headers-UNIX98): Likewise.
14973 (conformtest-headers-XOPEN2K): Likewise.
14974 (conformtest-headers-POSIX2008): Likewise.
14975 (conformtest-headers-XOPEN2K8): Likewise.
14976 (conformtest-header-list-base): Likewise.
14977 (conformtest-header-list-tests): Likewise.
14978 (conformtest-header-base): Likewise.
14979 (conformtest-header-tests): Likewise.
14980 (tests-special): Add $(conformtest-header-list-tests). If
14981 [$(fast-check) && !$(cross-compiling)], add
14982 $(conformtest-header-tests) instead of
14983 $(objpfx)run-conformtest.out.
14984 (generated): Add $(conformtest-header-list-base). If
14985 [$(fast-check) && !$(cross-compiling)], add
14986 $(conformtest-header-base). Remove previous setting.
14987 ($(conformtest-header-list-tests)): New target.
14988 (test-xfail-run-conformtest): Remove variable.
14989 ($(objpfx)run-conformtest.out): Remove target.
14990 (test-xfail-ISO11/complex.h/conform): New variable.
14991 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14992 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14993 (test-xfail-XPG3/varargs.h/conform): Likewise.
14994 (test-xfail-XPG4/varargs.h/conform): Likewise.
14995 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14996 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14997 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14998 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14999 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15000 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15001 (test-xfail-XPG3/ftw.h/conform): Likewise.
15002 (test-xfail-XPG3/grp.h/conform): Likewise.
15003 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15004 (test-xfail-XPG3/limits.h/conform): Likewise.
15005 (test-xfail-XPG3/pwd.h/conform): Likewise.
15006 (test-xfail-XPG3/search.h/conform): Likewise.
15007 (test-xfail-XPG3/signal.h/conform): Likewise.
15008 (test-xfail-XPG3/stdio.h/conform): Likewise.
15009 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15010 (test-xfail-XPG3/string.h/conform): Likewise.
15011 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15012 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15013 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15014 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15015 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15016 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15017 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15018 (test-xfail-XPG3/termios.h/conform): Likewise.
15019 (test-xfail-XPG3/time.h/conform): Likewise.
15020 (test-xfail-XPG3/unistd.h/conform): Likewise.
15021 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15022 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15023 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15024 (test-xfail-XPG4/netdb.h/conform): Likewise.
15025 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15026 (test-xfail-XPG4/signal.h/conform): Likewise.
15027 (test-xfail-XPG4/stdio.h/conform): Likewise.
15028 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15029 (test-xfail-XPG4/stropts.h/conform): Likewise.
15030 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15031 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15032 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15033 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15034 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15035 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15036 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15037 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15038 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15039 (test-xfail-XPG4/termios.h/conform): Likewise.
15040 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15041 (test-xfail-XPG4/unistd.h/conform): Likewise.
15042 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15043 (test-xfail-POSIX/sched.h/conform): Likewise.
15044 (test-xfail-POSIX/signal.h/conform): Likewise.
15045 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15046 (test-xfail-POSIX/tar.h/conform): Likewise.
15047 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15048 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15049 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15050 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15051 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15052 (test-xfail-UNIX98/sched.h/conform): Likewise.
15053 (test-xfail-UNIX98/signal.h/conform): Likewise.
15054 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15055 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15056 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15057 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15058 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15059 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15060 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15061 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15062 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15063 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15064 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15065 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15066 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15067 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15068 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15069 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15070 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15071 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15072 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15073 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15074 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15075 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15076 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15077 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15078 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15079 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15080 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15081 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15082 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15083 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15084 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15085 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15086 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15087 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15088 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15089 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15090 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15091 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15092 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15093 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15094 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15095 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15096 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15097 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15098 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15099 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15100 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15101 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15102 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15103 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15104 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15105 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15106 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15107 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15108 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15109 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15110 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15111 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15112 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15113 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15114 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15115 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15116 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15117 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15118 (conformtest-cc-flags): Likewise.
15119 ($(conformtest-header-tests): New target.
15120 * conform/check-header-lists.sh: New file.
15121 * conform/run-conformtest.sh: Remove.
15122
a00f522a
JM
15123 * conform/conformtest.pl: Allow ' and \ in values given for
15124 constants.
15125 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15126 inclusion.
15127 [POSIX] (sys/types.h): Likewise.
15128 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15129 inclusion.
15130 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15131 inclusion.
15132 * conform/data/signal.h-data (SIGIO): Remove expectation.
15133 [XPG3] (SIGBUS): Do not expect.
15134 [POSIX || XPG3] (SIGPOLL): Likewise.
15135 [POSIX || XPG3] (SIGPROF): Likewise.
15136 [POSIX || XPG3] (SIGSYS): Likewise.
15137 [XPG3] (SIGTRAP): Likewise.
15138 [POSIX || XPG3] (SIGURG): Likewise.
15139 [POSIX || XPG3] (SIGVTALRM): Likewise.
15140 [POSIX || XPG3] (SIGXCPU): Likewise.
15141 [POSIX || XPG3] (SIGXFSZ): Likewise.
15142 [POSIX] (SA_SIGINFO): Expect.
15143 [XPG3] (siginfo_t): Do not expect type or contents.
15144 [POSIX] (si_pid): Do not expect element.
15145 [POSIX] (si_uid): Likewise.
15146 [POSIX] (si_addr): Likewise.
15147 [POSIX] (si_status): Likewise.
15148 [POSIX] (si_band): Likewise.
15149 [XPG4] (si_value): Likewise.
15150 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15151 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15152 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15153 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15154 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15155 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15156 [POSIX || XPG3] (ILL_COPROC): Likewise.
15157 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15158 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15159 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15160 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15161 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15162 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15163 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15164 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15165 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15166 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15167 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15168 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15169 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15170 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15171 [POSIX || XPG3] (CLD_EXITED): Likewise.
15172 [POSIX || XPG3] (CLD_KILLED): Likewise.
15173 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15174 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15175 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15176 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15177 [POSIX || XPG3] (POLL_IN): Likewise.
15178 [POSIX || XPG3] (POLL_OUT): Likewise.
15179 [POSIX || XPG3] (POLL_MSG): Likewise.
15180 [POSIX || XPG3] (POLL_ERR): Likewise.
15181 [POSIX || XPG3] (POLL_PRI): Likewise.
15182 [POSIX || XPG3] (POLL_HUP): Likewise.
15183 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15184 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15185 (SIG*): Do not allow.
15186 [XPG3] (si_*): Likewise.
15187 [XPG3] (SI_*): Likewise.
15188 [XPG3 || XPG4] (sigev_*): Likewise.
15189 [XPG3 || XPG4] (SIGEV_*): Likewise.
15190 [XPG3 || XPG4] (sival_*): Likewise.
15191 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15192 [POSIX || XPG3] (BUS_*): Likewise.
15193 [POSIX || XPG3] (CLD_*): Likewise.
15194 [POSIX || XPG3] (FPE_*): Likewise.
15195 [POSIX || XPG3] (ILL_*): Likewise.
15196 [POSIX || XPG3] (POLL_*): Likewise.
15197 [POSIX || XPG3] (SEGV_*): Likewise.
15198 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15199 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15200 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15201 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15202 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15203 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15204 Specify type and value.
15205 (TVERSLEN): Likewise.
15206 (REGTYPE): Likewise.
15207 (AREGTYPE): Likewise.
15208 (LNKTYPE): Likewise.
15209 (SYMTYPE): Likewise.
15210 (CHRTYPE): Likewise.
15211 (BLKTYPE): Likewise.
15212 (DIRTYPE): Likewise.
15213 (FIFOTYPE): Likewise.
15214 (CONTTYPE): Likewise.
15215 (TSUID): Likewise.
15216 (TSGID): Likewise.
15217 (TSVTX): Likewise.
15218 (TUREAD): Likewise.
15219 (TUWRITE): Likewise.
15220 (TUEXEC): Likewise.
15221 (TGREAD): Likewise.
15222 (TGWRITE): Likewise.
15223 (TGEXEC): Likewise.
15224 (TOREAD): Likewise.
15225 (TOWRITE): Likewise.
15226 (TOEXEC): Likewise.
15227 [POSIX] (TSVTX): Expect constant.
15228
aa97dee1
JM
152292014-03-06 Joseph Myers <joseph@codesourcery.com>
15230
f214606a
JM
15231 * Makefile (tests): Change dependencies to ....
15232 (tests-special): ... additions to this variable.
15233 (tests): Depend on $(tests-special).
15234 * Makerules (check-abi-list): New variable.
15235 (check-abi): Depend on $(check-abi-list).
15236 [$(subdir) = elf] (tests-special): Add
15237 $(objpfx)check-abi-libc.out.
15238 [$(build-shared) = yes && subdir] (tests-special): Add
15239 $(check-abi-list).
15240 [$(build-shared) = yes && subdir] (tests): Do not depend on
15241 check-abi.
15242 * Rules (tests): Depend on $(tests-special).
15243 (xtests): Depend on $(xtests-special).
15244 * catgets/Makefile (tests): Change dependencies to ....
15245 (tests-special): ... additions to this variable.
15246 * conform/Makefile (tests): Change dependencies to ....
15247 (tests-special): ... additions to this variable.
15248 * elf/Makefile (tests): Change dependencies to ....
15249 (tests-special): ... additions to this variable.
15250 * grp/Makefile (tests): Change dependencies to ....
15251 (tests-special): ... additions to this variable.
15252 * iconv/Makefile (xtests): Change dependencies to ....
15253 (xtests-special): ... additions to this variable.
15254 * iconvdata/Makefile (tests): Change dependencies to ....
15255 (tests-special): ... additions to this variable.
15256 * intl/Makefile (tests): Change dependencies to ....
15257 (tests-special): ... additions to this variable. Also add
15258 $(objpfx)tst-gettext.out.
15259 * io/Makefile (tests): Change dependencies to ....
15260 (tests-special): ... additions to this variable.
15261 * libio/Makefile (tests): Change dependencies to ....
15262 (tests-special): ... additions to this variable.
15263 * malloc/Makefile (tests): Change dependencies to ....
15264 (tests-special): ... additions to this variable.
15265 * misc/Makefile (tests): Change dependencies to ....
15266 (tests-special): ... additions to this variable.
15267 * nptl/Makefile (tests): Change dependencies to ....
15268 (tests-special): ... additions to this variable.
15269 * nptl_db/Makefile (tests): Change dependencies to ....
15270 (tests-special): ... additions to this variable.
15271 * posix/Makefile (tests): Change dependencies to ....
15272 (tests-special): ... additions to this variable.
15273 (xtests): Change dependencies to ....
15274 (xtests-special): ... additions to this variable.
15275 * resolv/Makefile (tests): Change dependencies to ....
15276 (tests-special): ... additions to this variable.
15277 (xtests): Change dependencies to ....
15278 (xtests-special): ... additions to this variable.
15279 * stdio-common/Makefile (tests): Change dependencies to ....
15280 (tests-special): ... additions to this variable.
15281 (do-tst-unbputc): Remove target.
15282 (do-tst-printf): Likewise.
15283 * stdlib/Makefile (tests): Change dependencies to ....
15284 (tests-special): ... additions to this variable.
15285 * string/Makefile (tests): Change dependencies to ....
15286 (tests-special): ... additions to this variable.
15287 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15288 (tests-special): ... additions to this variable.
15289
81700b53
JM
15290 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15291 whole file.
15292 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15293 whole file.
15294 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15295 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15296
2ea18461
JM
15297 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15298 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15299 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15300 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15301 * conform/data/libgen.h-data [XPG3]: Likewise.
15302 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15303 * conform/data/ndbm.h-data [XPG3]: Likewise.
15304 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15305 * conform/data/netdb.h-data [XPG3]: Likewise.
15306 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15307 * conform/data/poll.h-data [XPG3]: Likewise.
15308 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15309 * conform/data/strings.h-data [XPG3]: Likewise.
15310 * conform/data/stropts.h-data [XPG3]: Likewise.
15311 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15312 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15313 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15314 Likewise.
15315 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15316 * conform/data/sys/time.h-data [XPG3]: Likewise.
15317 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15318 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15319 * conform/data/sys/un.h-data [XPG3]: Likewise.
15320 * conform/data/syslog.h-data [XPG3]: Likewise.
15321 * conform/data/ucontext.h-data [XPG3]: Likewise.
15322 * conform/data/utmpx.h-data [XPG3]: Likewise.
15323 * conform/data/varargs.h-data [UNIX98]: Enable file.
15324
355bc986
JM
15325 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15326
215db402
JM
15327 * math/libm-test.inc (struct test_f_f_data): Move expected results
15328 into structure for each rounding mode.
15329 (struct test_ff_f_data): Likewise.
15330 (struct test_ff_f_data_nexttoward): Likewise.
15331 (struct test_fi_f_data): Likewise.
15332 (struct test_fl_f_data): Likewise.
15333 (struct test_if_f_data): Likewise.
15334 (struct test_fff_f_data): Likewise.
15335 (struct test_c_f_data): Likewise.
15336 (struct test_f_f1_data): Likewise.
15337 (struct test_fF_f1_data): Likewise.
15338 (struct test_ffI_f1_data): Likewise.
15339 (struct test_c_c_data): Likewise.
15340 (struct test_cc_c_data): Likewise.
15341 (struct test_f_i_data): Likewise.
15342 (struct test_ff_i_data): Likewise.
15343 (struct test_f_l_data): Likewise.
15344 (struct test_f_L_data): Likewise.
15345 (struct test_fFF_11_data): Likewise.
15346 (RM_): New macro.
15347 (RM_FE_DOWNWARD): Likewise.
15348 (RM_FE_TONEAREST): Likewise.
15349 (RM_FE_TOWARDZERO): Likewise.
15350 (RM_FE_UPWARD): Likewise.
15351 (RUN_TEST_LOOP_f_f): Update references to expected results.
15352 (RUN_TEST_LOOP_2_f): Likewise.
15353 (RUN_TEST_LOOP_fff_f): Likewise.
15354 (RUN_TEST_LOOP_c_f): Likewise.
15355 (RUN_TEST_LOOP_f_f1): Likewise.
15356 (RUN_TEST_LOOP_fF_f1): Likewise.
15357 (RUN_TEST_LOOP_fI_f1): Likewise.
15358 (RUN_TEST_LOOP_ffI_f1): Likewise.
15359 (RUN_TEST_LOOP_c_c): Likewise.
15360 (RUN_TEST_LOOP_cc_c): Likewise.
15361 (RUN_TEST_LOOP_f_i): Likewise.
15362 (RUN_TEST_LOOP_f_i_tg): Likewise.
15363 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15364 (RUN_TEST_LOOP_f_b): Likewise.
15365 (RUN_TEST_LOOP_f_b_tg): Likewise.
15366 (RUN_TEST_LOOP_f_l): Likewise.
15367 (RUN_TEST_LOOP_f_L): Likewise.
15368 (RUN_TEST_LOOP_fFF_11): Likewise.
15369 * math/gen-libm-test.pl (parse_args): Output four copies of
15370 expected results for each test.
15371
67737b8f
JM
15372 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15373 (__ASSUME_UTIMES): Remove.
15374 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15375 (__ASSUME_UTIMES): Likewise.
15376
aa97dee1
JM
15377 * math/gen-auto-libm-tests.c: Update comment on output format.
15378 (output_for_one_input_case): Generate before-rounding and
15379 after-rounding information as conditions on output flags not
15380 floating-point format.
15381 * math/auto-libm-test-out: Regenerated.
15382 * math/gen-libm-test.pl (cond_value): New function.
15383 (or_cond_value): Use cond_value.
15384 (generate_testfile): Handle conditional exceptions.
15385
e6b6a857
JM
153862014-03-05 Joseph Myers <joseph@codesourcery.com>
15387
2f0a0f44
JM
15388 * math/libm-test.inc (max_valid_error): New variable.
15389 (init_max_error): Take new argument specifying whether function
15390 results are exactly determined. Set max_valid_error and bound
15391 other variables for errors based on this argument.
15392 (set_max_error): Do not record results above max_valid_error.
15393 (check_float_internal): Only accept errors of up to 0.5ulps if
15394 also at most max_valid_error.
15395 (START): Take new argument EXACT and pass it to init_max_error.
15396 (acos_test): Update call to START.
15397 (acos_test_tonearest): Likewise.
15398 (acos_test_towardzero): Likewise.
15399 (acos_test_downward): Likewise.
15400 (acos_test_upward): Likewise.
15401 (acosh_test): Likewise.
15402 (asin_test): Likewise.
15403 (asin_test_tonearest): Likewise.
15404 (asin_test_towardzero): Likewise.
15405 (asin_test_downward): Likewise.
15406 (asin_test_upward): Likewise.
15407 (asinh_test): Likewise.
15408 (atan_test): Likewise.
15409 (atanh_test): Likewise.
15410 (atan2_test): Likewise.
15411 (cabs_test): Likewise.
15412 (cacos_test): Likewise.
15413 (cacosh_test): Likewise.
15414 (carg_test): Likewise.
15415 (casin_test): Likewise.
15416 (casinh_test): Likewise.
15417 (catan_test): Likewise.
15418 (catanh_test): Likewise.
15419 (cbrt_test): Likewise.
15420 (ccos_test): Likewise.
15421 (ccosh_test): Likewise.
15422 (ceil_test): Likewise.
15423 (cexp_test): Likewise.
15424 (cimag_test): Likewise.
15425 (clog_test): Likewise.
15426 (clog10_test): Likewise.
15427 (conj_test): Likewise.
15428 (copysign_test): Likewise.
15429 (cos_test): Likewise.
15430 (cos_test_tonearest): Likewise.
15431 (cos_test_towardzero): Likewise.
15432 (cos_test_downward): Likewise.
15433 (cos_test_upward): Likewise.
15434 (cosh_test): Likewise.
15435 (cosh_test_tonearest): Likewise.
15436 (cosh_test_towardzero): Likewise.
15437 (cosh_test_downward): Likewise.
15438 (cosh_test_upward): Likewise.
15439 (cpow_test): Likewise.
15440 (cproj_test): Likewise.
15441 (creal_test): Likewise.
15442 (csin_test): Likewise.
15443 (csinh_test): Likewise.
15444 (csqrt_test): Likewise.
15445 (ctan_test): Likewise.
15446 (ctan_test_tonearest): Likewise.
15447 (ctan_test_towardzero): Likewise.
15448 (ctan_test_downward): Likewise.
15449 (ctan_test_upward): Likewise.
15450 (ctanh_test): Likewise.
15451 (ctanh_test_tonearest): Likewise.
15452 (ctanh_test_towardzero): Likewise.
15453 (ctanh_test_downward): Likewise.
15454 (ctanh_test_upward): Likewise.
15455 (erf_test): Likewise.
15456 (erfc_test): Likewise.
15457 (exp_test): Likewise.
15458 (exp_test_tonearest): Likewise.
15459 (exp_test_towardzero): Likewise.
15460 (exp_test_downward): Likewise.
15461 (exp_test_upward): Likewise.
15462 (exp10_test): Likewise.
15463 (exp10_test_tonearest): Likewise.
15464 (exp10_test_towardzero): Likewise.
15465 (exp10_test_downward): Likewise.
15466 (exp10_test_upward): Likewise.
15467 (pow10_test): Likewise.
15468 (exp2_test): Likewise.
15469 (expm1_test): Likewise.
15470 (expm1_test_tonearest): Likewise.
15471 (expm1_test_towardzero): Likewise.
15472 (expm1_test_downward): Likewise.
15473 (expm1_test_upward): Likewise.
15474 (fabs_test): Likewise.
15475 (fdim_test): Likewise.
15476 (floor_test): Likewise.
15477 (fma_test): Likewise.
15478 (fma_test_towardzero): Likewise.
15479 (fma_test_downward): Likewise.
15480 (fma_test_upward): Likewise.
15481 (fmax_test): Likewise.
15482 (fmin_test): Likewise.
15483 (fmod_test): Likewise.
15484 (fpclassify_test): Likewise.
15485 (frexp_test): Likewise.
15486 (hypot_test): Likewise.
15487 (ilogb_test): Likewise.
15488 (isfinite_test): Likewise.
15489 (finite_test): Likewise.
15490 (isgreater_test): Likewise.
15491 (isgreaterequal_test): Likewise.
15492 (isinf_test): Likewise.
15493 (isless_test): Likewise.
15494 (islessequal_test): Likewise.
15495 (islessgreater_test): Likewise.
15496 (isnan_test): Likewise.
15497 (isnormal_test): Likewise.
15498 (issignaling_test): Likewise.
15499 (isunordered_test): Likewise.
15500 (j0_test): Likewise.
15501 (j1_test): Likewise.
15502 (jn_test): Likewise.
15503 (ldexp_test): Likewise.
15504 (lgamma_test): Likewise.
15505 (gamma_test): Likewise.
15506 (lrint_test): Likewise.
15507 (lrint_test_tonearest): Likewise.
15508 (lrint_test_towardzero): Likewise.
15509 (lrint_test_downward): Likewise.
15510 (lrint_test_upward): Likewise.
15511 (llrint_test): Likewise.
15512 (llrint_test_tonearest): Likewise.
15513 (llrint_test_towardzero): Likewise.
15514 (llrint_test_downward): Likewise.
15515 (llrint_test_upward): Likewise.
15516 (log_test): Likewise.
15517 (log10_test): Likewise.
15518 (log1p_test): Likewise.
15519 (log2_test): Likewise.
15520 (logb_test): Likewise.
15521 (logb_test_downward): Likewise.
15522 (lround_test): Likewise.
15523 (llround_test): Likewise.
15524 (modf_test): Likewise.
15525 (nearbyint_test): Likewise.
15526 (nextafter_test): Likewise.
15527 (nexttoward_test): Likewise.
15528 (pow_test): Likewise.
15529 (pow_test_tonearest): Likewise.
15530 (pow_test_towardzero): Likewise.
15531 (pow_test_downward): Likewise.
15532 (pow_test_upward): Likewise.
15533 (remainder_test): Likewise.
15534 (drem_test): Likewise.
15535 (remainder_test_tonearest): Likewise.
15536 (drem_test_tonearest): Likewise.
15537 (remainder_test_towardzero): Likewise.
15538 (drem_test_towardzero): Likewise.
15539 (remainder_test_downward): Likewise.
15540 (drem_test_downward): Likewise.
15541 (remainder_test_upward): Likewise.
15542 (drem_test_upward): Likewise.
15543 (remquo_test): Likewise.
15544 (rint_test): Likewise.
15545 (rint_test_tonearest): Likewise.
15546 (rint_test_towardzero): Likewise.
15547 (rint_test_downward): Likewise.
15548 (rint_test_upward): Likewise.
15549 (round_test): Likewise.
15550 (scalb_test): Likewise.
15551 (scalbn_test): Likewise.
15552 (scalbln_test): Likewise.
15553 (signbit_test): Likewise.
15554 (sin_test): Likewise.
15555 (sin_test_tonearest): Likewise.
15556 (sin_test_towardzero): Likewise.
15557 (sin_test_downward): Likewise.
15558 (sin_test_upward): Likewise.
15559 (sincos_test): Likewise.
15560 (sinh_test): Likewise.
15561 (sinh_test_tonearest): Likewise.
15562 (sinh_test_towardzero): Likewise.
15563 (sinh_test_downward): Likewise.
15564 (sinh_test_upward): Likewise.
15565 (sqrt_test): Likewise.
15566 (sqrt_test_tonearest): Likewise.
15567 (sqrt_test_towardzero): Likewise.
15568 (sqrt_test_downward): Likewise.
15569 (sqrt_test_upward): Likewise.
15570 (tan_test): Likewise.
15571 (tan_test_tonearest): Likewise.
15572 (tan_test_towardzero): Likewise.
15573 (tan_test_downward): Likewise.
15574 (tan_test_upward): Likewise.
15575 (tanh_test): Likewise.
15576 (tgamma_test): Likewise.
15577 (trunc_test): Likewise.
15578 (y0_test): Likewise.
15579 (y1_test): Likewise.
15580 (yn_test): Likewise.
15581 (significand_test): Likewise.
15582
e6b6a857
JM
15583 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15584 individual tests in comment.
15585 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15586 (prev_max_error): New variable.
15587 (prev_real_max_error): Likewise.
15588 (prev_imag_max_error): Likewise.
15589 (compare_ulp_data): Don't refer to test names in comment.
15590 (find_test_ulps): Remove function.
15591 (find_function_ulps): Likewise.
15592 (find_complex_function_ulps): Likewise.
15593 (init_max_error): Take function name as argument. Look up ulps
15594 for that function.
15595 (print_ulps): Remove function.
15596 (print_max_error): Use prev_max_error instead of calling
15597 find_function_ulps.
15598 (print_complex_max_error): Use prev_real_max_error and
15599 prev_imag_max_error instead of calling find_complex_function_ulps.
15600 (check_float_internal): Take max_ulp parameter instead of calling
15601 find_test_ulps. Don't call print_ulps.
15602 (check_float): Update call to check_float_internal.
15603 (check_complex): Update calls to check_float_internal.
15604 (START): Pass argument to init_max_error.
15605 * math/gen-libm-test.pl (%results): Don't include "kind"
15606 information.
15607 (parse_ulps): Don't handle ulps of individual tests.
15608 (print_ulps_file): Likewise.
15609 (output_ulps): Likewise.
15610 * math/README.libm-test: Update.
15611 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15612 individual tests.
15613 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15614 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15615 * sysdeps/arm/libm-test-ulps: Likewise.
15616 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15617 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15618 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15619 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15620 * sysdeps/microblaze/libm-test-ulps: Likewise.
15621 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15622 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15623 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15624 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15625 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15626 * sysdeps/sh/libm-test-ulps: Likewise.
15627 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15628 * sysdeps/tile/libm-test-ulps: Likewise.
15629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15630
45adef3c
JM
156312014-03-04 Joseph Myers <joseph@codesourcery.com>
15632
15633 * math/libm-test.inc (print_complex_max_error): Check separately
15634 whether real and imaginary errors are within allowed range and
15635 pass 0 to print_complex_function_ulps instead of value within
15636 allowed range.
15637
000232b9
SP
156382014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
d4b17258
SP
15640 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15641 formatting.
15642 (get_handles_fopen): Likewise.
15643 (do_write_test): Likewise.
15644
091eff71
SP
15645 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15646
fa3cd248
SP
15647 * libio/fileops.c (do_ftell): Use cached offset when
15648 available.
15649 * libio/iofwide.c (do_ftell_wide): Likewise.
15650 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15651 _IO_file_attach.
15652 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15653
000232b9
SP
15654 [BZ #16532]
15655 * libio/libioP.h (get_file_offset): New function.
15656 * libio/fileops.c (get_file_offset): Likewise.
15657 (do_ftell): Likewise.
15658 (_IO_new_file_seekoff): Split out ftell logic.
15659 * libio/wfileops.c (do_ftell_wide): Likewise.
15660 (_IO_wfile_seekoff): Split out ftell logic.
15661 * libio/tst-ftell-active-handler.c: New test case.
15662 * libio/Makefile (tests): Add it.
15663
116f4d1a
RM
156642014-03-03 Roland McGrath <roland@hack.frob.com>
15665
15666 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15667 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15668
532a6035
SP
156692014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15670
15671 [BZ #16639]
15672 * nscd/connections.c (nscd_init): Call do_exit.
15673 (start_threads): Call do_exit and notify_parent.
15674 (begin_drop_privileges): Call do_exit.
15675 (finish_drop_privileges): Likewise.
15676 * nscd/selinux.c (preserve_capabilities): Likewise.
15677 (install_real_capabilities): Likewise.
15678 (nscd_selinux_enabled): Likewise.
15679 (avc_create_thread): Likewise.
15680 (avc_alloc_lock): Likewise.
15681 (nscd_avc_init): Likewise.
15682 * nscd/nscd.c (parent_fd): New static variable.
15683 (main): Create a pipe between parent and child processes.
15684 Skip closing parent_fd.
15685 (monitor_child): New function.
15686 (do_exit): Likewise.
15687 (notify_parent): Likewise.
15688 * nscd/nscd.h (notify_parent): Likewise.
15689 (do_exit): Likewise.
15690
d6285c9f
CD
156912014-03-03 Carlos O'Donell <carlos@redhat.com>
15692
15693 * malloc/malloc.c (__libc_calloc): Revert last change.
15694
2b85d2a0
AZ
156952014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15696
15697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15698
c7debbdf
RS
156992014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15700
15701 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15703 implementation.
15704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15705 (__libc_ifunc_impl_list): Likewise.
15706 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15707 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15708 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15709 * string/strrchr.c: Define STRRCHR.
15710
235eed86
OB
157112014-02-28 Ondřej Bílka <neleai@seznam.cz>
15712
15713 * benchtest/bench-strtok.c (simple_strtok): Delete.
15714 (strtok_string): Use as benchmark.
15715 * string/strtok (STRTOK): New macro.
15716
8e25d1e7
CD
157172014-02-28 Carlos O'Donell <carlos@redhat.com>
15718
ef563f92
CD
15719 * manual/threads.texi: Add header and standard comments to all
15720 functions.
15721
8e25d1e7
CD
15722 * elf/dl-lookup.c (check_match): New function.
15723 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15724 (do_lookup_x): Remove nested function check_match. Use non-nested
15725 function check_match.
15726
ff71cc37
RM
157272014-02-28 Roland McGrath <roland@hack.frob.com>
15728
f08e9a26
RM
15729 * csu/Makefile (generated, before-compile): Use += rather than =.
15730 * catgets/Makefile (generated, generated-dirs): Likewise.
15731 * debug/Makefile (generated): Likewise.
15732 * dlfcn/Makefile (generated): Likewise.
15733 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15734 * iconvdata/Makefile (before-compile, generated): Likewise.
15735 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15736 * libio/Makefile (generated): Likewise.
15737 * malloc/Makefile (generated): Likewise.
15738 * manual/Makefile (generated, generated-dirs): Likewise.
15739 * misc/Makefile (generated): Likewise.
15740 * posix/Makefile (generated): Likewise.
15741 * resolv/Makefile (generated): Likewise.
15742 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15743 * timezone/Makefile (generated, generated-dirs): Likewise.
15744
ff71cc37
RM
15745 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15746
fe13a20c
AZ
157472014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15748
57f41c40
AS
15749 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15750 power8 implementation.
15751 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15752 file: POWER8 llround ifunc implementation.
15753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15754 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
15755 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15756 POWER8 llround implementation.
15757
57f41c40
AS
15758 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15759 power8 implementation.
15760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15761 file: POWER8 llrint ifunc implementation.
15762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15763 Add POWER8 implementation.
1ad8950a
AZ
15764 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15765 POWER8 llrint implementation.
15766
57f41c40
AS
15767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15768 power8 implementation.
15769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15770 file: POWER8 finite ifunc implementation.
15771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15772 Add POWER8 implementation.
cac626d6
AZ
15773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15774 Likewise.
15775 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15776 POWER8 finite implementation.
15777 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15778
57f41c40
AS
15779 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15780 power8 implementation.
15781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15782 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
15783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15784 POWER8 implementation.
15785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15786 Likewise.
57f41c40
AS
15787 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15788 isinf implementation.
4393fc11
AZ
15789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15790
57f41c40
AS
15791 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15792 (INIT_ARCH): Add hwcap2 initialization.
15793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15794 power8 implementation.
15795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15796 file: POWER8 isnan ifunc implementation.
487972ae
AZ
15797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15798 POWER8 implementation.
15799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15800 Likewise.
57f41c40
AS
15801 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15802 isnan implementation.
487972ae
AZ
15803 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15804
7d92b787
JY
158052014-02-27 Joey Ye <joey.ye@arm.com>
15806
15807 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15808 (_FP_NANFRAC_Q): Set to zero.
15809
1cadc858
SP
158102014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15811
15812 [BZ #16623]
15813 * math/auto-libm-test-in: New test inputs.
15814 * math/auto-libm-test-out: Regenerate.
15815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15816 and DA.
15817 (__cos): Likewise.
15818 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15819
f8c17e79
JM
158202014-02-27 Joseph Myers <joseph@codesourcery.com>
15821
15822 * scripts/evaluate-test.sh: Take new argument indicating whether
15823 failure is expected.
15824 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15825 indicating whether failure is expected.
15826 * conform/Makefile (test-xfail-run-conformtest): New variable.
15827 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15828 level.
15829 * posix/Makefile (test-xfail-annexc): New variable.
15830 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15831
a5f891ac
JM
158322014-02-26 Joseph Myers <joseph@codesourcery.com>
15833
15834 * argp/Makefile: Include Makeconfig immediately after defining
15835 subdir.
15836 * assert/Makefile: Likewise.
15837 * benchtests/Makefile: Likewise.
15838 * catgets/Makefile: Likewise.
15839 * conform/Makefile: Likewise.
15840 * crypt/Makefile: Likewise.
15841 * csu/Makefile: Likewise.
15842 (all): Remove target.
15843 * ctype/Makefile: Include Makeconfig immediately after defining
15844 subdir.
15845 * debug/Makefile: Likewise.
15846 * dirent/Makefile: Likewise.
15847 * dlfcn/Makefile: Likewise.
15848 * gmon/Makefile: Likewise.
15849 * gnulib/Makefile: Likewise.
15850 * grp/Makefile: Likewise.
15851 * gshadow/Makefile: Likewise.
15852 * hesiod/Makefile: Likewise.
15853 * hurd/Makefile: Likewise.
15854 (all): Remove target.
15855 * iconvdata/Makefile: Include Makeconfig immediately after
15856 defining subdir.
15857 * inet/Makefile: Likewise.
15858 * intl/Makefile: Likewise.
15859 * io/Makefile: Likewise.
15860 * libio/Makefile: Likewise.
15861 (all): Remove target.
15862 * locale/Makefile: Include Makeconfig immediately after defining
15863 subdir.
15864 * login/Makefile: Likewise.
15865 * mach/Makefile: Likewise.
15866 (all): Remove target.
15867 * malloc/Makefile: Include Makeconfig immediately after defining
15868 subdir.
15869 (all): Remove target.
15870 * manual/Makefile: Include Makeconfig immediately after defining
15871 subdir.
15872 * math/Makefile: Likewise.
15873 * misc/Makefile: Likewise.
15874 * nis/Makefile: Likewise.
15875 * nss/Makefile: Likewise.
15876 * po/Makefile: Likewise.
15877 (all): Remove target.
15878 * posix/Makefile: Include Makeconfig immediately after defining
15879 subdir.
15880 * pwd/Makefile: Likewise.
15881 * resolv/Makefile: Likewise.
15882 * resource/Makefile: Likewise.
15883 * rt/Makefile: Likewise.
15884 * setjmp/Makefile: Likewise.
15885 * shadow/Makefile: Likewise.
15886 * signal/Makefile: Likewise.
15887 * socket/Makefile: Likewise.
15888 * soft-fp/Makefile: Likewise.
15889 * stdio-common/Makefile: Likewise.
15890 * stdlib/Makefile: Likewise.
15891 * streams/Makefile: Likewise.
15892 * string/Makefile: Likewise.
15893 * sunrpc/Makefile: Likewise.
15894 (all): Remove target.
15895 * sysvipc/Makefile: Include Makeconfig immediately after defining
15896 subdir.
15897 * termios/Makefile: Likewise.
15898 * time/Makefile: Likewise.
15899 * timezone/Makefile: Likewise.
15900 (all): Remove target.
15901 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15902 subdir.
15903 * wctype/Makefile: Likewise.
15904
5b456e9d
SE
159052014-02-26 Steve Ellcey <sellcey@mips.com>
15906
15907 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15908 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15909 (libc_feholdexcept_setround_mips): Ditto.
15910 (libc_feholdsetround): New.
15911 (libc_feholdsetroundf): New.
15912 (libc_feholdsetroundl): New.
15913 (libc_feupdateenv_test_mips): New.
15914 (libc_feupdateenv_test): New.
15915 (libc_feupdateenv_testf): New.
15916 (libc_feupdateenv_testl): New.
15917 (libc_feresetround): New.
15918 (libc_feresetroundf): New.
15919 (libc_feresetroundl): New.
15920 (libc_fetestexcept_mips): New.
15921 (libc_fetestexcept): New.
15922 (libc_fetestexceptf): New.
15923 (libc_fetestexceptl): New.
15924 (HAVE_RM_CTX): New.
15925 (libc_feholdexcept_setround_mips_ctx): New.
15926 (libc_feholdexcept_setround_ctx): New.
15927 (libc_feholdexcept_setroundf_ctx): New.
15928 (libc_feholdexcept_setroundl_ctx): New.
15929 (libc_fesetenv_mips_ctx): New.
15930 (libc_fesetenv_ctx): New.
15931 (libc_fesetenv_ctxf): New.
15932 (libc_fesetenv_ctxl): New.
15933 (libc_feupdateenv_mips_ctx): New.
15934 (libc_feupdateenv_ctx): New.
15935 (libc_feupdateenvf_ctx): New.
15936 (libc_feupdateenvl_ctx): New.
15937 (libc_feholdsetround_mips_ctx): New.
15938 (libc_feholdsetround_ctx): New.
15939 (libc_feholdsetroundf_ctx): New.
15940 (libc_feholdsetroundl_ctx): New.
15941 (libc_feresetround_mips_ctx): New.
15942 (libc_feresetround_ctx): New.
15943 (libc_feresetroundf_ctx): New.
15944 (libc_feresetroundl_ctx): New.
15945
085d0e35
CD
159462014-02-26 Carlos O'Donell <carlos@redhat.com>
15947
f067bf1f
CD
15948 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15949
085d0e35
CD
15950 * manual/ipc.texi: New file.
15951 * manual/Makefile (chapters): Add ipc.
15952 * manual/job.texi: Add "Inter-Process Communication" to next.
15953 * manual/process.texi: Add "Inter-Process Communication" to prev.
15954
86e58c08
AZ
159552014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15956
15957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15958
4248f0da
OB
159592014-02-26 Ondřej Bílka <neleai@seznam.cz>
15960
15961 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15962
cf822e3c
OB
15963 * manual/arith.texi: Fix spaces after sentences.
15964 * manual/charset.texi: Likewise.
15965 * manual/errno.texi: Likewise.
15966 * manual/install.texi: Likewise.
15967 * manual/llio.texi: Likewise.
15968 * manual/locale.texi: Likewise.
15969 * manual/maint.texi: Likewise.
15970 * manual/math.texi: Likewise.
15971 * manual/memory.texi: Likewise.
15972 * manual/message.texi: Likewise.
15973 * manual/probes.texi: Likewise.
15974 * manual/resource.texi: Likewise.
15975 * manual/signal.texi: Likewise.
15976 * manual/socket.texi: Likewise.
15977 * manual/stdio.texi: Likewise.
15978 * manual/string.texi: Likewise.
15979 * manual/time.texi: Likewise.
15980 * manual/users.texi: Likewise.
15981
ade40b10
CD
159822014-02-25 Carlos O'Donell <carlos@redhat.com>
15983
15984 [BZ #16632]
15985 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15986 _DEFAULT_SOURCE is defined.
15987
d0503676
CD
159882014-02-25 Ulrich Drepper <drepper@gmail.com>
15989 Carlos O'Donell <carlos@redhat.com>
15990
15991 [BZ #16613]
15992 * elf/dl-tls.c (_dl_count_modids): New function.
15993 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15994 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15995 audit library and increment generation counter.
15996 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15997 * elf/tst-audit9.c: New file.
15998 * elf/tst-auditmod9a.c: New file.
15999 * elf/tst-auditmod9b.c: New file.
16000 * elf/Makefile: Add rules to build and run tst-audit9.
16001
4cbf380c
FW
160022014-02-25 Florian Weimer <fweimer@redhat.com>
16003
16004 [BZ #15347]
16005 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16006
80a56cc3
WN
160072014-02-25 Will Newton <will.newton@linaro.org>
16008
16009 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16010 (__longjmp): Restore sp and lr before restoring callee
16011 saved registers. Add longjmp and longjmp_target
16012 SystemTap probe point.
16013 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16014 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16015 Define to zero to match jmpbuf layout.
16016 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16017 (__sigsetjmp): Save sp and lr before saving callee
16018 saved registers. Add setjmp SystemTap probe point.
16019
3ea0f74e
SL
160202014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16021
16022 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16023
b04acb26
AS
160242014-02-24 Andreas Schwab <schwab@suse.de>
16025
16026 [BZ #15804]
16027 * elf/pldd.c (wait_for_ptrace_stop): New function.
16028 (main): Call it after attaching.
16029
098ad55c
RM
160302014-02-22 Roland McGrath <roland@hack.frob.com>
16031
d4ec6ae1
RM
16032 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16033 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16034 Versions files is now verboten.
16035 * hurd/Versions (libc: GLIBC_2.0):
16036 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16037 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16038 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16039 * mach/Versions: Likewise.
16040
098ad55c
RM
16041 * csu/Versions: Remove unused %include.
16042 * resolv/Versions: Likewise.
16043
acd7f096
JM
160442014-02-21 Joseph Myers <joseph@codesourcery.com>
16045
f0881698
JM
16046 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16047 ($(objpfx)check-local-headers.out): Likewise.
16048 ($(objpfx)begin-end-check.out): Likewise.
16049 * Makerules (check-abi-%.out): Likewise.
16050 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16051 ($(objpfx)test2.cat): Likewise.
16052 ($(objpfx)de/libc.cat): Likewise.
16053 ($(objpfx)test-gencat.out): Likewise.
16054 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16055 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16056 ($(objpfx)noload-mem): Likewise.
16057 ($(objpfx)tst-pathopt.out): Likewise.
16058 ($(objpfx)tst-rtld-load-self.out): Likewise.
16059 ($(objpfx)tst-array1-cmp.out): Likewise.
16060 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16061 ($(objpfx)tst-array2-cmp.out): Likewise.
16062 ($(objpfx)tst-array3-cmp.out): Likewise.
16063 ($(objpfx)tst-array4-cmp.out): Likewise.
16064 ($(objpfx)tst-array5-cmp.out): Likewise.
16065 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16066 ($(objpfx)check-textrel.out): Likewise.
16067 ($(objpfx)check-execstack.out): Likewise.
16068 ($(objpfx)check-localplt.out): Likewise.
16069 ($(objpfx)order2-cmp.out): Likewise.
16070 ($(objpfx)tst-leaks1-mem): Likewise.
16071 ($(objpfx)tst-leaks1-static-mem): Likewise.
16072 ($(objpfx)tst-initorder-cmp.out): Likewise.
16073 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16074 ($(objpfx)tst-unused-dep.out): Likewise.
16075 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16076 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16077 * iconv/Makefile (test-iconvconfig): Likewise.
16078 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16079 ($(objpfx)iconv-test.out): Likewise.
16080 ($(objpfx)tst-tables.out): Likewise.
16081 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16082 ($(objpfx)tst-gettext.out): Likewise.
16083 ($(objpfx)tst-translit.out): Likewise.
16084 ($(objpfx)tst-gettext2.out): Likewise.
16085 ($(objpfx)tst-gettext4.out): Likewise.
16086 ($(objpfx)tst-gettext6.out): Likewise.
16087 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16088 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16089 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16090 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16091 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16092 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16093 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16094 ($(objpfx)wordexp-tst.out): Likewise.
16095 ($(objpfx)annexc.out): Likewise.
16096 ($(objpfx)tst-fnmatch-mem): Likewise.
16097 ($(objpfx)bug-regex2-mem): Likewise.
16098 ($(objpfx)bug-regex14-mem): Likewise.
16099 ($(objpfx)bug-regex21-mem): Likewise.
16100 ($(objpfx)bug-regex31-mem): Likewise.
16101 ($(objpfx)tst-vfork3-mem): Likewise.
16102 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16103 ($(objpfx)tst-pcre-mem): Likewise.
16104 ($(objpfx)tst-boost-mem): Likewise.
16105 ($(objpfx)tst-getconf.out): Likewise.
16106 ($(objpfx)bug-ga2-mem): Likewise.
16107 ($(objpfx)bug-glob2-mem): Likewise.
16108 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16109 ($(objpfx)mtrace-tst-leaks2): Likewise.
16110 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16111 ($(objpfx)tst-printf.out): Likewise.
16112 ($(objpfx)tst-setvbuf1.out): Likewise.
16113 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16114 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16115 ($(objpfx)tst-fmtmsg.out): Likewise.
16116 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16117 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16118
acd7f096
JM
16119 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16120 * bits/sigaction.h [__USE_MISC]: Likewise.
16121 * bits/waitstatus.h: Update #endif comments.
16122 * ctype/ctype.h: Likewise.
16123 * dirent/dirent.h: Likewise.
16124 [__USE_MISC]: Remove redundant conditionals.
16125 * grp/grp.h: Update #endif comments.
16126 [__USE_GNU]: Remove redundant conditionals.
16127 [__USE_MISC]: Likewise.
16128 * inet/netinet/in.h [__USE_GNU]: Likewise.
16129 * io/sys/stat.h [__USE_MISC]: Likewise.
16130 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16131 * libio/bits/stdio.h: Update #endif comments.
16132 [__USE_MISC]: Remove redundant conditionals.
16133 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16134 * libio/stdio.h: Update #endif comments.
16135 [__USE_MISC]: Remove redundant conditionals.
16136 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16137 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16138 * math/math.h: Update #else and #endif comments.
16139 [__USE_MISC]: Remove redundant conditionals.
16140 * misc/sys/uio.h: Update #endif comments.
16141 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16142 * posix/glob.h [__USE_MISC]: Likewise.
16143 * posix/sys/types.h: Update #endif comments.
16144 [__USE_MISC]: Remove redundant conditionals.
16145 * posix/sys/wait.h: Update #endif comments.
16146 [__USE_MISC]: Remove redundant conditionals.
16147 * posix/unistd.h: Update #endif comments.
16148 [__USE_MISC]: Remove redundant conditionals.
16149 * pwd/pwd.h [__USE_GNU]: Likewise.
16150 [__USE_MISC]: Likewise.
16151 * resolv/netdb.h [__USE_GNU]: Likewise.
16152 * signal/signal.h: Update #endif comments.
16153 [__USE_MISC]: Remove redundant conditionals.
16154 * stdlib/stdlib.h: Update #else and #endif comments.
16155 [__USE_MISC]: Remove redundant conditionals.
16156 [__USE_GNU]: Likewise.
16157 * string/bits/string2.h [__USE_MISC]: Likewise.
16158 * string/string.h: Update #endif comments.
16159 [__USE_MISC]: Remove redundant conditionals.
16160 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16161 Likewise.
16162 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16163 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16164 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16165 Likewise.
16166 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16167 Likewise.
16168 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16169 comments.
16170 [__USE_MISC]: Remove redundant conditionals.
16171 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16172 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16173 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16174 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16175 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16176 Likewise.
16177 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16178 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16179 Likewise.
16180 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16181 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16182 Likewise.
16183 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16184 Likewise.
16185 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16186 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16187 Likewise.
16188 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16189 Likewise.
16190 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16191 * sysdeps/x86/bits/string.h: Update #endif comments.
16192 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16193 conditionals.
16194 * time/sys/time.h: Update #endif comments.
16195 * time/time.h: Likewise.
16196 [__USE_MISC]: Remove redundant conditionals.
16197
a5d82e4e
YG
161982014-02-21 Yury Gribov <y.gribov@samsung.com>
16199
16200 [BZ #16600]
16201 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16202
9a80491d
AS
162032014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16204
16205 * Versions.def (librt): Add GLIBC_2.17.
16206
105fa381
AC
162072014-02-21 Adam Conrad <adconrad@0c3.net>
16208
16209 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16210 synonym for _SYS_AUXV_H to allow direct inclusion.
16211 * sysdeps/sparc/bits/hwcap.h: Likewise.
16212 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16213 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16214 * sysdeps/sparc/sysdep.h: Likewise.
16215
b8cd1c4e
SP
162162014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16217
16218 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16219
bd939d23
RS
162202014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16221
16222 * benchtests/bench-strrchr.c: Print length instead of position.
16223
5d7b57ca
JM
162242014-02-20 Joseph Myers <joseph@codesourcery.com>
16225
bc688c10
JM
16226 [BZ #16611]
16227 * sysdeps/unix/sysv/linux/kernel-features.h
16228 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16229 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16230 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16231 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16232 Likewise.
16233 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16234 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16235 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16236 (__ASSUME_SENDMMSG): Define instead of using previous
16237 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16238 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16239 (__ASSUME_SENDMMSG_SYSCALL): Define.
16240 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16241 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16242 Likewise.
16243 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16244 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16245 Likewise.
16246 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16248 Likewise.
16249 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16250 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16251 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16252 [__ASSUME_SENDMMSG]: Change conditionals to
16253 [__ASSUME_SENDMMSG_SOCKETCALL].
16254 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16255 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16256 Define.
16257 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16258 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16259 Likewise.
16260 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16261 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16262 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16263 [!__ASSUME_SENDMMSG]: Change conditional to
16264 [!__ASSUME_SENDMMSG_SOCKETCALL].
16265 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16266 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16267 Define.
16268
0e31b18c
JM
16269 [BZ #16610]
16270 * sysdeps/unix/sysv/linux/kernel-features.h
16271 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16272 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16273 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16274 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16275 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16276 [__i386__ || __sparc__]
16277 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16278 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16279 (__ASSUME_RECVMMSG): Define instead of using previous
16280 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16281 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16282 (__ASSUME_RECVMMSG_SYSCALL): Define.
16283 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16285 Likewise.
16286 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16287 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16288 Likewise.
16289 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16290 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16291 Likewise.
16292 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16293 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16294 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16295 [__ASSUME_RECVMMSG]: Change condition to
16296 [__ASSUME_RECVMMSG_SOCKETCALL].
16297 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16298 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16299 Define.
16300 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16301 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16302 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16303 Likewise.
16304 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16305 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16306 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16307 [!__ASSUME_RECVMMSG]: Change condition to
16308 [!__ASSUME_RECVMMSG_SOCKETCALL].
16309 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16310 (__ASSUME_RECVMMSG_SYSCALL): Define.
16311
dd481ccf
JM
16312 [BZ #16609]
16313 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16314 __powerpc__ || __s390__ || __sh__ || __sparc__]
16315 (__ASSUME_SOCKETCALL): Define.
16316 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16317 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16318 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16319 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16320 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16321 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16322 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16323 (__ASSUME_ACCEPT4): Define instead of using previous
16324 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16325 __powerpc__ || __sparc__ || __s390__)] condition.
16326 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16327 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16328 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16329 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16330 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16331 [!__ASSUME_ACCEPT4]: Change condition to
16332 [!__ASSUME_ACCEPT4_SOCKETCALL].
16333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16334 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16335 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16336 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16337 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16338 __ASSUME_ACCEPT4_SYSCALL.
16339 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16340 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16341 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16342 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16343 __ASSUME_ACCEPT4_SYSCALL.
16344 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16345 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16346 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16347 [__ASSUME_ACCEPT4]: Change condition to
16348 [__ASSUME_ACCEPT4_SOCKETCALL].
16349 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16350 (__ASSUME_SOCKETCALL): Define.
16351 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16352 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16353 (__ASSUME_SOCKETCALL): Define.
16354 (__ASSUME_ACCEPT4): Remove.
16355 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16356 Define.
16357 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16358 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16359 Likewise.
16360 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16361 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16362
5d7b57ca
JM
16363 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16364 macro.
16365 (HWCAP_ARM_LPAE): Likewise.
16366 (HWCAP_ARM_EVTSTRM): Likewise.
16367 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16368 Add vpfd32, lpae and evtstrm.
16369 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16370 Increase to 22.
16371
63689d61
JM
163722014-02-19 Joseph Myers <joseph@codesourcery.com>
16373
16374 * math/auto-libm-test-in: Add tests of clog10.
16375 * math/auto-libm-test-out: Regenerated.
16376 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16377 * sysdeps/i386/fpu/libm-test-ulps: Update.
16378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16379
ab09bf61
AS
163802014-02-18 Andreas Schwab <schwab@suse.de>
16381
16382 [BZ #16574]
16383 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16384 Store non-zero if the second buffer was newly allocated.
16385 (send_dg): Likewise.
16386 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16387 to send_vc and send_dg.
16388 (res_nsend): Pass NULL for ansp2_malloced.
16389 * resolv/res_query.c (__libc_res_nquery): Add parameter
16390 answerp2_malloced and pass it down to __libc_res_nsend.
16391 (res_nquery): Pass additional NULL to __libc_res_nquery.
16392 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16393 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16394 second answer buffer if answerp2_malloced was set.
16395 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16396 (__libc_res_nquerydomain): Add parameter
16397 answerp2_malloced and pass it down to __libc_res_nquery.
16398 (res_nquerydomain): Pass additional NULL to
16399 __libc_res_nquerydomain.
16400 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16401 additional NULL to __libc_res_nsend and __libc_res_nquery.
16402 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16403 additional NULL to __libc_res_nsearch.
16404 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16405 parameter of __libc_res_nsearch to check for separately allocated
16406 second buffer.
16407 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16408 __libc_res_nquery.
16409 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16410 additional NULL to __libc_res_nquery.
16411 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16412 __libc_res_nsearch.
16413 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16414 * include/resolv.h: Update prototypes of __libc_res_nquery,
16415 __libc_res_nsearch, __libc_res_nsend.
16416
a4fb7861
JM
164172014-02-18 Joseph Myers <joseph@codesourcery.com>
16418
c6af2d89
JM
16419 * math/auto-libm-test-in: Add tests of fma.
16420 * math/auto-libm-test-out: Regenerated.
16421 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16422 (fma_towardzero_test_data): Likewise.
16423 (fma_downward_test_data): Likewise.
16424 (fma_upward_test_data): Likewise.
16425 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16426 mpc_mode.
16427 (rounding_modes): Add values for new field.
16428 (func_calc_method): Add value mpfr_fff_f.
16429 (func_calc_desc): Add mpfr_fff_f union field.
16430 (test_function): Add field exact_args.
16431 (FUNC): Add macro argument EXACT_ARGS.
16432 (FUNC_mpfr_f_f): Update call to FUNC.
16433 (FUNC_mpfr_f_f): Likewise.
16434 (FUNC_mpfr_ff_f): Likewise.
16435 (FUNC_mpfr_if_f): Likewise.
16436 (FUNC_mpc_c_f): Likewise.
16437 (FUNC_mpc_c_c): Likewise.
16438 (test_functions): Add fma. Update calls to FUNC.
16439 (handle_input_arg): Add argument exact_args.
16440 (add_test): Update call to handle_input_arg.
16441 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16442 (output_for_one_input_case): Update call to calc_generic_results.
16443 Recalculate exact zero results in each rounding mode.
16444
a4fb7861
JM
16445 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16446 non-negative before setting low bit.
16447 * math/auto-libm-test-in: Mark one asin test possibly having
16448 spurious underflow.
16449 * math/auto-libm-test-out: Regenerated.
16450 * sysdeps/i386/fpu/libm-test-ulps: Update.
16451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16452
ef114eaf
DH
164532014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16454
2b7f4f2c
SP
16455 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16456 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16457 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16458 * README: Add missing listing for microblaze*-*-linux-gnu.
16459
8125aedc
AM
164602014-02-16 Ondřej Bílka <neleai@seznam.cz>
16461
16462 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16463 duplicate code
16464
c70a4b1d
MF
164652014-02-16 Mike Frysinger <vapier@gentoo.org>
16466
16467 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16468 * sysdeps/unix/sysv/linux/ia64: Move directory from
16469 ports/sysdeps/unix/sysv/linux/ia64.
16470 * README: Update listing for ia64-*-linux-gnu.
16471
591aeaf7
TD
164722014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
16473 Joseph Myers <joseph@codesourcery.com>
16474
16475 * Makeconfig (test-name): New variable.
16476 (evaluate-test): Likewise.
16477 * Makerules (do-test-clean): Remove .test-result files.
16478 (common-mostlyclean): Likewise.
16479 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16480 * scripts/evaluate-test.sh: New file.
16481
6e89caf1
JM
164822014-02-14 Joseph Myers <joseph@codesourcery.com>
16483
7f98f180
JM
16484 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16485 separate $(objpfx)tst-fopenloc-cmp.out and
16486 $(objpfx)tst-fopenloc-mem.out targets.
16487 (tests): Update dependencies.
16488 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16489 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16490 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16491 (tst-rxspencer-no-utf8-ARGS): New variable.
16492 (tst-rxspencer-no-utf8-ENV): Likewise.
16493 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16494 instead of $(objpfx)tst-rxspencer-mem.
16495 ($(objpfx)tst-rxspencer-mem): Change target to
16496 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
16497 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16498 * posix/tst-rxspencer-no-utf8.c: New file.
16499
6e89caf1
JM
16500 * elf/Makefile ($(objpfx)order.out): Remove rule.
16501 [$(run-built-tests) = yes] (tests): Depend on
16502 $(objpfx)order-cmp.out.
16503 ($(objpfx)order-cmp.out): New rule.
16504 [$(run-built-tests) = yes] (tests): Depend on
16505 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16506 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16507 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16508 $(objpfx)tst-array5-static-cmp.out.
16509 ($(objpfx)tst-array1.out): Remove rule.
16510 ($(objpfx)tst-array1-cmp.out): New rule.
16511 ($(objpfx)tst-array1-static.out): Remove rule.
16512 ($(objpfx)tst-array1-static-cmp.out): New rule.
16513 ($(objpfx)tst-array2.out): Remove rule.
16514 ($(objpfx)tst-array2-cmp.out): New rule.
16515 ($(objpfx)tst-array3.out): Remove rule.
16516 ($(objpfx)tst-array3-cmp.out): New rule.
16517 ($(objpfx)tst-array4.out): Remove rule.
16518 ($(objpfx)tst-array4-cmp.out): New rule.
16519 ($(objpfx)tst-array5.out): Remove rule.
16520 ($(objpfx)tst-array5-cmp.out): New rule.
16521 ($(objpfx)tst-array5-static.out): Remove rule.
16522 ($(objpfx)tst-array5-static-cmp.out): New rule.
16523 [$(run-built-tests) = yes] (tests): Depend on
16524 $(objpfx)order2-cmp.out.
16525 ($(objpfx)order2.out): Remove rule.
16526 ($(objpfx)order2-cmp.out): New rule.
16527 ($(objpfx)tst-initorder.out): Remove rule.
16528 [$(run-built-tests) = yes] (tests): Depend on
16529 $(objpfx)tst-initorder-cmp.out.
16530 ($(objpfx)tst-initorder-cmp.out): New rule.
16531 ($(objpfx)tst-initorder2.out): Remove rule.
16532 [$(run-built-tests) = yes] (tests): Depend on
16533 $(objpfx)tst-initorder2-cmp.out.
16534 ($(objpfx)tst-initorder2-cmp.out): New rule.
16535 [$(run-built-tests) = yes] (tests): Depend on
16536 $(objpfx)tst-unused-dep-cmp.out.
16537 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16538 ($(objpfx)tst-unused-dep-cmp.out): New rule.
16539 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16540 on $(objpfx)tst-setvbuf1-cmp.out.
16541 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16542 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16543 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16544 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16545 ($(objpfx)tst-svc.out): Remove rule.
16546 ($(objpfx)tst-svc-cmp.out): New rule.
16547
ed9a38e2
JM
165482014-02-13 Joseph Myers <joseph@codesourcery.com>
16549
16550 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16551 * ctype/ctype.h [__USE_MISC]: Likewise.
16552 * dirent/dirent.h [__USE_MISC]: Likewise.
16553 * grp/grp.h [__USE_MISC]: Likewise.
16554 * io/fcntl.h [__USE_MISC]: Likewise.
16555 * io/sys/stat.h [__USE_MISC]: Likewise.
16556 * libio/stdio.h [__USE_MISC]: Likewise.
16557 * posix/unistd.h [__USE_MISC]: Likewise.
16558 * pwd/pwd.h [__USE_MISC]: Likewise.
16559 * stdlib.h [__USE_MISC]: Likewise.
16560 * string/bits/string2.h [__USE_MISC]: Likewise.
16561 * string/string.h [__USE_MISC]: Likewise.
16562 * time/time.h [__USE_MISC]: Likewise.
16563
d6680619
AS
165642014-02-13 Andreas Schwab <schwab@suse.de>
16565
16566 [BZ #16574]
16567 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16568 second answer buffer if it was separately allocated.
16569
ace614b8
JM
165702014-02-12 Joseph Myers <joseph@codesourcery.com>
16571
743151ae
JM
16572 * sysdeps/mips/math-tests.h: Include <features.h>.
16573 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16574 (ROUNDING_TESTS_long_double): Do not define.
16575 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16576 (EXCEPTION_TESTS_long_double): Likewise.
16577 * sysdeps/mips/mips64/libm-test-ulps: Update.
16578
498afc54
JM
16579 * include/features.h (__USE_BSD): Remove macro definitions.
16580 (__USE_SVID): Likewise.
16581 (_BSD_SOURCE): Likewise.
16582 (_SVID_SOURCE): Likewise.
16583 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16584 from definition of _DEFAULT_SOURCE.
16585 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16586 [_DEFAULT_SOURCE].
16587 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16588 * bits/mman.h [__USE_BSD]: Likewise.
16589 * bits/termios.h [__USE_BSD]: Likewise.
16590 * bits/waitstatus.h [__USE_BSD]: Likewise.
16591 * ctype/ctype.h [__USE_SVID]: Likewise.
16592 * dirent/dirent.h [__USE_BSD]: Likewise.
16593 * grp/grp.h [__USE_SVID]: Likewise.
16594 [__USE_BSD]: Likewise.
16595 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16596 * io/fcntl.h [__USE_BSD]: Likewise.
16597 * io/ftw.h [__USE_BSD]: Likewise.
16598 * io/sys/stat.h [__USE_BSD]: Likewise.
16599 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16600 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16601 * libio/stdio.h [__USE_SVID]: Likewise.
16602 [__USE_BSD]: Likewise.
16603 * math/math.h [__USE_SVID]: Likewise.
16604 [__USE_BSD]: Likewise.
16605 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16606 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16607 * misc/search.h [__USE_SVID]: Likewise.
16608 * misc/sys/mman.h [__USE_BSD]: Likewise.
16609 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16610 * misc/sys/uio.h [__USE_BSD]: Likewise.
16611 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16612 * posix/glob.h [__USE_BSD]: Likewise.
16613 * posix/regex.h [__USE_BSD]: Likewise.
16614 * posix/sys/types.h [__USE_BSD]: Likewise.
16615 [__USE_SVID]: Likewise.
16616 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16617 * posix/sys/wait.h [__USE_BSD]: Likewise.
16618 [__USE_SVID]: Likewise.
16619 * posix/unistd.h [__USE_BSD]: Likewise.
16620 [__USE_SVID]: Likewise.
16621 * pwd/pwd.h [__USE_SVID]: Likewise.
16622 * resolv/netdb.h [__USE_BSD]: Likewise.
16623 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16624 * signal/signal.h [__USE_BSD]: Likewise.
16625 [__USE_SVID]: Likewise.
16626 * socket/sys/socket.h [__USE_BSD]: Likewise.
16627 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16628 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16629 [__USE_SVID]: Likewise.
16630 * string/bits/string2.h [__USE_BSD]: Likewise.
16631 [__USE_SVID]: Likewise.
16632 * string/bits/string3.h [__USE_BSD]: Likewise.
16633 * string/endian.h [__USE_BSD]: Likewise.
16634 * string/string.h [__USE_SVID]: Likewise.
16635 [__USE_BSD]: Likewise.
16636 * string/strings.h [__USE_BSD]: Likewise.
16637 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16638 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16639 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16640 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16641 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16642 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16643 Likewise.
16644 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16645 Likewise.
16646 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16647 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16648 Likewise.
16649 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16650 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16651 Likewise.
16652 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16653 Likewise.
16654 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16655 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16656 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16657 Likewise.
16658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16659 Likewise.
16660 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16661 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16662 * termios/termios.h [__USE_BSD]: Likewise.
16663 * time/sys/time.h [__USE_BSD]: Likewise.
16664 * time/time.h [__USE_BSD]: Likewise.
16665 [__USE_SVID]: Likewise.
16666
dd7b064c
JM
16667 * Makefile (subdir_targets): Remove subdir_lint.out.
16668
a2c4c199
JM
16669 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16670 (do-tst-printf): Likewise.
16671 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16672 $(objpfx)tst-printf.out.
16673
8756f740
JM
16674 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16675
1b6dd3f1
JM
16676 * Makerules (check-abi-%): Change target to
16677 $(objpfx)check-abi-%.out.
16678 (check-abi target): Update dependencies.
16679 (check-abi-pattern variable): Redirect output of diff to $@.
16680 (check-abi variable): Likewise.
16681 * elf/Makefile (check-abi): Update dependencies.
16682
ace614b8
JM
16683 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16684 unused.
16685 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16686 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16687 subnormal range.
16688 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16689 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16690 value has largest subnormal exponent.
16691 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16692 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16693 * sysdeps/aarch64/soft-fp/sfp-machine.h
16694 (_FP_TININESS_AFTER_ROUNDING): New macro.
16695 * sysdeps/alpha/soft-fp/sfp-machine.h
16696 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16697 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16698 Likewise.
16699 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16700 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16701 * sysdeps/mips/soft-fp/sfp-machine.h
16702 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16703 * sysdeps/powerpc/soft-fp/sfp-machine.h
16704 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16705 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16706 Likewise.
16707 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16708 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16709 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16710 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16711 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16712 Likewise.
16713
fbfdf9cb
DAS
167142014-02-12 Dylan Alex Simon <dylan@dylex.net>
16715
16716 [BZ #16545]
16717 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16718 model 1.
16719
68b7efaa
RH
167202014-02-12 Richard Henderson <rth@redhat.com>
16721
c70a4b1d 16722 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
16723 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16724 * sysdeps/unix/sysv/linux/alpha: Move directory from
16725 ports/sysdeps/unix/sysv/linux/alpha.
16726 * README: Update listing for alpha-*-linux-gnu.
16727
cb4a2928
JM
167282014-02-11 Joseph Myers <joseph@codesourcery.com>
16729
c941736c
JM
16730 * include/features.h: Update comment documenting feature test
16731 macros.
16732 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16733 _DEFAULT_SOURCE.
16734 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16735 (_SVID_SOURCE): Likewise.
16736 (_DEFAULT_SOURCE): Update description of default features.
16737 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16738 with _GNU_SOURCE.
16739 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16740 (S_ISVTX): Likewise.
16741 * manual/math.texi (Mathematical Constants): Likewise.
16742 * manual/signal.texi (Interrupted Primitives): Likewise.
16743 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16744 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16745 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16746 Don't refer to _SVID_SOURCE in warning text.
16747
e8d8d7ec
JM
16748 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16749
cb4a2928
JM
16750 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16751 already defined.
16752 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16753 * sysdeps/mips/dl-lookup.c: Remove.
16754 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16755
7e6424e3
AK
167562014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16757
16758 [BZ #16447]
16759 * math/auto-libm-test-in: Add testcase for expl.
16760 * math/auto-libm-test-out: Regenerate.
16761 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16762 calculation of unsafe.
16763 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16764
75eff3fe
MS
167652014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16766
16767 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16768 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16769 ports/sysdeps/unix/sysv/linux/aarch64.
16770 * README: Update listing for aarch64*-*-linux-gnu.
16771
d35f1e80
WN
167722014-02-11 Will Newton <will.newton@linaro.org>
16773
16774 * manual/probes.texi (Mathematical Function Probes): Use
16775 "triggered" instead of "hit".
16776
7b3436d4
WN
16777 * manual/probes.texi (Internal Probes): Add documentation
16778 of setjmp, longjmp and longjmp_target probes.
16779
b4f12ca3
WN
16780 * include/stap-probe.h: Add comment about probe argument
16781 format.
16782
c13a72b7
WN
16783 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16784 definition. (tr_where, tr_freehook, tr_mallochook,
16785 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16786
195b8165
DM
167872014-02-11 David S. Miller <davem@davemloft.net>
16788
16789 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16790 processing int_tests.
16791
2ad7600b
JM
167922014-02-10 Joseph Myers <joseph@codesourcery.com>
16793
16794 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16795 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16796 * sysdeps/unix/sysv/linux/mips: Move directory from
16797 ports/sysdeps/unix/sysv/linux/mips.
16798 * README: Update listing for mips-*-linux-gnu and
16799 mips64-*-linux-gnu.
16800
73588a72
AS
168012014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16802
16803 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16804 * sysdeps/unix/sysv/linux/m68k: Move directory from
16805 ports/sysdeps/unix/sysv/linux/m68k.
16806 * README: Update listing for m68k-*-linux-gnu.
16807
4372980f
CM
168082014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16809
16810 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16811 * sysdeps/unix/sysv/linux/generic: Move directory from
16812 ports/sysdeps/unix/sysv/linux/generic.
16813 * sysdeps/unix/sysv/linux/tile: Move directory from
16814 ports/sysdeps/unix/sysv/linux/tile.
16815 * README: Update listing for tile*-*-linux-gnu.
16816
a1ffb40e
OB
168172014-02-10 Ondřej Bílka <neleai@seznam.cz>
16818
57f41c40
AS
16819 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16820 __builtin_expect.
a1ffb40e
OB
16821 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16822 * catgets/open_catalog.c (__open_catalog): Likewise.
16823 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16824 * debug/confstr_chk.c: Likewise.
16825 * debug/fread_chk.c (__fread_chk): Likewise.
16826 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16827 * debug/getgroups_chk.c: Likewise.
16828 * debug/mbsnrtowcs_chk.c: Likewise.
16829 * debug/mbsrtowcs_chk.c: Likewise.
16830 * debug/mbstowcs_chk.c: Likewise.
16831 * debug/memcpy_chk.c: Likewise.
16832 * debug/memmove_chk.c: Likewise.
16833 * debug/mempcpy_chk.c: Likewise.
16834 * debug/memset_chk.c: Likewise.
16835 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16836 * debug/strcat_chk.c (__strcat_chk): Likewise.
16837 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16838 * debug/strncat_chk.c (__strncat_chk): Likewise.
16839 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16840 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16841 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16842 * debug/wcpncpy_chk.c: Likewise.
16843 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16844 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16845 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16846 * debug/wcsncpy_chk.c: Likewise.
16847 * debug/wcsnrtombs_chk.c: Likewise.
16848 * debug/wcsrtombs_chk.c: Likewise.
16849 * debug/wcstombs_chk.c: Likewise.
16850 * debug/wmemcpy_chk.c: Likewise.
16851 * debug/wmemmove_chk.c: Likewise.
16852 * debug/wmempcpy_chk.c: Likewise.
16853 * debug/wmemset_chk.c: Likewise.
16854 * dirent/scandirat.c (SCANDIRAT): Likewise.
16855 * dlfcn/dladdr1.c (dladdr1): Likewise.
16856 * dlfcn/dladdr.c (dladdr): Likewise.
16857 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16858 * dlfcn/dlerror.c (__dlerror): Likewise.
16859 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16860 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16861 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16862 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16863 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16864 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16865 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16866 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16867 Likewise.
16868 * elf/dl-conflict.c: Likewise.
16869 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16870 * elf/dl-dst.h: Likewise.
16871 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16872 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16873 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16874 * elf/dl-init.c (call_init, _dl_init): Likewise.
16875 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
16876 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16877 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16878 Likewise.
a1ffb40e
OB
16879 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16880 Likewise.
16881 * elf/dl-minimal.c (__libc_memalign): Likewise.
16882 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16883 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16884 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16885 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
16886 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16887 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
16888 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16889 * elf/dl-writev.h (_dl_writev): Likewise.
16890 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
16891 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16892 (dl_main): Likewise.
a1ffb40e
OB
16893 * elf/setup-vdso.h (setup_vdso): Likewise.
16894 * grp/compat-initgroups.c (compat_call): Likewise.
16895 * grp/fgetgrent.c (fgetgrent): Likewise.
16896 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16897 * grp/putgrent.c (putgrent): Likewise.
16898 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16899 Likewise.
16900 * hurd/hurdinit.c: Likewise.
16901 * iconvdata/8bit-gap.c (struct): Likewise.
16902 * iconvdata/ansi_x3.110.c : Likewise.
16903 * iconvdata/big5.c : Likewise.
16904 * iconvdata/big5hkscs.c : Likewise.
16905 * iconvdata/cp1255.c: Likewise.
16906 * iconvdata/cp1258.c : Likewise.
16907 * iconvdata/cp932.c : Likewise.
16908 * iconvdata/euc-cn.c: Likewise.
16909 * iconvdata/euc-jisx0213.c : Likewise.
16910 * iconvdata/euc-jp.c: Likewise.
16911 * iconvdata/euc-jp-ms.c : Likewise.
16912 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16913 * iconvdata/gb18030.c : Likewise.
16914 * iconvdata/gbbig5.c (const): Likewise.
16915 * iconvdata/gbgbk.c: Likewise.
16916 * iconvdata/gbk.c : Likewise.
16917 * iconvdata/ibm1364.c : Likewise.
16918 * iconvdata/ibm930.c : Likewise.
16919 * iconvdata/ibm932.c: Likewise.
16920 * iconvdata/ibm933.c : Likewise.
16921 * iconvdata/ibm935.c : Likewise.
16922 * iconvdata/ibm937.c : Likewise.
16923 * iconvdata/ibm939.c : Likewise.
16924 * iconvdata/ibm943.c: Likewise.
16925 * iconvdata/iso_11548-1.c: Likewise.
16926 * iconvdata/iso-2022-cn.c : Likewise.
16927 * iconvdata/iso-2022-cn-ext.c : Likewise.
16928 * iconvdata/iso-2022-jp-3.c: Likewise.
16929 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16930 * iconvdata/iso-2022-kr.c : Likewise.
16931 * iconvdata/iso646.c (gconv_end): Likewise.
16932 * iconvdata/iso_6937-2.c : Likewise.
16933 * iconvdata/iso_6937.c : Likewise.
16934 * iconvdata/iso8859-1.c: Likewise.
16935 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16936 * iconvdata/shift_jisx0213.c : Likewise.
16937 * iconvdata/sjis.c : Likewise.
16938 * iconvdata/t.61.c : Likewise.
16939 * iconvdata/tcvn5712-1.c : Likewise.
16940 * iconvdata/tscii.c: Likewise.
16941 * iconvdata/uhc.c : Likewise.
16942 * iconvdata/unicode.c (gconv_end): Likewise.
16943 * iconvdata/utf-16.c (gconv_end): Likewise.
16944 * iconvdata/utf-32.c (gconv_end): Likewise.
16945 * iconvdata/utf-7.c (base64): Likewise.
16946 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16947 * iconv/gconv_close.c (__gconv_close): Likewise.
16948 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
16949 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16950 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16951 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16952 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16953 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
16954 * iconv/iconv.c (iconv): Likewise.
16955 * iconv/iconv_close.c: Likewise.
16956 * iconv/loop.c (SINGLE): Likewise.
16957 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16958 * include/atomic.h: Likewise.
16959 * inet/inet6_option.c (option_alloc): Likewise.
16960 * intl/bindtextdom.c (set_binding_values): Likewise.
16961 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16962 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16963 * intl/localealias.c (read_alias_file): Likewise.
16964 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
16965 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16966 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
16967 * libio/fmemopen.c (fmemopen): Likewise.
16968 * libio/iofgets.c (_IO_fgets): Likewise.
16969 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16970 * libio/iofgetws.c (fgetws): Likewise.
16971 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16972 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
16973 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16974 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
16975 * locale/findlocale.c (_nl_find_locale): Likewise.
16976 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16977 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16978 Likewise.
16979 * locale/setlocale.c (setlocale): Likewise.
16980 * login/programs/pt_chown.c (main): Likewise.
16981 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16982 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
16983 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16984 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
16985 * math/e_exp2l.c: Likewise.
16986 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16987 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16988 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16989 * math/s_catan.c (__catan): Likewise.
16990 * math/s_catanf.c (__catanf): Likewise.
16991 * math/s_catanh.c (__catanh): Likewise.
16992 * math/s_catanhf.c (__catanhf): Likewise.
16993 * math/s_catanhl.c (__catanhl): Likewise.
16994 * math/s_catanl.c (__catanl): Likewise.
16995 * math/s_ccosh.c (__ccosh): Likewise.
16996 * math/s_ccoshf.c (__ccoshf): Likewise.
16997 * math/s_ccoshl.c (__ccoshl): Likewise.
16998 * math/s_cexp.c (__cexp): Likewise.
16999 * math/s_cexpf.c (__cexpf): Likewise.
17000 * math/s_cexpl.c (__cexpl): Likewise.
17001 * math/s_clog10.c (__clog10): Likewise.
17002 * math/s_clog10f.c (__clog10f): Likewise.
17003 * math/s_clog10l.c (__clog10l): Likewise.
17004 * math/s_clog.c (__clog): Likewise.
17005 * math/s_clogf.c (__clogf): Likewise.
17006 * math/s_clogl.c (__clogl): Likewise.
17007 * math/s_csin.c (__csin): Likewise.
17008 * math/s_csinf.c (__csinf): Likewise.
17009 * math/s_csinh.c (__csinh): Likewise.
17010 * math/s_csinhf.c (__csinhf): Likewise.
17011 * math/s_csinhl.c (__csinhl): Likewise.
17012 * math/s_csinl.c (__csinl): Likewise.
17013 * math/s_csqrt.c (__csqrt): Likewise.
17014 * math/s_csqrtf.c (__csqrtf): Likewise.
17015 * math/s_csqrtl.c (__csqrtl): Likewise.
17016 * math/s_ctan.c (__ctan): Likewise.
17017 * math/s_ctanf.c (__ctanf): Likewise.
17018 * math/s_ctanh.c (__ctanh): Likewise.
17019 * math/s_ctanhf.c (__ctanhf): Likewise.
17020 * math/s_ctanhl.c (__ctanhl): Likewise.
17021 * math/s_ctanl.c (__ctanl): Likewise.
17022 * math/w_pow.c: Likewise.
17023 * math/w_powf.c: Likewise.
17024 * math/w_powl.c: Likewise.
17025 * math/w_scalb.c (sysv_scalb): Likewise.
17026 * math/w_scalbf.c (sysv_scalbf): Likewise.
17027 * math/w_scalbl.c (sysv_scalbl): Likewise.
17028 * misc/error.c (error_tail): Likewise.
17029 * misc/pselect.c (__pselect): Likewise.
17030 * nis/nis_callback.c (__nis_create_callback): Likewise.
17031 * nis/nis_call.c (__nisfind_server): Likewise.
17032 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17033 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17034 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17035 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17036 * nis/nis_lookup.c (nis_lookup): Likewise.
17037 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17038 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17039 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17040 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17041 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17042 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17043 * nis/nss_compat/compat-initgroups.c (add_group)
17044 (internal_getgrent_r): Likewise.
17045 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17046 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17047 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17048 (internal_getspnam_r): Likewise.
17049 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17050 (_nss_nis_getaliasbyname_r): Likewise.
17051 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17052 (_nss_nis_getntohost_r): Likewise.
17053 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17054 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17055 (_nss_nis_getgrgid_r): Likewise.
17056 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17057 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17058 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17059 (_nss_nis_gethostbyname4_r): Likewise.
17060 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17061 (initgroups_netid): Likewise.
a1ffb40e 17062 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17063 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17064 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17065 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17066 (_nss_nis_getprotobynumber_r): Likewise.
17067 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17068 (_nss_nis_getsecretkey): Likewise.
17069 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17070 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17071 (_nss_nis_getpwuid_r): Likewise.
17072 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17073 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17074 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17075 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17076 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17077 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17078 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17079 Likewise.
57f41c40
AS
17080 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17081 (_nss_nisplus_getntohost_r): Likewise.
17082 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17083 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17084 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17085 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17086 Likewise.
57f41c40
AS
17087 * nis/nss_nisplus/nisplus-initgroups.c
17088 (_nss_nisplus_initgroups_dyn): Likewise.
17089 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17090 (_nss_nisplus_getnetbyaddr_r): Likewise.
17091 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17092 (_nss_nisplus_getprotobynumber_r): Likewise.
17093 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17094 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17095 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17096 Likewise.
57f41c40
AS
17097 * nis/nss_nisplus/nisplus-service.c
17098 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17099 (_nss_nisplus_getservbyport_r): Likewise.
17100 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17101 (_nss_nisplus_getspnam_r): Likewise.
17102 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17103 Likewise.
a1ffb40e
OB
17104 * nscd/aicache.c (addhstaiX): Likewise.
17105 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17106 * nscd/connections.c (register_traced_file, send_ro_fd)
17107 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17108 (main_loop_epoll): Likewise.
a1ffb40e
OB
17109 * nscd/grpcache.c (addgrbyX): Likewise.
17110 * nscd/hstcache.c (addhstbyX): Likewise.
17111 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17112 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17113 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17114 (addinnetgrX): Likewise.
17115 * nscd/nscd-client.h (__nscd_acquire_maplock)
17116 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17117 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17118 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17119 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17120 Likewise.
17121 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17122 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17123 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17124 (__nscd_get_map_ref): Likewise.
a1ffb40e 17125 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17126 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17127 Likewise.
a1ffb40e
OB
17128 * nscd/pwdcache.c (addpwbyX): Likewise.
17129 * nscd/selinux.c (preserve_capabilities): Likewise.
17130 * nscd/servicescache.c (addservbyX): Likewise.
17131 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17132 * posix/fnmatch.c (fnmatch): Likewise.
17133 * posix/getopt.c (_getopt_internal_r): Likewise.
17134 * posix/glob.c (glob, glob_in_dir): Likewise.
17135 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17136 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17137 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17138 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17139 * resolv/res_init.c: Likewise.
17140 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17141 * resolv/res_query.c (__libc_res_nquery): Likewise.
17142 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17143 Likewise.
17144 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17145 * stdio-common/perror.c (perror): Likewise.
17146 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17147 * stdio-common/tmpnam.c (tmpnam): Likewise.
17148 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17149 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17150 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17151 Likewise.
a1ffb40e
OB
17152 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17153 * stdlib/putenv.c (putenv): Likewise.
17154 * stdlib/setenv.c (__add_to_environ): Likewise.
17155 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17156 * stdlib/strtol_l.c (INTERNAL): Likewise.
17157 * string/memmem.c (memmem): Likewise.
17158 * string/strerror.c (strerror): Likewise.
17159 * string/strnlen.c (__strnlen): Likewise.
17160 * string/test-memmem.c (simple_memmem): Likewise.
17161 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17162 * sunrpc/pm_getport.c (__get_socket): Likewise.
17163 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17164 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17165 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17166 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17167 Likewise.
17168 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17169 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17170 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17171 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17172 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17173 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17174 Likewise.
17175 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17176 Likewise.
a1ffb40e
OB
17177 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17178 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17179 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17180 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17181 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17183 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17184 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17185 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17186 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17187 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17188 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17189 Likewise.
17190 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17191 Likewise.
17192 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17193 Likewise.
17194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17196 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17197 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17198 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17199 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17200 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17203 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17204 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17206 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17207 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17209 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17210 Likewise.
a1ffb40e
OB
17211 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17212 Likewise.
17213 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17214 Likewise.
17215 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17216 Likewise.
17217 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17218 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17219 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17220 Likewise.
17221 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17222 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17223 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17224 * sysdeps/posix/sleep.c: Likewise.
17225 * sysdeps/posix/tempname.c: Likewise.
17226 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17227 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17228 Likewise.
57f41c40
AS
17229 * sysdeps/powerpc/powerpc32/dl-machine.h
17230 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17231 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17233 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17234 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17235 Likewise.
17236 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17237 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17238 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17239 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17240 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17241 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17242 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17243 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17244 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17245 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17247 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17248 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17249 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17250 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17251 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17252 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17253 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17254 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17255 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17256 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17257 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17258 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17259 Likewise.
17260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17261 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17262 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17263 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17264 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17265 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17266 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17267 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17268 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17269 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17270 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17271 Likewise.
17272 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17273 (__posix_fallocate64_l64): Likewise.
17274 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17275 (posix_fallocate): Likewise.
57f41c40
AS
17276 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17277 Likewise.
a1ffb40e 17278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17279 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17280 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17281 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17282 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17283 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17284 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17285 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17286 (__posix_fallocate64_l64): Likewise.
17287 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17288 Likewise.
17289 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17290 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17291 (__get_clockfreq): Likewise.
a1ffb40e
OB
17292 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17293 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17294 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17295 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17296 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17297 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17298 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17299 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17300 Likewise.
17301 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17302 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17303 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17304 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17305 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17306 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17307 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17308 Likewise.
17309 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17310 (posix_fallocate): Likewise.
17311 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17312 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17313 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17314 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17315 (elf_machine_rela, elf_machine_rela_relative)
17316 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17317 * time/asctime.c (asctime_internal): Likewise.
17318 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17319 * time/tzset.c (__tzset_parse_tz): Likewise.
17320 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17321 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17322 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17323 * wcsmbs/wcsmbsload.h: Likewise.
17324
f3d338c9
OB
17325 [BZ #15894]
17326 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17327
57f41c40
AS
17328 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17329 (arena_get2): Remove THREAD_STATS conditionals.
17330 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17331 (__malloc_stats, int): Likewise.
bdfe308a 17332
d674667c
MF
173332014-02-08 Mike Frysinger <vapier@gentoo.org>
17334
17335 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17336 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17337
6349768c
MF
17338 * manual/setjmp.texi: Fix typos/grammar errors.
17339
0b7c7473
MF
17340 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17341 Only return early when n is <= 0. Delete unused return statement.
17342
ac8cc9e3
MF
17343 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17344 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17345 * debug/tst-longjmp_chk3.c: New file.
17346
c5bb8e23
MF
17347 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17348 (test_main): Replace code with set_fortify_handler call.
17349 * debug/test-strcpy_chk.c: Likewise.
17350 * debug/tst-chk1.c: Likewise.
17351 * debug/tst-longjmp_chk.c: Likewise.
17352 * test-skeleton.c: Include fcntl.h & paths.h
17353 (set_fortify_handler): Define.
17354
10444e42
MF
17355 * debug/tst-longjmp_chk.c: Add header comment and include
17356 ../test-skeleton.c.
17357 (do_test): Mark static.
17358 (TEST_FUNCTION): Define.
17359
1e805e8d
MF
17360 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17361 (IP_PMTUDISC_INTERFACE): Likewise.
17362 (IP_MULTICAST_IF): Likewise.
17363 (IP_MULTICAST_TTL): Likewise.
17364 (IP_MULTICAST_LOOP): Likewise.
17365 (IP_ADD_MEMBERSHIP): Likewise.
17366 (IP_DROP_MEMBERSHIP): Likewise.
17367 (IP_UNBLOCK_SOURCE): Likewise.
17368 (IP_BLOCK_SOURCE): Likewise.
17369 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17370 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17371 (IP_MSFILTER): Likewise.
17372 (MCAST_JOIN_GROUP): Likewise.
17373 (MCAST_BLOCK_SOURCE): Likewise.
17374 (MCAST_UNBLOCK_SOURCE): Likewise.
17375 (MCAST_LEAVE_GROUP): Likewise.
17376 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17377 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17378 (MCAST_MSFILTER): Likewise.
17379 (IP_MULTICAST_ALL): Likewise.
17380 (IP_UNICAST_IF): Likewise.
17381
73f79bb7
MF
17382 * timezone/Makefile: Delete $(have-ksh) check.
17383 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17384 * timezone/tzselect.ksh: Add +x mode bits.
17385
8da79b60
MF
17386 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17387 (ANON_INODE_FS_MAGIC): Likewise.
17388 (BDEVFS_MAGIC): Likewise.
17389 (BINFMTFS_MAGIC): Likewise.
17390 (BTRFS_TEST_MAGIC): Likewise.
17391 (CRAMFS_MAGIC_WEND): Likewise.
17392 (DEBUGFS_MAGIC): Likewise.
17393 (ECRYPTFS_SUPER_MAGIC): Likewise.
17394 (EXT3_SUPER_MAGIC): Likewise.
17395 (EXT4_SUPER_MAGIC): Likewise.
17396 (FUTEXFS_SUPER_MAGIC): Likewise.
17397 (HOSTFS_SUPER_MAGIC): Likewise.
17398 (HUGETLBFS_MAGIC): Likewise.
17399 (MINIX3_SUPER_MAGIC): Likewise.
17400 (MTD_INODE_FS_MAGIC): Likewise.
17401 (NILFS_SUPER_MAGIC): Likewise.
17402 (OPENPROM_SUPER_MAGIC): Likewise.
17403 (PIPEFS_MAGIC): Likewise.
17404 (PSTOREFS_MAGIC): Likewise.
17405 (QNX6_SUPER_MAGIC): Likewise.
17406 (RAMFS_MAGIC): Likewise.
17407 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17408 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17409 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17410 (SECURITYFS_MAGIC): Likewise.
17411 (SELINUX_MAGIC): Likewise.
17412 (SMACK_MAGIC): Likewise.
17413 (SOCKFS_MAGIC): Likewise.
17414 (SQUASHFS_MAGIC): Likewise.
17415 (STACK_END_MAGIC): Likewise.
17416 (TMPFS_MAGIC): Likewise.
17417 (USBDEVICE_SUPER_MAGIC): Likewise.
17418 (V9FS_MAGIC): Likewise.
17419 (XENFS_SUPER_MAGIC): Likewise.
17420 (CRAMFS_MAGIC): Fix typo in comment.
17421 (EXT2_SUPER_MAGIC): Update comment.
17422 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17423
464263cc
JM
174242014-02-08 Joseph Myers <joseph@codesourcery.com>
17425
c6bfe5c4
JM
17426 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17427 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17428 * sysdeps/unix/sysv/linux/arm: Move directory from
17429 ports/sysdeps/unix/sysv/linux/arm.
17430 * README: Update listing for arm-*-linux-gnueabi.
17431
464263cc
JM
17432 * README: Remove mention of am33.
17433
32749f6c
RM
174342014-02-07 Roland McGrath <roland@hack.frob.com>
17435
17436 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17437 than the comma operator, to avoid "rhs of comma has no effect"
17438 compiler warnings.
17439 (__sigfillset, __sigandset, __sigorset): Likewise.
17440 * include/signal.h (__sigemptyset): Likewise.
17441 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17442
d5b396c1
AM
174432014-02-07 Allan McRae <allan@archlinux.org>
17444
17445 * version.h (RELEASE): Set to "development".
17446 (VERSION): Set to "2.19.90"
17447 * NEWS: Add 2.20 section.
17448
3bfff2ed
CD
174492014-02-06 Carlos O'Donell <carlos@redhat.com>
17450
17451 [BZ #16529]
17452 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17453
ee7cc385
SP
174542014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17455
17456 * manual/contrib.texi: Update entry for Carlos O'Donell,
17457 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17458
f877c4f2
CD
174592014-02-05 Carlos O'Donell <carlos@rehdat.com>
17460
27e839f6
CD
17461 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17462
f877c4f2
CD
17463 * sysdeps/unix/sysv/linux/kernel-features.h
17464 [__LINUX_KERNEL_VERSION >= 0x020621]
17465 (__ASSUME_PROC_PID_TASK_COMM): Define.
17466
68159946
SP
174672014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17468
ba17cdbd
SP
17469 [BZ #16398]
17470 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17471 conversion when destination buffer does not have enough space.
17472 * libio/tst-ftell-partial-wide.c: New test case.
17473 * libio/Makefile (tests): Add tst-ftell-partial-wide.
17474
68159946
SP
17475 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17476 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
17477 Leonard and Allan McRae.
17478
2b528732
DM
174792014-02-04 David S. Miller <davem@davemloft.net>
17480
17481 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17482 32-bit.
17483
0ff82463
AZ
174842014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17485
57f41c40
AS
17486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17487 New file
c01603f7
AZ
17488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17489 New file
57f41c40
AS
17490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17491 New file.
17492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17493 New file.
c01603f7
AZ
17494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17495 New file.
57f41c40
AS
17496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17497 New file.
17498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17499 New file.
c01603f7
AZ
17500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17501 New file.
17502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17503 New file.
17504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17505 New file.
17506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17507 New file.
17508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17509 New file.
17510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17511 New file.
17512
175132014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17514
0ff82463
AZ
17515 * nptl/shlib-versions: Change powerpc*le start to 2.17.
17516 * shlib-versions: Likewise.
17517
1695c773
AZ
175182014-02-04 Roland McGrath <roland@hack.frob.com>
17519 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17520
17521 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17522 (abilist-pattern): New variable, set to %-le.abilist.
17523
17524 * Makerules (abilist-pattern): New variable.
17525 (vpath): Use $(abilist-pattern) in place of %.abilist.
17526 (check-abi-% pattern rule): Likewise.
17527 (check-abi, update-abi): Likewise.
17528
6c0ce4b4
EW
175292014-02-04 Eric Wong <normalperson@yhbt.net>
17530
17531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17532
481e3524
CD
175332014-02-03 Carlos O'Donell <carlos@redhat.com>
17534
17535 * manual/startup.texi: Add next, previous, and top entries for
17536 the `Program Arguments' and `Environment Variables' nodes.
17537
375592d3
AO
175382014-02-03 Alexandre Oliva <aoliva@redhat.com>
17539
17540 * manual/macros.texi: Add comments before MTASC-safety macros.
17541
f54838ba
AO
17542 * manual/users.texi: Document MTASC-safety properties.
17543
57f41c40
AS
17544 * manual/threads.texi (pthread_key_create, pthread_key_delete)
17545 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
17546 @deftypefun, and add @safety note.
17547 * manual/signal.texi: Move comments that analyze the above
17548 functions to their home place.
17549
fd3daba4
AM
175502014-02-03 Allan McRae <allan@archlinux.org>
17551
17552 * po/sl.po: Update Slovenian translation from translation project.
17553
597636d7
AO
175542014-02-02 Alexandre Oliva <aoliva@redhat.com>
17555
17556 * manual/time.texi (timegm): Add missing blank after @c.
17557 Reported by Joseph Myers <joseph@codesourcery.com>.
17558
ee196e3c
AO
175592014-02-01 Alexandre Oliva <aoliva@redhat.com>
17560
17561 * manual/check-safety.sh: New.
17562 * manual/Makefile ($(objpfx)stamp-summary): Run it.
17563
f8d529d5
AO
17564 * manual/terminal.texi: Document MTASC-safety properties.
17565
de55fdf4
AO
17566 * manual/filesys.texi: Document MTASC-safety properties.
17567
c3299c08
AO
17568 * manual/errno.texi: Document MTASC-safety properties.
17569
06e90b14
AO
17570 * manual/intro.texi: Document safety identifiers and
17571 conditionals.
17572
1acd4371
AO
17573 * manual/string.texi (wcstok): Fix prototype.
17574 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17575
23e5b8cb
AO
17576 * manual/time.texi: Document MTASC-safety properties.
17577
11087373
AO
17578 * manual/string.texi: Document MTASC-safety properties.
17579
5da2c93d
AO
17580 * manual/threads.texi: Document MTASC-safety properties.
17581
171e9210
AO
17582 * manual/stdio.texi: Document MTASC-safety properties.
17583
d9e02532
AO
17584 * manual/syslog.texi: Document MTASC-safety properties.
17585
6af8bab7
AO
17586 * manual/sysinfo.texi: Document MTASC-safety properties.
17587
663b02d7
AO
17588 * manual/startup.texi: Document MTASC-safety properties.
17589
973f180b
AO
17590 * manual/socket.texi: Document MTASC-safety properties.
17591
8f3c25c8
AO
17592 * manual/signal.texi: Document MTASC-safety properties.
17593
542210fb
AO
175942014-01-31 Alexandre Oliva <aoliva@redhat.com>
17595
17596 * manual/setjmp.texi: Document MTASC-safety properties.
17597
433c45a2
AO
17598 * manual/search.texi: Document MTASC-safety properties.
17599
c8ce789c
AO
17600 * manual/resource.texi: Document MTASC-safety properties.
17601
19f5d29c
AO
17602 * manual/process.texi: Document MTASC-safety properties.
17603
e2dfb7f4
AO
17604 * manual/platform.texi: Document MTASC-safety properties.
17605
8c1413f5
AO
17606 * manual/pipe.texi: Document MTASC-safety properties.
17607
03483ada
AO
17608 * manual/pattern.texi: Document MTASC-safety properties.
17609
29e7e2df
AO
17610 * manual/message.texi: Document MTASC-safety properties.
17611
9f529d7c
AO
17612 [BZ #12751]
17613 * manual/memory.texi: Document MTASC-safety properties.
17614
27aaa791
AO
17615 * manual/math.texi: Document MTASC-safety properties.
17616
f2d58726
AO
17617 * manual/locale.texi: Document MTASC-safety properties.
17618
2cc3615c
AO
17619 * manual/llio.texi: Document MTASC-safety properties.
17620
d9f0ec97
AO
17621 * manual/libdl.texi: New.
17622
e7c4409a
AO
17623 * manual/lang.texi: Document MTASC-safety properties.
17624
27bdc63c
AO
17625 * manual/job.texi: Document MTASC-safety properties.
17626
a7b90ea9
AO
17627 * manual/getopt.texi: Document MTASC-safety properties.
17628
c49130e3
AO
17629 * manual/ctype.texi: Document MTASC-safety properties.
17630
0d23a5c1
MR
176312014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17632
17633 [BZ #16046]
17634 * csu/libc-tls.c (static_map): Remove variable.
17635 (__libc_setup_tls): Use main executable's link map for TLS data.
17636 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17637 casing for LM_ID_BASE and GL(dl_nns).
17638 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17639 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17640 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17641 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17642 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17643 member.
17644 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17645 l_phnum members.
17646
0037bb60
AO
176472014-01-30 Alexandre Oliva <aoliva@redhat.com>
17648
17649 * manual/debug.texi: Document MTASC-safety properties.
17650
409e00bd
L
176512014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17652
17653 [BZ #16510]
17654 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17655 of __x86_64__ when disabling x87 inline functions.
17656
86e60666
AO
176572014-01-29 Alexandre Oliva <aoliva@redhat.com>
17658
17659 * manual/charset.texi: Document MTASC-safety properties.
17660
76167637
AO
17661 * manual/crypt.texi: Document MTASC-safety properties.
17662
e567f2a0
AO
17663 * manual/conf.texi: Document MTASC-safety properties.
17664
b719dafd
AO
17665 * manual/arith.texi: Document MTASC-safety properties.
17666
4a16c662
AO
17667 * manual/argp.texi: Document MTASC-safety properties.
17668
0a57b83e
AO
17669 * manual/macros.texi: Introduce macros to document multi
17670 thread, asynchronous signal and asynchronous cancellation
17671 safety properties.
17672 * manual/intro.texi: Introduce the properties themselves.
17673
feab2397
KK
176742014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17675
17676 * sysdeps/sh/sh4/Makefile: New file.
17677
1c0d11bc
AS
176782014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17679
17680 * math/gen-libm-test.pl ($srcdir): New variable.
17681 ($auto_input): Use it.
17682
af37a8a3
SP
176832014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17684
d7b00f98
SP
17685 [BZ #16506]
17686 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17687 access beyond array bounds when parsing netgroups file.
17688
af37a8a3
SP
17689 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17690 the old buffer before realloc.
17691
0c00f062
AM
176922014-01-27 Allan McRae <allan@archlinux.org>
17693
17694 * po/fr.po: Update French translation from translation project.
17695
7d69a1b0
KK
176962014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17697
17698 * sysdeps/sh/libm-test-ulps: Regenerate.
17699
6e697ff7
DM
177002014-01-24 David S. Miller <davem@davemloft.net>
17701
17702 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17703
9cadb35c
KK
177042014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17705
17706 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17707 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17708
5d41dadf
SP
177092013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17710
17711 [BZ #16474]
17712 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17713 string pointers after reallocation.
17714
0bad441c
KK
177152014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17716
17717 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17718 __SH4A__ instead of __SH_FPU_ANY__.
17719
7007c661
KK
177202014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17721
17722 * sysdeps/sh/fpu_control.h: New file.
17723 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17724 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17725 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17726 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17727 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17728 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17729 * sysdeps/sh/sys/ucontext.h: Remove.
17730 * sysdeps/sh/sys: Remove directory.
17731
0f0c35e4
AK
177322014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17733
17734 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17735 s390/sys/ucontext.h.
17736 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17737 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17738
4959e284
L
177392014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17740
17741 [BZ #15605]
17742 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17743
d98720e0
AZ
177442014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17745
17746 [BZ#16431]
17747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17748 Adjust the vDSO correctly for internal calls.
17749 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17750
91cbd0bc
AM
177512014-01-20 Allan McRae <allan@archlinux.org>
17752
17753 * po/ca.po: Update Catalan translation from translation project.
17754
7a02cfad
MF
177552014-01-16 Mike Frysinger <vapier@gentoo.org>
17756
17757 * sysdeps/s390/sotruss-lib.c: New file.
17758
736c304a
AZ
177592014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17760
17761 [BZ#16430]
6e077ee5 17762 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
17763 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17764 local calls issues by not having a PLT stub required for IFUNC calls.
17765 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17766
94d0cea0
JM
177672014-01-16 Joseph Myers <joseph@codesourcery.com>
17768
17769 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17770 * math/test-fpucw-static.c: Likewise.
17771
980cb518
SP
177722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17773
17774 [BZ #16453]
17775 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17776
2393fc01
AZ
177772014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17778
17779 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17780 implementation for powerpc.
17781
d359bcc2
OB
177822014-01-15 Ondřej Bílka <neleai@seznam.cz>
17783
17784 [BZ #14782]
17785 * sysdeps/posix/system.c (__libc_system): Do not enable
17786 asynchronous cancellation.
17787
7beb48cb
AK
177882014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17789
17790 [BZ #16427]
17791 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17792 handling only for numbers special also in the IEEE case.
17793
c20d5bf5
AK
177942014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17795
17796 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17797
e83bd4ee
AM
177982014-01-11 Allan McRae <allan@archlinux.org>
17799
76d0ea69
AM
17800 * po/bg.po: Update Bulgarian translation from translation project.
17801
e83bd4ee
AM
17802 * po/de.po: Update German translation from translation project.
17803
bc2ba20a
RM
178042014-01-10 Roland McGrath <roland@hack.frob.com>
17805
17806 * sysdeps/generic/gcc-compat.h: New file.
17807
649ecea2
SP
178082014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
17810 * benchtests/asin-inputs: Correct slow inputs.
17811 * benchtests/acos-inputs: Likewise.
17812
1b19c006
AM
178132014-01-10 Allan McRae <allan@archlinux.org>
17814
a46dab08
AM
17815 * po:sv.po: Update Swedish translation from translation project.
17816
421df74a
AM
17817 * po/vi.po: Update Vietnamese translation from translation project.
17818
d61c51a7
AM
17819 * po/eo.po: Update Esperanto translation from translation project.
17820
0339a319
AM
17821 * po/cs.po: Update Czech translation from translation project.
17822
94ad3e99
AM
17823 * po/nl.po: Update Dutch translation from translation project.
17824
e349ca71
AM
17825 * po/pl.po: Update Polish translation from translation project.
17826
ddf930c1
AM
17827 * po/ru.po: Update Russian translation from translation project.
17828
1b19c006
AM
17829 * po/uk.po: Update Ukrainian translation from translation project.
17830
9f236c49
BM
178312014-01-08 Brooks Moses <bmoses@google.com>
17832
17833 * elf/dl-load.c: Fix comment typo.
17834
cd6701cf
CD
178352014-01-08 Carlos O'Donell <carlos@redhat.com>
17836
17837 * po/header.pot: Rename to...
17838 * po/pot.header: ... this.
17839 * po/Makefile: Use pot.header.
17840
66671c84
YK
178412014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17842 Maxim Kuvyrkov <maxim@kugelworks.com>
17843
17844 [BZ #16394]
cd6701cf
CD
17845 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17846 SRC and DEST against LEN.
66671c84 17847
38f34581
AZ
178482014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17849
17850 [BZ #16414]
17851 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17852 implementation.
17853 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17854
178552014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
17856
17857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17858
4c327f2a
JM
178592014-01-08 Joseph Myers <joseph@codesourcery.com>
17860
17861 [BZ #16408]
17862 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17863 for large positive arguments.
17864
b821f414
JM
178652014-01-07 Joseph Myers <joseph@codesourcery.com>
17866
1f0f2067
JM
17867 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17868
a5a326f6
JM
17869 * math/auto-libm-test-in: Mark various tests with
17870 xfail-rounding:ldbl-128ibm.
17871 * math/auto-libm-test-out: Regenerated.
17872
b821f414
JM
17873 [BZ #16407]
17874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17875 Increase overflow threshold.
17876
94c8a4bc
OB
178772014-01-07 Ondřej Bílka <neleai@seznam.cz>
17878
17879 [BZ #14286]
17880 * stdio-common/vfprintf.c: Check for integer overflow.
17881
87ded0c3
AK
178822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17883
17884 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17885 the first argument and return value of __tls_get_addr_internal.
17886
c5eebdd0
AK
178872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17888
17889 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17890 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17891
05d138ef
AK
178922014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17893
17894 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17895 * sysdeps/s390/rtld-global-offsets.sym: New file.
17896 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17897 GLIBC_2.19 symbol.
17898 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17899 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17900 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17901 ... this.
17902 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17903 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17904 ... this.
17905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17906 Regenerate.
17907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17908 Regenerate.
17909 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17910 halfs of GPRs for high_gprs contexts.
17911 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17912 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17913 field.
17914 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17915 uc_flags field.
17916 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17917 64 bit versions:
17918 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17919 for high GPRs (uc_high_gprs) and for future extensions
17920 (__reserved).
17921 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17922 for future extensions (__reserved).
17923 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17924 64 bit versions:
17925 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17926 SC_HIGHGPRS offset definition.
17927 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17928 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17929
93a45ff1
AK
17930 * Versions.def: Add GLIBC_2.19 for libpthread.
17931 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17932 siglongjmp for libpthread with GLIBC_2.19 symver.
17933 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17934 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17935 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17936 * sysdeps/s390/__longjmp.c: New file.
17937 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17938 * sysdeps/s390/longjmp.c: New file.
17939 * sysdeps/s390/setjmp.S: New file.
17940 * sysdeps/s390/sigjmp.S: New file.
17941 * sysdeps/s390/v1-longjmp.c: New file.
17942 * sysdeps/s390/v1-setjmp.h: New file.
17943 * sysdeps/s390/v1-sigjmp.c: New file.
17944 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17945 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17946 GLIBC_2.19 version.
17947 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17948 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17949 versioned symbols for ____longjmp_chk.
17950 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17951 Likewise.
17952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17953 Regenerate.
17954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17955 Regenerate.
17956 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17957 Regenerate.
17958 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17959 Regenerate.
17960 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17961 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17962 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17963 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17964 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17965 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17966 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17967 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17968 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17969 * sysdeps/s390/rtld-__longjmp.c: New file.
17970 * sysdeps/s390/rtld-setjmp.S: New file.
17971
eb3fc44b
JM
179722014-01-06 Joseph Myers <joseph@codesourcery.com>
17973
17974 [BZ #16400]
17975 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17976 Return -__logl (x) for small positive arguments without evaluating
17977 a polynomial.
17978
9341dde4
MF
179792014-01-06 Mike Frysinger <vapier@gentoo.org>
17980
17981 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17982 Rename to ...
17983 (__ptrace_peeksiginfo_args): ... this.
17984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17987
4cff0293
AM
179882014-01-06 Allan McRae <allan@archlinux.org>
17989
17990 * inet/netinet/in.h: Fix typo in comment.
17991
75595dcf
AJ
179922014-01-05 Andreas Jaeger <aj@suse.de>
17993
17994 * sysdeps/i386/fpu/libm-test-ulps: Update.
17995
79c1e109
AM
179962014-01-05 Allan McRae <allan@archlinux.org>
17997
dd804818
AM
17998 * po/libc.pot: Regenerated.
17999
79c1e109
AM
18000 * malloc/memusagestat.c: Fix gettext call formatting.
18001
0c813d1f
SK
180022014-01-04 Sami Kerola <kerolasa@iki.fi>
18003
18004 * nscd/nscd.c: Improve usage() output.
18005
20f4a8d9
MF
180062014-01-04 Mike Frysinger <vapier@gentoo.org>
18007
18008 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18009 * sysdeps/unix/sysv/linux/configure: Regenerated.
18010 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18011 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18012
22562bb2
JM
180132014-01-03 Joseph Myers <joseph@codesourcery.com>
18014
18015 [BZ #16390]
18016 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18017 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18018
d7ad2d9b
AZ
180192014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18020
18021 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18022 extra tokens at end of #undef directive.
18023 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18024 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18025 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18026
7dd009d8
JM
180272014-01-03 Joseph Myers <joseph@codesourcery.com>
18028
24db925a
JM
18029 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18030
7dd009d8
JM
18031 * math/auto-libm-test-in: Mark various tests with
18032 xfail-rounding:ldbl-128ibm.
18033 * math/auto-libm-test-out: Regenerated.
18034
396e3ecf
JM
180352014-01-02 Joseph Myers <joseph@codesourcery.com>
18036
819e5d50
JM
18037 [BZ #16386]
18038 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18039 numbers with subnormal high part when calculating exponent.
18040
90b6a1e5
JM
18041 [BZ #16385]
18042 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18043 fabs.
18044
396e3ecf
JM
18045 [BZ #16384]
18046 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18047 M_LN2l.
18048 (__ieee754_acoshl): Use __log1pl not __log1p.
18049
6c8dbf00
OB
180502013-01-02 Ondřej Bílka <neleai@seznam.cz>
18051
57f41c40
AS
18052 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18053 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18054 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18055 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18056 (reused_arena, arena_get2): Convert to GNU style.
18057 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18058 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18059 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18060 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18061 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18062 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18063 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18064 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18065 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18066 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18067 * malloc/malloc.h: Likewise.
57f41c40
AS
18068 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18069 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18070 * malloc/mcheck.h: Likewise.
57f41c40
AS
18071 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18072 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18073 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18074 * malloc/morecore.c (__default_morecore): Likewise.
18075 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18076 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18077 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18078 (print_and_abort): Likewise.
6c8dbf00
OB
18079 * malloc/obstack.h: Likewise.
18080 * malloc/set-freeres.c (__libc_freeres): Likewise.
18081 * malloc/tst-mallocstate.c (main): Likewise.
18082 * malloc/tst-mtrace.c (main): Likewise.
18083 * malloc/tst-realloc.c (do_test): Likewise.
18084
d4124212
SP
180852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18086
9a3c6a6f
SP
18087 [BZ #16366]
18088 * nscd/netgroupcache.c (do_notfound): New function.
18089 (addgetnetgrentX): Use it.
18090
d4124212
SP
18091 [BZ # 16365]
18092 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18093 NSS_STATUS_NOTFOUND.
18094
97b9a009
JM
180952014-01-01 Joseph Myers <joseph@codesourcery.com>
18096
18097 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18099
d4697bc9
AM
181002014-01-01 Allan McRae <allan@archlinux.org>
18101
ddb3687f
AM
18102 * scripts/update-copyrights: Update configure input file suffix.
18103
88726d48
AM
18104 * NEWS: Update copyright year.
18105 * catgets/gencat.c: Likewise.
18106 * csu/version.c: Likewise.
18107 * debug/catchsegv.sh: Likewise.
18108 * debug/pcprofiledump.c: Likewise.
18109 * debug/xtrace.sh: Likewise.
18110 * elf/ldconfig.c: Likewise.
18111 * elf/ldd.bash.in: Likewise.
18112 * elf/pldd.c: Likewise.
18113 * elf/sotruss.ksh: Likewise.
18114 * elf/sprof.c: Likewise.
18115 * iconv/iconv_prog.c: Likewise.
18116 * iconv/iconvconfig.c: Likewise.
18117 * locale/programs/locale.c: Likewise.
18118 * locale/programs/localedef.c: Likewise.
18119 * login/programs/pt_chown.c: Likewise.
18120 * malloc/memusage.sh: Likewise.
18121 * malloc/memusagestat.c: Likewise.
18122 * malloc/mtrace.pl: Likewise.
18123 * manual/libc.texinfo: Likewise.
18124 * nscd/nscd.c: Likewise.
18125 * nss/getent.c: Likewise.
18126 * nss/makedb.c: Likewise.
18127 * posix/getconf.c: Likewise.
18128 * scripts/test-installation.pl: Likewise.
18129
d4697bc9
AM
18130 * All files with FSF copyright notices: Update copyright dates
18131 using scripts/update-copyrights.
18132 * intl/plural.c: Regenerated.
18133 * locale/programs/charmap-kw.h: Likewise.
18134 * locale/programs/locfile-kw.h: Likewise.
18135
c8590f9d
MF
181362013-12-31 Mike Frysinger <vapier@gentoo.org>
18137
18138 * sysdeps/unix/sysv/linux/configure: Regenerated.
18139 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18140 the linux/fanotify.h header.
18141 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18142 HAVE_LINUX_FANOTIFY_H is defined.
18143
b19221b9
SP
181442013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18145
dd1d85e5
SP
18146 * benchtests/cos-inputs: New inputs.
18147 * benchtests/sin-inputs: Likewise.
18148
1acbb90f
SP
18149 * benchtests/atan-inputs: New inputs. Fix name of multiple
18150 precision fallback inputs.
18151
4c012ed3
SP
18152 * benchtests/atanh-inputs: New inputs.
18153 * benchtests/tanh-inputs: Likewise.
18154
eff98324
SP
18155 * benchtests/acosh-inputs: New inputs.
18156 * benchtests/asinh-inputs: Likewise.
18157
ce641152
SP
18158 * benchtests/cosh-inputs: New inputs.
18159 * benchtests/sinh-inputs: Likewise.
18160
b19221b9
SP
18161 * benchtests/acos-inputs: Add more inputs.
18162 * benchtests/asin-inputs: Likewise.
18163
030a4976 181642013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18165
030a4976 18166 [BZ #16375]
9dcc8f11
VS
18167 * manual/arith.texi: Fix spelling.
18168 * manual/charset.texi: Likewise.
18169 * manual/errno.texi: Likewise.
18170 * manual/filesys.texi: Likewise.
18171 * manual/lang.texi: Likewise.
18172 * manual/llio.texi: Likewise.
18173 * manual/locale.texi: Likewise.
18174 * manual/message.texi: Likewise.
18175 * manual/resource.texi: Likewise.
18176 * manual/search.texi: Likewise.
18177 * manual/setjmp.texi: Likewise.
18178 * manual/stdio.texi: Likewise.
18179 * manual/string.texi: Likewise.
18180 * manual/sysinfo.texi: Likewise.
18181 * manual/time.texi: Likewise.
18182
11520a57
CD
181832013-12-27 Carlos O'Donell <carlos@redhat.com>
18184
18185 * po/sl.po: New file.
18186
471103ae
MF
181872013-12-27 Mike Frysinger <vapier@gentoo.org>
18188
18189 * .gitignore: Add core/.gdbinit/.gdb_history.
18190
6c9642ed
AM
181912013-12-27 Allan McRae <allan@archlinux.org>
18192
18193 [BZ #16369]
18194 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18195 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18196
3f637079
BM
181972013-12-24 Brooks Moses <bmoses@google.com>
18198
18199 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18200 all compilers that claim C++98 compliance, not just GCC.
18201 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18202 Likewise.
18203
abc26e99
MK
182042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18205
18206 * NEWS: Restore accidentally deleted bug-fix entries.
18207
362b47fe
MK
182082013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18209 Ondřej Bílka <neleai@seznam.cz>
18210
18211 [BZ #15073]
18212 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18213 have_lock.
362b47fe 18214
b9bcbbcb
OB
182152013-12-23 Ondřej Bílka <neleai@seznam.cz>
18216
18217 [BZ #12986]
18218 * manual/stdio.texi (String Input Conversions): Clarify that character
18219 classes are not supported.
18220
fb55fcd2
AZ
182212013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18222
18223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18224
ef7344f0
JM
182252013-12-22 Joseph Myers <joseph@codesourcery.com>
18226
4f40e4b3
JM
18227 [BZ #16337]
18228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18229 Calculate results for small negative arguments directly rather
18230 than using reflection formula with special underflow handling.
18231
ef7344f0
JM
18232 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18233 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18234 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18235 (fchflags): Likewise.
18236 (revoke): Likewise.
18237 (setlogin): Likewise.
18238 (sigaltstack): Likewise.
18239 (wait4): Likewise.
18240 (sigblock): Remove.
18241 (sigsetmask): Likewise.
18242 (wait3): Likewise.
18243 (waitpid): Likewise.
18244 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18245 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18246 file.
18247 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18248 * sysdeps/unix/bsd/Makefile: ... here.
18249 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18250 * sysdeps/unix/bsd/Versions: ... here.
18251 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18252 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18253 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18254 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18255 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18256 * sysdeps/unix/bsd/sigblock.c: ... here.
18257 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18258 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18259 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18260 * sysdeps/unix/bsd/sigvec.c: ... here.
18261 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18262 * sysdeps/unix/bsd/tcdrain.c: ... here.
18263 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18264 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18265 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18266 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18267 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18268 * sysdeps/unix/bsd/wait.c: ... here.
18269 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18270 * sysdeps/unix/bsd/wait3.c: ... here.
18271 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18272 * sysdeps/unix/bsd/waitpid.c: ... here.
18273
5b0626b9
JM
182742013-12-21 Joseph Myers <joseph@codesourcery.com>
18275
18276 [BZ #16356]
18277 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18278 round-to-nearest for [!USE_AS_EXPM1L].
18279 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18280 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18281 more tests of exp and exp10. Expect some exp10 tests to miss
18282 exceptions or fail in directed rounding modes.
18283 * math/auto-libm-test-out: Regenerated.
18284 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18285 (exp10_test_tonearest): New function.
18286 (exp10_towardzero_test_data): New array.
18287 (exp10_test_towardzero): New function.
18288 (exp10_downward_test_data): New array.
18289 (exp10_test_downward): New function.
18290 (exp10_upward_test_data): New array.
18291 (exp10_test_upward): New function.
18292 (main): Call the new functions.
18293 * sysdeps/i386/fpu/libm-test-ulps: Update.
18294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18295
7fda5682
JM
182962013-12-20 Joseph Myers <joseph@codesourcery.com>
18297
31e3a405
JM
18298 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18299 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18300 * math/auto-libm-test-out: Regenerated.
18301 * math/libm-test.inc (acosh_test_data): Add more tests.
18302 (atanh_test_data): Likewise.
18303 (ceil_test_data): Likewise.
18304 (copysign_test_data): Likewise.
18305 * sysdeps/i386/fpu/libm-test-ulps: Update.
18306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18307
85bff96a
JM
18308 * timezone/checktab.awk: Update from tzcode 2013i.
18309 * timezone/private.h: Likewise.
18310 * timezone/scheck.c: Likewise.
18311 * timezone/tzfile.h: Likewise.
18312 * timezone/tzselect.ksh: Likewise.
18313 * timezone/zdump.c: Likewise.
18314 * timezone/zic.c: Likewise.
18315
b7867a3b
JM
18316 * math/auto-libm-test-in: Add tests of cpow.
18317 * math/auto-libm-test-out: Regenerated.
18318 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18319 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18320 mpc_cc_c.
18321 (func_calc_desc): Add mpc_cc_c union field.
18322 (test_functions): Add cpow.
18323 (special_fill_2pi): New function.
18324 (special_real_inputs): Add 2pi.
18325 (calc_generic_results): Handle mpc_cc_c.
18326 * sysdeps/i386/fpu/libm-test-ulps: Update.
18327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18328
7fda5682
JM
18329 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18330 csqrt, ctan and ctanh.
18331 * math/auto-libm-test-out: Regenerated.
18332 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18333 (TEST_COND_x86): Likewise.
18334 (ccos_test_data): Use AUTO_TESTS_c_c.
18335 (ccosh_test_data): Likewise.
18336 (cexp_test_data): Likewise.
18337 (clog_test_data): Likewise.
18338 (csqrt_test_data): Likewise.
18339 (ctan_test_data): Likewise.
18340 (ctan_tonearest_test_data): Likewise.
18341 (ctan_towardzero_test_data): Likewise.
18342 (ctan_downward_test_data): Likewise.
18343 (ctan_upward_test_data): Likewise.
18344 (ctanh_test_data): Likewise.
18345 (ctanh_tonearest_test_data): Likewise.
18346 (ctanh_towardzero_test_data): Likewise.
18347 (ctanh_downward_test_data): Likewise.
18348 (ctanh_upward_test_data): Likewise.
18349 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18350 mpc_c_c.
18351 (func_calc_desc): Add mpc_c_c union field.
18352 (FUNC_mpc_c_c): New macro.
18353 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18354 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18355 ctanh.
18356 (special_fill_min_subnorm_p120): New function.
18357 (special_real_inputs): Add min_subnorm_p120.
18358 (calc_generic_results): Handle mpc_c_c.
18359 * sysdeps/i386/fpu/libm-test-ulps: Update.
18360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18361
5ff8d60e
SP
183622013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18363
57f41c40
AS
18364 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18365 (do_sin_slow): New functions.
18366 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18367 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18368
84ba214c
SP
18369 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18370 Use M to change sign of result instead of X. Assume X is
18371 positive.
18372 (csloww1): Likewise.
18373 (__sin): Adjust.
18374 (__cos): Adjust.
18375
975195e4
SP
18376 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18377 arguments A and DA.
18378 (__sin): Adjust.
18379 (__cos): Likewise.
18380
5ff8d60e
SP
18381 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18382 (__cos): Likewise.
18383 (sloww1): Don't adjust sign of DX.
18384 (csloww1): Likewise.
18385 (sloww2): Use X directly and don't adjust sign of DX.
18386 (csloww2): Likewise.
18387
eb983568
JM
183882013-12-19 Joseph Myers <joseph@codesourcery.com>
18389
64a17f1a
JM
18390 * math/auto-libm-test-in: Add tests of cabs and carg.
18391 * math/auto-libm-test-out: Regenerated.
18392 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18393 (carg_test_data): Likewise.
18394 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18395 mpc_c_f.
18396 (func_calc_desc): Add mpc_c_f union field.
18397 (test_functions): Add cabs and carg.
18398 (calc_generic_results): Handle mpc_c_f.
18399
eb983568
JM
18400 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18401 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18402 as a macro and a compat symbol.
18403 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18404 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18405 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18406 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18407 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18408 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18409 not use .hidden.
18410 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18411 Likewise.
18412 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18413 Likewise.
18414 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18415 Likewise.
18416 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18417 Likewise.
18418 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18419 Likewise.
18420 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18421 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18422 from GLIBC_2.3.2.
18423
6eeb678a
AZ
184242013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18425
18426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18427
6f6fc482
JM
184282013-12-19 Joseph Myers <joseph@codesourcery.com>
18429
21fea2e2
JM
18430 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18431 trailing whitespace removed.
18432 * scripts/config.guess: Update to version 2013-11-29.
18433 * scripts/config.sub: Update to version 2013-10-01.
18434
6f6fc482
JM
18435 * math/auto-libm-test-in: Add tests of sincos.
18436 * math/auto-libm-test-out: Regenerated.
18437 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18438 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18439 mpfr_f_11.
18440 (func_calc_desc): Add mpfr_f_11 union field.
18441 (test_functions): Add sincos.
18442 (calc_generic_results): Handle mpfr_f_11.
18443 * sysdeps/i386/fpu/libm-test-ulps: Update.
18444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18445
83f5c32d
AS
184462013-12-19 Andreas Schwab <schwab@suse.de>
18447
18448 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18449 CALL_MCOUNT.
18450 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18451 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18452 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18453
c688b419
JM
184542013-12-19 Joseph Myers <joseph@codesourcery.com>
18455
335ee092
JM
18456 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18457 * sysdeps/i386/fpu/libm-test-ulps: Update.
18458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18459
f88acd39
JM
18460 [BZ #16293]
18461 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18462 round-to-nearest mode when using frndint.
18463 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18464 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18466 Likewise.
18467 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
18468 sinh test to fail.
18469 * math/auto-libm-test-out: Regenerated.
18470 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18471 (TEST_COND_x86): Likewise.
18472 (expm1_tonearest_test_data): New array.
18473 (expm1_test_tonearest): New function.
18474 (expm1_towardzero_test_data): New array.
18475 (expm1_test_towardzero): New function.
18476 (expm1_downward_test_data): New array.
18477 (expm1_test_downward): New function.
18478 (expm1_upward_test_data): New array.
18479 (expm1_test_upward): New function.
18480 (main): Run the new test functions.
18481 * sysdeps/i386/fpu/libm-test-ulps: Update.
18482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18483
c688b419
JM
18484 * include/features.h: Update comment documenting feature test
18485 macros. Mention _DEFAULT_SOURCE in comment.
18486 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18487 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18488 _BSD_SOURCE and _SVID_SOURCE.
18489 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18490 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18491 !_SVID_SOURCE]: Likewise.
18492 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18493 (__USE_POSIX_IMPLICITLY): Define.
18494 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18495 (_POSIX_SOURCE): Undefine and redefine.
18496 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18497 (_POSIX_C_SOURCE): Likewise.
18498 * manual/creature.texi (_DEFAULT_SOURCE): Document.
18499 (Feature Test Macros): Update documentation of default features.
18500
9f6e964c
RS
185012013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18502
18503 * benchtests/Makefile: Add bench-strtok.
18504 * benchtests/bench-strtok.c: New file: strtok benchtest.
18505
ee0a148a
AM
185062013-12-19 Allan McRae <allan@archlinux.org>
18507
18508 * manual/install.texi: Suppress menu for plain text output.
18509 * INSTALL: Regenerated.
18510
b9ab448f
BM
185112013-12-18 Brooks Moses <bmoses@google.com>
18512
18513 [BZ #15846]
18514 * misc/getauxval.c: Include errno.h.
18515 (__getauxval): Set errno to ENOENT if the requested type is not
18516 found.
18517 * misc/sys/auxv.h (getauxval): Document that it may set errno;
18518 don't declare with __attribute_const__.
18519 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18520 * manual/startup.texi: Document that getauxval sets errno.
18521
23776487
JM
185222013-12-18 Joseph Myers <joseph@codesourcery.com>
18523
f889953b
JM
18524 * math/auto-libm-test-in: Add tests of jn and yn.
18525 * math/auto-libm-test-out: Regenerated.
18526 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18527 (yn_test_data): Likewise.
18528 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18529 mpfr_if_f.
18530 (func_calc_desc): Add mpfr_if_f union field.
18531 (FUNC_mpfr_if_f): New macro.
18532 (test_functions): Add jn and yn.
18533 (calc_generic_results): Assert type of second input for
18534 mpfr_ff_f. Handle mpfr_if_f.
18535 (output_for_one_input_case): Disable all checking for arguments
18536 fitting floating-point types in case of an integer argument.
18537 * sysdeps/i386/fpu/libm-test-ulps: Update.
18538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18539
23776487
JM
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18541 Don't expect fegetround reference in libm.so.
18542
cb756c6d
MS
185432013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18544
18545 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18546 $(config-cflags-nofma).
18547
2dec468f
JM
185482013-12-18 Joseph Myers <joseph@codesourcery.com>
18549
5953eb3a
JM
18550 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18551 * math/auto-libm-test-out: Regenerated.
18552
2dec468f
JM
18553 [BZ #16338]
18554 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18555 to determine exponent and adjust argument to have exponent of -1.
18556 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18557 log2.
18558 * math/auto-libm-test-out: Regenerated.
18559 * sysdeps/i386/fpu/libm-test-ulps: Update.
18560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18561
4d84e6ad
OB
185622013-12-18 Ondřej Bílka <neleai@seznam.cz>
18563
18564 * manual/probes.texi: Remove cases when per-thread arenas are
18565 disabled.
18566
1818483b
AS
185672013-12-18 Andreas Schwab <schwab@suse.de>
18568
18569 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18570 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18571 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18572 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18573 * sysdeps/i386/i686/multiarch/Makefile: Update.
18574 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18575
25de95bf
JM
185762013-12-17 Joseph Myers <joseph@codesourcery.com>
18577
18578 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18579 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18580
674762d9
PE
185812013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18582
ed27ed83 18583 [BZ #15968]
0748546f
PE
18584 Support TZ transition times < 00:00:00.
18585 This is needed for version-3 tz-format files; it supports time
18586 stamps past 2037 for America/Godthab (the only entry in the tz
18587 database for which this change is relevant).
18588 * manual/time.texi (TZ Variable): Document transition times
18589 from -167:59:59 through -00:00:01.
18590 * time/tzset.c (tz_rule): Time of day is now signed.
18591 (__tzset_parse_tz): Parse negative time of day.
18592
4480e934
PE
18593 Document TZ transition times >= 25:00:00.
18594 * manual/time.texi (TZ Variable): Document transition times from
18595 25:00:00 through 167:59:59. These are already supported, and this
18596 support will help with version-3 tz-format files.
18597
69947401
PE
18598 * manual/time.texi (TZ Variable): Modernize North America example
18599 to reflect current (i.e., 2007-and-later) daylight saving rules.
18600
674762d9
PE
18601 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18602
7011c262
JM
186032013-12-17 Joseph Myers <joseph@codesourcery.com>
18604
2fc6557e
JM
18605 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18606 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18608 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18609 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18610 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18611 * sysdeps/unix/bsd/clock.c: Likewise.
18612 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18613 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18614 * sysdeps/unix/bsd/init-posix.c: Likewise.
18615 * sysdeps/unix/bsd/poll.c: Likewise.
18616 * sysdeps/unix/bsd/ptsname.c: Likewise.
18617 * sysdeps/unix/bsd/seekdir.c: Likewise.
18618 * sysdeps/unix/bsd/setegid.c: Likewise.
18619 * sysdeps/unix/bsd/seteuid.c: Likewise.
18620 * sysdeps/unix/bsd/setgid.c: Likewise.
18621 * sysdeps/unix/bsd/setrgid.c: Likewise.
18622 * sysdeps/unix/bsd/setruid.c: Likewise.
18623 * sysdeps/unix/bsd/setsid.c: Likewise.
18624 * sysdeps/unix/bsd/setuid.c: Likewise.
18625 * sysdeps/unix/bsd/sigaction.c: Likewise.
18626 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18627 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18628 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18629 * sysdeps/unix/bsd/telldir.c: Likewise.
18630 * sysdeps/unix/bsd/times.c: Likewise.
18631 * sysdeps/unix/bsd/usleep.c: Likewise.
18632
029c7b25
JM
18633 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18634 ($(objpfx)libbsd-compat.a): Remove rule.
18635
7011c262
JM
18636 * include/features.h (__FAVOR_BSD): Do not define.
18637 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18638 features conflicting with POSIX.
18639 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18640 (_BSD_SOURCE): Remove description of not being a subset of other
18641 feature test macros.
18642 * manual/job.texi (getpgrp): Do not document BSD version.
18643 (getpgid): Do not document by reference to BSD getpgrp.
18644 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18645 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18646 * signal/signal.h [__FAVOR_BSD]: Likewise.
18647 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18648 instead of making contents conditional on [__FAVOR_BSD].
18649 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18650
affb6f78
AZ
186512013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18652
18653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18654
c88769dd
JM
186552013-12-17 Joseph Myers <joseph@codesourcery.com>
18656
6432a540
JM
18657 [BZ #16314]
18658 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18659 values below 2**-450, not 2**-500.
18660 * math/auto-libm-test-in: Don't allow spurious underflow from
18661 hypot.
18662 * math/auto-libm-test-out: Regenerated.
18663
c88769dd
JM
18664 [BZ #16316]
18665 [BZ #16330]
18666 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18667 values of ha and hb and sort them after adjusting subnormal
18668 arguments.
18669 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18670 Likewise.
18671 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18672 values of ea and eb and sort them after adjusting subnormal
18673 arguments.
18674 * math/auto-libm-test-in: Do not expect some hypot tests of
18675 subnormals to fail. Add more hypot tests.
18676 * math/auto-libm-test-out: Regenerated.
18677
29618f6b
KK
186782013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18679
18680 [BZ #13304]
18681 * sysdeps/sh/s_fma.c: New file.
18682 * sysdeps/sh/s_fmaf.c: New file.
18683 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18684 version.
18685 * sysdeps/sh/Implies: Add sh/soft-fp.
18686
eacfdfbf
RM
186872013-12-16 Roland McGrath <roland@hack.frob.com>
18688
18689 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18690 level of indirection to members `objname', `errstring', `malloced'.
18691 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18692 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18693 it as the __longjmp argument (just pass 1 instead).
18694 (_dl_catch_error): Initialize C with argument pointers and address of
18695 volatile local ERRCODE rather than copying values out of C at return.
18696
ff362e5b
JM
186972013-12-16 Joseph Myers <joseph@codesourcery.com>
18698
18699 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18700 * math/auto-libm-test-out: Regenerated.
18701 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18702 (hypot_test_data): Likewise.
18703 (pow_test_data): Likewise.
18704 (pow_tonearest_test_data): Likewise.
18705 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18706 mpfr_ff_f.
18707 (func_calc_desc): Add mpfr_ff_f union field.
18708 (FUNC_mpfr_ff_f): New macro.
18709 (test_functions): Add atan2, hypot and pow.
18710 (special_fill_min): New function.
18711 (special_fill_minus_min): Likewise.
18712 (special_fill_min_subnorm): Likewise.
18713 (special_fill_minus_min_subnorm): Likewise.
18714 (special_real_inputs): Add min, -min, min_subnorm and
18715 -min_subnorm.
18716 (calc_generic_results): Handle mpfr_ff_f.
18717 * sysdeps/i386/fpu/libm-test-ulps: Update.
18718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18719
5764c27f
WN
187202013-12-16 Will Newton <will.newton@linaro.org>
18721
18722 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18723 (Aligned Memory Blocks): Add documentation for aligned_alloc
18724 and suggest it as an alternative to posix_memalign.
18725 (Hooks for Malloc): Document __memalign_hook is also called
18726 for aligned_alloc. (Summary of Malloc): Add summary for
18727 aligned alloc. Document __memalign_hook is also called
18728 for aligned_alloc.
18729
0a096e44
WN
187302013-12-16 Will Newton <will.newton@linaro.org>
18731
18732 * manual/memory.texi (Malloc Examples): Clarify default
18733 alignment documentation. Suggest posix_memalign rather
18734 than memalign or valloc.
18735 (Aligned Memory Blocks): Remove suggestion to use memalign
18736 or valloc. Remove obsolete comment about BSD.
18737 Document memalign errno values and mark the function obsolete.
18738 Document posix_memalign returned error codes. Mark valloc
18739 as obsolete. (Hooks for Malloc): __memalign_hook is also
18740 called for posix_memalign and valloc.
18741 (Summary of Malloc): Add posix_memalign to function summary.
18742 __memalign_hook is also called for posix_memalign and valloc.
18743
8d561986
SP
187442013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18745
18746 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18747 TAYLOR_SIN.
18748 (__sin): Adjust.
18749 (__cos): Likewise.
18750 (sloww): Use mynumber union. Expand ternary operator into
18751 if-else statements.
18752 (cslow): use mynumber union.
18753
73616a74
AM
187542013-12-16 Allan McRae <allan@archlinux.org>
18755
9e8ac24b
AM
18756 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18757 * configure: Regenerated.
18758
6f8e37eb
AM
18759 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18760
8894bad3
AM
18761 [BZ #14120]
18762 * configure.ac: Added --enable-maintainer-mode. Check for
18763 autoconf when enabled.
18764 * configure: Regenerated.
18765
73616a74
AM
18766 * nscd/nscd.service: New file.
18767 * nscd/nscd.tmpfiles: New file.
18768
584b18eb
OB
187692013-12-14 Ondřej Bílka <neleai@seznam.cz>
18770
18771 [BZ #12100]
18772 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18773 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18774 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18775 (strstr): Add __strstr_sse2_unaligned ifunc.
18776 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18777 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18778 (strcasestr): Remove __strcasestr_sse42 ifunc.
18779 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18780 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18782
8a5c7897
KK
187832013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18784
18785 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18786 * sysdeps/sh/bits/fenv.h: ... here.
18787 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18788
fd712ef3
AZ
187892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18790
18791 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18792
42fcb46c
AZ
18793 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18794 hypotf multiarch implementations.
18795 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18796 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18797 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18798 multiarch hypot for PPC64.
18799 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18800 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18801 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18802 multiarch hypotf for PPC64.
18803
83efded4
AZ
18804 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18805 modff multiarch implementations.
18806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18809 multiarch modf for PPC64.
18810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18813 multiarch modff for PPC64.
18814
43e246d2
AZ
18815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18816 and logl multiarch implementations.
18817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18820 multiarch logb for PPC64.
18821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18824 multiarch logb for PPC64.
18825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18828 multiarch logb for PPC64.
18829
8fdad123
AZ
18830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18831 isinff multiarch implementation.
18832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18833 file.
18834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18836 multiarch isinf for PPC64.
18837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18838 file.
18839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18840 multiarch isinff for PPC64.
18841
1481d706
AZ
18842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18843 finitef multiarch implementation.
18844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18845 file.
18846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18848 multiarch finite for PPC64.
18849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18850 file.
18851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18852 multiarch finitef for PPC64.
18853
5ccd5fc8
AZ
18854 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18855 lrint multiarch implementation.
18856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18857 file.
18858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18860 multiarch llrint for PPC64.
18861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18862 multiarch lrint for PPC64.
18863
2568f3fa
AZ
18864 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18865 copysignf multiarch implementation.
18866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18867 file.
18868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18869 file.
18870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18871 multiarch copysign for PPC64.
18872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18873 multiarch copysignf for PPC64.
18874
1cb341fd
AZ
18875 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18876 multiarch implementation.
18877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18878 file.
18879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18880 file.
18881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18882 file.
18883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18884 file.
18885 multiarch llround for PPC64.
18886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18887 multiarch trunc for PPC64.
18888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18889 multiarch truncf for PPC64.
18890
59a3e194
AZ
18891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18892 multiarch implementation.
18893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18894 file.
18895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18896 file.
18897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18898 file.
18899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18900 file.
18901 multiarch llround for PPC64.
18902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18903 multiarch round for PPC64.
18904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18905 multiarch roundf for PPC64.
18906
357fd3b4
AZ
18907 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18908 multiarch implementation.
18909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18910 file.
18911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18912 file.
18913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18914 file.
18915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18916 file.
18917 multiarch llround for PPC64.
18918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18919 multiarch floor for PPC64.
18920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18921 multiarch floorf for PPC64.
18922
96770f12
AZ
18923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18924 multiarch implementation.
18925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18926 file.
18927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18928 file.
18929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18930 file.
18931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18932 file.
18933 multiarch llround for PPC64.
18934 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18935 multiarch ceil for PPC64.
18936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18937 multiarch ceilf for PPC64.
18938
c3627f6e
AZ
18939 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18940 multiarch implementation.
18941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18942 file.
18943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18944 file.
18945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18946 file.
18947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18948 multiarch llround for PPC64.
18949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18950 multiarch lround for PPC64.
18951
b2284ad7
AZ
18952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18953 multiarch implementation.
18954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18957 file.
18958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18961 multiarch isnan for PPC64.
18962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18963 multiarch isnanf for PPC64.
18964
69bbc63d
AZ
18965 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18966 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18967 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18968 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18969 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18971
c24517c9
AZ
18972 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18976
a52374e8
AZ
18977 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18978 multiarch implementations.
18979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18980 (__libc_ifunc_impl_list): Likewise.
18981 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18982 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18983 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18984 multiarch stpcpy for PPC64.
18985
7f5ec113
AZ
18986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18987 multiarch implementations.
18988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18989 (__libc_ifunc_impl_list): Likewise.
18990 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18991 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18992 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18993 multiarch strcpy for PPC64.
18994
e28bcd42
AZ
18995 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18996 redefine function name.
18997 (_wordcopy_fwd_dest_aligned): Likewise.
18998 (_wordcopy_bwd_aligned): Likewise.
18999 (_wordcopy_bwd_dest_aligned): Likewise.
19000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19001 multiarch implementations.
19002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19003 (__libc_ifunc_impl_list): Likewise.
19004 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19008 multiarch wcscpy for PPC64.
19009
92cacfce
AZ
19010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19011 multiarch implementations.
19012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19013 (__libc_ifunc_impl_list): Likewise.
19014 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19015 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19018 multiarch wcscpy for PPC64.
19019
7b714620
AZ
19020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19021 multiarch implementations.
19022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19023 (__libc_ifunc_impl_list): Likewise.
19024 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19028 multiarch wcsrchr for PPC64.
19029
16fd2ae3
AZ
19030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19031 multiarch implementations.
19032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19033 (__libc_ifunc_impl_list): Likewise.
19034 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19035 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19036 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19037 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19038 multiarch wcschr for PPC64.
19039
9ee2969b
AZ
19040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19041 multiarch implementations.
19042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19043 (__libc_ifunc_impl_list): Likewise.
19044 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19045 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19046 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19047 multiarch strchrnul for PPC64.
19048
372dc060
AZ
19049 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19050 implementations.
19051 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19052 (__libc_ifunc_impl_list): Likewise.
19053 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19054 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19055 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19056 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19057 strchr for PPC64.
19058
24c2c3b9
AZ
19059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19060 implementations.
19061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19062 (__libc_ifunc_impl_list): Likewise.
19063 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19064 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19065 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19066 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19067 strncmp for PPC64.
19068
1c92d9a0
AZ
19069 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19070 multiarch implementations.
19071 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19072 (__libc_ifunc_impl_list): Likewise.
19073 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19074 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19075 strncasecmp for PPC64.
19076 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19077 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19078 multiarch strncasecmp_l for PPC64.
19079
17de3ee3
AZ
19080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19081 multiarch implementations.
19082 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19083 (__libc_ifunc_impl_list): Likewise.
19084 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19085 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19086 multiarch strcasecmp for PPC64.
19087 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19088 file.
19089 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19090 multiarch strcasecmp_l for PPC64.
19091
62982bf9
AZ
19092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19093 implementations.
19094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19095 (__libc_ifunc_impl_list): Likewise.
19096 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19097 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19098 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19099 strnlen for PPC64.
19100
a65f4904
AZ
19101 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19102 implementations.
19103 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19104 (__libc_ifunc_impl_list): Likewise.
19105 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19106 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19107 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19108 strlen for PPC64.
19109
1fd005ad
AZ
19110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19111 implementations.
19112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19113 (__libc_ifunc_impl_list): Likewise.
19114 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19117 rawmemrchr for PPC64.
19118
cd05ba91
AZ
19119 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19120 implementation.
19121 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19122 (__libc_ifunc_impl_list): Likewise.
19123 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19124 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19125 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19126 memrchr for PPC64.
19127
870f8676
AZ
19128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19129 implementation.
19130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19131 (__libc_ifunc_impl_list): Likewise.
19132 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19133 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19134 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19135 memchr for PPC64.
19136
f00be62b
AZ
19137 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19138 implementation.
19139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19140 (__libc_ifunc_impl_list): Likewise.
19141 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19142 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19143 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19144 mempcpy for PPC64.
19145
8a29a3d0
AZ
19146 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19147 avoid cretion of __bzero symbol.
19148 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19149 Likewise.
19150 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19151 Likewise.
19152 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19153 Likewise.
19154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19155 multiarch implementations.
19156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19157 (__libc_ifunc_impl_list): Likewise.
19158 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19159 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19160 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19161 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19162 bzero for PPC32.
19163 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19164 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19165 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19166 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19167 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19168 memset for PPC64.
19169 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19170
07253fcf
AZ
19171 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19172 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19173 implementations.
19174 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19175 (__libc_ifunc_impl_list): Likewise.
19176 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19177 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19178 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19179 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19180 memcmp for PPC64.
19181
b5beafbc
AZ
19182 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19183 multiarch for POWER/PPC64.
19184 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19185 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19186 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19187 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19188 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19189 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19190 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19191 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19192 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19193 memcpy for PPC64.
19194
5e6a4d4b
AZ
19195 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19196 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19197 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19198 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19199 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19200 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19201 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19202 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19203 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19204 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19205 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19206 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19207 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19208 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19209 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19217
ddfab6dc
KK
192182013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19219
19220 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19221
19b5525e
SP
192222013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19223
19224 * benchtests/Makefile (bench): Add exp2 and log2.
19225 (LDLIBS-bench-exp2): Add -lm.
19226 (LDLIBS-bench-log2): Likewise.
19227 * benchtests/exp2-inputs: New inputs file.
19228 * benchtests/log2-inputs: New inputs file.
19229 * benchtests/log-inputs: Add new inputs.
19230 * benchtests/tan-inputs: Likewise.
19231
196f7f5d
SP
192322013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19233
7a74607f
SP
19234 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19235 definition...
57f41c40
AS
19236 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19237 (csloww2): ... from here.
7a74607f 19238
196f7f5d
SP
19239 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19240 instead of structures.
19241 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19242 (POLYNOMIAL): Likewise.
19243 (TAYLOR_SLOW): Likewise.
19244 (__sin): Likewise.
19245 (__cos): Likewise.
19246 (slow1): Likewise.
19247 (slow2): Likewise.
19248 (sloww): Likewise.
19249 (sloww1); Likewise.
19250 (sloww2): Likewise.
19251 (bsloww1): Likewise.
19252 (bsloww2): Likewise.
19253 (cslow2): Likewise.
19254 (csloww): Likewise.
19255 (csloww1): Likewise.
19256 (csloww2): Likewise.
19257
0dfa665c
OB
192582013-12-10 Ondřej Bílka <neleai@seznam.cz>
19259
19260 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19261 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19262 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19263 * malloc/hooks.c (realloc_check): Likewise.
19264
5782a80f
OB
19265 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19266 * malloc/arena.c: Remove PER_THREAD conditional.
19267 [!PER_THREAD]: Remove code.
19268 (ptmalloc_unlock_all2): Likewise.
19269 (ptmalloc_init): Likewise.
19270 (_int_new_arena): Likewise.
19271 (arena_get2): Likewise.
19272 * malloc/hooks.c (__malloc_get_state): Likewise.
19273 (__malloc_set_state): Likewise.
19274 * malloc/malloc.c: Likewise.
19275 (struct malloc_state): Likewise.
19276 (struct malloc_par): Likewise.
19277 (__libc_realloc): Likewise.
19278 (__libc_mallopt): Likewise.
19279
aeb95445
AZ
192802013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19281
19282 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19283
e8349efd
OB
192842013-12-09 Ondřej Bílka <neleai@seznam.cz>
19285
19286 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19287 macro to a function. Check for zero perturb_byte.
19288 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19289
f3eeb3fc 19290 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19291 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19292 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19293 force_reg by atomic_forced_read.
19294 * malloc/arena.c (ptmalloc_init): Likewise.
19295 * malloc/hooks.c (top_check): Likewise.
19296
be2f9009
AZ
192972013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19298
19299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19300
e7b914bd
MT
193012013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19302
19303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19304
9f0be4f8
JM
193052013-12-08 Joseph Myers <joseph@codesourcery.com>
19306
19307 * math/auto-libm-test-in: Add tests of lgamma.
19308 * math/auto-libm-test-out: Regenerated.
19309 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19310 (M_LOG_2_SQRT_PIl): Likewise.
19311 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19312 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19313 mpfr_f_f1.
19314 (func_calc_desc): Add mpfr_f_f1 union field.
19315 (ARGS1): New macro.
19316 (ARGS2): Likewise.
19317 (ARGS3): Likewise.
19318 (ARGS4): Likewise.
19319 (RET1): Likewise.
19320 (RET2): Likewise.
19321 (CALC): Likewise.
19322 (FUNC): Likewise.
19323 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19324 (test_functions): Add lgamma.
19325 (calc_generic_results): Handle mpfr_f_f1.
19326 * sysdeps/i386/fpu/libm-test-ulps: Update.
19327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19328
24eeafdb
AZ
193292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19330
19331 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19332 __mpn_add_n for PowerPC64/POWER7.
19333 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19334 __mpn_sub_n for PowerPC64/POWER7.
19335
4a2c0fd4
AZ
19336 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19337 __mpn_addmul_1 for PowerPC64.
19338 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19339 __mpn_submul_1 for PowerPC64.
19340 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19341 for PowerPC64.
19342 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19343 for PowerPC64.
19344
4b5b548c
FS
193452013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19346
19347 [BZ #15089]
19348 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19349
0a3ac0aa
AZ
193502013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19351
19352 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19353
ccdc8438
AZ
19354 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19355 add multiarch folders.
19356 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19357 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19358 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19359 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19360 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19361 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19362 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19363 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19364 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19365 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19366 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19373
2e973d99
AZ
19374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19375 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19377 New file.
19378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19379 New file.
19380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19381 multiarch __ieee754_hypot for PowerPC32.
19382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19383 New file.
19384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19385 New file.
19386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19387 multiarch __ieee754_hypotf for PowerPC32.
19388
2d9470b2
AZ
19389 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19390 long_double_symbol only if __logbl is defined.
19391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19392 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19393 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19394 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19395 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19396 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19397 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19398 path for implementation.
19399 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19402 logb, and logbl multiarch implementations for PowerPC32.
19403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19404 file.
19405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19406 file.
19407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19408 multiarch logb for PowerPC32.
19409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19410 file.
19411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19412 file.
19413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19414 multiarch logbf for PowerPC32.
19415 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19417 file.
19418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19419 multiarch logbl implementation for PowerPC32.
19420
5212ffce
AZ
19421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19422 and modff multiarch implementations.
19423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19424 New file.
19425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19426 New file.
19427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19428 multiarch modf for PowerPC32.
19429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19430 New file.
19431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19432 New file.
19433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19434 multiarch modff for PowerPC32.
19435
79dccf31
AZ
19436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19437 and lrintf multiarch implementations.
19438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19439 New file.
19440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19441 New file.
19442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19443 multiarch lrint for PowerPC32.
19444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19445 file: multiarch lrintf for PowerPC32.
19446
deb66480
AZ
19447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19448 and lroundf multiarch implementations.
19449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19450 New file.
19451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19452 New file.
19453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19454 New file.
19455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19456 multiarch lround for PowerPC32.
19457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19458 file: multiarch lroundf for PowerPC32.
19459
264b036b
AZ
19460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19461 copysign and copysignf multiarch implementations.
19462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19463 New file.
19464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19465 New file.
19466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19467 file: multiarch copysign for PowerPC32.
19468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19469 file: multiarch copysignf for PowerPC32.
19470
d47db6c9
AZ
19471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19472 and truncf multiarch implementations.
19473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19474 New file.
19475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19476 file.
19477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19478 multiarch trunc for PowerPC32.
19479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19480 New file.
19481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19482 New file.
19483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19484 multiarch truncf for PowerPC32.
19485
ddb60b5a
AZ
19486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19487 and roundf multiarch implementations.
19488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19489 New file.
19490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19491 file.
19492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19493 multiarch round for PowerPC32.
19494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19495 New file.
19496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19497 New file.
19498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19499 multiarch roundf for PowerPC32.
19500
bedcf49b
AZ
19501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19502 and floorf multiarch implementations.
19503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19504 New file.
19505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19506 file.
19507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19508 multiarch floor for PowerPC32.
19509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19510 New file.
19511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19512 New file.
19513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19514 multiarch floorf for PowerPC32.
19515
35ae5b40
AZ
19516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19517 and ceilf multiarch implementations.
19518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19519 New file.
19520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19521 file.
19522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19523 multiarch ceil for PowerPC32.
19524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19525 New file.
19526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19527 file.
19528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19529 multiarch ceilf for PowerPC32.
19530
ae1a4cd9
AZ
19531 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19532 is defined.
19533 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19534 FINITEF is defined.
19535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19536 and finitef multiarch implementations.
19537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19538 New file.
19539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19540 file.
19541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19542 multiarch finite for PowerPC32.
19543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19544 New file.
19545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19546 file: multiarch finitef for PowerPC32.
19547
64fffd65
AZ
19548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19549 and isinff multiarch implementations.
19550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19551 file.
19552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19553 file.
19554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19555 multiarch isinf for PowerPC32.
19556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19557 New file.
19558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19559 multiarch isinff for PowerPC32.
19560
8e4e7ba2
AZ
19561 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19562 alias when __isnan is defined.
19563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19564 and isnanf multiarch implementations.
19565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19566 file.
19567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19568 file.
19569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19570 file.
19571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19572 file.
19573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19574 multiarch isnan for PowerPC32.
19575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19576 New file.
19577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19578 New file.
19579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19580 multiarch isnanf for PowerPC32.
19581
ddba588e
AZ
19582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19583 and sqrtf multiarch implementations.
19584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19585 file.
19586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19587 file.
19588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19589 multiarch sqrt for PowerPC32.
19590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19591 file.
19592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19593 file.
19594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19595 multiarch sqrtf for PowerPC32.
19596
0f96a2f0
AZ
19597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19598 and llroundf multiarch implementations.
19599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19600 New file.
19601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19602 New file.
19603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19604 New file.
19605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19606 file: multiarch llround for PowerPC32.
19607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19608 file: multiarch llroundf for PowerPC32.
19609
c9b5d79e
AZ
19610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19611 multiarch PowerPC32 fpu implementations.
19612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19613 New file.
19614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19615 New file.
19616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19617 multiarch llrint for PowerPC32.
19618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19619 New file.
19620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19621 New file.
19622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19623 file.
19624
9cbb3aab
AZ
19625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19626
ea5a72f8
AZ
19627 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19628 file.
19629 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19630 file.
19631 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19632 file.
19633 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19634 multiarch wordcopy for PPC32.
19635 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19636 wordcopy objects.
19637 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19638 (__libc_ifunc_impl_list): Likewise.
19639 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19640 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19641 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19642 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19643 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19644 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19645
93be09e7
AZ
19646 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19648 file.
19649 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19650 file.
19651 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19652 file.
19653 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19654 multiarch wcscpy for PPC32.
19655 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19656 multiarch objects.
19657 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19658 (__libc_ifunc_impl_list): Likewise.
19659 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19660 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19661 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19662 sysdeps/powerpc/power6/wcscpy.c.
19663
bb04e529
AZ
19664 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19666 file.
19667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19668 file.
19669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19670 file.
19671 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19672 multiarch wcsrchr for PPC32.
19673 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19674 multiarch objects.
19675 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19676 (__libc_ifunc_impl_list): Likewise.
19677 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19678 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19679 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19680 sysdeps/powerpc/power6/wcsrchr.c.
19681
05b5cd1c
AZ
19682 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19683 file.
19684 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19685 file.
19686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19688 multiarch wcschr for PPc32.
19689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19690 multiarch objects.
19691 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19692 (__libc_ifunc_impl_list): Likewise.
19693 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19694 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19695 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19696 sysdeps/powerpc/power6/wcschr.c.
19697
ba964147
AZ
19698 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19699 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19700 file.
19701 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19702 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19703 file: multiarch strchr for PPC32.
19704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19705 multiarch objects.
19706 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19707 (__libc_ifunc_impl_list): Likewise.
19708
31c81aaa
AZ
19709 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19710 name.
19711 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19712 file.
19713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19714 file.
19715 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19716 multiarch strchrnul for PPC32.
19717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19718 multiarch objects.
19719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19720 (__libc_ifunc_impl_list): Likewise.
19721
0d0607d9
AZ
19722 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19723 file.
19724 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19725 multiarch strncasecmp for PPC32.
19726 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19727 file.
19728 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19729 multiarch strncasecmp_l for PPC32.
19730 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19731 strncasecmp multiarch objects.
19732 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19733 (__libc_ifunc_impl_list): Likewise.
19734
4dfd5c86
AZ
19735 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19736 file.
19737 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19738 multiarch strncasecmp for PPC32.
19739 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19740 New file.
19741 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19742 multiarch strcasecmp_l for PPC32.
19743 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19744 multiarch objects.
19745 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19746 (__libc_ifunc_impl_list): Likewise.
19747
a19e01a3
AZ
19748 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19749 file.
19750 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19751 file.
19752 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19753 multiarch strncmp for PPC32.
19754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19755 multiarch objects.
19756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19757 (__libc_ifunc_impl_list): Likewise.
19758
ae9cf7a2
AZ
19759 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19760 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19761 file.
19762 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19763 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19764 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19765 multiarch objects.
19766 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19767 (__libc_ifunc_impl_list): Likewise.
19768
3148bb7d
AZ
19769 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19770 file.
19771 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19772 file.
19773 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19774 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19775 multiarch objects.
19776 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19777 (__libc_ifunc_impl_list): Likewise.
19778
7af8b946
AZ
19779 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19780 file.
19781 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19782 file.
19783 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19784 multiarch rawmemchr for PPC32.
19785 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19786 multiarch objects.
19787 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19788 (__libc_ifunc_impl_list): Likewise.
19789
03a6aa6a
AZ
19790 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19791 file.
19792 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19793 file.
19794 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19795 file: memrchr multiarch for PPC32.
19796 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19797 multiarch objects.
19798 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19799 (__libc_ifunc_impl_list): Likewise.
19800
1c62e6d9
AZ
19801 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19802 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19803 file.
19804 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19805 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19806 multiarch memchr for PPC32.
19807 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19808 multiarch objects.
19809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19810 (__libc_ifunc_impl_list): Likewise.
19811
87da8bdb
AZ
19812 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19813 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19814 file.
19815 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19816 file.
19817 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19818 file: multiarch mempcpy for PPC32.
19819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19820 multiarch objects.
19821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19822 (__libc_ifunc_impl_list): Likewise.
19823
20ed4714
AZ
19824 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19825 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19826 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19828 multiarch bzero for PPC32.
19829 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19830 file.
19831 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19832 file.
19833 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19834 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19835 file: multiarch memset for PPC32.
19836 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19837 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19838 memset multiarch objects.
19839 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19840 (__libc_ifunc_impl_list): Likewise.
19841
ab3e3a46
AZ
19842 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19843 file.
19844 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19845 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19846 memcmp for PPC32.
19847 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19848 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19849 multiarch objects.
19850 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19851 (__libc_ifunc_impl_list): Likewise.
19852
930de6f0
AZ
19853 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19854 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19855 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19856 file.
19857 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19858 file.
19859 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19860 file.
19861 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19862 multiarch memcpy for PPC32.
19863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19864 multiarch objects.
19865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19866 (__libc_ifunc_impl_list): Likewise.
19867
4c628e00
AZ
19868 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19869 support multiarch for POWER/PPC32.
19870 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19871 Likewise.
19872 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19874 Implies file to make multiarch folder appers before the fpu and
19875 default folder for power4 configuration.
19876
f4479220
SP
198772013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19878
19879 * scripts/bench.pl: Append volatile keyword to type.
19880
8517800f
KK
198812013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19882
19883 * sysdeps/sh/sotruss-lib.c: New file.
19884 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19885
180138f1
AZ
198862013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19887
19888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19889
bbf37bdc
JM
198902013-12-05 Joseph Myers <joseph@codesourcery.com>
19891
e47cc4e0
JM
19892 [BZ #6810]
19893 * math/w_tgamma.c: Include <errno.h>.
19894 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19895 * math/w_tgammaf.c: Include <errno.h>.
19896 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19897 * math/w_tgammal.c: Include <errno.h>.
19898 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19899 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19900 underflow. Add more tgamma tests.
19901 * math/auto-libm-test-out: Regenerated.
19902 * sysdeps/i386/fpu/libm-test-ulps: Update.
19903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19904
bbf37bdc
JM
19905 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19906 sin, sinh, tan, tanh, tgamma, y0 and y1.
19907 * math/auto-libm-test-out: Regenerated.
19908 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19909 (TEST_COND_x86): Likewise.
19910 (M_E2l): Remove macro.
19911 (M_E3l): Likewise.
19912 (M_2_SQRT_PIl): Likewise.
19913 (M_SQRT_PIl): Likewise.
19914 (M_1_DIV_El): Likewise.
19915 (log_test_data): Use AUTO_TESTS_f_f.
19916 (log10_test_data): Likewise.
19917 (log1p_test_data): Likewise.
19918 (log2_test_data): Likewise.
19919 (sin_test_data): Likewise.
19920 (sin_tonearest_test_data): Likewise.
19921 (sin_towardzero_test_data): Likewise.
19922 (sin_downward_test_data): Likewise.
19923 (sin_upward_test_data): Likewise.
19924 (sinh_test_data): Likewise.
19925 (sinh_tonearest_test_data): Likewise.
19926 (sinh_towardzero_test_data): Likewise.
19927 (sinh_downward_test_data): Likewise.
19928 (sinh_upward_test_data): Likewise.
19929 (tan_test_data): Likewise.
19930 (tan_tonearest_test_data): Likewise.
19931 (tan_towardzero_test_data): Likewise.
19932 (tan_downward_test_data): Likewise.
19933 (tan_upward_test_data): Likewise.
19934 (tanh_test_data): Likewise.
19935 (tgamma_test_data): Likewise.
19936 (y0_test_data): Likewise.
19937 (y1_test_data): Likewise.
19938 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19939 (special_real_inputs): Add pi/4.
19940 * sysdeps/i386/fpu/libm-test-ulps: Update.
19941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19942
eb5ad6b9
AZ
199432013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19944
19945 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19946 "longjmp_target" static probes.
19947 (__longjmp): Rename to __longjmp_symbol.
19948 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19949 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19950 on which longjmp to generate.
19951 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19952 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19953 probe.
19954 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19955 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19956 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19957 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19958 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19959 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19961 __longjmp_symbol based on which __longjmp to generate.
19962 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19963 probe.
19964 (setjmp): Rename to setjmp_symbol.
19965 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19966 (_setjmp): Rename to _setjmp_symbol.
19967 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19968 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19969 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19970 which setjmp to generate.
19971 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19972 "longjmp_target" static probes.
19973
d136c6dc
SP
199742013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
9298ecba
SP
19976 * benchtests/README: Add note about output arguments.
19977 * benchtests/bench-sincos.c: Remove file.
19978 * benchtests/sincos-inputs: New file.
19979 * scripts/bench.pl: Identify output arguments and define
19980 static variables for them.
19981
232983e9
SP
19982 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19983
d136c6dc
SP
19984 [BZ #15941]
19985 * Makefile (INSTALL): Add install-plain.texi as the primary
19986 dependency.
19987 * manual/install-plain.texi: New file.
19988 * manual/install.texi: Include node directive only for
19989 non-plaintext output.
19990
699ff837
JM
199912013-12-04 Joseph Myers <joseph@codesourcery.com>
19992
ab07cea8
JM
19993 * stdlib/longlong.h: Update from GCC.
19994
699ff837
JM
19995 [BZ #6807]
19996 [BZ #15901]
19997 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19998 * math/w_j0f.c (y0f): Likewise.
19999 * math/w_j0l.c (__y0l): Likewise.
20000 * math/w_j1.c (y1): Likewise.
20001 * math/w_j1f.c (y1f): Likewise.
20002 * math/w_j1l.c (__y1l): Likewise
20003 * math/w_jn.c (yn): Likewise.
20004 * math/w_jnf.c (ynf): Likewise.
20005 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20006 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20007 value for Bessel function domain errors outside _SVID_ mode.
20008 Adjust sign of return value for yn (negative integer, 0).
20009 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20010 by zero in return for negative x and set sign appropriately for
20011 negative n.
20012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20013 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20014 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20015 expectations in error cases.
20016 (y1_test_data): Likewise.
20017 (yn_test_data): Likewise.
20018 * sysdeps/i386/fpu/libm-test-ulps: Update.
20019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20020
5b118558
UW
200212013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20022
20023 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20024 "64" to "64-v1". Add "64-v2".
20025 (abi-64-options): Rename to ...
20026 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20027 (abi-64-condition): Rename to ...
20028 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20029 (abi-64-ld-soname): Rename to ...
20030 (abi-64-v1-ld-soname): ... this.
20031 (abi-64-v2-options): Define.
20032 (abi-64-v2-condition): Likewise.
20033 (abi-64-v2-ld-soname): Likewise.
20034 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20035 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20039
61cd8fe4
UW
200402013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20041 Alan Modra <amodra@gmail.com>
20042
20043 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20044 New versions for use with the ELFv2 ABI.
20045 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20046 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20047 declaration.
20048 (struct La_ppc64v2_retval): Likewise.
20049 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20050 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20051 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20052 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20053 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20054 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20055 Do not save or restore CR.
20056 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20057 (_dl_profile_resolve): Do no save or restore CR. Support extended
20058 return values for ELFv2 ABI. Fix location of FPR return registers.
20059 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20060 updated values for _CALL_ELF == 2.
20061 (La_regs, La_retval, int_retval): Likewise.
20062
8b8a692c
UW
200632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20064
20065 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20066 (FRAME_MIN_SIZE_PARM): Likewise.
20067 (FRAME_BACKCHAIN): Likewise.
20068 (FRAME_CR_SAVE): Likewise.
20069 (FRAME_LR_SAVE): Likewise.
20070 (FRAME_TOC_SAVE): Likewise.
20071 (FRAME_PARM_SAVE): Likewise.
20072 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20073 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20074 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20075 (call_mcount_parm_offset): New macro.
20076 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20077 (PROF): Use symbolic stack frame offsets.
20078 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20079 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20080 Redefine in terms of FRAME_MIN_SIZE.
20081 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20082 (_dl_profile_resolve): Likewise. Update comment.
20083 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20084 symbols stack frame offsets.
20085 (__sigsetjmp): Likewise.
20086 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20087 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20088 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20089 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20090
20091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20092 (FRAME_BACKCHAIN): Remove.
20093 (FRAME_CR_SAVE): Likewise.
20094 (FRAME_LR_SAVE): Likewise.
20095 (FRAME_COMPILER_DW): Likewise.
20096 (FRAME_LINKER_DW): Likewise.
20097 (FRAME_TOC_SAVE): Likewise.
20098 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20099 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20100 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20101 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20103 (CHECK_SP): Use symbolic stack frame offsets.
20104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20105 zone" instead of caller's parameter save area for temp storage.
20106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20107 Likewise. Also, use symbolic stack frame offsets.
20108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20109 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20110 our own stack frame instead of the caller's.
20111 (__socket): Use symbolic stack frame offsets.
20112
122b66de
UW
201132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20114 Alan Modra <amodra@gmail.com>
20115
20116 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20117 Define.
57f41c40
AS
20118 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20119 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20120 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20121 New function.
20122 (elf_machine_fixup_plt): Call it.
20123 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20124 reloc arguments.
20125 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20126 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20127 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20128 r2 before calling target.
20129
696caf1d
UW
201302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20131 Alan Modra <amodra@gmail.com>
20132
20133 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20134 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20135 versions of macros to support ELFv2 ABI.
20136 (LOCALENTRY): New macro.
20137 (ENTRY, EALIGN): Use it.
20138 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20139 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20140 fall through into ENTRY entry point.
20141 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20142 Only define if _CALL_ELF != 2.
20143
20144 (elf_machine_matches_host): Verify ABI version matches.
20145 (RTLD_START): Use LOCALENTRY.
20146 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20147 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20148 (PLT_ENTRY_WORDS): New macro.
20149 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20150 (elf_machine_runtime_setup): Support ELFv2 ABI.
20151 (elf_machine_fixup_plt): Likewise.
20152 (elf_machine_plt_conflict): Likewise.
20153 (resolve_ifunc): Likewise.
20154 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20155 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20156 Likewise.
20157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20158 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20160 (makecontext): Support ELFv2 ABI.
20161 * elf/elf.h (EF_PPC64_ABI): Define.
20162
d31beafa
UW
201632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20164
57f41c40
AS
20165 * sysdeps/powerpc/powerpc64/sysdep.h
20166 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20167 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20168 (ENTRY) [ASSEMBLER]: ... but instead here ...
20169 (EALIGN) [ASSEMBLER]: ... and here.
20170 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20171 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20172 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20173 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20174 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20176 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20177 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20179 Use PPC64_LOAD_FUNCPTR.
20180
b525166b
UW
20181 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20182
7ec07d9a
AM
201832013-12-04 Alan Modra <amodra@gmail.com>
20184
20185 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20186 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20187 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20188 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20189
20190 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20191 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20192 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20193 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20194 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20195 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20196
5162e7dd
UW
201972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20198
20199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20200 (__makecontext): Fix incorrect CFI when backtracing out of
20201 context created via makecontext.
20202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20203 (__setcontext): Fix incorrect CFI during switch to new context.
20204 (__novec_setcontext): Likewise.
20205
19e3372b
OB
202062013-12-04 Ondřej Bílka <neleai@seznam.cz>
20207
20208 [BZ #4772]
20209 * time/strptime_l.c (__strptime_internal): Allow modifiers
20210 in strptime.
20211 * time/tst-strptime.c (day_tests): Add testcase.
20212
ecaf142d
SP
202132013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20214
20215 * scripts/bench.pl: Skip over blank lines.
20216
fbf964ae
PE
202172013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20218
20219 [BZ #926]
20220 * manual/time.texi (Calendar Time): Clarify what timezone functions
20221 use.
20222
fa60a674
AZ
202232013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20224
20225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20226
d674f0ef
OB
202272013-12-04 Ondřej Bílka <neleai@seznam.cz>
20228
20229 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20230 implementation.
20231 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20232 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20233 * debug/memset_chk.c (__memset_chk): Likewise.
20234 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20235 * debug/strncpy_chk.c: Likewise.
20236
17dea188
JM
202372013-12-03 Joseph Myers <joseph@codesourcery.com>
20238
749008ff
JM
20239 [BZ #15268]
20240 [BZ #15425]
20241 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20242 (__ieee754_exp): For possibly underflowing results, check size of
20243 result and force underflow exception if required.
20244 * math/auto-libm-test-in: Add more tests of exp.
20245 * math/auto-libm-test-out: Regenerated.
20246 * sysdeps/i386/fpu/libm-test-ulps: Update.
20247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20248
17dea188
JM
20249 [BZ #16283]
20250 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20251 * math/w_exp2f.c (__exp2f): Likewise.
20252 * math/w_exp2l.c (__exp2l): Likewise.
20253 * math/auto-libm-test-in: Do not allow missing errno on exp2
20254 underflow.
20255 * math/auto-libm-test-out: Regenerated.
20256
b20de2c3
OB
202572013-12-03 Ondřej Bílka <neleai@seznam.cz>
20258
20259 [BZ #16274]
20260 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20261 handle filename validation.
20262 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20263 (do_open): Delete.
20264
d8e2dbe3
JM
202652013-12-03 Joseph Myers <joseph@codesourcery.com>
20266
34e16df5
JM
20267 [BZ #6786]
20268 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20269 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20270 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20271 <float.h>.
20272 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20274 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20275 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20276 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20277 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20278 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20279 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20280 Add more erfc tests.
20281 * math/auto-libm-test-out: Regenerated.
20282 * sysdeps/i386/fpu/libm-test-ulps: Update.
20283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284
d8e2dbe3
JM
20285 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20286 exp2, expm1, j0 and j1.
20287 * math/auto-libm-test-out: Regenerated.
20288 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20289 (erfc_test_data): Likewise.
20290 (exp_test_data): Likewise.
20291 (exp_tonearest_test_data): Likewise.
20292 (exp_towardzero_test_data): Likewise.
20293 (exp_downward_test_data): Likewise.
20294 (exp_upward_test_data): Likewise.
20295 (exp10_test_data): Likewise.
20296 (exp2_test_data): Likewise.
20297 (expm1_test_data): Likewise.
20298 (j0_test_data): Likewise.
20299 (j1_test_data): Likewise.
20300 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20301 (input_flag_type): Add flag_xfail_rounding.
20302 (input_flags): Add xfail-rounding.
20303 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20304 (output_for_one_input_case): Handle flag_xfail_rounding.
20305 * sysdeps/i386/fpu/libm-test-ulps: Update.
20306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20307
18d14251
AJ
203082013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20309
3d2e6075 20310 [BZ #16289]
18d14251
AJ
20311 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20312 division by 0.
20313
520d437b
SP
203142013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20315
20316 [BZ #16195]
20317 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20318 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20319 (STAP_PROBE0): New macro.
20320 (STAP_PROBE1): Likewise.
20321 (STAP_PROBE2): Likewise.
20322 (STAP_PROBE3): Likewise.
20323 (STAP_PROBE4): Likewise.
20324
416e0145
OB
203252013-12-02 Ondřej Bílka <neleai@seznam.cz>
20326
20327 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20328
9d17796a
SE
203292013-12-02 Steve Ellcey <sellcey@mips.com>
20330
20331 * benchtests/Makefile (bench): Add sqrt.
20332 (LDLIBS-bench-sqrt): New.
20333 * benchtests/sqrt-input: New.
20334
f524d6a8
PS
203352013-12-02 Pavel Simerda <psimerda@redhat.com>
20336
639a0ef8
PS
20337 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20338 (GAIH_EAI): Likewise.
20339 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20340 (gaih_inet): Likewise.
20341 (getaddrinfo): Don't use GAIH_EAI.
20342
f524d6a8
PS
20343 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20344 (struct gaih): Remove definition.
20345
df3aedaf
SP
203462013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20347
20348 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20349 Use HERRNOP directly.
20350
1ab19dec
AZ
203512013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352
b42ad38d 20353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20354
176b0c79
JM
203552013-11-30 Joseph Myers <joseph@codesourcery.com>
20356
20357 * math/gen-auto-libm-tests.c (test_functions): Add more
20358 single-argument functions.
20359 (special_fill_pi_2): New function.
20360 (special_fill_minus_pi_2): Likewise.
20361 (special_fill_pi_6): Likewise.
20362 (special_fill_minus_pi_6): Likewise.
20363 (special_fill_pi_3): Likewise.
20364 (special_fill_2pi_3): Likewise.
20365 (special_fill_e): Likewise.
20366 (special_fill_1_e): Likewise.
20367 (special_fill_e_minus_1): Likewise.
20368 (special_real_inputs): Add more special inputs.
20369 (output_for_one_input_case): Do not require ERANGE on underflow to
20370 zero if round-to-nearest result does not underflow to zero, unless
20371 exact results required.
20372 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20373 atan, atanh, cbrt, cos and cosh.
20374 * math/auto-libm-test-out: Regenerated.
20375 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20376 (acos_tonearest_test_data): Likewise.
20377 (acos_towardzero_test_data): Likewise.
20378 (acos_downward_test_data): Likewise.
20379 (acos_upward_test_data): Likewise.
20380 (acosh_test_data): Likewise.
20381 (asin_test_data): Likewise.
20382 (asin_tonearest_test_data): Likewise.
20383 (asin_towardzero_test_data): Likewise.
20384 (asin_upward_test_data): Likewise.
20385 (asinh_test_data): Likewise.
20386 (atan_test_data): Likewise.
20387 (atanh_test_data): Likewise.
20388 (cbrt_test_data): Likewise.
20389 (cos_test_data): Likewise.
20390 (cos_tonearest_test_data): Likewise.
20391 (cos_towardzero_test_data): Likewise.
20392 (cos_downward_test_data): Likewise.
20393 (cos_upward_test_data): Likewise.
20394 (cosh_test_data): Likewise.
20395 (cosh_tonearest_test_data): Likewise.
20396 (cosh_towardzero_test_data): Likewise.
20397 (cosh_downward_test_data): Likewise.
20398 (cosh_upward_test_data): Likewise.
20399 * sysdeps/i386/fpu/libm-test-ulps: Update.
20400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20401
ffb536d0
JM
204022013-11-29 Joseph Myers <joseph@codesourcery.com>
20403
2a77a467
JM
20404 [BZ #6787]
20405 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20406 * math/w_exp10f.c (__exp10f): Likewise.
20407 * math/w_exp10l.c (__exp10l): Likewise.
20408 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20409 errno settings in existing tests.
20410
ea3bc4e8
JM
20411 [BZ #14032]
20412 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20413 precision control set to double precision.
20414 * sysdeps/i386/fpu/w_sqrt.c: New file.
20415 * math/auto-libm-test-in: Add more tests.
20416 * math/auto-libm-test-out: Update.
20417
0712c9d8
JM
20418 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20419 (sqrt_test_tonearest): New function.
20420 (sqrt_towardzero_test_data): New variable.
20421 (sqrt_test_towardzero): New function.
20422 (sqrt_downward_test_data): New variable.
20423 (sqrt_test_downward): New function.
20424 (sqrt_upward_test_data): New variable.
20425 (sqrt_test_upward): New function.
20426 (main): Call the new functions.
20427
ffb536d0
JM
20428 * math/gen-auto-libm-tests.c: New file.
20429 * math/auto-libm-test-in: Likewise.
20430 * math/auto-libm-test-out: New generated file.
20431 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20432 variables.
20433 (%beautify): Add generated representations of zero.
20434 (top level): Set $auto_input and call parse_auto_input.
20435 (beautify): Remove trailing "f" from hex float constants.
20436 (parse_args): Handle XFAIL_TEST.
20437 (convert_condition): New function.
20438 (or_value): Likewise.
20439 (or_cond_value): Likewise.
20440 (generate_testfile): Handle AUTO_TESTS_* lines.
20441 (parse_auto_input): New function.
20442 * math/libm-test.inc (XFAIL_TEST): New macro.
20443 (ERRNO_UNCHANGED): Update value.
20444 (ERRNO_EDOM): Likewise.
20445 (ERRNO_ERANGE): Likewise.
20446 (IGNORE_RESULT): Likewise.
20447 (TEST_COND_flt_32): New macro.
20448 (TEST_COND_dbl_64): Likewise.
20449 (TEST_COND_ldbl_96_intel): Likewise.
20450 (TEST_COND_ldbl_96_m68k): Likewise.
20451 (TEST_COND_ldbl_128): Likewise.
20452 (TEST_COND_ldbl_128ibm): Likewise.
20453 (TEST_COND_long32): Likewise.
20454 (TEST_COND_long64): Likewise.
20455 (TEST_COND_before_rounding): Likewise.
20456 (TEST_COND_after_rounding): Likewise.
20457 (enable_test): Handle XFAIL_TEST flag.
20458 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20459 with finite results.
20460 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20461 auto-libm-test-out.
20462
acd98a8e
AK
204632013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20464 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20465
20466 [BZ #16214]
20467 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20468 __tls_get_addr_internal instead of __tls_get_offset in order to
20469 avoid GOT pointer dependency. Make rtld export
20470 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20471 __tls_get_addr since we are a __tls_get_offset platform.
20472 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20473 GOT pointer being set up before.
20474 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20475
3c1c46a6
JM
204762013-11-28 Joseph Myers <joseph@codesourcery.com>
20477
7475aef5
JM
20478 * manual/math.texi (Errors in Math Functions): Document accuracy
20479 goals.
20480
8bca7cd8
JM
20481 [BZ #15004]
20482 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20483 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20484 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20485 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20486 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20487 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20488 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20489 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20490 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20495 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20497 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20498
91a1f3fe
JM
20499 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20500 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20501 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20502 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20503 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20504 Likewise.
20505 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20506 Likewise.
20507 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20508 Likewise.
20509 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20510 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20511 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20512 atomic-feupdateenv and flt-rounds.
20513 * sysdeps/powerpc/nofpu/Versions (libc): Add
20514 __atomic_feholdexcept, __atomic_feclearexcept,
20515 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20516 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20517 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20518 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20519 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20520 here.
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20522 Update.
20523
c5df7609
JM
20524 * manual/arith.texi (FP Exceptions): Document that exceptions may
20525 not be raised when matherr is used.
20526 (Math Error Reporting): Document overflow in directed rounding
20527 modes. Document that errno may not be set when finite values are
20528 returned on overflow. Document intent to set errno on underflow
20529 only for underflow to zero.
20530
3c1c46a6
JM
20531 [BZ #16271]
20532 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20533 round-to-nearest then adjust result for other rounding modes.
20534 * include/fenv.h (fegetround): Use libm_hidden_proto.
20535 * math/fegetround.c (fegetround): Use libm_hidden_def.
20536 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20537 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20538 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20539 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20540 Likewise.
20541 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20542 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20543 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20544 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20545
5a4c6d53
SP
205462013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20547
20548 [BZ #16077]
20549 * nss/Versions (libnss_files): Add
20550 _nss_files_gethostbyname3_r.
20551 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20552 New function.
20553 (HOST_DB_LOOKUP): Remove macro.
20554 (_nss_files_gethostbyname_r): Implement function without the
20555 HOST_DB_LOOKUP macro.
20556 (_nss_files_gethostbyname2_r): Likewise.
20557
897b98ba
OB
205582013-11-28 Ondřej Bílka <neleai@seznam.cz>
20559
20560 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20561
6f476861
UB
205622013-11-26 Uros Bizjak <ubizjak@gmail.com>
20563
20564 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20565 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20566 warning.
20567
bd12ab55
AZ
205682013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20569
20570 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20571 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20573 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20574 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20575 __fe_nomask_env_priv and attribute_hidden.
20576 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20577 (libc_feupdateenv_test_ppc): Likewise.
20578 (libc_feresetround_ppc): Likewise.
20579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20580 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20581 compat_symbol macro.
20582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20583 (__fe_nomask_env): Likewise.
20584 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20585
52bb6543
OB
205862013-11-26 Ondřej Bílka <neleai@seznam.cz>
20587
20588 * string/Makefile: Remove ifunc tests.
20589 * string/test-string.h: Define TEST_IFUNC.
20590 * string/test-bcopy-ifunc.c: Remove.
20591 * string/test-bzero-ifunc.c: Likewise.
20592 * string/test-memccpy-ifunc.c: Likewise.
20593 * string/test-memchr-ifunc.c: Likewise.
20594 * string/test-memcmp-ifunc.c: Likewise.
20595 * string/test-memcpy-ifunc.c: Likewise.
20596 * string/test-memmem-ifunc.c: Likewise.
20597 * string/test-memmove-ifunc.c: Likewise.
20598 * string/test-mempcpy-ifunc.c: Likewise.
20599 * string/test-memrchr-ifunc.c: Likewise.
20600 * string/test-memset-ifunc.c: Likewise.
20601 * string/test-rawmemchr-ifunc.c: Likewise.
20602 * string/test-stpcpy-ifunc.c: Likewise.
20603 * string/test-stpncpy-ifunc.c: Likewise.
20604 * string/test-strcasecmp-ifunc.c: Likewise.
20605 * string/test-strcasestr-ifunc.c: Likewise.
20606 * string/test-strcat-ifunc.c: Likewise.
20607 * string/test-strchr-ifunc.c: Likewise.
20608 * string/test-strchrnul-ifunc.c: Likewise.
20609 * string/test-strcmp-ifunc.c: Likewise.
20610 * string/test-strcpy-ifunc.c: Likewise.
20611 * string/test-strcspn-ifunc.c: Likewise.
20612 * string/test-strlen-ifunc.c: Likewise.
20613 * string/test-strncasecmp-ifunc.c: Likewise.
20614 * string/test-strncat-ifunc.c: Likewise.
20615 * string/test-strncmp-ifunc.c: Likewise.
20616 * string/test-strncpy-ifunc.c: Likewise.
20617 * string/test-strnlen-ifunc.c: Likewise.
20618 * string/test-strpbrk-ifunc.c: Likewise.
20619 * string/test-strrchr-ifunc.c: Likewise.
20620 * string/test-strspn-ifunc.c: Likewise.
20621 * string/test-strstr-ifunc.c: Likewise.
20622
ab260039 206232013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
20624
20625 * benchtests/Makefile: Remove ifunc tests.
20626 * benchtests/bench-string.h: Define TEST_IFUNC.
20627 * benchtests/bench-bcopy-ifunc.c: Remove.
20628 * benchtests/bench-bzero-ifunc.c: Likewise.
20629 * benchtests/bench-memccpy-ifunc.c: Likewise.
20630 * benchtests/bench-memchr-ifunc.c: Likewise.
20631 * benchtests/bench-memcmp-ifunc.c: Likewise.
20632 * benchtests/bench-memcpy-ifunc.c: Likewise.
20633 * benchtests/bench-memmem-ifunc.c: Likewise.
20634 * benchtests/bench-memmove-ifunc.c: Likewise.
20635 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20636 * benchtests/bench-memrchr-ifunc.c: Likewise.
20637 * benchtests/bench-memset-ifunc.c: Likewise.
20638 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20639 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20640 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20641 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20642 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20643 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20644 * benchtests/bench-strcat-ifunc.c: Likewise.
20645 * benchtests/bench-strchr-ifunc.c: Likewise.
20646 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20647 * benchtests/bench-strcmp-ifunc.c: Likewise.
20648 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20649 * benchtests/bench-strcpy-ifunc.c: Likewise.
20650 * benchtests/bench-strcspn-ifunc.c: Likewise.
20651 * benchtests/bench-strlen-ifunc.c: Likewise.
20652 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20653 * benchtests/bench-strncat-ifunc.c: Likewise.
20654 * benchtests/bench-strncmp-ifunc.c: Likewise.
20655 * benchtests/bench-strncpy-ifunc.c: Likewise.
20656 * benchtests/bench-strnlen-ifunc.c: Likewise.
20657 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20658 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 20659 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
20660 * benchtests/bench-strspn-ifunc.c: Likewise.
20661 * benchtests/bench-strstr-ifunc.c: Likewise.
20662
206632013-11-26 Ondřej Bílka <neleai@seznam.cz>
20664
ab260039
OB
20665 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20666
d1d9eaf4 206672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 20668
d1d9eaf4
OB
20669 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20670 * rt/aio.h: Likewise.
20671 * sysdeps/gnu/bits/utmp.h: Likewise.
20672 * sysdeps/gnu/bits/utmpx.h: Likewise.
20673 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20674 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20675 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20676 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20677 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20678 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20679 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20680 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20681 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20682 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20683 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20684 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20685 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20687 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20688 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20689 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20690 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20691 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20692 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20693 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20694 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20695 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20696 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20697 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20698 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20699 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20700 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20701 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20702 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20703 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20704 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20705 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20706 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20707 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20708 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20709 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20710 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20711 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20712 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20713 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20714 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20715
a7624ed9
CD
207162013-11-25 Carlos O'Donell <carlos@redhat.com>
20717
20718 [BZ #16245]
20719 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20720 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20721
63cfe52b
JM
207222013-11-25 Joseph Myers <joseph@codesourcery.com>
20723
20724 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20725 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20726 Likewise.
20727
41e8926a
AZ
207282013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20729
20730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20731 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20732 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20733 (__fesetround): Remove define.
20734 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20735 rounding and exceptions handling.
20736 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20737 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20738 (__fe_nomask_env): Likewise.
20739 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20740 __fegetround instead of fegetround.
20741 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20742 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20743
6851bd4d
RM
207442013-11-21 Roland McGrath <roland@hack.frob.com>
20745
070906ff
RM
20746 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20747 it's there.
20748
6851bd4d
RM
20749 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20750
84ae135d
MI
207512013-11-21 Meador Inge <meadori@codesourcery.com>
20752
20753 [BZ #11157]
20754 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20755 (encrypt_r): Likewise.
20756 * malloc/obstack.h (obstack_free): Likewise.
20757 * posix/unistd.h (encrypt): Likewise.
20758
daf75146
GM
207592013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20760
20761 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20762 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20763 DL_CALL_DT_FINI() that call the functions directly.
20764 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20765 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20766 * elf/dl-fini.c: Likewise.
20767
10ad46bc
OB
207682013-11-20 Ondřej Bílka <neleai@seznam.cz>
20769
20770 * malloc/hooks.c (memalign_check): Add alignment rounding.
20771 * malloc/malloc.c (_mid_memalign): New function.
20772 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20773 Implement by calling _mid_memalign.
20774 * manual/probes.texi (Memory Allocation Probes): Remove
20775 memory_valloc_retry and memory_pvalloc_retry.
20776
f3fd2628
SP
207772013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20778
4712799f
SP
20779 * locale/programs/locarchive.c (open_archive): Add const
20780 qualifier to ARCHIVEFNAME and copy default fname to
20781 DEFAULT_FNAME.
20782
0417b20f
SP
20783 [BZ #15601]
20784 * libio/tst-widetext.input: Rename Oriya to Odia.
20785 * locale/iso-639.def: Likewise.
20786
f3fd2628
SP
20787 * manual/probes.texi (Mathematical Function Probes): Add
20788 documentation for sin, cos, asin and acos probes.
20789 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20790 (__sin32): Add slowasin probe.
20791 (__cos32): Add slowacos probe.
20792 (__mpsin): Add slowsin probe.
20793 (__mpcos): Add slowcos probe.
20794
73c1ce4f
JM
207952013-11-19 Joseph Myers <joseph@codesourcery.com>
20796
20797 [BZ #15483]
20798 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20799 thread-local __sim_exceptions_thread and global
20800 __sim_exceptions_global.
20801 (__sim_disabled_exceptions): Change to thread-local
20802 __sim_disabled_exceptions_thread and global
20803 __sim_disabled_exceptions_global.
20804 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20805 and global __sim_round_mode_global.
20806 (__simulate_exceptions): Use thread-local floating-point state and
20807 set global state from it as needed.
20808 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20809 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20810 __sim_round_mode_thread.
20811 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20812 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20813 and global __sim_exceptions_global.
20814 (__sim_disabled_exceptions): Change to thread-local
20815 __sim_disabled_exceptions_thread and global
20816 __sim_disabled_exceptions_global.
20817 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20818 and global __sim_round_mode_global.
20819 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20820 (SIM_SET_GLOBAL): Likewise.
20821 * sysdeps/powerpc/soft-fp/sfp-machine.h
20822 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20823 __sim_round_mode_thread.
20824 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20825 __sim_disabled_exceptions_thread.
20826 (__sim_exceptions): Change to __sim_exceptions_thread.
20827 (__sim_disabled_exceptions): Change to
20828 __sim_disabled_exceptions_thread.
20829 (__sim_round_mode): Change to __sim_round_mode_thread.
20830 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20831 thread-local floating-point state and set global state from it as
20832 needed.
20833 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20834 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20835 (__sim_disabled_exceptions): Remove extern declaration.
20836 (feenableexcept): Use thread-local floating-point state and set
20837 global state from it as needed.
20838 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20839 extern declaration.
20840 (__sim_disabled_exceptions): Likewise.
20841 (__sim_round_mode): Likewise.
20842 (__fegetenv): Use thread-local floating-point state.
20843 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20844 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20845 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20846 floating-point state and set global state from it as needed.
20847 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20848 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20849 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20850 Likewise.
20851 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20852 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20853 Likewise.
20854 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20855 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20856 Use __sim_round_mode_thread.
20857 * math/test-fenv-tls.c: New file.
20858 * math/Makefile (tests): Add test-fenv-tls.
20859 ($(objpfx)test-fenv-tls): Depend on
20860 $(common-objpfx)nptl/libpthread.so.
20861
b5449b12
AS
208622013-11-19 Andreas Schwab <schwab@suse.de>
20863
20864 * locale/programs/locale.c (show_info): Decode wordarray elements.
20865 * locale/categories.def (LC_MONETARY): Add element for
20866 _NL_MONETARY_CRNCYSTR.
20867 * locale/C-monetary.c (conversion_rate): New variable.
20868 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20869 element.
20870
e186536b
CM
208712013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20872
20873 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20874 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20875
5c349950
PP
208762013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20877
20878 * elf/Makefile (tst-auxv): New test.
20879 * elf/tst-auxv.c: New
20880 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20881
699df45b
JM
208822013-11-18 Joseph Myers <joseph@codesourcery.com>
20883
20884 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20885 (hidden_proto): Caller changed.
20886 (hidden_tls_proto): New macro.
20887 (libc_hidden_tls_proto): Likewise.
20888 (rtld_hidden_tls_proto): Likewise.
20889 (libm_hidden_tls_proto): Likewise.
20890 (libresolv_hidden_tls_proto): Likewise.
20891 (librt_hidden_tls_proto): Likewise.
20892 (libdl_hidden_tls_proto): Likewise.
20893 (libnss_files_hidden_tls_proto): Likewise.
20894 (libnsl_hidden_tls_proto): Likewise.
20895 (libnss_nisplus_hidden_tls_proto): Likewise.
20896 (libutil_hidden_tls_proto): Likewise.
20897
b7589107
OB
208982013-11-18 Ondřej Bílka <neleai@seznam.cz>
20899
20900 [BZ #10253]
20901 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20902 (decompose_rpath): Defer expansion to fillin_rpath.
20903 (_dl_init_paths): Pass linkmap to fillin_rpath.
20904
250c23bd
RS
209052013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20906
20907 * benchtests/Makefile: Add strsep.
20908 * benchtests/bench-strsep.c: New file: strsep benchtest.
20909 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20910
a7931fcf
AS
209112013-11-18 Andreas Schwab <schwab@suse.de>
20912
20913 * locale/programs/locale.c (show_info) [case byte]: Check for
20914 '\377' instead of '\177'.
20915 * locale/C-monetary.c (not_available): Always use "\377".
20916 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20917 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20918 detect unavailable sign_posn locale elements.
20919 * locale/localeconv.c (__localeconv): For grouping and
20920 mon_grouping handle "\177" and "\377" like no grouping.
20921 (INT_ELEM): New macro. Use it to set all numeric members.
20922 * locale/programs/ld-monetary.c (monetary_read)
20923 <tok_mon_grouping>: Normalize single -1 to the empty string.
20924 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20925 Likewise.
20926
728dab0e
OB
209272013-11-07 Ondřej Bílka <neleai@seznam.cz>
20928
20929 [BZ #16055]
20930 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20931 when we match (nil).
20932 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20933
66294491
JM
209342013-11-16 Joseph Myers <joseph@codesourcery.com>
20935
ce665817
JM
20936 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20937 (NO_TEST_INLINE): Update value.
20938 (ERRNO_UNCHANGED): Likewise.
20939 (ERRNO_EDOM): Likewise.
20940 (ERRNO_ERANGE): Likewise.
20941 (IGNORE_RESULT): Likewise.
20942 (check_float_internal): Check signs of NaN results if
20943 TEST_NAN_SIGN used.
20944 (check_complex): Pass TEST_NAN_SIGN flag through to second
20945 check_float_internal call.
20946 (copysign_test_data): Add tests with quiet NaNs as second
20947 argument. Use TEST_NAN_SIGN.
20948 (fabs_test_data): Add test of negative quiet NaN argument. Use
20949 TEST_NAN_SIGN.
20950 (signbit_test_data): Add tests of quiet NaN argument.
20951 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20952
ee1466a9
JM
20953 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20954 $ignore_result.
20955 (parse_args): Handle function results specified as IGNORE.
20956 * math/libm-test.inc (IGNORE_RESULT): New macro.
20957 (check_float_internal): Do not check numerical result if flag
20958 IGNORE_RESULT set.
20959 (check_complex): Pass through IGNORE_RESULT to second
20960 check_float_internal call.
20961 (check_int): Do not check numerical result if flag IGNORE_RESULT
20962 set.
20963 (check_long): Likewise.
20964 (check_bool): Likewise.
20965 (check_longlong): Likewise.
20966 (lrint_test_data): Add tests of infinite and NaN arguments.
20967 (lrint_tonearest_test_data): Likewise.
20968 (lrint_towardzero_test_data): Likewise.
20969 (lrint_downward_test_data): Likewise.
20970 (lrint_upward_test_data): Likewise.
20971 (llrint_test_data): Likewise.
20972 (llrint_tonearest_test_data): Likewise.
20973 (llrint_towardzero_test_data): Likewise.
20974 (llrint_downward_test_data): Likewise.
20975 (llrint_upward_test_data): Likewise.
20976 (lround_test_data): Likewise.
20977 (llround_test_data): Likewise.
20978
14407b7e
JM
20979 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20980 (ERRNO_UNCHANGED): Update value.
20981 (ERRNO_EDOM): Likewise.
20982 (ERRNO_ERANGE): Likewise.
20983 (NO_TEST_INLINE_FLOAT): New macro.
20984 (NO_TEST_INLINE_DOUBLE): Likewise.
20985 (enable_test): New function.
20986 (RUN_TEST_f_f): Check enable_test before running test.
20987 (RUN_TEST_2_f): Likewise.
20988 (RUN_TEST_fff_f): Likewise.
20989 (RUN_TEST_c_f): Likewise.
20990 (RUN_TEST_f_f1): Likewise.
20991 (RUN_TEST_fF_f1): Likewise.
20992 (RUN_TEST_fI_f1): Likewise.
20993 (RUN_TEST_ffI_f1): Likewise.
20994 (RUN_TEST_c_c): Likewise.
20995 (RUN_TEST_cc_c): Likewise.
20996 (RUN_TEST_f_i): Likewise.
20997 (RUN_TEST_f_i_tg): Likewise.
20998 (RUN_TEST_ff_i_tg): Likewise.
20999 (RUN_TEST_f_b): Likewise.
21000 (RUN_TEST_f_b_tg): Likewise.
21001 (RUN_TEST_f_l): Likewise.
21002 (RUN_TEST_f_L): Likewise.
21003 (RUN_TEST_fFF_11): Likewise.
21004 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21005 conditionals.
21006 (cosh_test_data): Likewise.
21007 (exp_test_data): Likewise.
21008 (expm1_test_data): Likewise.
21009 (hypot_test_data): Likewise.
21010 (pow_test_data): Likewise.
21011 (sinh_test_data): Likewise.
21012 (tanh_test_data): Likewise.
21013 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21014 flags argument.
21015
ca07f197
JM
21016 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21017 tests with quiet NaN input and output.
21018 (acosh_test_data): Likewise.
21019 (asin_test_data): Likewise.
21020 (asinh_test_data): Likewise.
21021 (atan_test_data): Likewise.
21022 (atanh_test_data): Likewise.
21023 (atan2_test_data): Likewise.
21024 (cbrt_test_data): Likewise.
21025 (cos_test_data): Likewise.
21026 (cosh_test_data): Likewise.
21027 (erf_test_data): Likewise.
21028 (erfc_test_data): Likewise.
21029 (exp_test_data): Likewise.
21030 (exp10_test_data): Likewise.
21031 (exp2_test_data): Likewise.
21032 (expm1_test_data): Likewise.
21033 (hypot_test_data): Likewise.
21034 (j0_test_data): Likewise.
21035 (j1_test_data): Likewise.
21036 (jn_test_data): Likewise.
21037 (lgamma_test_data): Likewise.
21038 (log_test_data): Likewise.
21039 (log10_test_data): Likewise.
21040 (log1p_test_data): Likewise.
21041 (log2_test_data): Likewise.
21042 (pow_test_data): Likewise.
21043 (scalb_test_data): Likewise.
21044 (sin_test_data): Likewise.
21045 (sincos_test_data): Likewise.
21046 (sinh_test_data): Likewise.
21047 (tan_test_data): Likewise.
21048 (tanh_test_data): Likewise.
21049 (tgamma_test_data): Likewise.
21050 (y0_test_data): Likewise.
21051 (y1_test_data): Likewise.
21052 (yn_test_data): Likewise.
21053
66294491
JM
21054 [BZ #16167]
21055 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21056 argument being NaN and avoid computations with second argument in
21057 that case.
21058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21059 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21060 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21061
1820b143
CL
210622013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21063
21064 * locale/iso-639.def: Add Chitwani Tharu (the).
21065
714bd261
AS
210662013-11-14 Andreas Schwab <schwab@suse.de>
21067
21068 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21069 word instead of empty string.
21070
7ab44563
AZ
210712013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21072
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21074 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21076 (__fe_nomask_env): Likewise.
21077
e8470ea2
SE
210782013-11-13 Steve Ellcey <sellcey@mips.com>
21079
21080 * benchtests/bench-timing.h: Include time.h.
21081
17c1d9f0
L
210822013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21083
21084 [BZ #15997]
21085 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21086 to 3.4.0 for x32.
21087 * sysdeps/unix/sysv/linux/configure: Regenerated.
21088
9310c284
JM
210892013-11-13 Joseph Myers <joseph@codesourcery.com>
21090
21091 [BZ #16151]
21092 * stdlib/strtod_l.c (round_and_return): Do not consider
21093 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21094 exponent one less than half the least subnormal exponent.
21095 * stdlib/test-strtod-round-data: Add more tests.
21096 * stdlib/tst-strtod-round.c (tests): Regenerated.
21097
7a2ad8cf
AZ
210982013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21099
21100 [BZ #14143]
21101 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21102 (__fe_mask_env): Likewise.
21103 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21104 libm_hidden_proto and add function prototype.
21105 (__fe_mask_env): Add function prototype.
21106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21107 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21109 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21111 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21112
50727aa7
MS
211132013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21114
b2f386c1 21115 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21116 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21117
a615be46
MS
211182013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21119
21120 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21121 of htab_find_slot().
21122
7ddace62
DM
211232013-11-11 David S. Miller <davem@davemloft.net>
21124
21125 [BZ #16150]
21126 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21127 symbol in the non-vis3 case in static builds.
21128 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21129 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21130 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21131 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21132
9182aa67
JK
211332013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21134
21135 [BZ #387]
21136 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21137 it is empty.
21138
450a2e2d
AZ
211392013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21140
b2f386c1
SP
21141 * benchtests/Makefile: Add bench-strtod.
21142 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21143
8ec3f656
AS
211442013-11-11 Andreas Schwab <schwab@suse.de>
21145
21146 [BZ #16153]
21147 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21148 terminating NUL in key length.
21149
76a9b998
AZ
211502013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21151
21152 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21153 Add artificial ODP entry for vDSO symbol for PPC64.
21154 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21155 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21156
e4368156
OB
211572013-11-07 Ondřej Bílka <neleai@seznam.cz>
21158
21159 [BZ #15374]
21160 * nss/getent.c (services_keys): Recognize services starting with digit.
21161
8d6bb57c
DM
211622013-11-06 David S. Miller <davem@davemloft.net>
21163
21164 [BZ #15985]
21165 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21166 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21167
e256c421
WN
211682013-11-06 Will Newton <will.newton@linaro.org>
21169
21170 * manual/memory.texi (Malloc Examples): Remove register
21171 keyword from examples.
21172
f6e12daa 211732013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21174
f6e12daa 21175 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21176
9d880655
AS
211772013-11-04 Joseph Myers <joseph@codesourcery.com>
21178
fd2f9486 21179 [BZ #6981]
9d880655
AS
21180 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21181 depending on [__GCC_IEC_559 > 0].
21182 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21183 depending on [__GCC_IEC_559_COMPLEX > 0].
21184
ae129d3c
CL
211852013-11-03 Chris Leonard <cjl@sugarlabs.org>
21186
21187 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21188 to iso-639.def.
21189
4a15c2a4 211902013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21191
21192 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21193
8b35e35d
OB
211942013-11-01 Ondřej Bílka <neleai@seznam.cz>
21195
21196 [BZ #16112]
21197 * malloc/malloc (malloc_info): Do not handle first bin as
21198 special case.
21199
1d70fd6c
CL
212002013-11-01 Chris Leonard <cjl@sugarlabs.org>
21201
21202 * locale/iso-639.def: Add Central Nahuatl (nhn).
21203
8c5c2600
BH
212042013-11-01 Bruno Haible <bruno@clisp.org>
21205
21206 [BZ #7003]
21207 * manual/math.texi (BSD Random): Specify range upper bound as
21208 in POSIX.
21209
da5579c2
CL
212102013-10-31 Chris Leonard <cjl@sugarlabs.org>
21211
21212 * locale/iso-639.def: Add Meadow Mari (mhr).
21213
5d30d853
OB
212142013-10-31 Ondřej Bílka <neleai@seznam.cz>
21215
21216 [BZ #14752], [BZ #15763]
21217 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21218 Validate name.
21219 * rt/tst_shm.c: Add test for escaping directory.
21220
a4966c61
AS
212212013-10-31 Andreas Schwab <schwab@suse.de>
21222
8a43e768 21223 [BZ #15917]
a4966c61
AS
21224 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21225 followed by 'x' as part of digit sequence.
21226 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21227
28d708c4
MAP
212282013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21229
21230 [BZ #16037]
21231 * configure.ac: allow GNU Make 4.0 and greater.
21232 * configure: Regenerated.
21233
a56ee40b
WN
212342013-10-30 Will Newton <will.newton@linaro.org>
21235
21236 [BZ #16038]
21237 * malloc/hooks.c (memalign_check): Limit alignment to the
21238 maximum representable power of two.
21239 * malloc/malloc.c (__libc_memalign): Likewise.
21240 * malloc/tst-memalign.c (do_test): Add test for very
21241 large alignment values.
21242 * malloc/tst-posix_memalign.c (do_test): Likewise.
21243
c6e4925d
OB
212442013-10-30 Ondřej Bílka <neleai@seznam.cz>
21245
21246 [BZ #11087]
21247 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21248 (munmap_chunk): Likewise.
21249 (mremap_chunk): Likewise.
21250
212512013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21252
8a43e768 21253 [BZ #15799]
bbea82f7
OB
21254 * stdlib/div.c (div): Remove obsolete code.
21255 * stdlib/ldiv.c (ldiv): Likewise.
21256 * stdlib/lldiv.c (lldiv): Likewise.
21257
977f4b31
SP
212582013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21259
21260 [BZ #16071]
21261 * nss/nss_files/files-XXX.c (get_contents_ret): New
21262 enumerator.
21263 (get_contents): New function.
21264 (internal_getent): Use it. Expand size of LINEBUFLEN.
21265
cb8a6dbd
MF
212662013-10-30 Mike Frysinger <vapier@gentoo.org>
21267
21268 * configure.in: Moved to ...
21269 * configure.ac: ... here. Change reference to configure.in
21270 to configure.ac.
21271 * sysdeps/arm/preconfigure.ac: ... here.
21272 configure.in to configure.ac.
21273 * sysdeps/gnu/configure.in: Moved to ...
21274 * sysdeps/gnu/configure.ac: ... here.
21275 * sysdeps/i386/configure.in: Moved to ...
21276 * sysdeps/i386/configure.ac: ... here.
21277 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21278 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21279 * sysdeps/mach/configure.in: Moved to ...
21280 * sysdeps/mach/configure.ac: ... here.
21281 * sysdeps/mach/hurd/configure.in: Moved to ...
21282 * sysdeps/mach/hurd/configure.ac: ... here.
21283 * sysdeps/powerpc/configure.in: Moved to ...
21284 * sysdeps/powerpc/configure.ac: ... here.
21285 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21286 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21287 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21288 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21289 * sysdeps/s390/s390-32/configure.in: Moved to ...
21290 * sysdeps/s390/s390-32/configure.ac: ... here.
21291 * sysdeps/s390/s390-64/configure.in: Moved to ...
21292 * sysdeps/s390/s390-64/configure.ac: ... here.
21293 * sysdeps/sh/configure.in: Moved to ...
21294 * sysdeps/sh/configure.ac: ... here.
21295 * sysdeps/sparc/configure.in: Moved to ...
21296 * sysdeps/sparc/configure.ac: ... here.
21297 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21298 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21299 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21300 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21301 * sysdeps/x86_64/configure.in: Moved to ...
21302 * sysdeps/x86_64/configure.ac: ... here.
21303 * sysdeps/x86_64/preconfigure.in: Moved to ...
21304 * sysdeps/x86_64/preconfigure.ac: ... here.
21305 * aclocal.m4: Change reference to configure.in to configure.ac.
21306 * config.h.in: Likewise.
21307 * manual/install.texi: Likewise.
21308 * manual/maint.texi: Likewise.
21309 * Makefile: Likewise.
21310 * malloc/Makefile: Likewise.
21311 * nscd/Makefile: Likewise.
21312 * Makeconfig: Change reference to configure.in and
21313 preconfigure.in to configure.ac and preconfigure.ac
21314 respectively.
21315 * INSTALL: Regenerated.
21316 * configure: Likewise.
21317 * sysdeps/gnu/configure: Likewise.
21318 * sysdeps/i386/configure: Likewise.
21319 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21320 * sysdeps/mach/configure: Likewise.
21321 * sysdeps/mach/hurd/configure: Likewise.
21322 * sysdeps/powerpc/configure: Likewise.
21323 * sysdeps/powerpc/powerpc32/configure: Likewise.
21324 * sysdeps/powerpc/powerpc64/configure: Likewise.
21325 * sysdeps/s390/s390-32/configure: Likewise.
21326 * sysdeps/s390/s390-64/configure: Likewise.
21327 * sysdeps/sh/configure: Likewise.
21328 * sysdeps/sparc/configure: Likewise.
21329 * sysdeps/unix/sysv/linux/configure: Likewise.
21330 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21331 * sysdeps/x86_64/configure: Likewise.
21332 * sysdeps/x86_64/preconfigure: Likewise.
21333
36a4953a
AS
213342013-10-29 Andreas Schwab <schwab@suse.de>
21335
21336 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21337
c79a1204
SP
213382013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21339
dfa1b402
SP
21340 * benchtests/pow-inputs: Add new inputs.
21341
54f73d9c
SP
21342 * benchtests/exp-inputs: Add new inputs.
21343
c79a1204
SP
21344 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21345 conditional check for return value.
21346 (__cos32): Likewise.
21347
67beb545 213482013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21349
21350 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21351 to provide a boost for large inputs with word alignment.
21352 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21353 implementation based on optimized PPC64 strcpy.
21354 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21355 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21356 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21357 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21358
151659f6
OB
213592013-10-25 Ondřej Bílka <neleai@seznam.cz>
21360
482a077e 21361 [BZ #2801]
151659f6
OB
21362 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21363
10b0f26b
OB
213642013-10-25 Ondřej Bílka <neleai@seznam.cz>
21365
21366 [BZ #14876]
21367 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21368 * time/tst-strptime.c (day_tests): Add testcase.
21369
ca42d35e
OB
213702013-10-25 Ondřej Bílka <neleai@seznam.cz>
21371
482a077e 21372 [BZ #14029]
ca42d35e
OB
21373 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21374
52e6d801
FB
213752013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21376
21377 [BZ #16074]
21378 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21379 MAP_FAILED on error.
21380
7cbcdb36
SP
213812013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21382
21383 [BZ #16072]
21384 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21385 heap for large requests.
21386
894f3f10
AM
213872013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21388
21389 [BZ #9954]
21390 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21391 result if the result has no associated interface.
21392 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21393 interface for all 127.X.Y.Z addresses.
21394
b85545a6
CL
213952013-10-24 Chris Leonard <cjl@sugarlabs.org>
21396
21397 * locale/iso-639.def: Add Ligurian (lij)
21398
d1f23d46
OB
213992013-10-21 Ondřej Bílka <neleai@seznam.cz>
21400
21401 [BZ #15825]
21402 * sunrpc/rpc_main.c: Document rpcgen -5.
21403
4db5b08f
MS
214042013-10-19 Michael Stahl <mstahl@redhat.com>
21405
21406 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21407
a471e96a
OB
214082013-10-19 Ondřej Bílka <neleai@seznam.cz>
21409
d1f23d46 21410 [BZ #10278]
a471e96a
OB
21411 * posix/glob.c: Match only directories when trailing slash is present.
21412 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21413 (main): Add testcase.
21414
45c30c61
OB
214152013-10-19 Ondřej Bílka <neleai@seznam.cz>
21416
21417 [BZ #15670]
21418 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21419
484c12fb
CD
214202013-10-18 Carlos O'Donell <carlos@redhat.com>
21421
3d7dc513
CD
21422 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21423 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21424 AUTH_DES and cindex for FIPS 140-2.
21425 (DES Encryption): Add cindex FIPS 46-3.
21426
484c12fb
CD
21427 * locale/locarchive.h (struct locarhandle): Add fname.
21428 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21429 if an optional argument was specified to --list-archive,
21430 otherwise NULL.
21431 * locale/programs/locarchive.c (show_archive_content): Take new
21432 argument fname and pass it via ah.fname to open_archive.
21433 * locale/programs/localedef.h: Update decl.
21434 (open_archive): If AH->fname is non-null, open that file
21435 rather than the default file name, and don't ignore ENOENT.
21436 (create_archive): Set AH.fname to NULL.
21437 (delete_locales_from_archive): Likewise.
21438 (add_locales_to_archive): Likewise.
21439 * locale/programs/locfile.c (write_all_categories): Likewise.
21440
3c8325fb
JM
214412013-10-18 Joseph Myers <joseph@codesourcery.com>
21442 Aldy Hernandez <aldyh@redhat.com>
21443
21444 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21445 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21446 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21447 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21448 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21449 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21450 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21451 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21452 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21453 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21454 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21455 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21456 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21457 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21458 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21459 Likewise.
21460 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21461 Likewise.
21462 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21463 Likewise.
21464 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21465 Likewise.
21466 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21467 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21468 Likewise.
21469 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21470 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21471 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21472 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21473 Likewise.
21474 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21475 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21476 * sysdeps/powerpc/preconfigure: Likewise.
21477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21478 Likewise.
21479 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21480 Replace contents of file by #include of <fenv_libc.h>.
21481 * sysdeps/powerpc/soft-fp/sfp-machine.h
21482 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21483 and <sys/prctl.h>.
21484 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21485 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21486 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21487 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21488 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21489 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21490 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21491 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21492 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21493 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21494 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21495 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21497 Allow copysignl PLT reference to be missing.
21498
5abe0682
RS
214992013-10-18 Richard Sandiford <richard@codesourcery.com>
21500 Joseph Myers <joseph@codesourcery.com
21501
21502 [BZ #15948]
21503 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21504 single character.
21505 (add_to_tablewc): Assert sequence of wide characters is nonempty.
21506
c7738d08
SP
215072013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21508
21509 * elf/tst-tls-dlinfo.c: Don't include tls.h.
21510 * elf/tst-tls1.c: Likewise.
21511 * elf/tst-tls10.h: Likewise.
21512 * elf/tst-tls14.c: Likewise.
21513 * elf/tst-tls2.c: Likewise.
21514 * elf/tst-tls3.c: Likewise.
21515 * elf/tst-tls4.c: Likewise.
21516 * elf/tst-tls5.c: Likewise.
21517 * elf/tst-tls6.c: Likewise.
21518 * elf/tst-tls7.c: Likewise.
21519 * elf/tst-tls8.c: Likewise.
21520 * elf/tst-tls9.c: Likewise.
21521 * elf/tst-tlsmod1.c: Likewise.
21522 * elf/tst-tlsmod13.c: Likewise.
21523 * elf/tst-tlsmod13a.c: Likewise.
21524 * elf/tst-tlsmod14a.c: Likewise.
21525 * elf/tst-tlsmod16a.c: Likewise.
21526 * elf/tst-tlsmod16b.c: Likewise.
21527 * elf/tst-tlsmod2.c: Likewise.
21528 * elf/tst-tlsmod3.c: Likewise.
21529 * elf/tst-tlsmod4.c: Likewise.
21530 * elf/tst-tlsmod5.c: Likewise.
21531 * elf/tst-tlsmod6.c: Likewise.
21532
0bfcf2c7
OB
215332013-10-18 Ondřej Bílka <neleai@seznam.cz>
21534
21535 [BZ #12486]
21536 * malloc/malloc.c: remove checks for statistics.
21537
264aad1e
OB
215382013-10-17 Ondřej Bílka <neleai@seznam.cz>
21539
21540 [BZ #15277]
21541 * inet/inet_net.c (inet_network): Detect additional invalid strings.
21542 * inet/tst-network.c: Add testcase.
21543
b957ced8
AS
215442013-10-17 Andreas Schwab <schwab@suse.de>
21545
21546 [BZ #15218]
21547 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21548 to determine canonical name.
21549
c5d5d574
OB
215502013-10-17 Ondřej Bílka <neleai@seznam.cz>
21551
21552 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21553 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21555 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21557 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21558 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21559 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21569 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21570 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21571 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21572 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21574 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21575 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21576 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21577 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21578 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21579 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21580 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21581 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21582 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21584 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21585 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21586 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21587 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21589 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21590 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21591 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21601 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21603 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21606 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21608 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21610
e5c2c2d0
JM
216112013-10-17 Joseph Myers <joseph@codesourcery.com>
21612
21613 [BZ #16041]
21614 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21615 make result into a quiet NaN.
21616
51ca9e29
JM
216172013-10-16 Joseph Myers <joseph@codesourcery.com>
21618
21619 * soft-fp/adddf3.c: Fix horizontal whitespace.
21620 * soft-fp/addsf3.c: Likewise.
21621 * soft-fp/addtf3.c: Likewise.
21622 * soft-fp/divdf3.c: Likewise.
21623 * soft-fp/divsf3.c: Likewise.
21624 * soft-fp/divtf3.c: Likewise.
21625 * soft-fp/double.h: Likewise.
21626 * soft-fp/eqdf2.c: Likewise.
21627 * soft-fp/eqsf2.c: Likewise.
21628 * soft-fp/eqtf2.c: Likewise.
21629 * soft-fp/extenddftf2.c: Likewise.
21630 * soft-fp/extended.h: Likewise.
21631 * soft-fp/extendsfdf2.c: Likewise.
21632 * soft-fp/extendsftf2.c: Likewise.
21633 * soft-fp/extendxftf2.c: Likewise.
21634 * soft-fp/fixdfdi.c: Likewise.
21635 * soft-fp/fixdfsi.c: Likewise.
21636 * soft-fp/fixdfti.c: Likewise.
21637 * soft-fp/fixsfdi.c: Likewise.
21638 * soft-fp/fixsfsi.c: Likewise.
21639 * soft-fp/fixsfti.c: Likewise.
21640 * soft-fp/fixtfdi.c: Likewise.
21641 * soft-fp/fixtfsi.c: Likewise.
21642 * soft-fp/fixtfti.c: Likewise.
21643 * soft-fp/fixunsdfdi.c: Likewise.
21644 * soft-fp/fixunsdfsi.c: Likewise.
21645 * soft-fp/fixunsdfti.c: Likewise.
21646 * soft-fp/fixunssfdi.c: Likewise.
21647 * soft-fp/fixunssfsi.c: Likewise.
21648 * soft-fp/fixunssfti.c: Likewise.
21649 * soft-fp/fixunstfdi.c: Likewise.
21650 * soft-fp/fixunstfsi.c: Likewise.
21651 * soft-fp/fixunstfti.c: Likewise.
21652 * soft-fp/floatdidf.c: Likewise.
21653 * soft-fp/floatdisf.c: Likewise.
21654 * soft-fp/floatditf.c: Likewise.
21655 * soft-fp/floatsidf.c: Likewise.
21656 * soft-fp/floatsisf.c: Likewise.
21657 * soft-fp/floatsitf.c: Likewise.
21658 * soft-fp/floattidf.c: Likewise.
21659 * soft-fp/floattisf.c: Likewise.
21660 * soft-fp/floattitf.c: Likewise.
21661 * soft-fp/floatundidf.c: Likewise.
21662 * soft-fp/floatundisf.c: Likewise.
21663 * soft-fp/floatunditf.c: Likewise.
21664 * soft-fp/floatunsidf.c: Likewise.
21665 * soft-fp/floatunsisf.c: Likewise.
21666 * soft-fp/floatunsitf.c: Likewise.
21667 * soft-fp/floatuntidf.c: Likewise.
21668 * soft-fp/floatuntisf.c: Likewise.
21669 * soft-fp/floatuntitf.c: Likewise.
21670 * soft-fp/fmadf4.c: Likewise.
21671 * soft-fp/fmasf4.c: Likewise.
21672 * soft-fp/fmatf4.c: Likewise.
21673 * soft-fp/gedf2.c: Likewise.
21674 * soft-fp/gesf2.c: Likewise.
21675 * soft-fp/getf2.c: Likewise.
21676 * soft-fp/ledf2.c: Likewise.
21677 * soft-fp/lesf2.c: Likewise.
21678 * soft-fp/letf2.c: Likewise.
21679 * soft-fp/muldf3.c: Likewise.
21680 * soft-fp/mulsf3.c: Likewise.
21681 * soft-fp/multf3.c: Likewise.
21682 * soft-fp/negdf2.c: Likewise.
21683 * soft-fp/negsf2.c: Likewise.
21684 * soft-fp/negtf2.c: Likewise.
21685 * soft-fp/op-1.h: Likewise.
21686 * soft-fp/op-2.h: Likewise.
21687 * soft-fp/op-4.h: Likewise.
21688 * soft-fp/op-8.h: Likewise.
21689 * soft-fp/op-common.h: Likewise.
21690 * soft-fp/quad.h: Likewise.
21691 * soft-fp/single.h: Likewise.
21692 * soft-fp/soft-fp.h: Likewise.
21693 * soft-fp/sqrtdf2.c: Likewise.
21694 * soft-fp/sqrtsf2.c: Likewise.
21695 * soft-fp/sqrttf2.c: Likewise.
21696 * soft-fp/subdf3.c: Likewise.
21697 * soft-fp/subsf3.c: Likewise.
21698 * soft-fp/subtf3.c: Likewise.
21699 * soft-fp/truncdfsf2.c: Likewise.
21700 * soft-fp/trunctfdf2.c: Likewise.
21701 * soft-fp/trunctfsf2.c: Likewise.
21702 * soft-fp/trunctfxf2.c: Likewise.
21703 * soft-fp/unorddf2.c: Likewise.
21704 * soft-fp/unordsf2.c: Likewise.
21705 * soft-fp/unordtf2.c: Likewise.
21706
9ebb0332
JM
217072013-10-15 Joseph Myers <joseph@codesourcery.com>
21708
21709 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21710 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21711
4b1a6d8b
OB
217122013-10-15 Ondřej Bílka <neleai@seznam.cz>
21713
21714 * elf/dl-libc.c: Clear initfini list after freeing.
21715
1e145589
JM
217162013-10-14 Joseph Myers <joseph@codesourcery.com>
21717
21718 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21719 * soft-fp/addsf3.c: Likewise.
21720 * soft-fp/addtf3.c: Likewise.
21721 * soft-fp/divdf3.c: Likewise.
21722 * soft-fp/divsf3.c: Likewise.
21723 * soft-fp/divtf3.c: Likewise.
21724 * soft-fp/double.h: Likewise.
21725 * soft-fp/eqdf2.c: Likewise.
21726 * soft-fp/eqsf2.c: Likewise.
21727 * soft-fp/eqtf2.c: Likewise.
21728 * soft-fp/extenddftf2.c: Likewise.
21729 * soft-fp/extended.h: Likewise.
21730 * soft-fp/extendsfdf2.c: Likewise.
21731 * soft-fp/extendsftf2.c: Likewise.
21732 * soft-fp/extendxftf2.c: Likewise.
21733 * soft-fp/fixdfdi.c: Likewise.
21734 * soft-fp/fixdfsi.c: Likewise.
21735 * soft-fp/fixdfti.c: Likewise.
21736 * soft-fp/fixsfdi.c: Likewise.
21737 * soft-fp/fixsfsi.c: Likewise.
21738 * soft-fp/fixsfti.c: Likewise.
21739 * soft-fp/fixtfdi.c: Likewise.
21740 * soft-fp/fixtfsi.c: Likewise.
21741 * soft-fp/fixtfti.c: Likewise.
21742 * soft-fp/fixunsdfdi.c: Likewise.
21743 * soft-fp/fixunsdfsi.c: Likewise.
21744 * soft-fp/fixunsdfti.c: Likewise.
21745 * soft-fp/fixunssfdi.c: Likewise.
21746 * soft-fp/fixunssfsi.c: Likewise.
21747 * soft-fp/fixunssfti.c: Likewise.
21748 * soft-fp/fixunstfdi.c: Likewise.
21749 * soft-fp/fixunstfsi.c: Likewise.
21750 * soft-fp/fixunstfti.c: Likewise.
21751 * soft-fp/floatdidf.c: Likewise.
21752 * soft-fp/floatdisf.c: Likewise.
21753 * soft-fp/floatditf.c: Likewise.
21754 * soft-fp/floatsidf.c: Likewise.
21755 * soft-fp/floatsisf.c: Likewise.
21756 * soft-fp/floatsitf.c: Likewise.
21757 * soft-fp/floattidf.c: Likewise.
21758 * soft-fp/floattisf.c: Likewise.
21759 * soft-fp/floattitf.c: Likewise.
21760 * soft-fp/floatundidf.c: Likewise.
21761 * soft-fp/floatundisf.c: Likewise.
21762 * soft-fp/floatunsidf.c: Likewise.
21763 * soft-fp/floatunsisf.c: Likewise.
21764 * soft-fp/floatuntidf.c: Likewise.
21765 * soft-fp/floatuntisf.c: Likewise.
21766 * soft-fp/floatuntitf.c: Likewise.
21767 * soft-fp/fmadf4.c: Likewise.
21768 * soft-fp/fmasf4.c: Likewise.
21769 * soft-fp/fmatf4.c: Likewise.
21770 * soft-fp/gedf2.c: Likewise.
21771 * soft-fp/gesf2.c: Likewise.
21772 * soft-fp/getf2.c: Likewise.
21773 * soft-fp/ledf2.c: Likewise.
21774 * soft-fp/lesf2.c: Likewise.
21775 * soft-fp/letf2.c: Likewise.
21776 * soft-fp/muldf3.c: Likewise.
21777 * soft-fp/mulsf3.c: Likewise.
21778 * soft-fp/multf3.c: Likewise.
21779 * soft-fp/negdf2.c: Likewise.
21780 * soft-fp/negsf2.c: Likewise.
21781 * soft-fp/negtf2.c: Likewise.
21782 * soft-fp/op-1.h: Likewise.
21783 * soft-fp/op-2.h: Likewise.
21784 * soft-fp/op-4.h: Likewise.
21785 * soft-fp/op-8.h: Likewise.
21786 * soft-fp/op-common.h: Likewise.
21787 * soft-fp/quad.h: Likewise.
21788 * soft-fp/single.h: Likewise.
21789 * soft-fp/soft-fp.h: Likewise.
21790 * soft-fp/sqrtdf2.c: Likewise.
21791 * soft-fp/sqrtsf2.c: Likewise.
21792 * soft-fp/sqrttf2.c: Likewise.
21793 * soft-fp/subdf3.c: Likewise.
21794 * soft-fp/subsf3.c: Likewise.
21795 * soft-fp/subtf3.c: Likewise.
21796 * soft-fp/truncdfsf2.c: Likewise.
21797 * soft-fp/trunctfdf2.c: Likewise.
21798 * soft-fp/trunctfsf2.c: Likewise.
21799 * soft-fp/trunctfxf2.c: Likewise.
21800 * soft-fp/unorddf2.c: Likewise.
21801 * soft-fp/unordsf2.c: Likewise.
21802 * soft-fp/unordtf2.c: Likewise.
21803
17c48a60
OB
218042013-10-14 Ondřej Bílka <neleai@seznam.cz>
21805
21806 [BZ #15672]
21807 * misc/error.c (error_tail): Fix possible buffer overflow.
21808
cabba934
OB
218092013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21810
21811 [BZ #13028]
21812 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21813 address.
21814
94bf958a
PM
218152013-10-14 P. J. McDermott <pj@pehjota.net>
21816
21817 [BZ #832]
21818 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21819 testing pipefail option.
21820
71b4dea7
JM
218212013-10-12 Joseph Myers <joseph@codesourcery.com>
21822
21823 * soft-fp/double.h: Indent preprocessor directives inside #if.
21824 * soft-fp/extended.h: Likewise.
21825 * soft-fp/op-2.h: Likewise.
21826 * soft-fp/op-4.h: Likewise.
21827 * soft-fp/op-common.h: Likewise.
21828 * soft-fp/quad.h: Likewise.
21829 * soft-fp/single.h: Likewise.
21830 * soft-fp/soft-fp.h: Likewise.
21831
55602758
YC
218322013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21833
21834 * iconv/iconv_prog.c: Fix typos.
21835 * stdio-common/psiginfo-data.h: Likewise.
21836
9cd83302
RT
218372013-10-12 Reuben Thomas <rrt@sc3d.org>
21838
21839 [BZ #15764]
21840 * locale/setlocale.c: Fix typo.
21841
99fd9f47
JM
218422013-10-12 Joseph Myers <joseph@codesourcery.com>
21843
b7ea74f0
JM
21844 [BZ #16036]
21845 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21846 signaling NaN arguments.
21847 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21848 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21849
8a509447
JM
21850 [BZ #14910]
21851 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21852 unordered operands.
21853 * soft-fp/gesf2.c (__gesf2): Likewise.
21854 * soft-fp/getf2.c (__getf2): Likewise.
21855 * soft-fp/ledf2.c (__ledf2): Likewise.
21856 * soft-fp/lesf2.c (__lesf2): Likewise.
21857 * soft-fp/letf2.c (__letf2): Likewise.
21858
98998e9f
JM
21859 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21860 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21861 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21862 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21863 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21864 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21865 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21866 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21867 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21868 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21869 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21870 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21871 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21872 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21873 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21874 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21875 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21876 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21877 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21878 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21879 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21880 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21881 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21882 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21883 * soft-fp/floattidf.c (__floattidf): Likewise.
21884 * soft-fp/floattisf.c (__floattisf): Likewise.
21885 * soft-fp/floattitf.c (__floattitf): Likewise.
21886 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21887 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21888 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21889 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21890 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21891 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21892 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21893 * soft-fp/gesf2.c (__gesf2): Likewise.
21894 * soft-fp/getf2.c (__getf2): Likewise.
21895 * soft-fp/ledf2.c (__ledf2): Likewise.
21896 * soft-fp/lesf2.c (__lesf2): Likewise.
21897 * soft-fp/letf2.c (__letf2): Likewise.
21898
8edc4a11
JM
21899 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21900 Undefine and redefine.
21901 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21902 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21903 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21904 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21905 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21906 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21907 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21908 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21909 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21910 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21911 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21912 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21913 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21914 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21915 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21916
8399acaf
JM
21917 [BZ #16032]
21918 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21919 without decrementing exponent if mantissa >= that for the
21920 denominator, not >.
21921 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21922 denominator, not >. Decrement exponent in < case instead of
21923 incrementing in >= case.
21924 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21925 without decrementing exponent if mantissa >= that for the
21926 denominator, not >.
21927
99fd9f47
JM
21928 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21929 computing saturated result for unsigned overflow.
21930
10e1cf6b
SP
219312013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21932 Jeff Law <law@redhat.com>
21933
21934 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21935 (atan2Mp): Add systemtap probe marker.
21936 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21937 (__ieee754_log): Add systemtap probe marker.
21938 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21939 (atanMp): Add systemtap probe marker.
21940 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21941 (tanMp): Add systemtap probe marker.
21942 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21943 (__slowexp): Add systemtap probe marker.
21944 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21945 (__slowpow): Add systemtap probe marker.
21946 * manual/probes.texi: Document probes.
21947
3d110c7c
EB
219482013-10-11 Eric Biggers <ebiggers3@gmail.com>
21949
21950 [BZ #15362]
21951 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21952 written.
21953 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21954 written.
21955 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21956 written to buffer but not flushed.
21957 * libio/iofwrite_u.c: Likewise.
21958 * libio/iopadn.c: Return bytes returned even if EOF was
21959 encountered.
21960 * libio/iowpadn.c: Likewise.
21961 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21962 if _IO_padn does not write the whole buffer.
21963 [!COMPILE_WPRINTF] (PAD): Likewise.
21964
75b4202a
DM
219652013-10-10 David S. Miller <davem@davemloft.net>
21966
21967 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21968 directory block.
21969
6c6352e6
JM
219702013-10-10 Joseph Myers <joseph@codesourcery.com>
21971
33b853c3
JM
21972 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21973 instead of FSF address.
21974 * soft-fp/fixdfti.c: Likewise.
21975 * soft-fp/fixsfti.c: Likewise.
21976 * soft-fp/fixtfti.c: Likewise.
21977 * soft-fp/fixunsdfti.c: Likewise.
21978 * soft-fp/fixunssfti.c: Likewise.
21979 * soft-fp/fixunstfti.c: Likewise.
21980 * soft-fp/floattidf.c: Likewise.
21981 * soft-fp/floattisf.c: Likewise.
21982 * soft-fp/floattitf.c: Likewise.
21983 * soft-fp/floatuntidf.c: Likewise.
21984 * soft-fp/floatuntisf.c: Likewise.
21985 * soft-fp/floatuntitf.c: Likewise.
21986 * soft-fp/trunctfxf2.c: Likewise.
21987
6c6352e6
JM
21988 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21989 * soft-fp/fixdfti.c: Likewise.
21990 * soft-fp/fixsfti.c: Likewise.
21991 * soft-fp/fixtfti.c: Likewise.
21992 * soft-fp/fixunsdfti.c: Likewise.
21993 * soft-fp/fixunssfti.c: Likewise.
21994 * soft-fp/fixunstfti.c: Likewise.
21995 * soft-fp/floattidf.c: Likewise.
21996 * soft-fp/floattisf.c: Likewise.
21997 * soft-fp/floattitf.c: Likewise.
21998 * soft-fp/floatuntidf.c: Likewise.
21999 * soft-fp/floatuntisf.c: Likewise.
22000 * soft-fp/floatuntitf.c: Likewise.
22001 * soft-fp/trunctfxf2.c: Likewise.
22002
3bf78b71
DM
220032013-10-10 David S. Miller <davem@davemloft.net>
22004
22005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22006
6f10289e
JM
220072013-10-10 Joseph Myers <joseph@codsourcery.com>
22008
bd878fc0
JM
22009 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22010 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22011 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22012 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22013 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22014 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22015 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22016
6f10289e
JM
22017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22018 for NaNs before doing comparisons on argument.
22019 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22020 Likewise.
22021
321e2684
WN
220222013-10-10 Will Newton <will.newton@linaro.org>
22023
22024 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22025 passed to _int_memalign does not overflow.
22026
40fefba1
TR
220272013-10-10 Torvald Riegel <triegel@redhat.com>
22028
22029 * scripts/bench.pl: Add include-sources directive.
22030 * benchtests/README: Update documentation.
22031
2ae21ed2
JM
220322013-10-10 Joseph Myers <joseph@codesourcery.com>
22033
dcc2dd3f
JM
22034 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22035 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22036 instead of FP_INIT_ROUNDMODE.
22037 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22038 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22039
2ae21ed2
JM
22040 [BZ #16034]
22041 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22042 copy class of input value.
22043 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22044 not handle exceptions.
22045 * soft-fp/negsf2.c (__negsf2): Likewise.
22046 * soft-fp/negtf2.c (__negtf2): Likewise.
22047 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22048
cb8f9562
JM
220492013-10-09 Joseph Myers <joseph@codesourcery.com>
22050
22051 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22052 semicolon. From Linux kernel.
22053
5b60c59d
AB
220542013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22055
22056 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22057
b86835ca
YC
220582013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22059
22060 [BZ #156]
22061 * manual/socket.texi: Added statement about buffer
22062 for gethostbyname2_r.
22063
e7044ea7
OB
220642013-10-08 Ondřej Bílka <neleai@seznam.cz>
22065
22066 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22067 Use .p2align directive instead, throughout.
22068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22069 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22070 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22071 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22072 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22073 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22074 * sysdeps/x86_64/strchr.S: Likewise.
22075 * sysdeps/x86_64/strrchr.S: Likewise.
22076
09544cbc
SP
220772013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22078
88576635
SP
22079 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22080
e7b2d1dd
SP
22081 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22082
09544cbc
SP
22083 * sysdeps/generic/math_private.h (__mpsin1): Remove
22084 declaration.
22085 (__mpcos1): Likewise.
22086 (__mpsin): New argument __range_reduce.
22087 (__mpcos): Likewise.
22088 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22089 (slow): Use __mpsin and __mpcos.
22090 (slow1): Likewise.
22091 (slow2): Likewise.
22092 (sloww): Likewise.
22093 (sloww1): Likewise.
22094 (sloww2): Likewise.
22095 (bsloww): Likewise.
22096 (bsloww1): Likewise.
22097 (bsloww2): Likewise.
22098 (cslow2): Likewise.
22099 (csloww): Likewise.
22100 (csloww1): Likewise.
22101 (csloww2): Likewise.
22102 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22103 range_reduce. Merge in __mpsin1.
22104 (__mpcos): Likewise.
22105 (__mpsin1): Remove.
22106 (__mpcos1): Likewise.
22107
7602d070
JM
221082013-10-07 Joseph Myers <joseph@codesourcery.com>
22109
22110 * locale/loadlocale.c (_nl_intern_locale_data): Use
22111 LOCFILE_ALIGNED_P.
22112 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22113 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22114 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22115 obstack data is appropriately aligned.
22116 (obstack_int32_grow_fast): Likewise.
22117 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22118 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22119 (add_locale_uint32_array): Likewise.
22120
a357259b
SP
221212013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22122
22123 * benchtests/Makefile: Remove ARGLIST and RET variables.
22124 ($(objpfx)bench-%.c): Pass only function name to the script.
22125 * benchtests/README: Update documentation.
22126 * benchtests/acos-inputs: Add new directives.
22127 * benchtests/acosh-inputs: Likewise.
22128 * benchtests/asin-inputs: Likewise.
22129 * benchtests/asinh-inputs: Likewise.
22130 * benchtests/atan-inputs: Likewise.
22131 * benchtests/atanh-inputs: Likewise.
22132 * benchtests/cos-inputs: Likewise.
22133 * benchtests/cosh-inputs: Likewise.
22134 * benchtests/exp-inputs: Likewise.
22135 * benchtests/log-inputs: Likewise.
22136 * benchtests/pow-inputs: Likewise.
22137 * benchtests/rint-inputs: Likewise.
22138 * benchtests/sin-inputs: Likewise.
22139 * benchtests/sinh-inputs: Likewise.
22140 * benchtests/tan-inputs: Likewise.
22141 * benchtests/tanh-inputs: Likewise.
22142 * scripts/bench.pl: Add support for new directives.
22143
9ec1b13d
AM
221442013-10-07 Alan Modra <amodra@gmail.com>
22145
22146 * README: Fix careless merge.
22147
8b7d57cd
AM
221482013-10-05 Alan Modra <amodra@gmail.com>
22149
22150 * NEWS: Mention powerpc64le support and bugs fixed.
22151 * README: Both big-endian and little-endian powerpc64 supported.
22152
7b7bab13
ST
221532013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22154
57f41c40
AS
22155 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22156 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22157 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22158 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22159
d39baad1
RA
221602013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22161
22162 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22163 match prototype.
22164
cd78f7e7
JM
221652013-10-04 Joseph Myers <joseph@codesourcery.com>
22166
29d73d86
JM
22167 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22168 Move -mhard-float appending from
22169 ports/sysdeps/powerpc/powerpc32/Makefile.
22170 [$(with-fp) = yes] (ASFLAGS): Likewise.
22171 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22172 * sysdeps/powerpc/nofpu: Move directory from
22173 ports/sysdeps/powerpc/nofpu.
22174 * sysdeps/powerpc/soft-fp: Move directory from
22175 ports/sysdeps/powerpc/soft-fp.
22176 * sysdeps/powerpc/powerpc32/405: Move directory from
22177 ports/sysdeps/powerpc/powerpc32/405.
22178 * sysdeps/powerpc/powerpc32/440: Move directory from
22179 ports/sysdeps/powerpc/powerpc32/440.
22180 * sysdeps/powerpc/powerpc32/464: Move directory from
22181 ports/sysdeps/powerpc/powerpc32/464.
22182 * sysdeps/powerpc/powerpc32/476: Move directory from
22183 ports/sysdeps/powerpc/powerpc32/476.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22185 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22187 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22189 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22191 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22193 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22194 * README: Update for powerpc-*-linux-gnu software floating point
22195 support in libc.
22196
e246b347
JM
22197 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22198 case to powerpc/powerpc32*.
22199 * sysdeps/unix/sysv/linux/configure: Regenerated.
22200
89c2003e
JM
22201 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22202 (_FPU_MASK_OM): Define as 0x04.
22203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22204 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22205 0x00c10080.
22206 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22207 0x0000003c.
22208 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22209
cd78f7e7
JM
22210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22211 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22212 getcontext_e500.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22214 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22215 setcontext_e500.
22216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22217 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22218 and setcontext_e500.
22219
c755294d
CL
222202013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22221
22222 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22223
e16d221c
SP
222242013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22225
22226 * manual/threads.texi (Default Thread Attributes): Fix typo.
22227
215c7d43
WN
222282013-10-04 Will Newton <will.newton@linaro.org>
22229
22230 * malloc/Makefile: Add tst-memalign.
22231 * malloc/tst-memalign.c: New file.
22232
27d0461b
WN
22233 * malloc/tst-posix_memalign.c: Add comments.
22234 (do_test): Add comments and call free on all potentially
22235 allocated pointers. Add space after cast.
22236
1bc92709
WN
22237 * malloc/tst-pvalloc.c: Add comments.
22238 (do_test): Add comments and call free on all potentially
22239 allocated pointers. Remove duplicate check for NULL pointer.
22240 Add space after cast.
22241
66a9be9d
WN
22242 * malloc/tst-valloc.c: Add comments.
22243 (do_test): Add comments and call free on all potentially
22244 allocated pointers. Remove duplicate check for NULL pointer.
22245 Add space after cast.
22246
4cb81307
AM
222472013-10-04 Alan Modra <amodra@gmail.com>
22248
22249 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22250 Use stdint types in rather than __attribute__((mode())).
22251 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22252
f8e3e9f3
AM
222532013-10-04 Alan Modra <amodra@gmail.com>
22254
22255 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22256 Correct handling of unaligned relocs for little-endian.
22257 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22258
8f9ebb08
AM
222592013-10-04 Alan Modra <amodra@gmail.com>
22260
22261 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22262 * configure: Regenerate.
22263 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22264 * shlib-versions: Likewise.
22265
0edf96c2
AM
222662013-10-04 Alan Modra <amodra@gmail.com>
22267
22268 * string/tester.c (test_memrchr): Increment reported test cycle.
22269
e0f7a380
AM
222702013-10-04 Alan Modra <amodra@gmail.com>
22271
22272 * string/test-memcpy.c (do_one_test): When reporting errors, print
22273 string address and don't overrun end of string.
22274
466b0393
AM
222752013-10-04 Alan Modra <amodra@gmail.com>
22276
22277 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22278 insrdi. Make better use of reg selection to speed exit slightly.
22279 Schedule entry path a little better. Remove useless "are we done"
22280 checks on entry to main loop. Handle wrapping around zero address.
22281 Correct main loop count. Handle single left-over word from main
22282 loop inline rather than by using loop_small. Remove extra word
22283 case in loop_small caused by wrong loop count. Add little-endian
22284 support.
22285 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22287 cache hint.
22288 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22289 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22290 support. Avoid rlwimi.
22291 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22292
3be87c77
AM
222932013-10-04 Alan Modra <amodra@gmail.com>
22294
22295 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22296 insrdi. Formatting.
3be87c77
AM
22297 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22298 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22299 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22300 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22301 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22302 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22303
759cfef3
AM
223042013-10-04 Alan Modra <amodra@gmail.com>
22305
22306 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22307 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22308 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22309 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22310 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22311 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22312 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22314 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22315 use of regs. Use power7 mtocrf. Tidy function tails.
22316
fe6e95d7
AM
223172013-10-04 Alan Modra <amodra@gmail.com>
22318
22319 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22320 Formatting. Consistently use rXXX register defines or rN defines.
22321 Use early exit labels that avoid restoring unused non-volatile regs.
22322 Make cr field use more consistent with rWORDn compares. Rename
22323 regs used as shift registers for unaligned loop, using rN defines
22324 for short lifetime/multiple use regs.
22325 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22326 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22327 addi 1,1,64 to pop stack frame. Simplify return value code.
22328 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22329
664318c3
AM
223302013-10-04 Alan Modra <amodra@gmail.com>
22331
22332 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22333 support. Correct typos, formatting. Optimize tail. Use insrdi
22334 rather than rlwimi.
22335 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22336 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22337 little-endian support. Correct typos.
22338 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22339 rather than rlwimi.
22340 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22341 in loop and entry code to keep "and." results.
22342 (strchr): Add little-endian support. Comment. Move cntlzd
22343 earlier in tail.
22344 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22345
43b84013
AM
223462013-10-04 Alan Modra <amodra@gmail.com>
22347
22348 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22349 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22350 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22351 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22352
8a7413f9
AM
223532013-10-04 Alan Modra <amodra@gmail.com>
22354
22355 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22356 (rTMP): Define as r11.
22357 (strcmp): Add little-endian support. Optimise tail.
22358 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22359 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22360 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22361 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22362 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22364 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22365
33ee81de
AM
223662013-10-04 Alan Modra <amodra@gmail.com>
22367
22368 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22369 little-endian support. Remove unnecessary "are we done" tests.
22370 Handle "s" wrapping around zero and extremely large "size".
22371 Correct main loop count. Handle single left-over word from main
22372 loop inline rather than by using small_loop. Correct comments.
22373 Delete "zero" tail, use "end_max" instead.
22374 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22375
db9b4570
AM
223762013-10-04 Alan Modra <amodra@gmail.com>
22377
22378 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22379 support. Don't branch over align.
22380 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22381 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22382 support. Rearrange tmp reg use to suit. Comment.
22383 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22384
f7c399cf
AM
223852013-10-04 Alan Modra <amodra@gmail.com>
22386
22387 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22388
0b2c2ace
AM
223892013-10-04 Alan Modra <amodra@gmail.com>
22390
22391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22392 conditional form of branch and link when obtaining pc.
22393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22394
02f04a6c
AM
223952013-10-04 Alan Modra <amodra@gmail.com>
22396
22397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22398 HIWORD/LOWORD.
22399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22401
9b874b2f
AM
224022013-10-04 Alan Modra <amodra@gmail.com>
22403
22404 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22405 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22406 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22407 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22408 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22409 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22410 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22411 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22412 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22413 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22414
be1e5d31
AB
224152013-10-04 Anton Blanchard <anton@au1.ibm.com>
22416 Alistair Popple <alistair@ozlabs.au.ibm.com>
22417 Alan Modra <amodra@gmail.com>
22418
22419 [BZ #15723]
22420 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22421 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22422 _dl_hwcap access for little-endian.
22423 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22424 destroy vmx regs when saving unaligned.
22425 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22426 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22427 destroy vmx regs when saving unaligned.
22428
fef13a78
AM
224292013-10-04 Alan Modra <amodra@gmail.com>
22430
22431 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22432 Don't use a union to pack hi/low value.
22433
76a66d51
AB
224342013-10-04 Anton Blanchard <anton@au1.ibm.com>
22435
22436 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22437 for little-endian.
22438 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22440 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22441 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22442 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22443
6a31fe7f
AM
224442013-10-04 Alan Modra <amodra@gmail.com>
22445
22446 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22447 constants to usual value for .cst8 section, and remove redundant
22448 high address load.
22449 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22450 constant for 0x1p52. Load little-endian words of double from
22451 correct stack offsets.
22452
7b88401f
AM
224532013-10-04 Alan Modra <amodra@gmail.com>
22454
22455 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22456 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22457 words of double from correct stack offsets.
22458 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22459 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22460 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22461 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22463 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22464 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22465 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22466 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22467 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22468 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22469 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22470 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22472 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22474 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22475
9c008155
AM
224762013-10-04 Alan Modra <amodra@gmail.com>
22477
22478 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22479 64-bit int/double union.
22480 (_FPU_SETCW): Likewise.
22481 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22482 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22483
da13146d
AM
224842013-10-04 Alan Modra <amodra@gmail.com>
22485
22486 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22487 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22488
603e8410
AM
224892013-10-04 Alan Modra <amodra@gmail.com>
22490
22491 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22492 use vector int constants.
22493 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22494
4a28b3ca
AB
224952013-10-04 Anton Blanchard <anton@au1.ibm.com>
22496
22497 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22498 array with long long.
22499 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22500 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22501 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22502 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22503 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22504 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22505 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22506 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22507 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22508 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22509 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22510 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22511 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22512
2ca85d2b
AB
225132013-10-04 Anton Blanchard <anton@au1.ibm.com>
22514
22515 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22516 (__signbit): Likewise. Correct for little-endian.
22517 (__signbitl): Call __signbit.
22518 (lrint): Correct for little-endian.
22519 (lrintf): Call lrint.
22520
62a728ae
AM
225212013-10-04 Alan Modra <amodra@gmail.com>
22522
22523 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22524 union 32-bit int array member with 64-bit int array.
22525 (t515, tm256): Double rather than long double.
22526 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22527
32c301df
AM
225282013-10-04 Alan Modra <amodra@gmail.com>
22529
22530 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22531 Delete.
22532 (IEEE854_LONG_DOUBLE_BIAS): Delete.
22533 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22534 version of math_ldbl.h.
22535
650ef4bd
AM
225362013-10-04 Alan Modra <amodra@gmail.com>
22537
22538 [BZ #15734], [BZ #15735]
22539 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22540 all uses of ieee875 long double macros and unions. Simplify test
22541 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
22542 ldbl_extract_mantissa value for ix,iy exponents. Properly
22543 normalize after ldbl_extract_mantissa, and don't add hidden bit
22544 already handled. Don't treat low word of ieee854 mantissa like
22545 low word of IBM long double and mask off bit when testing for
22546 zero.
22547 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22548 all uses of ieee875 long double macros and unions. Simplify tests
22549 for 0.0L and inf. Correct double adjustment of k. Delete dead code
22550 adjusting ha,hb. Simplify code setting kld. Delete two600 and
22551 two1022, instead use their values. Recognise that tests for large
22552 "a" and small "b" are mutually exclusive. Rename vars. Comment.
22553 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22554 Rewrite all uses of ieee875 long double macros and unions. Simplify
22555 test for 0.0L and nan. Correct negation.
22556 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22557 ieee875 long double macros and unions. Correct output for large
22558 magnitude x. Correct absolute value calculation.
22559 (__erfcl): Likewise.
22560 * math/libm-test.inc: Add tests for errors discovered in IBM long
22561 double versions of fmodl, remainderl, erfl and erfcl.
22562
765714ca
AM
225632013-10-04 Alan Modra <amodra@gmail.com>
22564
22565 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22566 all uses of ieee854 long double macros and unions. Simplify tests
22567 for long doubles that are fully specified by the high double.
22568 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22569 Likewise.
22570 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22571 Remove dead code too.
22572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22573 (__ieee754_ynl): Likewise.
22574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22575 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22577 Remove dead code too.
22578 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22579 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22580 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22581 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22582 Simplify.
22583 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22584 Simplify.
22585 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22586 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22587 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22588 Comment on variable precision.
22589 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22590 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22591 Likewise.
22592 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22593 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22594 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22595 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22596 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22597
4ebd120c
AM
225982013-10-04 Alan Modra <amodra@gmail.com>
22599
22600 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22601 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22602 all uses of ieee854 long double macros and unions.
22603 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22604 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22605 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22606 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22609 Likewise.
22610 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22611 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22612 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22613 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22614 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22615 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22616 Simplify sign and nan test too.
22617 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22618 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22619 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22620 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22621 Likewise.
22622 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22623 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22624 Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22627 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22628 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22629 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22630 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22631
1b6adf88
AM
226322013-10-04 Alan Modra <amodra@gmail.com>
22633
22634 * stdio-common/printf_size.c (__printf_size): Don't use
22635 union ieee854_long_double in fpnum union.
22636 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22637 signbit macro to retrieve sign from long double.
22638 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22639 retrieve sign from long double.
22640 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22641 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22644 * math/test-misc.c (main): Don't use union ieee854_long_double.
22645
4cf69995
AM
226462013-10-04 Alan Modra <amodra@gmail.com>
22647
22648 [BZ #15680]
22649 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22650 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22651 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22652 calculation. Remove unnecessary test for denormal exponent.
22653 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22654 Correct handling of denormals. Avoid undefined shift behaviour.
22655 Correct normalisation of low mantissa when low double is denormal.
22656 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22657 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22658 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22659 Correct normalisation of low mantissa. Test for overflow of high
22660 mantissa and normalise.
22661 (ldbl_nearbyint): Use more readable constant for two52.
22662 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22663 (__mpn_construct_long_double): Fix test for overflow of high
22664 mantissa and correct normalisation. Avoid undefined shift.
22665
9605ca6c
AM
226662013-10-04 Alan Modra <amodra@gmail.com>
22667
22668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22669 (union ibm_extended_long_double): Define as an array of ieee754_double.
22670 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22671 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22672 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22673 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22681
975569d0
JM
226822013-10-03 Joseph Myers <joseph@codesourcery.com>
22683
d3d23756
JM
22684 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22685 page size instead of calling getpagesize.
22686
975569d0
JM
22687 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22688 (LOCFILE_ALIGN_MASK): Likewise.
22689 (LOCFILE_ALIGN_UP): Likewise.
22690 (LOCFILE_ALIGNED_P): Likewise.
22691 * locale/programs/ld-collate.c (collate_output): Use the new
22692 macros instead of __alignof__ (int32_t).
22693 * locale/weight.h (findidx): Likewise.
22694
b1fe1f2b
OB
226952013-10-03 Ondřej Bílka <neleai@seznam.cz>
22696
22697 [BZ #431]
22698 * manual/string.texi: Fix strncat and wcsncat.
22699
5f855e35
BM
227002013-10-03 Brooks Moses <bmoses@google.com>
22701
22702 [BZ #15915]
22703 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22704 * Makerules: ...here, and adjust associated comments.
22705
3cef6009
WN
227062013-10-02 Will Newton <will.newton@linaro.org>
22707
22708 * malloc/Makefile: Add tst-pvalloc.
22709 * malloc/tst-pvalloc.c: New file.
22710
7815420b
WN
227112013-10-02 Will Newton <will.newton@linaro.org>
22712
22713 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22714 improve test coverage.
22715
4868b204
WN
227162013-10-02 Will Newton <will.newton@linaro.org>
22717
22718 * malloc/Makefile: Add tst-posix_memalign.
22719 * malloc/tst-posix_memalign.c: New file.
22720
29c793b3
EB
227212013-10-01 Eric Blake <eblake@redhat.com>
22722
22723 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22724 Use __THROWNL rather than __THROW on static functions.
22725
fd967522
PM
227262013-09-30 Petr Machata <pmachata@redhat.com>
22727
22728 * elf/elf.h (R_AARCH64_ABS16): New macro.
22729 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22730 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22731 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22732 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22733 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22734 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22735 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22736 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22737 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22738 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22739 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22740 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22741 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22742 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22743 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22744 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22745 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22746 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22747 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22748 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22749 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22750 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22751 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22752 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22753 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22754 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22755 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22756 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22757 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22758 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22759 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22760 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22761 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22762 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22763 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22764 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22765 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22766 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22767 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22768 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22769 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22770 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22771 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22772 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22773 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22774 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22775 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22776 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22777 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22778 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22779 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22780 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22781 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22782 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22783 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22784 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22785 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22786 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22787 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22788 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22789 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22790 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22791 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22792 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22793 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22794 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22795 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22796 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22797 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22798 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22799 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22800 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22801 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22802 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22803 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22804 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22805 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22806 (R_AARCH64_TLSDESC_LDR): Likewise.
22807 (R_AARCH64_TLSDESC_ADD): Likewise.
22808 (R_AARCH64_TLSDESC_CALL): Likewise.
22809
b2179107
AS
228102013-09-30 Andreas Schwab <schwab@suse.de>
22811
22812 [BZ #15048]
22813 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22814 the nss database lookup.
22815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22816 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22817
47f28d0a
MF
228182013-09-28 Mike Frysinger <vapier@gentoo.org>
22819
22820 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22821
228222013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
22823
22824 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22825 ${Bash-specific parameter/pattern/string} parameter expansion.
22826 * sysdeps/unix/make-syscalls.sh: Likewise.
22827
f4518a17
KK
228282013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22829
22830 * sysdeps/sh/stackguard-macros.h: New file.
22831
dc1a95c7
OB
228322013-09-26 Ondřej Bílka <neleai@seznam.cz>
22833
22834 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22835 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22836 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22837 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22838 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22839 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22840
5ebbff8f
AZ
228412013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22842
22843 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22844 Fix thread ID register.
22845
4fd2cf9f
JM
228462013-09-25 Joseph Myers <joseph@codesourcery.com>
22847
22848 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22849 [POSIX || UNIX98]: Require rather than permitting all symbols from
22850 <time.h>.
22851 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22852 element of struct sched_param.
22853 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22854 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22855 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22856 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22857 constant.
22858
12c22bc4
OL
228592013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22860
22861 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22862 argument calculation.
22863
a03d8ea7
JM
228642013-09-24 Joseph Myers <joseph@codesourcery.com>
22865
22866 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22867 Expect macro.
22868 [POSIX] (pthread_attr_t): Do not require type.
22869 [POSIX] (pthread_cond_t): Likewise.
22870 [POSIX] (pthread_condattr_t): Likewise.
22871 [POSIX] (pthread_key_t): Likewise.
22872 [POSIX] (pthread_mutex_t): Likewise.
22873 [POSIX] (pthread_mutexattr_t): Likewise.
22874 [POSIX] (pthread_once_t): Likewise.
22875 [POSIX] (pthread_t): Likewise.
22876 [POSIX-based standards] (pthread_atfork): Expect function.
22877
6055173a
JM
228782013-09-24 Joseph Myers <joseph@codesourcery.com>
22879 Richard Sandiford <richard@codesourcery.com>
22880
22881 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22882 (swap_endianness_p): New extern variable.
22883 (set_big_endian): New inline function.
22884 (maybe_swap_uint32): Likewise.
22885 (maybe_swap_uint32_array): Likewise.
22886 (maybe_swap_uint32_obstack): Likewise.
22887 * locale/programs/locfile.c: Include <stdbool.h>.
22888 (swap_endianness_p): New variable.
22889 (add_locale_uint32): Call maybe_swap_uint32.
22890 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22891 (write_locale_data): Call maybe_swap_uint32_array.
22892 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22893 maybe_swap_uint32.
22894 (obstack_int32_grow_fast): Likewise.
22895 (output_weightwc): Call maybe_swap_uint32_obstack.
22896 (collate_output): Likewise.
22897 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22898 (OPT_LITTLE_ENDIAN): Likewise.
22899 (options): Add --little-endian and --big-endian options.
22900 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22901 * locale/programs/locarchive.c: Include "locfile.h".
22902 (GET): New macro.
22903 (SET): Likewise.
22904 (INC): Likewise.
22905 (create_archive): Use the new macros to access fields of
22906 structures directly mapped from or written to locale archives.
22907 (oldlocrecentcmp): Likewise.
22908 (enlarge_archive): Likewise.
22909 (insert_name): Likewise.
22910 (add_alias): Likewise.
22911 (add_locale): Likewise.
22912 (delete_locales_from_archive): Likewise.
22913 (show_archive_content): Likewise.
22914 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22915 locale data.
22916
39bf0bb4
RM
229172013-09-24 Roland McGrath <roland@hack.frob.com>
22918
22919 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22920 http://www.gnu.org/doc/freemanuals.texi.
22921 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22922
f02eed10
WN
229232013-09-24 Will Newton <will.newton@linaro.org>
22924
22925 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22926 macro.
22927
a3a6c312
JM
229282013-09-23 Joseph Myers <joseph@codesourcery.com>
22929
22930 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22931 unsigned char.
22932
107375ac
MR
229332013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22934
22935 * manual/threads.texi (POSIX Threads): Fix a typo.
22936
141f3a77
SP
229372013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22938
303e567a
SP
22939 [BZ #14547]
22940 * string/tst-strcoll-overflow.c: New test case.
22941 * string/Makefile (xtests): Add tst-strcoll-overflow.
22942 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22943 cache if string sizes may cause integer overflow.
22944
141f3a77
SP
22945 [BZ #14547]
22946 * string/strcoll_l.c (coll_seq): New members rule, idx,
22947 save_idx and back_us.
22948 (get_next_seq_nocache): New function.
22949 (do_compare_nocache): New function.
22950 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22951 when malloc fails.
22952
c61b4d41
CD
229532013-09-23 Carlos O'Donell <carlos@redhat.com>
22954
0b1f8e35
CD
22955 [BZ #15754]
22956 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22957 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22958 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22959
c61b4d41
CD
22960 [BZ #15754]
22961 * elf/Makefile (tests): Add tst-ptrguard1.
22962 (tests-static): Add tst-ptrguard1-static.
22963 (tst-ptrguard1-ARGS): Define.
22964 (tst-ptrguard1-static-ARGS): Define.
22965 * elf/tst-ptrguard1.c: New file.
22966 * elf/tst-ptrguard1-static.c: New file.
22967 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22968 * sysdeps/i386/stackguard-macros.h: Likewise.
22969 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22970 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22971 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22972 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22973 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22974 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22975
229762013-09-23 Hector Marco <hecmargi@upv.es>
22977 Ismael Ripoll <iripoll@disca.upv.es>
22978 Carlos O'Donell <carlos@redhat.com>
22979
22980 [BZ #15754]
22981 * sysdeps/generic/stackguard-macros.h: Define
22982 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22983 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22984 Define __pointer_chk_guard_local.
22985 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22986 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22987
f5f4e7b4
VV
229882013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22989
22990 [BZ #15859]
22991 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22992
5bb43a43
AS
229932013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22994
22995 * include/string.h (__ffs): Declare as hidden.
22996 * string/ffs.c (__ffs): Define as hidden.
22997 * sysdeps/i386/ffs.c (__ffs): Likewise.
22998 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22999 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23000 * sysdeps/s390/ffs.c (__ffs): Likewise.
23001 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23002
3ea5be54
AO
230032013-09-20 Alexandre Oliva <aoliva@redhat.com>
23004
ffb89e53
AO
23005 * NEWS: Mention malloc probes.
23006
322dea08
AO
23007 * malloc/arena.c (new_heap): New memory_heap_new probe.
23008 (grow_heap): New memory_heap_more probe.
23009 (shrink_heap): New memory_heap_less probe.
23010 (heap_trim): New memory_heap_free probe.
23011 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23012 (systrim): New memory_sbrk_less probe.
23013 * manual/probes.texi: Document them.
23014
655673f3
AO
23015 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23016 * manual/probes.texi: Document it.
23017
35fed6f1
AO
23018 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23019 (__libc_realloc): Add memory_realloc_retry probe.
23020 (__libc_memalign): Add memory_memalign_retry probe.
23021 (__libc_valloc): Add memory_valloc_retry probe.
23022 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23023 (__libc_calloc): Add memory_calloc_retry probe.
23024 * manual/probes.texi: Document them.
23025
6999d38c
AO
23026 * malloc/arena.c (get_free_list): Add probe
23027 memory_arena_reuse_free_list.
23028 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23029 and memory_arena_reuse.
23030 (arena_get2) [!PER_THREAD]: Likewise.
23031 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23032 memory_arena_reuse_realloc.
23033 * manual/probes.texi: Document them.
23034
0653427f
AO
23035 * malloc/malloc.c (__libc_free): Add
23036 memory_mallopt_free_dyn_thresholds probe.
23037 (__libc_mallopt): Add multiple memory_mallopt probes.
23038 * manual/probes.texi: Document them.
23039
3ea5be54
AO
23040 * malloc/malloc.c: Include stap-probe.h.
23041 (__libc_mallopt): Add memory_mallopt probe.
23042 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23043 * manual/probes.texi: New.
23044 * manual/Makefile (chapters): Add probes.
23045 * manual/threads.texi: Set next node.
23046
e35696c3 230472013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23048
e35696c3
CL
23049 [BZ #15963, #13985]
23050 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23051 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23052 Add `Chinese' to `nan' entry name.
23053
4aafb73c
SP
230542013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23055
23056 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23057 (POLYNOMIAL): Likewise.
23058 (TAYLOR_SINCOS): Likewise.
23059 (TAYLOR_SLOW): Likewise.
23060 (__sin): Use TAYLOR_SINCOS.
23061 (__cos): Likewise.
23062 (slow): Use TAYLOR_SLOW.
23063 (sloww): Likewise.
23064 (bsloww): Likewise.
23065 (csloww): Likewise.
23066
d84f25c7
LD
230672013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23068
23069 * stdlib/strtod_l.c: Fix buffer overrun.
23070
5eea0404
SP
230712013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23072
7849ff93
SP
23073 * benchtests/Makefile (bench): Add sincos.
23074 * benchtests/bench-sincos.c: New file.
23075
cfa3c886
SP
23076 * math/libm-test.inc (cos_test_data): New test inputs.
23077 (sin_test_data): Likewise.
23078
b348e1e3
SP
23079 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23080 macro.
23081 (__sin): Use it.
23082 (__cos): Likewise.
23083 (slow1): Likewise.
23084 (slow2): Likewise.
23085 (sloww1): Likewise.
23086 (sloww2): Likewise.
23087 (bsloww1): Likewise.
23088 (bsloww2): Likewise.
23089 (cslow2): Likewise.
23090 (csloww1): Likewise.
23091 (csloww2): Likewise.
23092
6cce25f8
SP
23093 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23094 function.
23095 (__sin): Use it.
23096 (__cos): Likewise.
23097
5eea0404
SP
23098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23099 gotos.
23100 (__cos): Likewise.
23101
9c21573c
MR
231022013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23103
23104 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23105 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23106 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23107 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23108 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23109 * elf/cache.c (print_entry): Handle the new cache flags.
23110
24d22e65
JM
231112013-09-18 Joseph Myers <joseph@codesourcery.com>
23112 Aldy Hernandez <aldyh@redhat.com>
23113
23114 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23115 Change condition to [_SOFT_FLOAT].
23116 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23117 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23118 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23119 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23120 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23121 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23122 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23123 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23124 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23125 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23126 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23127 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23128 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23130 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23131 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23132 declaration.
23133
d13ef066
JM
231342013-09-18 Joseph Myers <joseph@codesourcery.com>
23135
2e071de0
JM
23136 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23137 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23138 (__longjmp): Use LOAD_GP to load saved GPRs.
23139 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23140 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23141 (__sigsetjmp): Use SAVE_GP to save GPRs.
23142
d13ef066
JM
23143 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23144 Do not append -msoft-float.
23145 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23146
97a0650b
SP
231472013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23148
23149 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23150
11ca09e9
JM
231512013-09-17 Joseph Myers <joseph@codesourcery.com>
23152
23153 [BZ #15966]
23154 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23155 (_FPU_GETCW): Use initial "__" on variable and field names but not
23156 on macro parameter name.
23157 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23158 parentheses around reference to macro parameter.
23159
08ffcf34
RS
231602013-09-13 Richard Sandiford <richard@codesourcery.com>
23161
23162 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23163 prototype.
23164 (ctype_startup): Use uint32_t in cast and sizeof for
23165 ctype->charnames.
23166
ae7080d3
JL
231672013-09-11 Jia Liu <proljc@gmail.com>
23168
23169 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23170 __daddr_t_defined.
23171 [__FreeBSD__]: Likewise.
23172
5905e7b3
OB
231732013-09-11 Ondřej Bílka <neleai@seznam.cz>
23174
23175 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23176 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23177 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23178 (strchr): Remove __strchr_sse42 ifunc selection.
23179 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23180 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23181
b987c776
WN
231822013-09-11 Will Newton <will.newton@linaro.org>
23183
23184 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23185 parameter to RES. Remove hardcoded 1000 value.
23186 * benchtests/bench-skeleton.c (main): Pass RES parameter
23187 to TIMING_INIT and multiply result by 1000.
23188
ddf985af
AZ
231892013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23190
23191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23192
ffdd3181
AS
231932013-09-11 Andreas Schwab <schwab@suse.de>
23194
23195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23196 if not defined.
23197 (O_TMPFILE) [__USE_GNU]: Define.
23198 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23199 Define.
23200
b73ed247
WN
232012013-09-11 Will Newton <will.newton@linaro.org>
23202
23203 [BZ #15857]
23204 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23205 does not overflow.
23206
55e17aad
WN
232072013-09-11 Will Newton <will.newton@linaro.org>
23208
23209 [BZ #15856]
23210 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23211 does not overflow.
23212
1159a193
WN
232132013-09-11 Will Newton <will.newton@linaro.org>
23214
23215 [BZ #15855]
23216 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23217 does not overflow.
23218
5905e7b3 232192013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23220
23221 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23222 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23226
cdfc721b
AM
232272013-09-10 Allan McRae <allan@archlinux.org>
23228
aa04af00
AM
23229 [BZ #15748]
23230 * manual/arith.texi (Parsing of Floats): Clarify
23231 cross-reference.
23232
cdfc721b
AM
23233 [BZ #15849]
23234 * manual/install.texi (Running make install): Mention
23235 --enable-pt-chown.
23236 * INSTALL: Regenerated.
23237
95e7cf29
MR
232382013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23239
23240 * csu/init-first.c (_init): Remove the !SHARED condition around
23241 FPU control word initialization.
23242 * elf/dl-support.c (_dl_fpu_control): New variable.
23243 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23244 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23245 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23246 * math/test-fpucw-static.c: New file.
23247 * math/test-fpucw-ieee.c: New file.
23248 * math/test-fpucw-ieee-static.c: New file.
23249 * math/Makefile (tests): Add `test-fpucw-ieee' and
23250 `$(tests-static)'.
23251 (tests-static): New variable.
23252 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23253 dependency to...
23254 [($(build-shared),yes)]
23255 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23256 ... this.
23257 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23258 New dependency.
23259
83e43bf0
AM
232602013-09-09 Allan McRae <allan@archlinux.org>
23261
a9f5ce09
AM
23262 [BZ #15939]
23263 * manual/string.texi (Collation Functions): Fix typo in
23264 strcoll example.
23265 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23266
34829bc2
AM
23267 [BZ #15893]
23268 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23269
3932737d
AM
23270 [BZ #15892]
23271 * libio/memstream.c (open_memstream): Fix memory leak.
23272 * libio/wmemstream.c (open_wmemstream): Likewise.
23273
83e43bf0
AM
23274 [BZ #15895]
23275 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23276
0c66b8e9
WN
232772013-09-09 Will Newton <will.newton@linaro.org>
23278
23279 * malloc/Makefile: Add tst-realloc to tests.
23280 * malloc/tst-realloc.c: New file.
23281
f6b00fd1
AM
232822013-09-09 Allan McRae <allan@archlinux.org>
23283
23284 [BZ #15844]
23285 * COPYING: Update from GNU website to fix FSF address.
23286 * COPYING.LIB: Likewise.
23287
eec55e16
DM
232882013-09-06 David S. Miller <davem@davemloft.net>
23289
23290 * po/zh_TW.po: Update Chinese (traditional) translation from
23291 translation project.
23292
1ecbb381
RS
232932013-09-06 Richard Sandiford <richard@codesourcery.com>
23294 Joseph Myers <joseph@codesourcery.com>
23295
23296 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23297 "localeinfo.h".
23298 (obstack_chunk_alloc): New macro.
23299 (obstack_chunk_free): Likewise.
23300 (record_offset): New function.
23301 (init_locale_data): Likewise.
23302 (align_locale_data): Likewise.
23303 (add_locale_empty): Likewise.
23304 (add_locale_raw_data): Likewise.
23305 (add_locale_raw_obstack): Likewise.
23306 (add_locale_string): Likewise.
23307 (add_locale_wstring): Likewise.
23308 (add_locale_uint32): Likewise.
23309 (add_locale_uint32_array): Likewise.
23310 (add_locale_char): Likewise.
23311 (start_locale_structure): Likewise.
23312 (end_locale_structure): Likewise.
23313 (start_locale_prelude): Likewise.
23314 (end_locale_prelude): Likewise.
23315 (write_locale_data): Take locale_file structure rather than an
23316 iovec.
23317 * locale/programs/locfile.h: Include "obstack.h".
23318 (struct locale_file): Change to store locale file contents instead
23319 of header.
23320 (init_locale_data): New prototype.
23321 (align_locale_data): Likewise.
23322 (add_locale_empty): Likewise.
23323 (add_locale_raw_data): Likewise.
23324 (add_locale_raw_obstack): Likewise.
23325 (add_locale_string): Likewise.
23326 (add_locale_wstring): Likewise.
23327 (add_locale_uint32): Likewise.
23328 (add_locale_uint32_array): Likewise.
23329 (add_locale_char): Likewise.
23330 (start_locale_structure): Likewise.
23331 (end_locale_structure): Likewise.
23332 (start_locale_prelude): Likewise.
23333 (end_locale_prelude): Likewise.
23334 (write_locale_data): Update prototype.
23335 * locale/programs/3level.h (struct TABLE): Remove result field.
23336 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23337 Use new locale_file interface.
23338 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23339 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23340 * locale/programs/ld-address.c (address_output): Use new
23341 locale_file interface.
23342 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23343 NO_ADD_LOCALE.
23344 (collate_finish): Don't call collseq_table_finalize.
23345 (collate_output): Use new locale_file interface.
23346 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23347 in file.
23348 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23349 (TABLE): Move defines earlier in file.
23350 (ELEMENT): Likewise.
23351 (DEFAULT): Likewise.
23352 (wctrans_table_add): Move macro and inline function earlier in
23353 file.
23354 (struct wctype_table): Move type earlier in file.
23355 (add_locale_wctype_table): New static prototype.
23356 (struct locale_ctype_t): Use logical types instead of struct iovec
23357 pointers for members.
23358 (ctype_output): Use new locale_file interface.
23359 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23360 new locale_file interface.
23361 (allocate_arrays): Update for use of new locale_file interface.
23362 * locale/programs/ld-identification.c (identification_output): Use
23363 new locale_file interface.
23364 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23365 * locale/programs/ld-messages.c (messages_output): Likewise.
23366 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23367 * locale/programs/ld-name.c (name_output): Likewise.
23368 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23369 * locale/programs/ld-paper.c (paper_output): Likewise.
23370 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23371 * locale/programs/ld-time.c (time_output): Likewise.
23372
e029e2e5
AZ
233732013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23374
23375 * benchtests/Makefile: Add memrchr benchmark.
23376 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23377 benchmark as memrchr.
23378 * benchtests/bench-memrchr-ifunc.c: New file.
23379 * benchtests/bench-memrchr.c: New file.
23380
bbf6e8e4
WN
233812013-09-06 Will Newton <will.newton@linaro.org>
23382
23383 * benchtests/Makefile (string-bench): Add memcpy.
23384
6c82a2f8
CD
233852013-09-05 Carlos O'Donell <carlos@redhat.com>
23386 Cong Wang <amwang@redhat.com>
23387
e732c5f0 23388 [BZ #15850]
6c82a2f8
CD
23389 * sysdeps/unix/sysv/linux/bits/in.h
23390 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23391 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23392 before __USE_KERNEL_IPV6_DEFS uses.
23393 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23394 IPPROTO_BEETPH.
23395 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23396 sockaddr_in6, or ipv6_mreq.
23397
5430fc65
AZ
233982013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23399
23400 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23401 memory access for final bytes in some large inputs.
23402 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23403
4660856c
AZ
234042013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23405
23406 * string/test-memrchr.c: New file.
23407 * string/test-memrchr-ifunc.c: New file.
23408 * string/Makefile: Add new memrchr testcase.
23409
bb8ea713
MF
234102013-09-05 Mike Frysinger <vapier@gentoo.org>
23411
23412 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23413 fanotify_init returns EPERM.
23414
b92a20b5
JM
234152013-09-04 Joseph Myers <joseph@codesourcery.com>
23416
23417 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23418 errors.
23419 (top level): Treat second token from macro or constant entries for
23420 allowed headers as allowed.
23421 * include/complex.h: Condition internal declarations on
23422 [!_ISOMAC].
23423 * include/fenv.h: Condition include of <stdbool.h> and internal
23424 declarations on [!_ISOMAC].
7447ccd9
CL
23425
234262013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23427
3e181dda 23428 [BZ #15923]
7447ccd9
CL
23429 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23430
3f2e46a4
JM
234312013-09-04 Joseph Myers <joseph@codesourcery.com>
23432
23433 * configure.in (--enable-versioning): Remove configure option.
23434 (libc_cv_asm_symver_directive): Remove configure test.
23435 (libc_cv_ld_version_script_option): Likewise.
23436 (VERSIONING): Remove variable and AC_SUBST.
23437 (DO_VERSIONING): Remove AC_DEFINE.
23438 * configure: Regenerated.
23439 * config.h.in (DO_VERSIONING): Remove macro.
23440 * Makerules [$(versioning) = yes]: Change conditionals to
23441 [$(build-shared) = yes].
23442 * config.make.in (versioning): Remove variable.
23443 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23444 [$(build-shared) = yes].
23445 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23446 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23447 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23448 [$(build-shared) = yes].
23449 * extra-lib.mk [$(versioning) = yes]: Likewise.
23450 * hurd/Makefile [$(versioning) = yes]: Likewise.
23451 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23452 [SHARED].
23453 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23454 [SHARED].
23455 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23456 [SHARED && !NO_HIDDEN].
23457 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23458 [SHARED].
23459 [SHARED && DO_VERSIONING]: Likewise..
23460 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23461 [$(build-shared) = yes].
23462 * manual/install.texi (--disable-versioning): Remove
23463 documentation.
23464 * INSTALL: Regenerated.
23465 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23466 to [SHARED].
23467 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23468 [$(build-shared) = yes].
23469 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23470 * sysdeps/i386/i686/multiarch/strstr-c.c
23471 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23472 [SHARED && !NO_HIDDEN].
23473 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23474 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23475 * sysdeps/powerpc/powerpc32/dl-machine.c
23476 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23477 * sysdeps/powerpc/powerpc32/sysdep.h
23478 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23479 to [SHARED && PIC && !NO_HIDDEN].
23480 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23481 conditional to [SHARED].
23482
44558701
WN
234832013-09-04 Will Newton <will.newton@linaro.org>
23484
23485 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23486 * benchtests/bench-string.h: Include bench-timing.h instead
23487 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23488 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23489 call to HP_TIMING_DIFF_INIT.
23490 * benchtests/bench-memccpy.c: Use bench-timing.h macros
23491 instead of hp-timing.h macros.
23492 * benchtests/bench-memchr.c: Likewise.
23493 * benchtests/bench-memcmp.c: Likewise.
23494 * benchtests/bench-memcpy.c: Likewise.
23495 * benchtests/bench-memmem.c: Likewise.
23496 * benchtests/bench-memmove.c: Likewise.
23497 * benchtests/bench-memset.c: Likewise.
23498 * benchtests/bench-rawmemchr.c: Likewise.
23499 * benchtests/bench-strcasecmp.c: Likewise.
23500 * benchtests/bench-strcasestr.c: Likewise.
23501 * benchtests/bench-strcat.c: Likewise.
23502 * benchtests/bench-strchr.c: Likewise.
23503 * benchtests/bench-strcmp.c: Likewise.
23504 * benchtests/bench-strcpy.c: Likewise.
23505 * benchtests/bench-strcpy_chk.c: Likewise.
23506 * benchtests/bench-strlen.c: Likewise.
23507 * benchtests/bench-strncasecmp.c: Likewise.
23508 * benchtests/bench-strncat.c: Likewise.
23509 * benchtests/bench-strncmp.c: Likewise.
23510 * benchtests/bench-strncpy.c: Likewise.
23511 * benchtests/bench-strnlen.c: Likewise.
23512 * benchtests/bench-strpbrk.c: Likewise.
23513 * benchtests/bench-strrchr.c: Likewise.
23514 * benchtests/bench-strspn.c: Likewise.
23515 * benchtests/bench-strstr.c: Likewise.
23516
cae16d66
WN
235172013-09-04 Will Newton <will.newton@linaro.org>
23518
23519 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23520
ffa3cd7f
JM
235212013-09-03 Joseph Myers <joseph@codesourcery.com>
23522
23523 [BZ #15427]
23524 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23525 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23526 * math/libm-test.inc (lgamma_test_data): Add more tests.
23527 * sysdeps/i386/fpu/libm-test-ulps: Update.
23528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23529
8f02859f
OB
235302013-09-03 Ondřej Bílka <neleai@seznam.cz>
23531
23532 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23534 Add ifunc.
23535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23536 Add strcmp-sse2-unaligned
23537 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23538
18d43716
MF
235392013-09-02 Mike Frysinger <vapier@gentoo.org>
23540
23541 * Versions.def (libc): Add GLIBC_2.19.
23542
ac444012
MF
235432013-09-02 Mike Frysinger <vapier@gentoo.org>
23544
23545 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23546 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23547
b7835e32
JM
235482013-09-02 Joseph Myers <joseph@codesourcery.com>
23549
23550 [BZ #14155]
23551 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23552 intermediate calculations in recurrence.
23553 (__ieee754_ynf): Likewise.
23554 * math/libm-test.inc (jn_test_data): Do not allow spurious
23555 underflow exception. Add more tests.
23556 (yn_test_data): Add more tests.
23557 * sysdeps/i386/fpu/libm-test-ulps: Update.
23558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23559
8220f4f0
OB
235602013-09-02 Ondřej Bílka <neleai@seznam.cz>
23561
23562 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23563
f24a6d08
OB
235642013-08-30 Ondřej Bílka <neleai@seznam.cz>
23565
23566 * csu/init-first.c: Fix then/than typos.
23567 * locale/programs/ld-collate.c: Likewise.
23568 * locale/programs/linereader.h: Likewise.
23569 * manual/charset.texi: Likewise.
23570 * manual/filesys.texi: Likewise.
23571 * manual/stdio.texi: Likewise.
23572 * manual/string.texi: Likewise.
23573 * stdlib/fmtmsg.c: Likewise.
23574 * sysdeps/i386/stpncpy.S: Likewise.
23575 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23576 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23577 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23578 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23579
382466e0
OB
235802013-08-30 Ondřej Bílka <neleai@seznam.cz>
23581
23582 * elf/dl-open.c: Fix typos.
23583 * iconvdata/gbbig5.c: Likewise.
23584 * iconvdata/iso-2022-jp.c: Likewise.
23585 * iconv/gconv_int.h: Likewise.
23586 * iconv/loop.c: Likewise.
23587 * nis/rpcsvc/nis.h: Likewise.
23588 * resolv/ns_name.c: Likewise.
23589 * stdio-common/vfscanf.c: Likewise.
23590 * streams/stropts.h: Likewise.
23591 * sunrpc/rpc_thread.c: Likewise.
23592 * sysdeps/i386/strpbrk.S: Likewise.
23593 * sysdeps/ieee754/k_standard.c: Likewise.
23594 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23596 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23597 * sysdeps/mach/hurd/profil.c: Likewise.
23598 * sysdeps/s390/dl-procinfo.h: Likewise.
23599 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23600 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23601 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23602 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23603 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23604
0186c6e9
OB
236052013-08-30 Ondřej Bílka <neleai@seznam.cz>
23606
23607 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23608 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23609
d4e16af1
OB
236102013-08-29 Ondřej Bílka <neleai@seznam.cz>
23611
23612 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23613 aix specific files.
23614 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23615 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23616 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23617 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23618 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23619 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23620 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23621 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23622
88335980
TS
236232013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23624 Roland McGrath <roland@hack.frob.com>
23625
23626 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23627 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23628
ed479b02
ST
236292013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23630
23631 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23632 __executable_start symbol instead of _start.
23633
f1cc4c86
TS
236342013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23635
d821f07c
TS
23636 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23637 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23638 Move macros to...
23639 * sysdeps/gnu/ldsodefs.h: ... this new file.
23640
c54290cf
TS
23641 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23642 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23643 instead of ELFOSABI_LINUX.
23644
0007fc9b 23645 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
23646 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23647 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23648 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23649 Likewise.
23650 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23651 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23652 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23653 Likewise.
23654 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23655 (ibm_extended_long_double): Add ieee_nan member.
23656 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23657 (do_test): New function.
23658
f1cc4c86
TS
23659 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23660 TEST_TRUNC.
23661 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23662 functions, renamed from truncdfsf_test, trunctfsf_test,
23663 trunctfdf_test.
23664 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23665 functions.
23666 (do_test): Run all these.
23667
6f65e668
OB
236682013-08-29 Ondřej Bílka <neleai@seznam.cz>
23669
23670 * argp/argp-help.c: Fix typos.
23671 * argp/argp-parse.c: Likewise.
23672 * debug/backtracesyms.c: Likewise.
23673 * elf/elf.h: Likewise.
23674 * malloc/malloc.c: Likewise.
23675 * nis/nis_print.c: Likewise.
23676 * resolv/res_comp.c: Likewise.
23677 * stdlib/stdlib.h: Likewise.
23678 * sunrpc/clnt_tcp.c: Likewise.
23679 * sunrpc/clnt_udp.c: Likewise.
23680 * sunrpc/clnt_unix.c: Likewise.
23681 * sysdeps/unix/bsd/ptsname.c: Likewise.
23682 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23683 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23685 Likewise.
23686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23687 Likewise.
23688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23689 Likewise.
6f65e668
OB
23690 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23691
3a309239
SP
236922013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23693
23694 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23695 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23696
3b813b29
MF
236972013-08-27 Mike Frysinger <vapier@gentoo.org>
23698
23699 [BZ #15897]
23700 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23701 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23702 ($(objpfx)bug-dl-leaf): New rule.
23703 ($(objpfx)bug-dl-leaf.so): Likewise.
23704 ($(objpfx)bug-dl-leaf.out): Likewise.
23705 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23706 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23707 * dlfcn/bug-dl-leaf.c: New test.
23708 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23709 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23710 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23711 (dlclose): Likewise.
23712 (dlmopen): Likewise.
23713
8cc3269f
RM
237142013-08-27 Roland McGrath <roland@hack.frob.com>
23715
7f9d0034
RM
23716 * include/netdb.h [!_ISOMAC]:
23717 Don't include <tls.h>.
23718 (h_errno, __libc_h_errno): Move declaration and macros out of
23719 [_LIBC_REENTRANT].
23720
fb431262
RM
23721 * include/resolv.h [_RESOLV_H_]:
23722 Don't include <tls.h>.
23723 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23724 * resolv/res_libc.c: Don't include <tls.h>.
23725 (_res): Use __attribute__ ((nocommon)) in place of
23726 __attribute__ ((section (".bss"))).
23727
bd81123a
RM
23728 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23729 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23730
c4e42566
RM
23731 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23732
f890a59b
RM
23733 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23734 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23735
23736 * resolv/res_mkquery.c: Include <sys/time.h>.
23737
5d1f0a09
RM
23738 * inet/ifreq.c: Moved to ...
23739 * sysdeps/unix/ifreq.c: ... here.
23740 * inet/ifreq.c: New file, true stub version.
23741
6fcf28b3
RM
23742 * socket/sa_len.c: New file.
23743 * socket/Makefile (aux): Add it.
23744 * sysdeps/unix/sysv/linux/Makefile
23745 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23746 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23747 and #include <socket/sa_len.c>.
23748 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23749 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23750
e041fb8b
RM
23751 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23752 * bits/socket.h: ... here.
23753
8cc3269f
RM
23754 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23755 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23756 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23757
5d228a43
AS
237582013-08-27 Andreas Schwab <schwab@suse.de>
23759
45b8accc
AS
23760 [BZ #15736]
23761 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23762 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23763 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23764 * string/test-strcasecmp.c (test_main): Run tests in several
23765 locales.
23766 * string/test-strncasecmp.c (test_main): Likewise.
23767
5d228a43
AS
23768 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23769 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23770 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23771 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23772 (__strncasecmp_ssse3) [PIC]: Likewise.
23773
59d112a4
RM
237742013-08-26 Roland McGrath <roland@hack.frob.com>
23775
53234cc3
RM
23776 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23777
59d112a4
RM
23778 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23779 instead of explicitly declaring xdecrypt.
23780 * nis/nss_nis/nis-publickey.c: Likewise.
23781
595aba70
SP
237822013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23783
23784 [BZ #15890]
23785 * nscd/aicache.c: Include res_hconf.h.
23786 (addhstaiX): Initialize res_hconf.
23787
ffabd393
AS
237882013-08-26 Andreas Schwab <schwab@suse.de>
23789
23790 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23791 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23792
e0a69f5c
SP
237932013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23794
23795 * nscd/aicache.c (addhstaiX): Fix indentation.
23796
8c12f01d
MF
237972013-08-25 Mike Frysinger <vapier@gentoo.org>
23798
23799 * configure.ac: Quote $build_pt_chown test.
23800 * configure: Regenerated.
23801
8fe89494
JM
238022013-08-23 Joseph Myers <joseph@codesourcery.com>
23803
23804 [BZ #15532]
23805 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23806 * math/s_cexpf.c (__cexpf): Likewise.
23807 * math/s_cexpl.c (__cexpl): Likewise.
23808 * math/libm-test.inc (cexp_test_data): Correct expected return
23809 value for NaN + i0. Add another test.
23810
75b181d6
DM
238112013-08-22 David S. Miller <davem@davemloft.net>
23812
23813 * po/ca.po: Update Catalan translation from translation project.
936241e4 23814 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 23815
acd06bb1
JM
238162013-08-21 Joseph Myers <joseph@codesourcery.com>
23817
23818 [BZ #15797]
23819 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23820 is infinite, not alongside NaN test.
23821 * math/s_fdimf.c (__fdimf): Likewise.
23822 * math/s_fdiml.c (__fdiml): Likewise.
23823 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23824 errno is unchanged.
23825
c0c3f78a
OB
238262013-08-21 Ondřej Bílka <neleai@seznam.cz>
23827
23828 * argp/argp-help.c: Fix typos.
23829 * crypt/speeds.c: Likewise.
23830 * csu/check_fds.c: Likewise.
23831 * elf/dl-load.c: Likewise.
23832 * elf/dl-open.c: Likewise.
23833 * elf/reldep3.c: Likewise.
23834 * elf/reldep.c: Likewise.
23835 * elf/sprof.c: Likewise.
23836 * iconv/iconv_charmap.c: Likewise.
23837 * iconv/skeleton.c: Likewise.
23838 * iconv/strtab.c: Likewise.
23839 * io/lockf64.c: Likewise.
23840 * libio/libioP.h: Likewise.
23841 * resolv/gai_notify.c: Likewise.
23842 * resolv/ns_name.c: Likewise.
23843 * resolv/ns_samedomain.c: Likewise.
23844 * resolv/res_send.c: Likewise.
23845 * stdlib/random.c: Likewise.
23846 * sunrpc/rpc/xdr.h: Likewise.
23847 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23849 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23850 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23852 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23854 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23855 * sysdeps/mach/hurd/check_fds.c: Likewise.
23856 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23857 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23859 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23860 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23861 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23862 * sysdeps/pthread/aio_notify.c: Likewise.
23863 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23864 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23866 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23867 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23868
46ed1038
LD
238692013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23870
23871 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23872 version if bit_Slow_SSE4_2 is set.
23873 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23874 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23875
d400dcac
AZ
238762013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23877
23878 [BZ #15867]
23879 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23880 trampoline stack frame information.
23881 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23882 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23883 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23884 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23885 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23886 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23887 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23888 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23889 sa_flags value.
23890 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23891 interrupting a syscall and set with option SA_SIGINFO.
23892
42c8fdd8
JM
238932013-08-20 Joseph Myers <joseph@codesourcery.com>
23894
c980f2f4
JM
23895 [BZ #15531]
23896 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23897 argument is infinite.
23898 * math/s_cprojf.c (__cprojf): Likewise.
23899 * math/s_cprojl.c (__cprojl): Likewise.
23900 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23901 * math/libm-test.inc (cproj_test_data): Add more tests.
23902
0716c4fc
JM
23903 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23904
42c8fdd8
JM
23905 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23906 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23907 size. Use __ffs to determine corresponding shift.
23908
b31469d0
JM
239092013-08-20 Joseph Myers <joseph@codesourcery.com>
23910 Roland McGrath <roland@hack.frob.com>
23911
23912 * Makefile (INSTALL): Remove trailing blank lines from output of
23913 makeinfo.
23914
4e39af6e
AK
239152013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23916
23917 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23918 Align 32 bit compat elf_greg to 8 bytes.
23919
f315524e
AA
239202013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23921
23922 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23923
1326ba1a
SP
239242013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23925
23926 * string/strcoll_l.c (coll_seq): New structure.
23927 (get_next_seq_cached): New function.
23928 (get_next_seq): New function.
23929 (do_compare): New function.
23930 (STRCOLL): Use GNU style definition. Simplify implementation
23931 by using get_next_seq, get_next_seq_cached and do_compare.
23932
91ce4085
FW
239332013-08-16 Florian Weimer <fweimer@redhat.com>
23934
23935 [BZ #14699]
23936 CVE-2013-4237
23937 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23938 member.
23939 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23940 member.
23941 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23942 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23943 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23944 conditional.
23945 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23946 GETDENTS_64BIT_ALIGNED.
23947 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23948 * manual/filesys.texi (Reading/Closing Directory): Document
23949 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23950 strongly.
23951 * manual/conf.texi (Limits for Files): Add portability note to
23952 NAME_MAX, PATH_MAX.
23953 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23954
ca0a6bc4
AS
239552013-08-13 Andreas Schwab <schwab@suse.de>
23956
23957 [BZ #15749]
23958 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23959 of fabs.
23960 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23961 LDBL_MAX_EXP >= 16384]: Add tests for it.
23962
6c1fd795
DM
239632013-08-12 David S. Miller <davem@davemloft.net>
23964
23965 * version.h (RELEASE): Set to "development".
23966 (VERSION): Set to "2.18.90".
23967 * NEWS: Add 2.19 section.
23968
31ad488d
DM
239692013-08-03 David S. Miller <davem@davemloft.net>
23970
23971 * po/ko.po: Update Korean translation from translation project.
23972
db24e684
DM
239732013-08-01 David S. Miller <davem@davemloft.net>
23974
23975 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23976 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23977 Bilka.
23978
f723285b
DM
239792013-07-30 David S. Miller <davem@davemloft.net>
23980
23981 * po/fr.po: Update French translation from translation project.
23982
3cbc52db
DM
239832013-07-28 David S. Miller <davem@davemloft.net>
23984
30bbc0cc
DM
23985 * po/cs.po: Update Czech translation from translation project.
23986
3cbc52db
DM
23987 * po/sv.po: Update Swedish translation from translation project.
23988
d492e6d0
DM
239892013-07-27 David S. Miller <davem@davemloft.net>
23990
f1a7f492
DM
23991 * po/eo.po: Update Esperanto translation from translation project.
23992
90e62a4a
DM
23993 * po/vi.po: Update Vietnamese translation from translation project.
23994
d492e6d0
DM
23995 * po/de.po: Update German translation from translation project.
23996
d4baa62d
DM
239972013-07-26 David S. Miller <davem@davemloft.net>
23998
641aa7b4
DM
23999 * po/bg.po: Update Bulgarian translation from translation project.
24000
d4baa62d
DM
24001 * po/nl.po: Update Dutch translation from translation project.
24002 * po/pl.po: Update Polish translation from translation project.
24003 * po/ru.po: Update Russian translation from translation project.
24004
61a9dcb9
DM
240052013-07-24 David S. Miller <davem@davemloft.net>
24006
24007 * po/libc.pot: Update.
24008
7b1f8b58
AZ
240092013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24010
24011 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24012 variable page size.
24013 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24014 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24015 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24016
a8fc7a03
AK
240172013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24018
24019 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24020
e4608715
CD
240212013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24022 Andreas Schwab <schwab@suse.de>
24023 Roland McGrath <roland@hack.frob.com>
24024 Joseph Myers <joseph@codesourcery.com>
24025 Carlos O'Donell <carlos@redhat.com>
24026
24027 [BZ #15755]
24028 * config.h.in: Define HAVE_PT_CHOWN.
24029 * config.make.in (build-pt-chown): New variable.
24030 * configure.in (--enable-pt_chown): New configure option.
24031 * configure: Regenerate.
24032 * login/Makefile: Include Makeconfig. Build pt_chown only if
24033 build-pt-chown is enabled.
24034 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24035 pt_chown to fix pty ownership.
24036 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24037 CLOSE_ALL_FDS.
24038 * manual/install.texi (Configuring and compiling): Mention
24039 --enable-pt_chown. Add @findex for grantpt.
24040 * INSTALL: Regenerate.
24041
da2d62df
DM
240422013-07-20 David S. Miller <davem@davemloft.net>
24043
24044 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24045 difference between 32-bit and 64-bit.
24046
d7e06450
CD
240472013-07-15 Carlos O'Donell <carlos@redhat.com>
24048
24049 [BZ #15711]
24050 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24051 Avoid system header dependency with -ffreestanding.
24052 ($(objpfx)bits/syscall%d): Likewise.
24053
f959cfd7
DM
240542013-07-13 David S. Miller <davem@davemloft.net>
24055
24056 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24057 underflows from atanl/atan2l due to bug 15319.
24058 (casinh_test_data): Likewise.
24059
c61f8513
DM
240602013-07-07 David S. Miller <davem@davemloft.net>
24061
24062 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24063
72c90ed0
JA
240642013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24065
24066 * sysdeps/i386/fpu/libm-test-ulps: Update.
24067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24068
52dfbe13
SP
240692013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24070
24071 * configure.in (--enable-lock-elision): Fix message text.
24072 * INSTALL: Regenerate.
24073 * configure: Regenerate.
24074
3f169543
AZ
240752013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24076
24077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24078
521c6785
AJ
240792013-07-03 Andreas Jaeger <aj@suse.de>
24080
24081 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24082 define.
24083 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24084 (ptrace_peeksiginfo_args): Add.
24085 (__ptrace_peeksiginfo_flags): Add.
24086 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24087 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24088 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24089
d2cc15cb
AM
240902013-07-03 Allan McRae <allan@archlinux.org>
24091
24092 * sysdeps/i386/fpu/libm-test-ulps: Update.
24093
3aaeeca7
DM
240942013-07-02 David S. Miller <davem@davemloft.net>
24095
24096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24097
5314ed1a
MT
240982013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24099
24100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24101
67338156
JM
241022013-07-02 Joseph Myers <joseph@codesourcery.com>
24103
24104 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24106
1717da59
AK
241072013-07-02 Andi Kleen <ak@linux.intel.com>
24108
24109 * config.h.in (ENABLE_LOCK_ELISION): Add.
24110 * configure.in (--enable-lock-elision): Add option.
24111 * manual/install.texi: Document --enable lock elision.
24112 * configure: Regenerate
24113 * INSTALL: Regenerate.
24114
1c81621c
L
241152013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24116
24117 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24118 SSE4.2 strcasecmp for libc.a.
24119 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24120
77f01ab5
JM
241212013-07-02 Joseph Myers <joseph@codesourcery.com>
24122
24123 [BZ #13304]
24124 * soft-fp/op-common.h (_FP_FMA): New macro.
24125 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24126 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24127 (_FP_MUL_MEAT_1_imm): ... here.
24128 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24129 (_FP_MUL_MEAT_1_wide): ... here.
24130 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24131 (_FP_MUL_MEAT_1_hard): ... here.
24132 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24133 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24134 (_FP_MUL_MEAT_2_wide): ... here.
24135 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24136 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24137 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24138 (_FP_MUL_MEAT_2_gmp): ... here.
24139 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24140 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24141 (_FP_MUL_MEAT_4_wide): ... here.
24142 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24143 (_FP_MUL_MEAT_4_gmp): ... here.
24144 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24145 (_FP_WFRACBITS_DW_S): Likewise.
24146 (_FP_WFRACXBITS_DW_S): Likewise.
24147 (_FP_HIGHBIT_DW_S): Likewise.
24148 (FP_FMA_S): Likewise.
24149 (_FP_FRAC_HIGH_DW_S): Likewise.
24150 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24151 (_FP_WFRACBITS_DW_D): Likewise.
24152 (_FP_WFRACXBITS_DW_D): Likewise.
24153 (_FP_HIGHBIT_DW_D): Likewise.
24154 (FP_FMA_D): Likewise.
24155 (_FP_FRAC_HIGH_DW_D): Likewise.
24156 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24157 (_FP_WFRACBITS_DW_E): Likewise.
24158 (_FP_WFRACXBITS_DW_E): Likewise.
24159 (_FP_HIGHBIT_DW_E): Likewise.
24160 (FP_FMA_E): Likewise.
24161 (_FP_FRAC_HIGH_DW_E): Likewise.
24162 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24163 (_FP_WFRACBITS_DW_Q): Likewise.
24164 (_FP_WFRACXBITS_DW_Q): Likewise.
24165 (_FP_HIGHBIT_DW_Q): Likewise.
24166 (FP_FMA_Q): Likewise.
24167 (_FP_FRAC_HIGH_DW_Q): Likewise.
24168 * soft-fp/fmasf4.c: New file.
24169 * soft-fp/fmadf4.c: Likewise.
24170 * soft-fp/fmatf4.c: Likewise.
24171
6308fd9a
LD
241722013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24173
24174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24175 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24176 Silvermont.
24177 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24178 macro.
24179 (index_Slow_SSE4_2): Likewise.
24180 (index_Prefer_PMINUB_for_stringop): Likewise.
24181 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24182 bit_Slow_SSE4_2 is set.
24183 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24184 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24185
89cd9569
RA
241862013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24187
24188 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24189 rtld_global._dl_hwcap2.
24190 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24191 POWER8.
24192 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24193 POWER8 feature descriptions defined in _dl_hwcap2.
24194 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24195 string handling for POWER8 feature bits.
24196 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24197 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24198 _dl_powerpc_cap_flags.
24199 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24200 * sysdeps/powerpc/rtld-global-offsets.sym
24201 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24202 _dl_hwcap2 in the rtld_global_ro structure.
24203
1ae8bfe0
RA
242042013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24205
24206 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24207 hardware capabilities in support of AT_HWCAP2.
24208 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24209 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24210 GLRO(dl_hwcap2).
24211 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24212 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24213 explicitly the unknown a_type display mechanism is used.
24214 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24215 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24216 struct member.
24217 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24218 to macro prototype for AT_HWCAP2 support.
24219 * sysdeps/i386/dl-procinfo.h: Likewise.
24220 * sysdeps/s390/dl-procinfo.h: Likewise.
24221 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24222 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24223 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24224 return -1 for unknown a_type display fallback.
24225 * sysdeps/sparc/dl-procinfo.h: Likewise.
24226 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24227 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24228
8fbec010
JM
242292013-06-28 Joseph Myers <joseph@codesourcery.com>
24230
24231 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24232 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24233
0432680e
PY
242342013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24235
24236 [BZ #12492]
24237 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24238 mprotect making __stack_prot writable.
24239
ce61a2ad
NF
242402013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24241 Joseph Myers <joseph@codesourcery.com>
24242
24243 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24244 as being properly aligned.
24245
f91f1c0f
MR
242462013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24247
3d0f5d0c
MR
24248 * dlfcn/modstatic5.c: New file.
24249 * dlfcn/tststatic5.c: New file.
24250 * dlfcn/Makefile (tests): Add tststatic5.
24251 (tests-static): Likewise.
24252 (modules-names): Add modstatic5.
24253 (tststatic5-ENV): New variable.
24254 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24255
f91f1c0f
MR
24256 [BZ #15022]
24257 * elf/dl-support.c (_dl_main_map): New variable.
24258 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24259 (_dl_nns, _dl_load_adds): Set to 1.
24260 (_dl_initial_searchlist): Refer to _dl_main_map.
24261 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24262 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24263 call to _dl_get_origin.
24264 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24265 around call_map.
24266 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24267 * dlfcn/modstatic3.c: New file.
24268 * dlfcn/tststatic3.c: New file.
24269 * dlfcn/tststatic4.c: New file.
24270 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24271 (tests-static): Likewise.
24272 (modules-names): Add modstatic3.
24273 (tststatic3-ENV, tststatic4-ENV): New variables.
24274 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24275 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24276
cbe7d24b
JM
242772013-06-26 Joseph Myers <joseph@codesourcery.com>
24278
24279 * configure.in (CC): Require GCC version 4.4 or later.
24280 * configure: Regenerated.
24281 * manual/install.texi (Tools for Compilation): Update GCC version
24282 requirement.
24283 * INSTALL: Regenerated.
24284
11b8a0e1
LD
242852013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24286
24287 [BZ #15674]
bb5bb87c
L
24288 * string/test-memcmp.c (check2): New.
24289 (main): Call check2.
24290
11b8a0e1
LD
24291 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24292
b0037103
MR
242932013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24294
24295 [BZ #15022]
24296 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24297 over to...
24298 (dl_open_worker) [!SHARED]: ... here.
24299
c18c701d
RA
243002013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24301
24302 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24303
1d17fa5f
RH
243042013-06-25 Richard Henderson <rth@redhat.com>
24305
24306 * locale/programs/locarchive.c: Include <libc-internal.h>
24307
8fcb833a
JM
243082013-06-25 Joseph Myers <joseph@codesourcery.com>
24309
24310 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24311 trailing whitespace removed.
24312
17db6e8d
MF
243132013-06-24 Mike Frysinger <vapier@gentoo.org>
24314
24315 [BZ #10283]
17db6e8d
MF
24316 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24317 * locale/programs/locarchive.c: Include libc-mmap.h.
24318 (prepare_address_space): Take two new outputs (the mmap base and len).
24319 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24320 values.
24321 (create_archive): Declare new mmap base and len values for
24322 prepare_address_space, and store the result in ah.
24323 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24324 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24325 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24326 Declare new mmap base and len values for
24327 prepare_address_space, and store the result in new_ah.
24328 (open_archive): Declare new mmap base and len values for
24329 prepare_address_space, and store the result in ah.
24330 (close_archive): If ah->mmap_base is not NULL, use that and
24331 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24332 * sysdeps/generic/libc-mmap.h: New file.
24333
d605071e
MF
243342013-06-24 Mike Frysinger <vapier@gentoo.org>
24335
24336 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24337 (ALIGN_UP): Likewise.
24338 (PTR_ALIGN_DOWN): Likewise.
24339 (PTR_ALIGN_UP): Likewise.
24340
2f063a6e
RA
243412013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24342
24343 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24344 entry mapped to PPC_PLATFORM_POWER8.
24345 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24346 POWER8.
24347 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24348 (_dl_string_platform): Add case for exporting platform position for
24349 POWER8.
24350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24351 search path to sysdeps/powerpc/powerpc32/power8 directory.
24352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24353 search path to sysdeps/powerpc/powerpc64/power8 directory.
24354 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24355 power7 directories.
24356 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24357 power7 directories.
24358
a31ee4b3
SP
243592013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24360
a74ca98f
SP
24361 * INSTALL: Regenerate.
24362
a31ee4b3
SP
24363 * nscd/connections.c (nscd_init): Fix comment.
24364
695c378f
JM
243652013-06-22 Joseph Myers <joseph@codesourcery.com>
24366
d8412221
JM
24367 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24368
695c378f
JM
24369 [BZ #15667]
24370 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24371 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24372
d1d54715
MR
243732013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24374
24375 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24376 DL_DST_REQ_STATIC.
24377 (DL_DST_REQ_STATIC): Remove macro.
24378
8fdda7af
JM
243792013-06-21 Joseph Myers <joseph@codesourcery.com>
24380
24381 [BZ #7006]
24382 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24383 with a shift of 0 bits.
24384
f3bc5e5a
MR
243852013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24386
24387 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24388 $(tststatic-ENV).
24389
be09e8c9
KK
243902013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24391
24392 [BZ #15655]
24393 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24394
85c2e611
AZ
243952013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24396
24397 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24398 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24399 accepts -fno-tree-loop-distribute-patterns.
24400 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24401 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24402 recursive call.
24403 * string/memset.c (memset): Likewise.
24404 * string/test-memmove.c (simple_memmove): Disable loop transformation
24405 to library calls.
24406 * string/test-memset.c (simple_memset): Likewise.
24407 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24408 * benchtests/bench-memset.c (simple_memset): Likewise.
24409 * configure: Regenerated.
24410
c91e0825
JM
244112013-06-20 Joseph Myers <joseph@codesourcery.com>
24412
b8c792af
JM
24413 * math/test-misc.c (main): Ignore fesetround failure when failures
24414 of subsequent rounding tests would be ignored.
24415
c91e0825
JM
24416 [BZ #15654]
24417 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24418 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24419 * math/fegetenv.c (__fegetenv): Return 0.
24420 * math/fegetexcept.c (fegetexcept): Return 0.
24421 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24422 FE_TONEAREST.
24423 * math/feholdexcpt.c (feholdexcept): Return 0.
24424 * math/fesetenv.c (__fesetenv): Return 0.
24425 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24426 argument FE_TONEAREST.
24427 * math/feupdateenv.c (__feupdateenv): Return 0.
24428 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24429
bfcacbde
RM
244302013-06-18 Roland McGrath <roland@hack.frob.com>
24431
24432 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24433 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24434 ($(objpfx)rtld-%.os rules): Use them.
24435
e55a9b25
AZ
244362013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24437
24438 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24439 fields.
24440
346d65b3
RM
244412013-06-17 Roland McGrath <roland@hack.frob.com>
24442
12086fb4
RM
24443 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24444 length of target pattern, then descending length of dependency pattern.
24445 * configure.in (AWK): Require gawk 3.1.2 or newer.
24446 * manual/install.texi (Tools for Compilation): Say that we do.
24447 * configure: Regenerated.
24448
346d65b3
RM
24449 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24450 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24451 * scripts/sysd-rules.awk: ... this new script.
24452 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24453 than a glob-style pattern.
24454
1a846317
JM
244552013-06-17 Joseph Myers <joseph@codesourcery.com>
24456
24457 * math/test-misc.c (main): Do not treat incorrectly rounded
24458 conversions as failure unless ROUNDING_TESTS passes.
24459
8fc75e6f
JM
244602013-06-15 Joseph Myers <joseph@codesourcery.com>
24461
3711a167
JM
24462 [BZ #15631]
24463 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24464 restore exception state around main square root computation, then
24465 check for inexactness explicitly.
24466
8fc75e6f
JM
24467 * math/libm-test.inc (fma_test_data): Add another test.
24468
61dd6208
SP
244692013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24470
adf23d2c
SP
24471 * manual/threads.texi (Non-POSIX Extensions): New document
24472 node. Document pthread_getattr_default_np and
24473 pthread_setattr_default_np.
24474
61dd6208
SP
24475 * Versions.def (libpthread): Add GLIBC_2.18.
24476 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24478 Likewise.
24479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24480 Likewise.
24481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24482 Likewise.
24483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24484 Likewise.
24485 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24486 Likewise.
24487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24488 Likewise.
24489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24490 Likewise.
24491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24492 Likewise.
24493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24494 Likewise.
24495
d086fc7b
LD
244962013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24497
24498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24499 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24500
747ef469
SP
245012013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24502 H.J. Lu <hjl.tools@gmail.com>
24503
24504 [BZ #15627]
24505 * sysdeps/x86_64/rtld-memset.c: Remove file.
24506 * sysdeps/x86_64/rtld-memset.S: New file.
24507
1b2feed2
JM
245082013-06-14 Joseph Myers <joseph@codesourcery.com>
24509
24510 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24511 (test_in_one_mode): Take arguments for whether the rounding mode
24512 is supported for each floating-point type.
24513 (do_test): Pass new arguments to test_in_one_mode using
24514 ROUNDING_TESTS.
24515
a58ad3f8
RM
245162013-06-13 Roland McGrath <roland@hack.frob.com>
24517
24518 * posix/tst-waitid.c (do_test): Distinguish different instances of
24519 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
24520 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24521 before entering the kernel for waitpid.
24522
c204ab28
SP
245232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24524
24525 * NEWS: Fix note on clock function precision. Text by Roland
24526 McGrath.
24527
f4a29fba
RM
245282013-06-13 Roland McGrath <roland@hack.frob.com>
24529
24530 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24531 it into place only when and if the sanity check passes.
24532
1f24b9ad
JM
245332013-06-13 Joseph Myers <joseph@codesourcery.com>
24534
24535 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24536 output for whether conversion result is exact. Take argument
24537 indicating whether type is IBM long double.
24538 (round_for_all): Change need_exact field to ibm_ld.
24539 * stdlib/tst-strtod-round.c (struct exactness): New type.
24540 (struct test): Change bool ld_ok field to struct exactness exact.
24541 (TEST): Update all definitions for change to field.
24542 (tests): Regenerate array contents.
24543 (test_in_one_mode): Take pointer to new field instead of old ld_ok
24544 field value. Check for IBM long double here.
24545 (do_test): Update calls to test_in_one_mode.
24546
58206c68
SP
245472013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24548
24549 [BZ #12515]
24550 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24551 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24552
2d6f4c5b 245532013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
24554
24555 [BZ #15605]
24556 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24557 generated by the compiler on loop optimizations.
24558 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24559 general definitions.
24560
94f2c076
JM
245612013-06-12 Joseph Myers <joseph@codesourcery.com>
24562
24563 * math/bug-nextafter.c: Include <math-tests.h>.
24564 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24565 the relevant type.
24566 * math/bug-nexttoward.c: Include <math-tests.h>.
24567 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24568 the relevant type.
24569 * math/test-misc.c: Include <math-tests.h>.
24570 (main): Only test for exceptions if EXCEPTION_TESTS is true for
24571 the relevant type.
24572
e0e50a0a
AJ
245732013-06-12 Andreas Jaeger <aj@suse.de>
24574
24575 * po/ia.po: Update Interlingua translation from translation
24576 project.
24577
25061094
SP
245782013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24579
24580 * include/fenv.h: Include stdbool.h.
24581 (struct rm_ctx): New structure.
24582 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24583 Define macro.
24584 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24585 (SET_RESTORE_ROUNDF): Likewise.
24586 (SET_RESTORE_ROUNDL): Likewise.
24587 (SET_RESTORE_ROUND_NOEX): Likewise.
24588 (SET_RESTORE_ROUND_NOEXF): Likewise.
24589 (SET_RESTORE_ROUND_NOEXL): Likewise.
24590 (SET_RESTORE_ROUND_53BIT): Likewise.
24591 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24592 (libc_feresetround_noexf_ctx): Likewise.
24593 (libc_feresetround_noexl_ctx): Likewise.
24594 (libc_feholdsetround_53bit_ctx): Likewise.
24595 (libc_feresetround_53bit_ctx): Likewise.
24596 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24597 (libc_feholdexcept_setround_sse_ctx): New function.
24598 (libc_fesetenv_sse_ctx): Likewise.
24599 (libc_feupdateenv_sse_ctx): Likewise.
24600 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24601 (libc_feholdexcept_setround_387_ctx): Likewise.
24602 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24603 (libc_feholdsetround_387_prec_ctx): Likewise.
24604 (libc_feholdsetround_387_ctx): Likewise.
24605 (libc_feholdsetround_387_53bit_ctx): Likewise.
24606 (libc_feholdsetround_sse_ctx): Likewise.
24607 (libc_feresetround_sse_ctx): Likewise.
24608 (libc_feresetround_387_ctx): Likewise.
24609 (libc_feupdateenv_387_ctx): Likewise.
24610 (libc_feholdexcept_setroundf_ctx): Define macro.
24611 (libc_fesetenvf_ctx): Likewise.
24612 (libc_feupdateenvf_ctx): Likewise.
24613 (libc_feholdsetroundf_ctx): Likewise.
24614 (libc_feresetroundf_ctx): Likewise.
24615 (libc_feholdexcept_setround_ctx): Likewise.
24616 (libc_fesetenv_ctx): Likewise.
24617 (libc_feupdateenv_ctx): Likewise.
24618 (libc_feholdsetround_ctx): Likewise.
24619 (libc_feresetround_ctx): Likewise.
24620 (libc_feholdexcept_setroundl_ctx): Likewise.
24621 (libc_feupdateenvl_ctx): Likewise.
24622 (libc_feholdsetroundl_ctx): Likewise.
24623 (libc_feresetroundl_ctx): Likewise.
24624 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24625 (libc_feresetround_53bit_ctx): Likewise.
24626
59b30555
SP
246272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24628
24629 * locale/iso-639.def: Convert to UTF-8.
24630
f1d73d30
JM
246312013-06-11 Joseph Myers <joseph@codesourcery.com>
24632
24633 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24634 (EXCEPTION_TESTS_double): Likewise.
24635 (EXCEPTION_TESTS_long_double): Likewise.
24636 (EXCEPTION_TESTS): Likewise.
24637 * math/libm-test.inc (test_exceptions): Only test exceptions if
24638 EXCEPTION_TESTS (FLOAT).
24639
94aca5e7
SP
246402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24641
24642 * benchtests/Makefile (string-bench): Add strcpy_chk and
24643 stpcpy_chk.
24644 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24645 * benchtests/bench-stpcpy_chk.c: New file.
24646 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24647 * benchtests/bench-strcpy_chk.c: New file.
24648 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24649 code.
24650 (do_test): Likewise.
24651
fac0c5f2
RA
246522013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24653
24654 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24655 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24656 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24657 with tabs where appropriate.
24658 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24659 dl-procinfo.h.
24660 [PPC_PLATFORM_PPC440]: Likewise.
24661 [PPC_PLATFORM_PPC464]: Likewise.
24662 [PPC_PLATFORM_PPC476]: Likewise.
24663 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24664 ppc464, and ppc476 platform strings merging from ports/
24665 dl-procinfo.h.
24666
f22bc486
AS
246672013-06-11 Andreas Schwab <schwab@suse.de>
24668
24669 [BZ #14991]
24670 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24671 (from_ucs4_idx): Regenerate.
24672 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24673 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24674 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24675 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24676 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24677 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24678 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24679 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24680 from FROM_LOOP and TO_LOOP specific macros.
24681 (BODY): Handle combining characters.
24682 * iconvdata/BIG5HKSCS.irreversible: Update.
24683 * iconvdata/BIG5HKSCS.precomposed: New file.
24684 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24685 characters.
24686 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24687
c1f75dc3
SP
246882013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24689
4eacded2
SP
24690 * include/sys/time.h: Fix indentation and add copyright header.
24691
fec799f8
SP
24692 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24693 (do_test): Likewise.
24694 * string/test-memchr.c (do_one_test): Likewise.
24695 (do_test): Likewise.
24696 * string/test-memcmp.c (do_one_test): Likewise.
24697 (do_test): Likewise.
24698 * string/test-memcpy.c (do_one_test): Likewise.
24699 (do_test): Likewise.
24700 * string/test-memmem.c (do_one_test): Likewise.
24701 (do_test): Likewise.
24702 (do_random_tests): Likewise.
24703 * string/test-memmove.c (do_one_test): Likewise.
24704 (do_test): Likewise.
24705 * string/test-memset.c (do_one_test): Likewise.
24706 (do_test): Likewise.
24707 * string/test-rawmemchr.c (do_one_test): Likewise.
24708 (do_test): Likewise.
24709 * string/test-strcasecmp.c (do_one_test): Likewise.
24710 (do_test): Likewise.
24711 * string/test-strcasestr.c (do_one_test): Likewise.
24712 (do_test): Likewise.
24713 * string/test-strcat.c (do_one_test): Likewise.
24714 (do_test): Likewise.
24715 * string/test-strchr.c (do_one_test): Likewise.
24716 (do_test): Likewise.
24717 * string/test-strcmp.c (do_one_test): Likewise.
24718 (do_test): Likewise.
24719 * string/test-strcpy.c (do_one_test): Likewise.
24720 (do_test): Likewise.
24721 * string/test-string.h: Likewise.
24722 (test_init): Likewise.
24723 * string/test-strlen.c (do_one_test): Likewise.
24724 (do_test): Likewise.
24725 * string/test-strncasecmp.c (do_one_test): Likewise.
24726 (do_test): Likewise.
24727 * string/test-strncat.c (do_one_test): Likewise.
24728 (do_test): Likewise.
24729 * string/test-strncmp.c (do_one_test): Likewise.
24730 (do_test_limit): Likewise.
24731 (do_test): Likewise.
24732 * string/test-strncpy.c (do_one_test): Likewise.
24733 (do_test): Likewise.
24734 * string/test-strnlen.c (do_one_test): Likewise.
24735 (do_test): Likewise.
24736 * string/test-strpbrk.c (do_one_test): Likewise.
24737 (do_test): Likewise.
24738 * string/test-strrchr.c (do_one_test): Likewise.
24739 (do_test): Likewise.
24740 * string/test-strspn.c (do_one_test): Likewise.
24741 (do_test): Likewise.
24742 * string/test-strstr.c (do_one_test): Likewise.
24743 (do_test): Likewise.
24744
97020474
SP
24745 * benchtests/Makefile (string-bench): Add string benchmarks.
24746 * benchtests/bench-bcopy-ifunc.c: New file.
24747 * benchtests/bench-bcopy.c: New file.
24748 * benchtests/bench-bzero-ifunc.c: New file.
24749 * benchtests/bench-bzero.c: New file.
24750 * benchtests/bench-memccpy-ifunc.c: New file.
24751 * benchtests/bench-memccpy.c: New file.
24752 * benchtests/bench-memchr-ifunc.c: New file.
24753 * benchtests/bench-memchr.c: New file.
24754 * benchtests/bench-memcmp-ifunc.c: New file.
24755 * benchtests/bench-memcmp.c: New file.
24756 * benchtests/bench-memmem-ifunc.c: New file.
24757 * benchtests/bench-memmem.c: New file.
24758 * benchtests/bench-memmove-ifunc.c: New file.
24759 * benchtests/bench-memmove.c: New file.
24760 * benchtests/bench-mempcpy-ifunc.c: New file.
24761 * benchtests/bench-mempcpy.c: New file.
24762 * benchtests/bench-memset-ifunc.c: New file.
24763 * benchtests/bench-memset.c: New file.
24764 * benchtests/bench-rawmemchr-ifunc.c: New file.
24765 * benchtests/bench-rawmemchr.c: New file.
24766 * benchtests/bench-stpcpy-ifunc.c: New file.
24767 * benchtests/bench-stpcpy.c: New file.
24768 * benchtests/bench-stpncpy-ifunc.c: New file.
24769 * benchtests/bench-stpncpy.c: New file.
24770 * benchtests/bench-strcasecmp-ifunc.c: New file.
24771 * benchtests/bench-strcasecmp.c: New file.
24772 * benchtests/bench-strcasestr-ifunc.c: New file.
24773 * benchtests/bench-strcasestr.c: New file.
24774 * benchtests/bench-strcat-ifunc.c: New file.
24775 * benchtests/bench-strcat.c: New file.
24776 * benchtests/bench-strchr-ifunc.c: New file.
24777 * benchtests/bench-strchr.c: New file.
24778 * benchtests/bench-strchrnul-ifunc.c: New file.
24779 * benchtests/bench-strchrnul.c: New file.
24780 * benchtests/bench-strcmp-ifunc.c: New file.
24781 * benchtests/bench-strcmp.c: New file.
24782 * benchtests/bench-strcpy-ifunc.c: New file.
24783 * benchtests/bench-strcpy.c: New file.
24784 * benchtests/bench-strcspn-ifunc.c: New file.
24785 * benchtests/bench-strcspn.c: New file.
24786 * benchtests/bench-strlen-ifunc.c: New file.
24787 * benchtests/bench-strlen.c: New file.
24788 * benchtests/bench-strncasecmp-ifunc.c: New file.
24789 * benchtests/bench-strncasecmp.c: New file.
24790 * benchtests/bench-strncat-ifunc.c: New file.
24791 * benchtests/bench-strncat.c: New file.
24792 * benchtests/bench-strncmp-ifunc.c: New file.
24793 * benchtests/bench-strncmp.c: New file.
24794 * benchtests/bench-strncpy-ifunc.c: New file.
24795 * benchtests/bench-strncpy.c: New file.
24796 * benchtests/bench-strnlen-ifunc.c: New file.
24797 * benchtests/bench-strnlen.c: New file.
24798 * benchtests/bench-strpbrk-ifunc.c: New file.
24799 * benchtests/bench-strpbrk.c: New file.
24800 * benchtests/bench-strrchr-ifunc.c: New file.
24801 * benchtests/bench-strrchr.c: New file.
24802 * benchtests/bench-strspn-ifunc.c: New file.
24803 * benchtests/bench-strspn.c: New file.
24804 * benchtests/bench-strstr-ifunc.c: New file.
24805 * benchtests/bench-strstr.c: New file.
24806
c1f75dc3
SP
24807 * benchtests/Makefile: Disable parallel execution of targets.
24808 (string-bench): Add memcpy.
24809 (benchset): New variable to store a list of benchmark sets.
24810 (bench-func): Renamed from bench.
24811 (bench-set): New target.
24812 (bench): Depend on bench-func and bench-set.
24813 * benchtests/README: Add section on benchmark sets.
24814 * benchtests/bench-memcpy-ifunc.c: New file.
24815 * benchtests/bench-memcpy.c: New file.
24816 * benchtests/bench-string.h: New file.
24817
50fd745b
AS
248182013-06-11 Andreas Schwab <schwab@suse.de>
24819
24820 [BZ #15577]
24821 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24822 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24823 values in the triple.
24824 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24825 terminator in the group key.
24826
3ee7e9fe
AJ
248272013-06-11 Andreas Jaeger <aj@suse.de>
24828
24829 * po/zh_TW.po: Update Chinese (traditional) translation from
24830 translation project.
24831
89fb6835
SP
248322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24833
24834 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24835 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24836 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24838 (clock_getcpuclockid): Likewise.
24839 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24840 Add weak_alias and libc_hidden_def.
24841 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24842 * rt/clock_gettime.c (clock_gettime): Rename to
24843 __clock_gettime. Add weak_alias and libc_hidden_def.
24844 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24845 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24846 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24847 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24848 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24849 Likewise.
24850 * rt/clock_settime.c (clock_settime): Rename to
24851 __clock_settime. Add weak_alias and libc_hidden_def.
24852 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24853
0efa6f8b
JM
248542013-06-10 Joseph Myers <joseph@codesourcery.com>
24855
b8c61b4b
JM
24856 * mach/err_boot.sub: Remove trailing whitespace.
24857 * mach/err_ipc.sub: Likewise.
24858 * mach/err_mach.sub: Likewise.
24859
0efa6f8b
JM
24860 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24861 (ROUNDING_TESTS_double): Likewise.
24862 (ROUNDING_TESTS_long_double): Likewise.
24863 (ROUNDING_TESTS): Likewise.
24864 * math/libm-test.inc: Include <math-tests.h>.
24865 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24866 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24867 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24868 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24869
50b818bf
SP
248702013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24871
24872 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24873 of assigning.
24874
60d2f8f3
JM
248752013-06-08 Joseph Myers <joseph@codesourcery.com>
24876
4902d2c3
JM
24877 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24878 otherwise empty TRANS lines.
24879 * sysdeps/gnu/errlist.c: Regenerated.
24880
60d2f8f3
JM
24881 * catgets/gencat.c (error_print): Use (void) in function
24882 definition.
24883 * crypt/crypt_util.c (__init_des): Likewise.
24884 * crypt/speeds.c (Stop): Likewise.
24885 (main): Likewise.
24886 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24887 * inet/ruserpass.c (token): Likewise.
24888 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24889 * intl/localealias.c (extend_alias_table): Likewise.
24890 * intl/plural-exp.c (init_germanic_plural): Likewise.
24891 * libio/fcloseall.c (__fcloseall): Likewise.
24892 * libio/genops.c (_IO_flush_all): Likewise.
24893 (_IO_flush_all_linebuffered): Likewise.
24894 (_IO_cleanup): Likewise.
24895 (_IO_iter_begin): Likewise.
24896 (_IO_iter_end): Likewise.
24897 (_IO_list_lock): Likewise.
24898 (_IO_list_unlock): Likewise.
24899 (_IO_list_resetlock): Likewise.
24900 * libio/getchar.c (getchar): Likewise.
24901 * libio/getchar_u.c (getchar_unlocked): Likewise.
24902 * libio/getwchar.c (getwchar): Likewise.
24903 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24904 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24905 * login/getpt.c (__getpt): Likewise.
24906 * login/tst-utmp.c (main): Likewise.
24907 * malloc/hooks.c (__malloc_check_init): Likewise.
24908 * malloc/malloc.c (__malloc_stats): Likewise.
24909 * malloc/mtrace.c (tr_break): Likewise.
24910 (mtrace): Likewise.
24911 (muntrace): Likewise.
24912 * misc/fstab.c (endfsent): Likewise.
24913 * misc/getclktck.c (__getclktck): Likewise.
24914 * misc/getdtsz.c (__getdtablesize): Likewise.
24915 * misc/gethostid.c (gethostid): Likewise.
24916 * misc/getpagesize.c (__getpagesize): Likewise.
24917 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24918 (__get_nprocs): Likewise.
24919 (__get_phys_pages): Likewise.
24920 (__get_avphys_pages): Likewise.
24921 * misc/getttyent.c (getttyent): Likewise.
24922 (setttyent): Likewise.
24923 (endttyent): Likewise.
24924 * misc/getusershell.c (getusershell): Likewise.
24925 (endusershell): Likewise.
24926 (setusershell): Likewise.
24927 (initshells): Likewise.
24928 * misc/hsearch.c (__hdestroy): Likewise.
24929 * misc/sync.c (sync): Likewise.
24930 * misc/syslog.c (closelog_internal): Likewise.
24931 (closelog): Likewise.
24932 * misc/ttyslot.c (ttyslot): Likewise.
24933 * misc/vhangup.c (vhangup): Likewise.
24934 * posix/fork.c (__fork): Likewise.
24935 * posix/getegid.c (__getegid): Likewise.
24936 * posix/geteuid.c (__geteuid): Likewise.
24937 * posix/getgid.c (__getgid): Likewise.
24938 * posix/getpid.c (__getpid): Likewise.
24939 * posix/getppid.c (__getppid): Likewise.
24940 * posix/getuid.c (__getuid): Likewise.
24941 * posix/pause.c (pause): Likewise.
24942 * posix/setpgrp.c (setpgrp): Likewise.
24943 * posix/setsid.c (__setsid): Likewise.
24944 * posix/test-vfork.c (noop): Likewise.
24945 * resolv/gethnamaddr.c (_endhtent): Likewise.
24946 (_gethtent): Likewise.
24947 (ht_endhostent): Likewise.
24948 (gethostent): Likewise.
24949 (dns_service): Likewise.
24950 * stdlib/drand48.c (drand48): Likewise.
24951 * stdlib/lrand48.c (lrand48): Likewise.
24952 * stdlib/mrand48.c (mrand48): Likewise.
24953 * stdlib/rand.c (rand): Likewise.
24954 * stdlib/random.c (__random): Likewise.
24955 * stdlib/setenv.c (clearenv): Likewise.
24956 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24957 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24958 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24959 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24960 (__get_nprocs): Likewise.
24961 (__get_phys_pages): Likewise.
24962 (__get_avphys_pages): Likewise.
24963 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24964 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24965 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24966 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24967 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24968 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24969 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24970 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24971 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24972 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24973 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24974 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24975 * sysdeps/posix/clock.c (clock): Likewise.
24976 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24977 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24978 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24979 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24980 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24981 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24982 (__get_nprocs_conf): Likewise.
24983 (__get_phys_pages): Likewise.
24984 (__get_avphys_pages): Likewise.
24985 * time/clock.c (clock): Likewise.
24986 * time/tzset.c (__tzname_max): Likewise.
24987
2e09a79a
JM
249882013-06-07 Joseph Myers <joseph@codesourcery.com>
24989
24990 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24991 (__bswap_32): Do not use "register".
24992 * crypt/crypt.c (_ufc_doit_r): Likewise.
24993 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24994 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24995 * gmon/gmon.c (__monstartup): Likewise.
24996 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24997 * hurd/hurdmalloc.c (more_memory): Likewise.
24998 (malloc): Likewise.
24999 (free): Likewise.
25000 (realloc): Likewise.
25001 (malloc_fork_prepare): Likewise.
25002 (malloc_fork_parent): Likewise.
25003 (malloc_fork_child): Likewise.
25004 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25005 (_svcauth_des): Likewise.
25006 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25007 * inet/inet_net.c (inet_network): Likewise.
25008 * inet/inet_netof.c (inet_netof): Likewise.
25009 * inet/rcmd.c (__validuser2_sa): Likewise.
25010 * io/fts.c (fts_open): Likewise.
25011 (fts_load): Likewise.
25012 (fts_close): Likewise.
25013 (fts_read): Likewise.
25014 (fts_children): Likewise.
25015 (fts_build): Likewise.
25016 (fts_stat): Likewise.
25017 (fts_sort): Likewise.
25018 (fts_alloc): Likewise.
25019 (fts_lfree): Likewise.
25020 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25021 (_IO_file_xsgetn): Likewise.
25022 (_IO_file_xsgetn_mmap): Likewise.
25023 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25024 (_IO_cookie_write): Likewise.
25025 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25026 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25027 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25028 * malloc/obstack.c (_obstack_begin): Likewise.
25029 (_obstack_begin_1): Likewise.
25030 (_obstack_newchunk): Likewise.
25031 (_obstack_allocated_p): Likewise.
25032 (obstack_free): Likewise.
25033 (_obstack_memory_used): Likewise.
25034 * misc/getttyent.c (getttynam): Likewise.
25035 (getttyent): Likewise.
25036 (skip): Likewise.
25037 (value): Likewise.
25038 * misc/getusershell.c (initshells): Likewise.
25039 * misc/syslog.c (__vsyslog_chk): Likewise.
25040 * misc/ttyslot.c (ttyslot): Likewise.
25041 * nis/nis_hash.c (__nis_hash): Likewise.
25042 * posix/fnmatch_loop.c (FCT): Likewise.
25043 * posix/getconf.c (print_all): Likewise.
25044 (main): Likewise.
25045 * posix/getopt.c (exchange): Likewise.
25046 * posix/glob.c (globfree): Likewise.
25047 (prefix_array): Likewise.
25048 (__glob_pattern_type): Likewise.
25049 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25050 (NS_GET32): Likewise.
25051 (NS_PUT16): Likewise.
25052 (NS_PUT32): Likewise.
25053 * resolv/gethnamaddr.c (getanswer): Likewise.
25054 (gethostbyname2): Likewise.
25055 (gethostbyaddr): Likewise.
25056 (_gethtent): Likewise.
25057 (_gethtbyname2): Likewise.
25058 (_gethtbyaddr): Likewise.
25059 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25060 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25061 * resolv/res_init.c (__res_vinit): Likewise.
25062 (net_mask): Likewise.
25063 * resolv/res_mkquery.c (outchar): Likewise.
25064 (PRINT): Likewise.
25065 * stdio-common/printf_fp.c (outchar): Likewise.
25066 (PRINT): Likewise.
25067 * stdio-common/printf_fphex.c (outchar): Likewise.
25068 (PRINT): Likewise.
25069 * stdio-common/printf_size.c (outchar): Likewise.
25070 (PRINT): Likewise.
25071 * stdio-common/test_rdwr.c (main): Likewise.
25072 * stdio-common/tfformat.c (matches): Likewise.
25073 * stdio-common/vfprintf.c (outchar): Likewise.
25074 (printf_unknown): Likewise.
25075 (buffered_vfprintf): Likewise.
25076 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25077 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25078 (ReadFile): Likewise.
25079 * stdlib/qsort.c (SWAP): Likewise.
25080 (_quicksort): Likewise.
25081 * stdlib/setenv.c (__add_to_environ): Likewise.
25082 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25083 * stdlib/strtol_l.c (__strtol_l): Likewise.
25084 * stdlib/tst-strtod.c (main): Likewise.
25085 * stdlib/tst-strtol.c (main): Likewise.
25086 * stdlib/tst-strtoll.c (main): Likewise.
25087 * string/bits/string2.h (__strcmp_cc): Likewise.
25088 (__strcmp_cg): Likewise.
25089 (__strcspn_c1): Likewise.
25090 (__strcspn_c2): Likewise.
25091 (__strcspn_c3): Likewise.
25092 (__strspn_c1): Likewise.
25093 (__strspn_c2): Likewise.
25094 (__strspn_c3): Likewise.
25095 (__strsep_1c): Likewise.
25096 (__strsep_2c): Likewise.
25097 (__strsep_3c): Likewise.
25098 * string/memccpy.c (__memccpy): Likewise.
25099 * string/stpcpy.c (__stpcpy): Likewise.
25100 * string/strcmp.c (strcmp): Likewise.
25101 * string/strrchr.c (strrchr): Likewise.
25102 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25103 Likewise.
25104 * sysdeps/mach/hurd/getcwd.c
25105 (_hurd_canonicalize_directory_name_internal): Likewise.
25106 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25107 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25108 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25109 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25110 Likewise, in both definitions.
25111 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25112 definitions.
25113 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25114 64] (__bswap_64): Likewise.
25115 * time/test_time.c (main): Likewise.
25116 * time/tzfile.c (__tzfile_read): Likewise.
25117 (__tzfile_compute): Likewise.
25118 * time/tzset.c (__tzset_parse_tz): Likewise.
25119 (tzset_internal): Likewise.
25120 (compute_change): Likewise.
25121 * wcsmbs/wcscat.c (__wcscat): Likewise.
25122 * wcsmbs/wcschr.c (wcschr): Likewise.
25123 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25124 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25125 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25126 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25127 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25128 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25129 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25130 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25131 * wcsmbs/wmemset.c (wmemset): Likewise.
25132
9e54314b
JM
251332013-06-06 Joseph Myers <joseph@codesourcery.com>
25134
25135 * scripts/config.guess: Update to version 2013-05-16.
25136 * scripts/config.sub: Update to version 2013-04-24.
25137 * scripts/install-sh: Update to version 2011-11-20.07.
25138 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25139 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25140
350635a5
OB
251412013-06-06 Ondřej Bílka <neleai@seznam.cz>
25142
25143 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25144 * elf/sln.c: Likewise.
25145 * hurd/hurd/ioctl.h: Likewise.
25146 * hurd/hurdmalloc.c: Likewise.
25147 * hurd/xattr.c: Likewise.
25148 * include/shlib-compat.h: Likewise.
25149 * inet/ruserpass.c: Likewise.
25150 * libio/iofgets_u.c: Likewise.
25151 * libio/iofgetws_u.c: Likewise.
25152 * locale/programs/ld-identification.c: Likewise.
25153 * locale/programs/ld-time.c: Likewise.
25154 * mach/msg-destroy.c: Likewise.
25155 * nss/nss_files/files-netgrp.c: Likewise.
25156 * resolv/res_data.c: Likewise.
25157 * soft-fp/op-1.h: Likewise.
25158 * soft-fp/op-2.h: Likewise.
25159 * soft-fp/op-4.h: Likewise.
25160 * soft-fp/op-common.h: Likewise.
25161 * stdio-common/printf_fphex.c: Likewise.
25162 * stdlib/strtod_l.c: Likewise.
25163 * sunrpc/rpc/clnt.h: Likewise.
25164 * sysdeps/generic/framestate.c: Likewise.
25165 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25166 * sysdeps/i386/bsd-setjmp.S: Likewise.
25167 * sysdeps/i386/__longjmp.S: Likewise.
25168 * sysdeps/i386/setjmp.S: Likewise.
25169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25170 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25171 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25172 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25173 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25174 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25180 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25187 * sysdeps/ieee754/support.c: Likewise.
25188 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25189 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25190 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25191 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25192 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25193 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25194 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25195 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25196 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25197 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25198 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25199 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25200 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25201 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25202 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25203 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25204 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25206
44a988af
OB
252072013-06-05 Ondřej Bílka <neleai@seznam.cz>
25208
25506f09 25209 * posix/transbug.c: Remove executable mode.
44a988af 25210
9c84384c
JM
252112013-06-05 Joseph Myers <joseph@codesourcery.com>
25212
25213 * crypt/speeds.c: Remove trailing whitespace.
25214 * dlfcn/default.c: Likewise.
25215 * elf/ifuncdep2.c: Likewise.
25216 * elf/ifuncmain1.c: Likewise.
25217 * elf/ifuncmain1vis.c: Likewise.
25218 * elf/testobj.h: Likewise.
25219 * elf/tst-stackguard1.c: Likewise.
25220 * gmon/sys/gmon.h: Likewise.
25221 * hurd/hurdmsg.c: Likewise.
25222 * hurd/new-fd.c: Likewise.
25223 * hurd/ports-get.c: Likewise.
25224 * iconvdata/ibm1008_420.c: Likewise.
25225 * inet/tst-getni1.c: Likewise.
25226 * inet/tst-getni2.c: Likewise.
25227 * libio/ioungetc.c: Likewise.
25228 * libio/wfiledoalloc.c: Likewise.
25229 * manual/libm-err-tab.pl: Likewise.
25230 * math/w_dremf.c: Likewise.
25231 * misc/ftruncate.c: Likewise.
25232 * posix/bug-glob2.c: Likewise.
25233 * posix/tst-pcre.c: Likewise.
25234 * posix/wait4.c: Likewise.
25235 * resolv/README: Likewise.
25236 * resolv/res_debug.h: Likewise.
25237 * resolv/tst-inet_ntop.c: Likewise.
25238 * setjmp/bug269-setjmp.c: Likewise.
25239 * soft-fp/extended.h: Likewise.
25240 * soft-fp/op-1.h: Likewise.
25241 * soft-fp/op-2.h: Likewise.
25242 * soft-fp/op-4.h: Likewise.
25243 * soft-fp/op-8.h: Likewise.
25244 * soft-fp/testit.c: Likewise.
25245 * stdio-common/bug16.c: Likewise.
25246 * stdlib/random.c: Likewise.
25247 * sunrpc/rpcsvc/rquota.x: Likewise.
25248 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25249 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25250 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25251 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25252 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25253 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25254 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25255 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25256 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25257 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25258 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25259 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25260 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25264 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25266 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25272 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25277 * sysdeps/ieee754/s_lib_version.c: Likewise.
25278 * sysdeps/mach/hurd/check_fds.c: Likewise.
25279 * sysdeps/mach/hurd/getsockname.c: Likewise.
25280 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25281 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25282 * sysdeps/powerpc/bits/link.h: Likewise.
25283 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25284 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25285 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25286 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25287 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25288 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25289 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25290 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25291 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25292 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25293 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25294 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25295 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25296 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25297 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25298 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25299 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25300 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25301 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25302 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25303 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25304 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25306 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25307 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25308 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25309 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25310 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25311 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25314 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25315 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25316 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25317 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25318 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25319 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25320 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25321 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25322 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25323 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25324 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25325 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25326 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25327 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25328 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25330 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25331 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25332 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25334 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25335 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25337 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25338 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25339 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25340 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25342 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25343 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25344 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25345 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25346 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25347 * sysdeps/powerpc/sysdep.h: Likewise.
25348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25349 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25350 * sysdeps/sh/dl-trampoline.S: Likewise.
25351 * sysdeps/sh/memset.S: Likewise.
25352 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25353 * sysdeps/sh/strlen.S: Likewise.
25354 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25355 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25356 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25357 * sysdeps/sparc/sparc32/rem.S: Likewise.
25358 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25359 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25360 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25361 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25362 * sysdeps/sparc/sparc32/urem.S: Likewise.
25363 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25364 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25365 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25366 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25367 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25368 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25369 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25370 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25371 * sysdeps/unix/bsd/times.c: Likewise.
25372 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25373 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25377 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25378 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25379 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25380 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25381 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25382 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25383 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25384 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25385 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25386 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25387 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25388 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25389 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25390 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25391 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25392 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25393 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25394 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25395 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25396 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25397 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25398 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25399 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25400 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25401 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25402 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25403 * sysdeps/x86_64/strcspn.S: Likewise.
25404
869378a5
RA
254052013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25406
25407 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25408 generated file. Regenerate properly from gen-translit.pl.
25409 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25410 locale/C-translit.h.
25411
840e2943
AS
254122013-06-05 Andreas Schwab <schwab@suse.de>
25413
25414 [BZ #15100]
25415 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25416 week as 6 instead of -1.
25417 * time/tst-strptime.c (day_tests): Add test case.
25418
4c60cb0c
SP
254192013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25420
25421 * sysdeps/generic/math_private.h
25422 (libc_feholdexcept_setround_53bit): Replace with
25423 libc_feholdsetround_53bit.
25424 (libc_feupdateenv_53bit): Replace with
25425 libc_feresetround_53bit.
25426 (SET_RESTORE_ROUND_53BIT): Adjust.
25427
d180203e
SP
254282013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25429
96df079a
SP
25430 * string/test-strchrnul.c: Add copyright header.
25431
d180203e
SP
25432 * posix/tst-getaddrinfo4.c: Increase test timeout.
25433
8b0ccb2d
CD
254342013-06-03 Carlos O'Donell <carlos@redhat.com>
25435
25436 [BZ #15536]
25437 * math/libm-test.inc (MAX_EXP): Remove
25438 (MIN_EXP): Define.
25439 (ulp): Use MIN_EXP - MANT_DIG.
25440 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25441
3b3c4d40
CD
254422013-05-31 Carlos O'Donell <carlos@redhat.com>
25443
25444 * po/be.po: Revert last change.
25445 * po/zh_CN.po: Likewise.
25446 * po/header.pot: Likewise.
25447
fab7ce3f
JM
254482013-05-31 Joseph Myers <joseph@codesourcery.com>
25449
25450 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25451 link-libc-deps to empty as target-specific variable.
25452 * Makerules (link-libc-args): New variable.
25453 (libc-for-link): Likewise.
25454 (link-libc-deps): Likewise.
25455 (lib%.so): Depend on $(link-libc-deps). Link with
25456 $(link-libc-args).
25457 (build-module): Link with $(link-libc-args).
25458 (build-module-asneeded): Likewise.
25459 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25460 list of objects.
25461 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25462 target-specific variable.
25463 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25464 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25465 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25466 libc.
25467 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25468 libc and ld.so.
25469 ($(objpfx)libpcprofile.so): Likewise.
25470 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25471 libc_nonshared.a.
25472 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25473 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25474 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25475 $(link-libc-deps).
25476 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25477 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25478 * login/Makefile ($(objpfx)libutil.so): Likewise.
25479 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25480 * math/Makefile ($(objpfx)libm.so): Likewise.
25481 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25482 $(objpfx)libnsl.so): Define libc-for-link as target-specific
25483 variable instead of depending directly on libc.
25484 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25485 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25486 $(link-libc-deps).
25487 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25488 libc.
25489 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25490 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25491 ($(objpfx)libanl.so): Likewise.
25492 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25493 ld.so.
25494 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25495 $(link-libc-deps).
25496 * sysdeps/i386/fpu/Makefile: Remove file.
25497 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25498 ($(objpfx)libm.so): Remove dependency on ld.so.
25499
eca5920c
PF
255002013-05-30 Patsy Franklin <pfrankli@redhat.com>
25501
25502 [BZ # 15553]
25503 * nis/yp_xdr.c (XDRMAXNAME): Define.
25504 (XDRMAXRECORD): Define.
25505 (xdr_domainname): Use XDRMAXNAME.
25506 (xdr_mapname): Likewise.
25507 (xdr_peername): Likewise.
25508 (xdr_keydat): Use XDRMAXRECORD.
25509 (xdr_valdat): Likewise.
25510
255112013-05-30 Jeff Law <law@redhat.com>
96945714
JL
25512
25513 [BZ #14256]
25514 * manual/errno.texi (ESTALE): Update to account for more than
25515 just NFS file systems.
25516 * sysdeps/gnu/errlist.c: Regenerated.
25517
b9375348
SP
255182013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25519
25520 [BZ #15465]
25521 * elf/Makefile (tests): Add tst-null-argv.
25522 (modules-names): Add tst-null-argv-lib.
25523 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25524 (tst-null-argv-ENV): Set environment for tst-null-argv.
25525 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25526 (RTLD_PROGNAME): New macro.
25527 * elf/tst-null-argv.c: New test case.
25528 * elf/tst-null-argv-lib.c: Library for test case.
25529 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25530 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25531 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25532 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25533 * elf/dl-init.c (call_init): Likewise.
25534 (_dl_init): Likewise.
25535 * elf/dl-load.c (print_search_path): Likewise.
25536 (_dl_map_object): Likewise.
25537 * elf/dl-lookup.c (do_lookup_x): Likewise.
25538 (add_dependency): Likewise.
25539 (_dl_lookup_symbol_x): Likewise.
25540 (_dl_debug_bindings): Likewise.
25541 * elf/dl-open.c (_dl_show_scope): Likewise.
25542 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25543 * elf/dl-version.c (match_symbol): Likewise.
25544 (_dl_check_map_versions): Likewise.
25545 * elf/rtld.c (dl_main): Likewise.
25546 (print_unresolved): Use RTLD_PROGNAME.
25547 (print_missing_version): Likewise.
25548 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25549 (elf_machine_rela): Likewise.
25550 * sysdeps/powerpc/powerpc32/dl-machine.c
25551 (__process_machine_rela): Likewise.
25552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25553 Likewise.
25554 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25555 Likewise.
25556 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25557 Likewise.
25558 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25559 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25560 Likewise.
25561 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25562 Likewise.
25563 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25564
8a9f20c8
CD
255652013-05-28 Carlos O'Donell <carlos@redhat.com>
25566
25567 * po/be.po: Add descriptive title.
25568 * po/zh_CN.po: Likewise.
25569 * po/header.pot: Likewise.
25570
0e60d68e
MF
255712013-05-28 Mike Frysinger <vapier@gentoo.org>
25572
25573 * locale/programs/locarchive.c (create_archive): Inlucde fname in
25574 error message.
25575 (enlarge_archive): Likewise.
25576
56b672e9
BN
255772013-05-28 Ben North <ben@redfrontdoor.org>
25578
25579 * manual/arith.texi (frexp): It is the magnitude of the return
25580 value which lies in [0.5, 1), not the return value itself.
25581
5e056687
AZ
255822013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25583
25584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25585
2b66ef5d
TS
255862013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25587
528c2405
TS
25588 * stdio-common/bug26.c (main): Correct fscanf template.
25589
07b4c13d
TS
25590 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25591 declare _dl_skip_args.
25592
ec9dd97c
TS
25593 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25594 Don't declare.
25595
2b66ef5d
TS
25596 * manual/platform.texi: Add missing @end deftypefun.
25597
4f8dfe27
JM
255982013-05-24 Joseph Myers <joseph@codesourcery.com>
25599
0323d086
JM
25600 [BZ #15529]
25601 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25602 bit of mantissa of 2^16382.
25603 * math/libm-test.inc (hypot_test_data): Add more tests.
25604
dd4259b9
JM
25605 * math/libm-test.inc: Add drem and pow10 to list of tested
25606 functions.
25607 (pow10_test): New function.
25608 (drem_test): Likewise.
25609 (drem_test_tonearest): Likewise.
25610 (drem_test_towardzero): Likewise.
25611 (drem_test_downward): Likewise.
25612 (drem_test_upward): Likewise.
25613 (main): Call the new functions.
25614
4f8dfe27
JM
25615 * math/libm-test.inc (finite_test_data): Remove.
25616 (finite_test): Run tests from isfinite_test_data.
25617 (gamma_test_data): Remove.
25618 (gamma_test): Run tests from lgamma_test_data.
25619 * sysdeps/i386/fpu/libm-test-ulps: Update.
25620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25621
d116b7c4
AZ
256222013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25623
25624 * manual/platform.texi: Add PowerPC PPR function set documentation.
25625 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25626 implementation.
25627
e96e3767
CD
256282013-05-24 Carlos O'Donell <carlos@redhat.com>
25629
25630 * math/libm-test.inc (MAX_EXP): Define.
25631 (ULPDIFF): Define.
25632 (ulp): New function.
25633 (check_float_internal): Use ULPDIFF.
25634 (cpow_test): Disable failing test.
25635 (check_ulp): Test ulp() implemetnation.
25636 (main): Call check_ulp before starting tests.
25637
b679a606
JM
256382013-05-24 Joseph Myers <joseph@codesourcery.com>
25639
e8bdba36
JM
25640 * math/gen-libm-test.pl (generate_testfile): Do not handle
25641 START_DATA and END_DATA.
25642 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25643 END_DATA.
25644 (acos_tonearest_test_data): Likewise.
25645 (acos_towardzero_test_data): Likewise.
25646 (acos_downward_test_data): Likewise.
25647 (acos_upward_test_data): Likewise.
25648 (acosh_test_data): Likewise.
25649 (asin_test_data): Likewise.
25650 (asin_tonearest_test_data): Likewise.
25651 (asin_towardzero_test_data): Likewise.
25652 (asin_downward_test_data): Likewise.
25653 (asin_upward_test_data): Likewise.
25654 (asinh_test_data): Likewise.
25655 (atan_test_data): Likewise.
25656 (atanh_test_data): Likewise.
25657 (atan2_test_data): Likewise.
25658 (cabs_test_data): Likewise.
25659 (cacos_test_data): Likewise.
25660 (cacosh_test_data): Likewise.
25661 (carg_test_data): Likewise.
25662 (casin_test_data): Likewise.
25663 (casinh_test_data): Likewise.
25664 (catan_test_data): Likewise.
25665 (catanh_test_data): Likewise.
25666 (cbrt_test_data): Likewise.
25667 (ccos_test_data): Likewise.
25668 (ccosh_test_data): Likewise.
25669 (ceil_test_data): Likewise.
25670 (cexp_test_data): Likewise.
25671 (cimag_test_data): Likewise.
25672 (clog_test_data): Likewise.
25673 (clog10_test_data): Likewise.
25674 (conj_test_data): Likewise.
25675 (copysign_test_data): Likewise.
25676 (cos_test_data): Likewise.
25677 (cos_tonearest_test_data): Likewise.
25678 (cos_towardzero_test_data): Likewise.
25679 (cos_downward_test_data): Likewise.
25680 (cos_upward_test_data): Likewise.
25681 (cosh_test_data): Likewise.
25682 (cosh_tonearest_test_data): Likewise.
25683 (cosh_towardzero_test_data): Likewise.
25684 (cosh_downward_test_data): Likewise.
25685 (cosh_upward_test_data): Likewise.
25686 (cpow_test_data): Likewise.
25687 (cproj_test_data): Likewise.
25688 (creal_test_data): Likewise.
25689 (csin_test_data): Likewise.
25690 (csinh_test_data): Likewise.
25691 (csqrt_test_data): Likewise.
25692 (ctan_test_data): Likewise.
25693 (ctan_tonearest_test_data): Likewise.
25694 (ctan_towardzero_test_data): Likewise.
25695 (ctan_downward_test_data): Likewise.
25696 (ctan_upward_test_data): Likewise.
25697 (ctanh_test_data): Likewise.
25698 (ctanh_tonearest_test_data): Likewise.
25699 (ctanh_towardzero_test_data): Likewise.
25700 (ctanh_downward_test_data): Likewise.
25701 (ctanh_upward_test_data): Likewise.
25702 (erf_test_data): Likewise.
25703 (erfc_test_data): Likewise.
25704 (exp_test_data): Likewise.
25705 (exp_tonearest_test_data): Likewise.
25706 (exp_towardzero_test_data): Likewise.
25707 (exp_downward_test_data): Likewise.
25708 (exp_upward_test_data): Likewise.
25709 (exp10_test_data): Likewise.
25710 (exp2_test_data): Likewise.
25711 (expm1_test_data): Likewise.
25712 (fabs_test_data): Likewise.
25713 (fdim_test_data): Likewise.
25714 (finite_test_data): Likewise.
25715 (floor_test_data): Likewise.
25716 (fma_test_data): Likewise.
25717 (fma_towardzero_test_data): Likewise.
25718 (fma_downward_test_data): Likewise.
25719 (fma_upward_test_data): Likewise.
25720 (fmax_test_data): Likewise.
25721 (fmin_test_data): Likewise.
25722 (fmod_test_data): Likewise.
25723 (fpclassify_test_data): Likewise.
25724 (frexp_test_data): Likewise.
25725 (gamma_test_data): Likewise.
25726 (hypot_test_data): Likewise.
25727 (ilogb_test_data): Likewise.
25728 (isfinite_test_data): Likewise.
25729 (isgreater_test_data): Likewise.
25730 (isgreaterequal_test_data): Likewise.
25731 (isinf_test_data): Likewise.
25732 (isless_test_data): Likewise.
25733 (islessequal_test_data): Likewise.
25734 (islessgreater_test_data): Likewise.
25735 (isnan_test_data): Likewise.
25736 (isnormal_test_data): Likewise.
25737 (issignaling_test_data): Likewise.
25738 (isunordered_test_data): Likewise.
25739 (j0_test_data): Likewise.
25740 (j1_test_data): Likewise.
25741 (jn_test_data): Likewise.
25742 (ldexp_test_data): Likewise.
25743 (lgamma_test_data): Likewise.
25744 (lrint_test_data): Likewise.
25745 (lrint_tonearest_test_data): Likewise.
25746 (lrint_towardzero_test_data): Likewise.
25747 (lrint_downward_test_data): Likewise.
25748 (lrint_upward_test_data): Likewise.
25749 (llrint_test_data): Likewise.
25750 (llrint_tonearest_test_data): Likewise.
25751 (llrint_towardzero_test_data): Likewise.
25752 (llrint_downward_test_data): Likewise.
25753 (llrint_upward_test_data): Likewise.
25754 (log_test_data): Likewise.
25755 (log10_test_data): Likewise.
25756 (log1p_test_data): Likewise.
25757 (log2_test_data): Likewise.
25758 (logb_test_data): Likewise.
25759 (logb_downward_test_data): Likewise.
25760 (lround_test_data): Likewise.
25761 (llround_test_data): Likewise.
25762 (modf_test_data): Likewise.
25763 (nearbyint_test_data): Likewise.
25764 (nextafter_test_data): Likewise.
25765 (nexttoward_test_data): Likewise.
25766 (pow_test_data): Likewise.
25767 (pow_tonearest_test_data): Likewise.
25768 (pow_towardzero_test_data): Likewise.
25769 (pow_downward_test_data): Likewise.
25770 (pow_upward_test_data): Likewise.
25771 (remainder_test_data): Likewise.
25772 (remainder_tonearest_test_data): Likewise.
25773 (remainder_towardzero_test_data): Likewise.
25774 (remainder_downward_test_data): Likewise.
25775 (remainder_upward_test_data): Likewise.
25776 (remquo_test_data): Likewise.
25777 (rint_test_data): Likewise.
25778 (rint_tonearest_test_data): Likewise.
25779 (rint_towardzero_test_data): Likewise.
25780 (rint_downward_test_data): Likewise.
25781 (rint_upward_test_data): Likewise.
25782 (round_test_data): Likewise.
25783 (scalb_test_data): Likewise.
25784 (scalbn_test_data): Likewise.
25785 (scalbln_test_data): Likewise.
25786 (signbit_test_data): Likewise.
25787 (sin_test_data): Likewise.
25788 (sin_tonearest_test_data): Likewise.
25789 (sin_towardzero_test_data): Likewise.
25790 (sin_downward_test_data): Likewise.
25791 (sin_upward_test_data): Likewise.
25792 (sincos_test_data): Likewise.
25793 (sinh_test_data): Likewise.
25794 (sinh_tonearest_test_data): Likewise.
25795 (sinh_towardzero_test_data): Likewise.
25796 (sinh_downward_test_data): Likewise.
25797 (sinh_upward_test_data): Likewise.
25798 (sqrt_test_data): Likewise.
25799 (tan_test_data): Likewise.
25800 (tan_tonearest_test_data): Likewise.
25801 (tan_towardzero_test_data): Likewise.
25802 (tan_downward_test_data): Likewise.
25803 (tan_upward_test_data): Likewise.
25804 (tanh_test_data): Likewise.
25805 (tgamma_test_data): Likewise.
25806 (trunc_test_data): Likewise.
25807 (y0_test_data): Likewise.
25808 (y1_test_data): Likewise.
25809 (yn_test_data): Likewise.
25810 (significand_test_data): Likewise.
25811
b679a606
JM
25812 * math/gen-libm-test.pl (@functions): Remove variable.
25813 (generate_testfile): Don't handle START and END lines.
25814 * math/libm-test.inc (START): New macro.
25815 (END): Likewise.
25816 (END_COMPLEX): Likewise.
25817 (acos_test): Use END macro without arguments.
25818 (acos_test_tonearest): Likewise.
25819 (acos_test_towardzero): Likewise.
25820 (acos_test_downward): Likewise.
25821 (acos_test_upward): Likewise.
25822 (acosh_test): Likewise.
25823 (asin_test): Likewise.
25824 (asin_test_tonearest): Likewise.
25825 (asin_test_towardzero): Likewise.
25826 (asin_test_downward): Likewise.
25827 (asin_test_upward): Likewise.
25828 (asinh_test): Likewise.
25829 (atan_test): Likewise.
25830 (atanh_test): Likewise.
25831 (atan2_test): Likewise.
25832 (cabs_test): Likewise.
25833 (cacos_test): Use END_COMPLEX macro without arguments.
25834 (cacosh_test): Likewise.
25835 (carg_test): Use END macro without arguments.
25836 (casin_test): Use END_COMPLEX macro without arguments.
25837 (casinh_test): Likewise.
25838 (catan_test): Likewise.
25839 (catanh_test): Likewise.
25840 (cbrt_test): Use END macro without arguments.
25841 (ccos_test): Use END_COMPLEX macro without arguments.
25842 (ccosh_test): Likewise.
25843 (ceil_test): Use END macro without arguments.
25844 (cexp_test): Use END_COMPLEX macro without arguments.
25845 (cimag_test): Use END macro without arguments.
25846 (clog_test): Use END_COMPLEX macro without arguments.
25847 (clog10_test): Likewise.
25848 (conj_test): Likewise.
25849 (copysign_test): Use END macro without arguments.
25850 (cos_test): Likewise.
25851 (cos_test_tonearest): Likewise.
25852 (cos_test_towardzero): Likewise.
25853 (cos_test_downward): Likewise.
25854 (cos_test_upward): Likewise.
25855 (cosh_test): Likewise.
25856 (cosh_test_tonearest): Likewise.
25857 (cosh_test_towardzero): Likewise.
25858 (cosh_test_downward): Likewise.
25859 (cosh_test_upward): Likewise.
25860 (cpow_test): Use END_COMPLEX macro without arguments.
25861 (cproj_test): Likewise.
25862 (creal_test): Use END macro without arguments.
25863 (csin_test): Use END_COMPLEX macro without arguments.
25864 (csinh_test): Likewise.
25865 (csqrt_test): Likewise.
25866 (ctan_test): Likewise.
25867 (ctan_test_tonearest): Likewise.
25868 (ctan_test_towardzero): Likewise.
25869 (ctan_test_downward): Likewise.
25870 (ctan_test_upward): Likewise.
25871 (ctanh_test): Likewise.
25872 (ctanh_test_tonearest): Likewise.
25873 (ctanh_test_towardzero): Likewise.
25874 (ctanh_test_downward): Likewise.
25875 (ctanh_test_upward): Likewise.
25876 (erf_test): Use END macro without arguments.
25877 (erfc_test): Likewise.
25878 (exp_test): Likewise.
25879 (exp_test_tonearest): Likewise.
25880 (exp_test_towardzero): Likewise.
25881 (exp_test_downward): Likewise.
25882 (exp_test_upward): Likewise.
25883 (exp10_test): Likewise.
25884 (exp2_test): Likewise.
25885 (expm1_test): Likewise.
25886 (fabs_test): Likewise.
25887 (fdim_test): Likewise.
25888 (finite_test): Likewise.
25889 (floor_test): Likewise.
25890 (fma_test): Likewise.
25891 (fma_test_towardzero): Likewise.
25892 (fma_test_downward): Likewise.
25893 (fma_test_upward): Likewise.
25894 (fmax_test): Likewise.
25895 (fmin_test): Likewise.
25896 (fmod_test): Likewise.
25897 (fpclassify_test): Likewise.
25898 (frexp_test): Likewise.
25899 (gamma_test): Likewise.
25900 (hypot_test): Likewise.
25901 (ilogb_test): Likewise.
25902 (isfinite_test): Likewise.
25903 (isgreater_test): Likewise.
25904 (isgreaterequal_test): Likewise.
25905 (isinf_test): Likewise.
25906 (isless_test): Likewise.
25907 (islessequal_test): Likewise.
25908 (islessgreater_test): Likewise.
25909 (isnan_test): Likewise.
25910 (isnormal_test): Likewise.
25911 (issignaling_test): Likewise.
25912 (isunordered_test): Likewise.
25913 (j0_test): Likewise.
25914 (j1_test): Likewise.
25915 (jn_test): Likewise.
25916 (ldexp_test): Likewise.
25917 (lgamma_test): Likewise.
25918 (lrint_test): Likewise.
25919 (lrint_test_tonearest): Likewise.
25920 (lrint_test_towardzero): Likewise.
25921 (lrint_test_downward): Likewise.
25922 (lrint_test_upward): Likewise.
25923 (llrint_test): Likewise.
25924 (llrint_test_tonearest): Likewise.
25925 (llrint_test_towardzero): Likewise.
25926 (llrint_test_downward): Likewise.
25927 (llrint_test_upward): Likewise.
25928 (log_test): Likewise.
25929 (log10_test): Likewise.
25930 (log1p_test): Likewise.
25931 (log2_test): Likewise.
25932 (logb_test): Likewise.
25933 (logb_test_downward): Likewise.
25934 (lround_test): Likewise.
25935 (llround_test): Likewise.
25936 (modf_test): Likewise.
25937 (nearbyint_test): Likewise.
25938 (nextafter_test): Likewise.
25939 (nexttoward_test): Likewise.
25940 (pow_test): Likewise.
25941 (pow_test_tonearest): Likewise.
25942 (pow_test_towardzero): Likewise.
25943 (pow_test_downward): Likewise.
25944 (pow_test_upward): Likewise.
25945 (remainder_test): Likewise.
25946 (remainder_test_tonearest): Likewise.
25947 (remainder_test_towardzero): Likewise.
25948 (remainder_test_downward): Likewise.
25949 (remainder_test_upward): Likewise.
25950 (remquo_test): Likewise.
25951 (rint_test): Likewise.
25952 (rint_test_tonearest): Likewise.
25953 (rint_test_towardzero): Likewise.
25954 (rint_test_downward): Likewise.
25955 (rint_test_upward): Likewise.
25956 (round_test): Likewise.
25957 (scalb_test): Likewise.
25958 (scalbn_test): Likewise.
25959 (scalbln_test): Likewise.
25960 (signbit_test): Likewise.
25961 (sin_test): Likewise.
25962 (sin_test_tonearest): Likewise.
25963 (sin_test_towardzero): Likewise.
25964 (sin_test_downward): Likewise.
25965 (sin_test_upward): Likewise.
25966 (sincos_test): Likewise.
25967 (sinh_test): Likewise.
25968 (sinh_test_tonearest): Likewise.
25969 (sinh_test_towardzero): Likewise.
25970 (sinh_test_downward): Likewise.
25971 (sinh_test_upward): Likewise.
25972 (sqrt_test): Likewise.
25973 (tan_test): Likewise.
25974 (tan_test_tonearest): Likewise.
25975 (tan_test_towardzero): Likewise.
25976 (tan_test_downward): Likewise.
25977 (tan_test_upward): Likewise.
25978 (tanh_test): Likewise.
25979 (tgamma_test): Likewise.
25980 (trunc_test): Likewise.
25981 (y0_test): Likewise.
25982 (y1_test): Likewise.
25983 (yn_test): Likewise.
25984 (significand_test): Likewise.
25985
bae143d2
OB
259862013-05-24 Ondřej Bílka <neleai@seznam.cz>
25987
25988 [BZ #15381]
25989 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25990
9323d39b
EM
259912013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25992
d4ea44a0 25993 [BZ #14894]
9323d39b
EM
25994 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25995 __ppc_mdoio and __ppc_mdoom.
25996 * manual/platform.texi: Document new functions __ppc_yield,
25997 __ppc_mdoio and __ppc_mdoom.
25998
13e23af7
CD
259992013-05-22 Carlos O'Donell <carlos@redhat.com>
26000
26001 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26002 (main): Mention "tls" pseudo-hwcap is legacy.
26003 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26004
351fe550
JM
260052013-05-22 Joseph Myers <joseph@codesourcery.com>
26006
26007 * math/gen-libm-test.pl (parse_args): Output only string of
26008 arguments as text for test name, not full call or descriptions of
26009 tests for extra outputs.
26010 (generate_testfile): Do not pass function name to parse_args.
26011 Generate this_func variable from START.
26012 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26013 field to arg_str.
26014 (struct test_ff_f_data): Likewise.
26015 (test_ff_f_data_nexttoward): Likewise.
26016 (struct test_fi_f_data): Likewise.
26017 (struct test_fl_f_data): Likewise.
26018 (struct test_if_f_data): Likewise.
26019 (struct test_fff_f_data): Likewise.
26020 (struct test_c_f_data): Likewise.
26021 (struct test_f_f1_data): Likewise. Remove field extra_name.
26022 (struct test_fF_f1_data): Likewise.
26023 (struct test_ffI_f1_data): Likewise.
26024 (struct test_c_c_data): Rename test_name field to arg_str.
26025 (struct test_cc_c_data): Likewise.
26026 (struct test_f_i_data): Likewise.
26027 (struct test_ff_i_data): Likewise.
26028 (struct test_f_l_data): Likewise.
26029 (struct test_f_L_data): Likewise.
26030 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26031 and extra2_name.
26032 (COMMON_TEST_SETUP): New macro.
26033 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26034 (COMMON_TEST_CLEANUP): Likewise.
26035 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26036 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26037 macros.
26038 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26039 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26040 macros.
26041 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26042 (RUN_TEST_fff_f): Take argument string. Call new setup and
26043 cleanup macros.
26044 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26045 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26046 macros.
26047 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26048 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26049 macros.
26050 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26051 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26052 cleanup macros.
26053 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26054 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26055 cleanup macros.
26056 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26057 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26058 cleanup macros.
26059 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26060 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26061 macros.
26062 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26063 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26064 macros.
26065 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26066 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26067 macros.
26068 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26069 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26070 cleanup macros.
26071 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26072 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26073 cleanup macros.
26074 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26075 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26076 macros.
26077 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26078 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26079 cleanup macros.
26080 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26081 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26082 macros.
26083 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26084 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26085 macros.
26086 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26087 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26088 cleanup macros.
26089 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26090
85118d4d
EBM
260912013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26092
26093 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26094 to _sifields.sigfault.
26095 (si_addr_lsb): Define new macro.
26096 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26097 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26098 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26099
7a44c18f
CD
261002013-05-03 Carlos O'Donell <carlos at redhat.com>
26101
26102 [BZ #15441]
26103 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26104 returns -1.
26105 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26106 null return -1.
26107 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26108 loading the domain.
26109
b50a7181
JM
261102013-05-22 Joseph Myers <joseph@codesourcery.com>
26111
26112 * math/gen-libm-test.pl (parse_args): Do not include expected
26113 result in test name.
26114 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26115 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26116 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26117 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26118 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26120
051063c8
SP
261212013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26122
3ce9e010
SP
26123 * benchtests/Makefile: Sort function entries.
26124
051063c8
SP
26125 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26126 tanh, asinh, acosh, atanh.
26127 * benchtests/acos-inputs: New file.
26128 * benchtests/acosh-inputs: New file.
26129 * benchtests/asin-inputs: New file.
26130 * benchtests/asinh-inputs: New file.
26131 * benchtests/atanh-inputs: New file.
26132 * benchtests/cosh-inputs: New file.
26133 * benchtests/log-inputs: New file.
26134 * benchtests/sinh-inputs: New file.
26135 * benchtests/tanh-inputs: New file.
26136
47c22455
DL
261372013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26138
26139 [BZ #15339]
26140 * posix/tst-getaddrinfo4.c: New test.
26141 * posix/Makefile (tests): Add it.
26142
3d04f5db
SP
261432013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26144
26145 [BZ #15339]
26146 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26147 when no services were used.
26148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26149 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26150
d5dd6189
AS
261512013-05-21 Andreas Schwab <schwab@suse.de>
26152
26153 [BZ #15014]
26154 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26155 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26156 successful.
26157 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26158 redundant variable declarations and reallocation of buffer when
26159 parsing as IPv6 address. Always set NSS status when called from
26160 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26161 buffer too small. Correct computation of needed size.
26162 * nss/Makefile (tests): Add test-digits-dots.
26163 * nss/test-digits-dots.c: New test.
26164
fef94eab
SP
261652013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26166
26167 * benchtests/Makefile: Remove instructions for adding
26168 benchmark tests.
26169 * benchtests/README: New file to explain how to execute and
26170 enhance the benchmark tests.
26171
e39adf43
AS
261722013-05-21 Andreas Schwab <schwab@suse.de>
26173
26174 [BZ #15493]
26175 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26176 * setjmp/tst-sigsetjmp.c: New test.
26177
b2b671b6
OB
261782013-05-20 Ondřej Bílka <neleai@seznam.cz>
26179
26180 * sysdeps/x86_64/memset.S (memset): New implementation.
26181 (__bzero): Likewise.
26182 (__memset_tail): New function.
26183
2d48b41c
OB
261842013-05-20 Ondřej Bílka <neleai@seznam.cz>
26185
26186 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26187 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26188 __memcpy_sse2_unaligned ifunc selection.
26189 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26190 Add memcpy-sse2-unaligned.S.
26191 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26192 Add: __memcpy_sse2_unaligned.
26193
f16cc3eb
JM
261942013-05-19 Joseph Myers <joseph@codesourcery.com>
26195
3e694268
JM
26196 [BZ #15490]
26197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26198 math_force_eval before restoring floating-point envrionment.
26199 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26201 Likewise.
26202 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26203 <math_private.h>.
26204 (__nearbyintl): Use math_force_eval before restoring
26205 floating-point environment.
26206 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26207
db62a907
JM
26208 * math/gen-libm-test.pl (special_functions): Remove.
26209 (parse_args): Don't handle TEST_extra. Handle functions with no
26210 return value.
26211 * math/libm-test.inc (struct test_sincos_data): Replace with
26212 struct test_fFF_11_data.
26213 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26214 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26215 (sincos_test_data): Change element type to struct
26216 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26217 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26218 RUN_TEST_LOOP_sincos.
26219 * math/README.libm-test: Don't mention special handling of
26220 individual functions.
26221 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26222 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26223 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26224 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26225 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26227
f16cc3eb
JM
26228 * math/gen-libm-test.pl (get_variable): Remove function.
26229 (parse_args): Don't show pointer parameters to call in test
26230 names. Use "extra output N" in test names for extra outputs
26231 rather than naming variables.
26232
3779b5b6
JM
262332013-05-18 Joseph Myers <joseph@codesourcery.com>
26234
2ee094ff
JM
26235 [BZ #15488]
26236 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26237 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26238 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26239 double tests.
26240 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26241 disable.
26242 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26243 check_long_double.
26244
3779b5b6
JM
26245 * math/gen-libm-test.pl (@tests): Remove variable.
26246 ($count): Likewise.
26247 (new_test): Remove function.
26248 (show_exceptions): New function.
26249 (special_functions): Use show_exceptions instead of new_test.
26250 (parse_args): Likewise.
26251 (generate_testfile): Pass only function name in generated call to
26252 print_max_error or print_complex_max_error.
26253 (get_ulps): Do not handle complex tests specially.
26254 (output_test): Rename to ...
26255 (get_all_ulps_for_test): ... this. Return a string rather than
26256 printing to a file. Require ulps to be present.
26257 (output_ulps): Generate arrays rather than #defines.
26258 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26259 (struct ulp_data): New type.
26260 (BUILD_COMPLEX_ULP): Remove macro.
26261 (compare_ulp_data): New function.
26262 (find_ulps): Likewise.
26263 (find_test_ulps): Likewise.
26264 (find_function_ulps): Likewise.
26265 (find_complex_function_ulps): Likewise.
26266 (print_max_error): Determine allowed ulps using
26267 find_function_ulps.
26268 (print_complex_max_error): Determine allowed ulps using
26269 find_complex_function_ulps.
26270 (check_float_internal): Determine max ulps using find_test_ulps.
26271 (check_float): Do not take max_ulp parameter. Update call to
26272 check_float_internal.
26273 (check_complex): Likewise.
26274 (check_int): Do not take max_ulp parameter.
26275 (check_long): Likewise.
26276 (check_bool): Likewise.
26277 (check_longlong): Likewise.
26278 (struct test_f_f_data): Remove max_ulp field.
26279 (struct test_ff_f_data): Likewise.
26280 (struct test_ff_f_data_nexttoward): Likewise.
26281 (struct test_fi_f_data): Likewise.
26282 (struct test_fl_f_data): Likewise.
26283 (struct test_if_f_data): Likewise.
26284 (struct test_fff_f_data): Likewise.
26285 (struct test_c_f_data): Likewise.
26286 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26287 (struct test_fF_f1_data): Likewise.
26288 (struct test_ffI_f1_data): Likewise.
26289 (struct test_c_c_data): Remove max_ulp field.
26290 (struct test_cc_c_data): Likewise.
26291 (struct test_f_i_data): Likewise.
26292 (struct test_ff_i_data): Likewise.
26293 (struct test_f_l_data): Likewise.
26294 (struct test_f_L_data): Likewise.
26295 (struct test_sincos_data): Likewise.
26296 (RUN_TEST_f_f): Do not handle ulps.
26297 (RUN_TEST_LOOP_f_f): Likewise.
26298 (RUN_TEST_2_f): Likewise.
26299 (RUN_TEST_LOOP_2_f): Likewise.
26300 (RUN_TEST_fff_f): Likewise.
26301 (RUN_TEST_LOOP_fff_f): Likewise.
26302 (RUN_TEST_c_f): Likewise.
26303 (RUN_TEST_LOOP_c_f): Likewise.
26304 (RUN_TEST_f_f1): Likewise.
26305 (RUN_TEST_LOOP_f_f1): Likewise.
26306 (RUN_TEST_fF_f1): Likewise.
26307 (RUN_TEST_LOOP_fF_f1): Likewise.
26308 (RUN_TEST_fI_f1): Likewise.
26309 (RUN_TEST_LOOP_fI_f1): Likewise.
26310 (RUN_TEST_ffI_f1): Likewise.
26311 (RUN_TEST_LOOP_ffI_f1): Likewise.
26312 (RUN_TEST_c_c): Likewise.
26313 (RUN_TEST_LOOP_c_c): Likewise.
26314 (RUN_TEST_cc_c): Likewise.
26315 (RUN_TEST_LOOP_cc_c): Likewise.
26316 (RUN_TEST_f_i): Likewise.
26317 (RUN_TEST_LOOP_f_i): Likewise.
26318 (RUN_TEST_f_i_tg): Likewise.
26319 (RUN_TEST_LOOP_f_i_tg): Likewise.
26320 (RUN_TEST_ff_i_tg): Likewise.
26321 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26322 (RUN_TEST_f_b): Likewise.
26323 (RUN_TEST_LOOP_f_b): Likewise.
26324 (RUN_TEST_f_b_tg): Likewise.
26325 (RUN_TEST_LOOP_f_b_tg): Likewise.
26326 (RUN_TEST_f_l): Likewise.
26327 (RUN_TEST_LOOP_f_l): Likewise.
26328 (RUN_TEST_f_L): Likewise.
26329 (RUN_TEST_LOOP_f_L): Likewise.
26330 (RUN_TEST_sincos): Likewise.
26331 (RUN_TEST_LOOP_sincos): Likewise.
26332
8269107f
JM
263332013-05-17 Joseph Myers <joseph@codesourcery.com>
26334
bb38759d
JM
26335 [BZ #15480]
26336 [BZ #15485]
26337 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26338 main case of finite arguments, set rounding mode to FE_TONEAREST
26339 and discard exceptions.
26340 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26341 exceptions.
26342 (remainder_tonearest_test_data): New variable.
26343 (remainder_test_tonearest): New function.
26344 (remainder_towardzero_test_data): New variable.
26345 (remainder_test_towardzero): New function.
26346 (remainder_downward_test_data): New variable.
26347 (remainder_test_downward): New function.
26348 (remainder_upward_test_data): New variable.
26349 (remainder_test_upward): New function.
26350 (main): Call the new test functions.
26351
a00bdcf0
JM
26352 * math/libm-test.inc (struct test_f_f1_data): Remove field
26353 extra_init.
26354 (struct test_fF_f1_data): Likewise.
26355 (struct test_ffI_f1_data): Likewise.
26356 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26357 based on value of EXTRA_EXPECTED.
26358 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26359 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26360 EXTRA_VAR based on value of EXTRA_EXPECTED.
26361 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26362 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26363 EXTRA_VAR based on value of EXTRA_EXPECTED.
26364 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26365 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26366 EXTRA_VAR based on value of EXTRA_EXPECTED.
26367 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26368 * math/gen-libm-test.pl (parse_args): Don't output initializers
26369 for extra output values.
26370
de407f79
JM
26371 * math/libm-test.inc (check_int): Expect result to be exactly
26372 equal to expected value and do not handle ulps.
26373 (check_long): Likewise.
26374 (check_longlong): Likewise.
26375
8269107f
JM
26376 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26377 exceptions.
26378 (cimag_test_data): Likewise.
26379 (conj_test_data): Likewise.
26380 (copysign_test_data): Likewise.
26381 (cproj_test_data): Likewise.
26382 (creal_test_data): Likewise.
26383 (fabs_test_data): Likewise.
26384 (fdim_test_data): Likewise.
26385 (finite_test_data): Likewise.
26386 (floor_test_data): Likewise.
26387 (fmax_test_data): Likewise.
26388 (fmin_test_data): Likewise.
26389 (fmod_test_data): Likewise.
26390 (fpclassify_test_data): Likewise.
26391 (frexp_test_data): Likewise.
26392 (ilogb_test_data): Likewise.
26393 (isfinite_test_data): Likewise.
26394 (isgreater_test_data): Likewise.
26395 (isgreaterequal_test_data): Likewise.
26396 (isinf_test_data): Likewise.
26397 (isless_test_data): Likewise.
26398 (islessequal_test_data): Likewise.
26399 (islessgreater_test_data): Likewise.
26400 (isnan_test_data): Likewise.
26401 (isnormal_test_data): Likewise.
26402 (issignaling_test_data): Likewise.
26403 (isunordered_test_data): Likewise.
26404 (ldexp_test_data): Likewise.
26405 (lrint_test_data): Likewise.
26406 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26407 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26408 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26409 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26410 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26411 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26412 test input.
26413 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26414 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26415 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26416 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26417 that test input.
26418 (lrint_downward_test_data): Test for "inexact" exceptions.
26419 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26420 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26421 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26422 test input.
26423 (lrint_upward_test_data): Test for "inexact" exceptions.
26424 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26425 test input.
26426 (llrint_test_data): Test for "inexact" exceptions.
26427 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26428 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26429 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26430 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26431 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26432 (llrint_downward_test_data): Test for "inexact" exceptions.
26433 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26434 (llrint_upward_test_data): Test for "inexact" exceptions.
26435 (logb_test_data): Likewise.
26436 (logb_downward_test_data): Likewise.
26437 (nextafter_test_data): Likewise.
26438 (nexttoward_test_data): Likewise.
26439 (remainder_test_data): Likewise.
26440 (remquo_test_data): Likewise.
26441 (scalbn_test_data): Likewise.
26442 (scalbln_test_data): Likewise.
26443 (signbit_test_data): Likewise.
26444 (sqrt_test_data): Likewise.
26445 (significand_test_data): Likewise.
26446
48a18de1
SP
264472013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26448
26449 [BZ #15424]
26450 * benchtests/bench-modf.c (struct args): Mark arg0 as
26451 volatile.
26452 * scripts/bench.pl: Mark members of struct args as volatile.
26453
13d3b41a
AZ
264542013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26455
68191c1d 26456 [BZ # 15497]
13d3b41a
AZ
26457 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26458 negative infinity on POWER6 or lower.
26459 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26460
2848b105
MR
264612013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26462
26463 [BZ #15442]
26464 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26465 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26466 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26467 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26468 (_FP_SETQNAN): New macro.
26469 (_FP_SETQNAN_SEMIRAW): Likewise.
26470 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26471 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26472 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26473 (FP_EXTEND): Use _FP_FRAC_SNANP.
26474 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26475 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26476 into account.
26477 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26478 New macro.
26479 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26480 Likewise.
26481
323e5cb7
JM
264822013-05-16 Joseph Myers <joseph@codesourcery.com>
26483
c58b274f
JM
26484 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26485 with DIVIDE_BY_ZERO_EXCEPTION.
26486 (gamma_test_data): Likewise.
26487 (lgamma_test_data): Likewise.
26488 (log_test_data): Likewise.
26489 (log10_test_data): Likewise.
26490 (log2_test_data): Likewise.
26491 (tgamma_test_data): Likewise.
26492
0ab34904
JM
26493 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26494 (acos_test_tonearest): Likewise.
26495 (acos_test_towardzero): Likewise.
26496 (acos_test_downward): Likewise.
26497 (acos_test_upward): Likewise.
26498 (acosh_test): Likewise.
26499 (asin_test): Likewise.
26500 (asin_test_tonearest): Likewise.
26501 (asin_test_towardzero): Likewise.
26502 (asin_test_downward): Likewise.
26503 (asin_test_upward): Likewise.
26504 (asinh_test): Likewise.
26505 (atan_test): Likewise.
26506 (atanh_test): Likewise.
26507 (atan2_test): Likewise.
26508 (cabs_test): Likewise.
26509 (cacos_test): Likewise.
26510 (cacosh_test): Likewise.
26511 (casin_test): Likewise.
26512 (casinh_test): Likewise.
26513 (catan_test): Likewise.
26514 (catanh_test): Likewise.
26515 (cbrt_test): Likewise.
26516 (ccos_test): Likewise.
26517 (ccosh_test): Likewise.
26518 (cexp_test): Likewise.
26519 (clog_test): Likewise.
26520 (clog10_test): Likewise.
26521 (cos_test): Likewise.
26522 (cos_test_tonearest): Likewise.
26523 (cos_test_towardzero): Likewise.
26524 (cos_test_downward): Likewise.
26525 (cos_test_upward): Likewise.
26526 (cosh_test): Likewise.
26527 (cosh_test_tonearest): Likewise.
26528 (cosh_test_towardzero): Likewise.
26529 (cosh_test_downward): Likewise.
26530 (cosh_test_upward): Likewise.
26531 (cpow_test): Likewise.
26532 (csin_test): Likewise.
26533 (csinh_test): Likewise.
26534 (csqrt_test): Likewise.
26535 (ctan_test): Likewise.
26536 (ctan_test_tonearest): Likewise.
26537 (ctan_test_towardzero): Likewise.
26538 (ctan_test_downward): Likewise.
26539 (ctan_test_upward): Likewise.
26540 (ctanh_test): Likewise.
26541 (ctanh_test_tonearest): Likewise.
26542 (ctanh_test_towardzero): Likewise.
26543 (ctanh_test_downward): Likewise.
26544 (ctanh_test_upward): Likewise.
26545 (erf_test): Likewise.
26546 (erfc_test): Likewise.
26547 (exp_test): Likewise.
26548 (exp_test_tonearest): Likewise.
26549 (exp_test_towardzero): Likewise.
26550 (exp_test_downward): Likewise.
26551 (exp_test_upward): Likewise.
26552 (exp10_test): Likewise.
26553 (exp2_test): Likewise.
26554 (expm1_test): Likewise.
26555 (fmod_test): Likewise.
26556 (gamma_test): Likewise.
26557 (hypot_test): Likewise.
26558 (j0_test): Likewise.
26559 (j1_test): Likewise.
26560 (jn_test): Likewise.
26561 (lgamma_test): Likewise.
26562 (log_test): Likewise.
26563 (log10_test): Likewise.
26564 (log1p_test): Likewise.
26565 (log2_test): Likewise.
26566 (logb_test_downward): Likewise.
26567 (pow_test): Likewise.
26568 (pow_test_tonearest): Likewise.
26569 (pow_test_towardzero): Likewise.
26570 (pow_test_downward): Likewise.
26571 (pow_test_upward): Likewise.
26572 (remainder_test): Likewise.
26573 (remquo_test): Likewise.
26574 (sin_test): Likewise.
26575 (sin_test_tonearest): Likewise.
26576 (sin_test_towardzero): Likewise.
26577 (sin_test_downward): Likewise.
26578 (sin_test_upward): Likewise.
26579 (sincos_test): Likewise.
26580 (sinh_test): Likewise.
26581 (sinh_test_tonearest): Likewise.
26582 (sinh_test_towardzero): Likewise.
26583 (sinh_test_downward): Likewise.
26584 (sinh_test_upward): Likewise.
26585 (sqrt_test): Likewise.
26586 (tan_test): Likewise.
26587 (tan_test_tonearest): Likewise.
26588 (tan_test_towardzero): Likewise.
26589 (tan_test_downward): Likewise.
26590 (tan_test_upward): Likewise.
26591 (tanh_test): Likewise.
26592 (tgamma_test): Likewise.
26593 (y0_test): Likewise.
26594 (y1_test): Likewise.
26595 (yn_test): Likewise.
26596
323e5cb7
JM
26597 * math/gen-libm-test.pl (adjust_arg): Remove function.
26598 (special_function): Remove argument $in_func. Only handle
26599 generating output for tables of tests, not inside functions.
26600 (parse_args): Likewise.
26601 (generate_testfile): Remove variable $in_func. Update call to
26602 parse_args.
26603 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26604 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26605 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26606 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26607 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26608 (MAX_VALUE_INIT): Rename macro to max_value.
26609 (MIN_VALUE_INIT): Rename macro to min_value.
26610 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26611 (plus_zero): Remove variable.
26612 (minus_zero): Likewise.
26613 (plus_infty): Likewise.
26614 (minus_infty): Likewise.
26615 (qnan_value): Likewise.
26616 (max_value): Likewise.
26617 (min_value): Likewise.
26618 (min_subnorm_value): Likewise.
26619
e054f494
RA
266202013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26621
26622 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26623 uint64_t or uint32_t usage.
26624 * crypt/sha256-block.c: Likewise.
26625 * crypt/sha256-crypt.c: Likewise.
26626 * crypt/sha256.c: Likewise.
26627 * crypt/sha512-block.c: Likewise.
26628 * crypt/sha512-crypt.c: Likewise.
26629 * crypt/sha512.c: Likewise.
26630 * debug/backtrace-tst.c: Likewise.
26631 * debug/pcprofiledump.c: Likewise.
26632 * elf/cache.c: Likewise.
26633 * elf/dl-cache.c: Likewise.
26634 * elf/dl-misc.c: Likewise.
26635 * elf/dl-profile.c: Likewise.
26636 * elf/dl-support.c: Likewise.
26637 * elf/ldconfig.c: Likewise.
26638 * elf/sprof.c: Likewise.
26639 * iconv/dummy-repertoire.c: Likewise.
26640 * iconv/iconv_charmap.c: Likewise.
26641 * iconv/skeleton.c: Likewise.
26642 * iconvdata/8bit-generic.c: Likewise.
26643 * iconvdata/cp737.h: Likewise.
26644 * iconvdata/cp775.h: Likewise.
26645 * iconvdata/ibm1008.h: Likewise.
26646 * iconvdata/ibm1025.h: Likewise.
26647 * iconvdata/ibm1046.h: Likewise.
26648 * iconvdata/ibm1097.h: Likewise.
26649 * iconvdata/ibm1112.h: Likewise.
26650 * iconvdata/ibm1122.h: Likewise.
26651 * iconvdata/ibm1123.h: Likewise.
26652 * iconvdata/ibm1124.h: Likewise.
26653 * iconvdata/ibm1129.h: Likewise.
26654 * iconvdata/ibm1130.h: Likewise.
26655 * iconvdata/ibm1132.h: Likewise.
26656 * iconvdata/ibm1133.h: Likewise.
26657 * iconvdata/ibm1137.h: Likewise.
26658 * iconvdata/ibm1140.h: Likewise.
26659 * iconvdata/ibm1141.h: Likewise.
26660 * iconvdata/ibm1142.h: Likewise.
26661 * iconvdata/ibm1143.h: Likewise.
26662 * iconvdata/ibm1144.h: Likewise.
26663 * iconvdata/ibm1145.h: Likewise.
26664 * iconvdata/ibm1146.h: Likewise.
26665 * iconvdata/ibm1147.h: Likewise.
26666 * iconvdata/ibm1148.h: Likewise.
26667 * iconvdata/ibm1149.h: Likewise.
26668 * iconvdata/ibm1153.h: Likewise.
26669 * iconvdata/ibm1154.h: Likewise.
26670 * iconvdata/ibm1155.h: Likewise.
26671 * iconvdata/ibm1156.h: Likewise.
26672 * iconvdata/ibm1157.h: Likewise.
26673 * iconvdata/ibm1158.h: Likewise.
26674 * iconvdata/ibm1160.h: Likewise.
26675 * iconvdata/ibm1161.h: Likewise.
26676 * iconvdata/ibm1162.h: Likewise.
26677 * iconvdata/ibm1163.h: Likewise.
26678 * iconvdata/ibm1164.h: Likewise.
26679 * iconvdata/ibm1166.h: Likewise.
26680 * iconvdata/ibm1167.h: Likewise.
26681 * iconvdata/ibm12712.h: Likewise.
26682 * iconvdata/ibm1390.h: Likewise.
26683 * iconvdata/ibm1399.h: Likewise.
26684 * iconvdata/ibm16804.h: Likewise.
26685 * iconvdata/ibm4517.h: Likewise.
26686 * iconvdata/ibm4899.h: Likewise.
26687 * iconvdata/ibm4909.h: Likewise.
26688 * iconvdata/ibm4971.h: Likewise.
26689 * iconvdata/ibm5347.h: Likewise.
26690 * iconvdata/ibm803.h: Likewise.
26691 * iconvdata/ibm856.h: Likewise.
26692 * iconvdata/ibm901.h: Likewise.
26693 * iconvdata/ibm902.h: Likewise.
26694 * iconvdata/ibm9030.h: Likewise.
26695 * iconvdata/ibm9066.h: Likewise.
26696 * iconvdata/ibm921.h: Likewise.
26697 * iconvdata/ibm922.h: Likewise.
26698 * iconvdata/ibm9448.h: Likewise.
26699 * iconvdata/isiri-3342.h: Likewise.
26700 * iconvdata/jis0201.h: Likewise.
26701 * include/link.h: Likewise.
26702 * include/netdb.h: Likewise.
26703 * inet/check_native.c: Likewise.
26704 * inet/check_pf.c: Likewise.
26705 * inet/getipv4sourcefilter.c: Likewise.
26706 * inet/getnameinfo.c: Likewise.
26707 * inet/getsourcefilter.c: Likewise.
26708 * inet/htonl.c: Likewise.
26709 * inet/setipv4sourcefilter.c: Likewise.
26710 * inet/setsourcefilter.c: Likewise.
26711 * inet/test-inet6_opt.c: Likewise.
26712 * inet/tst-network.c: Likewise.
26713 * locale/C-collate.c: Likewise.
26714 * locale/C-ctype.c: Likewise.
26715 * locale/C-time.c: Likewise.
26716 * locale/C-translit.h: Likewise.
26717 * locale/loadarchive.c: Likewise.
26718 * locale/programs/3level.h: Likewise.
26719 * locale/programs/charmap.c: Likewise.
26720 * locale/programs/charmap.h: Likewise.
26721 * locale/programs/ld-address.c: Likewise.
26722 * locale/programs/ld-collate.c: Likewise.
26723 * locale/programs/ld-ctype.c: Likewise.
26724 * locale/programs/ld-identification.c: Likewise.
26725 * locale/programs/ld-measurement.c: Likewise.
26726 * locale/programs/ld-messages.c: Likewise.
26727 * locale/programs/ld-monetary.c: Likewise.
26728 * locale/programs/ld-name.c: Likewise.
26729 * locale/programs/ld-numeric.c: Likewise.
26730 * locale/programs/ld-paper.c: Likewise.
26731 * locale/programs/ld-telephone.c: Likewise.
26732 * locale/programs/ld-time.c: Likewise.
26733 * locale/programs/linereader.c: Likewise.
26734 * locale/programs/locale.c: Likewise.
26735 * locale/programs/locarchive.c: Likewise.
26736 * locale/programs/locfile.h: Likewise.
26737 * locale/programs/repertoire.c: Likewise.
26738 * locale/programs/simple-hash.c: Likewise.
26739 * locale/programs/simple-hash.h: Likewise.
26740 * malloc/memusage.c: Likewise.
26741 * malloc/memusagestat.c: Likewise.
26742 * nis/nis_defaults.c: Likewise.
26743 * nis/nis_hash.c: Likewise.
26744 * nis/nis_print.c: Likewise.
26745 * nis/nis_xdr.c: Likewise.
26746 * nscd/connections.c: Likewise.
26747 * nscd/hstcache.c: Likewise.
26748 * nscd/nscd_gethst_r.c: Likewise.
26749 * nscd/nscd_getserv_r.c: Likewise.
26750 * nscd/nscd_helper.c: Likewise.
26751 * nscd/servicescache.c: Likewise.
26752 * nss/makedb.c: Likewise.
26753 * nss/nss_db/db-XXX.c: Likewise.
26754 * nss/nss_db/db-initgroups.c: Likewise.
26755 * nss/nss_db/db-netgrp.c: Likewise.
26756 * nss/nss_files/files-network.c: Likewise.
26757 * nss/nss_files/files-parse.c: Likewise.
26758 * posix/bug-regex5.c: Likewise.
26759 * posix/fnmatch_loop.c: Likewise.
26760 * posix/regcomp.c: Likewise.
26761 * posix/regexec.c: Likewise.
26762 * posix/tst-rfc3484-2.c: Likewise.
26763 * posix/tst-rfc3484-3.c: Likewise.
26764 * posix/tst-rfc3484.c: Likewise.
26765 * resolv/nss_dns/dns-canon.c: Likewise.
26766 * resolv/nss_dns/dns-network.c: Likewise.
26767 * resolv/res_init.c: Likewise.
26768 * resolv/res_mkquery.c: Likewise.
26769 * resolv/tst-aton.c: Likewise.
26770 * stdlib/cxa_atexit.c: Likewise.
26771 * stdlib/cxa_finalize.c: Likewise.
26772 * stdlib/gen-fpioconst.c: Likewise.
26773 * stdlib/strtol_l.c: Likewise.
26774 * string/tst-endian.c: Likewise.
26775 * sunrpc/auth_des.c: Likewise.
26776 * sunrpc/clnt_udp.c: Likewise.
26777 * sunrpc/rtime.c: Likewise.
26778 * sunrpc/svcauth_des.c: Likewise.
26779 * sunrpc/xdr.c: Likewise.
26780 * sunrpc/xdr_intXX_t.c: Likewise.
26781 * sunrpc/xdr_rec.c: Likewise.
26782 * sysdeps/generic/ldconfig.h: Likewise.
26783 * sysdeps/generic/ldsodefs.h: Likewise.
26784 * sysdeps/generic/memusage.h: Likewise.
26785 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26786 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26787 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26788 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26791 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26792 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26793 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26795 * sysdeps/posix/getaddrinfo.c: Likewise.
26796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26798 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26800 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26801 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26802 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26803 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26804 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26805 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26806 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26807 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26808 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26809 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26810 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26811 * sysdeps/x86_64/dl-tls.h: Likewise.
26812 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26813 * time/alt_digit.c: Likewise.
26814 * time/era.c: Likewise.
26815 * wcsmbs/tst-c16c32-1.c: Likewise.
26816
8c75f674
JM
268172013-05-16 Joseph Myers <joseph@codesourcery.com>
26818
26819 * math/libm-test.inc (struct test_sincos_data): New type.
26820 (RUN_TEST_LOOP_sincos): New macro.
26821 (sincos_test_data): New variable.
26822 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26823
e6e49e59
RH
268242013-05-16 Richard Henderson <rth@redhat.com>
26825
26826 * math/atest-exp2.c (LIMB64): New macro.
26827 (CONSTSZ): New macro.
26828 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26829 (hexdig): Move ...
26830 (print_mpn_fp): ... to function scope.
26831 (read_mpn_hex): Remove.
26832 (get_log2): Remove.
26833 (exp2_mpn): Use mp_log2.
26834 (main): Use mp_exp1.
26835
15c7c18d
JM
268362013-05-16 Joseph Myers <joseph@codesourcery.com>
26837
105a07df
JM
26838 * math/libm-test.inc: Remove comment about not testing "inexact"
26839 exceptions.
26840 (INEXACT_EXCEPTION): New macro.
26841 (NO_INEXACT_EXCEPTION): Likewise.
26842 (INVALID_EXCEPTION_OK): Update value.
26843 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26844 (OVERFLOW_EXCEPTION_OK): Likewise.
26845 (UNDERFLOW_EXCEPTION_OK): Likewise.
26846 (IGNORE_ZERO_INF_SIGN): Likewise.
26847 (ERRNO_UNCHANGED): Likewise.
26848 (ERRNO_EDOM): Likewise.
26849 (ERRNO_ERANGE): Likewise.
26850 (test_exceptions): Handle testing "inexact" exceptions.
26851 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26852 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26853 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26854 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26855 INEXACT_EXCEPTION.
26856 (rint_towardzero_test_data): Likewise.
26857 (rint_downward_test_data): Likewise.
26858 (rint_upward_test_data): Likewise.
26859
e9eee333
JM
26860 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26861 with OVERFLOW_EXCEPTION.
26862 (exp10_test_data): Likewise.
26863 (exp2_test_data): Likewise.
26864 (expm1_test_data): Likewise.
26865 (lgamma_test_data): Likewise.
26866 (pow_test_data): Likewise.
26867 (tgamma_test_data): Likewise.
26868 (yn_test_data): Remove duplicate test of overflow.
26869
1c38ff73
JM
26870 * math/libm-test.inc (struct test_cc_c_data): New type.
26871 (RUN_TEST_LOOP_cc_c): New macro.
26872 (cpow_test_data): New variable.
26873 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26874
15c7c18d
JM
26875 * math/libm-test.inc (struct test_f_L_data): New type.
26876 (RUN_TEST_LOOP_f_L): New macro.
26877 (llrint_test_data): New variable.
26878 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26879 (llrint_tonearest_test_data): New variable.
26880 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26881 (llrint_towardzero_test_data): New variable.
26882 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26883 (llrint_downward_test_data): New variable.
26884 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26885 (llrint_upward_test_data): New variable.
26886 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26887 (llround_test_data): New variable.
26888 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26889
f137ff13
PC
268902013-05-13 Peter Collingbourne <pcc@google.com>
26891
26892 * math/atest-exp2.c (get_log2): Remove const attribute.
26893
3608cb24
JM
268942013-05-15 Joseph Myers <joseph@codesourcery.com>
26895
26896 * math/libm-test.inc (struct test_f_l_data): New type.
26897 (RUN_TEST_LOOP_f_l): New macro.
26898 (lrint_test_data): New variable.
26899 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26900 (lrint_tonearest_test_data): New variable.
26901 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26902 (lrint_towardzero_test_data): New variable.
26903 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26904 (lrint_downward_test_data): New variable.
26905 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26906 (lrint_upward_test_data): New variable.
26907 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26908 (lround_test_data): New variable.
26909 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26910
39b1f617
PC
269112013-05-15 Peter Collingbourne <pcc@google.com>
26912
1deff3dc
PC
26913 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26914 (EXTRACT_WORDS64) Use where appropriate.
26915 (INSERT_WORDS64) Likewise.
26916
791f3ba0
PC
26917 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26918 constraints with x constraints.
26919 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26920
39b1f617
PC
26921 * malloc/obstack.c (_obstack_compat): Add initializer.
26922
12fba011
EM
269232013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26924
26925 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26926 si_trapno and add si_addr_lsb to _sifields.sigfault.
26927 (si_trapno): Remove macro.
26928 (si_addr_lsb): Define new macro.
26929 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26930
d369f531
JM
269312013-05-15 Joseph Myers <joseph@codesourcery.com>
26932
b861c6c4
JM
26933 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26934 instead of TEST_f_l.
26935 (llrint_test_tonearest): Likewise.
26936 (llrint_test_towardzero): Likewise.
26937 (llrint_test_downward): Likewise.
26938 (llrint_test_upward): Likewise.
26939 (llround_test): Likewise.
26940
7abeee12
JM
26941 * math/libm-test.inc (struct test_f_i_data): Add comment.
26942 (RUN_TEST_LOOP_f_b): New macro.
26943 (RUN_TEST_LOOP_f_b_tg): Likewise.
26944 (finite_test_data): New variable.
26945 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26946 (isfinite_test_data): New variable.
26947 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26948 (isinf_test_data): New variable.
26949 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26950 (isnan_test_data): New variable.
26951 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26952 (isnormal_test_data): New variable.
26953 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26954 (issignaling_test_data): New variable.
26955 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26956 (signbit_test_data): New variable.
26957 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26958
cbe8c4d3
JM
26959 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26960 with INVALID_EXCEPTION.
26961 (acosh_test_data): Likewise.
26962 (asin_test_data): Likewise.
26963 (atanh_test_data): Likewise.
26964 (fmod_test_data): Likewise.
26965 (log_test_data): Likewise.
26966 (log10_test_data): Likewise.
26967 (log2_test_data): Likewise.
26968 (pow_test_data): Likewise.
26969 (sqrt_test_data): Likewise.
26970 (y0_test_data): Likewise.
26971 (y1_test_data): Likewise.
26972 (yn_test_data): Likewise.
26973
5575c0e5
JM
26974 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26975 function contents.
26976
d369f531
JM
26977 * math/libm-test.inc (struct test_ff_i_data): New type.
26978 (RUN_TEST_LOOP_ff_i_tg): New macro.
26979 (isgreater_test_data): New variable.
26980 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26981 (isgreaterequal_test_data): New variable.
26982 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26983 (isless_test_data): New variable.
26984 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26985 (islessequal_test_data): New variable.
26986 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26987 (islessgreater_test_data): New variable.
26988 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26989 (isunordered_test_data): New variable.
26990 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26991
781fd748
DM
269922013-05-14 David S. Miller <davem@davemloft.net>
26993
26994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26995
87aa21df
JM
269962013-05-14 Joseph Myers <joseph@codesourcery.com>
26997
5e908270
JM
26998 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26999
f71172e5
JM
27000 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27001 extra_test to int.
27002 (struct test_f_i_data): Change type of max_ulp to int.
27003
8cfa635a
JM
27004 * math/libm-test.inc (test_ffI_f1_data): New type.
27005 (RUN_TEST_LOOP_ffI_f1): New macro.
27006 (remquo_test_data): New variable.
27007 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27008
2bcb36b2
JM
27009 * setjmp/tst-setjmp-fp.c: New file.
27010 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27011 (link-libm): New variable.
27012 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27013
acbd839a
JM
27014 * math/libm-test.inc (struct test_f_i_data): New type.
27015 (RUN_TEST_LOOP_f_i): New macro.
27016 (RUN_TEST_LOOP_f_i_tg): Likewise.
27017 (fpclassify_test_data): New variable.
27018 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27019 (ilogb_test_data): New variable.
27020 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27021
e414d745
JM
27022 * math/libm-test.inc (scalbln_test): Correct function name in END
27023 call.
27024
d9c2a0fd
JM
27025 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27026 (RUN_TEST_LOOP_fI_f1): New macro.
27027 (frexp_test_data): New variable.
27028 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27029
9dc9095d
JM
27030 * math/libm-test.inc (struct test_fF_f1_data): New type.
27031 (RUN_TEST_LOOP_fF_f1): New macro.
27032 (modf_test_data): New variable.
27033 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27034
87aa21df
JM
27035 * math/libm-test.inc (struct test_f_f1_data): New type.
27036 (RUN_TEST_LOOP_f_f1): New macro.
27037 (gamma_test_data): New variable.
27038 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27039 (lgamma_test_data): New variable.
27040 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27041
141af660
CD
270422013-05-13 Carlos O'Donell <carlos@redhat.com>
27043
27044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27045 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27046 (main): Comment "tls" pseudo-hwcap.
27047
6d33265c
JM
270482013-05-13 Joseph Myers <joseph@codesourcery.com>
27049
68fc074c
JM
27050 * math/libm-test.inc (struct test_fl_f_data): New type.
27051 (RUN_TEST_LOOP_fl_f): New variable.
27052 (scalbln_test_data): New variable.
27053 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27054
243216e1
JM
27055 * math/libm-test.inc (struct test_fi_f_data): New type.
27056 (RUN_TEST_LOOP_fi_f): New macro.
27057 (ldexp_test_data): New variable.
27058 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27059 (scalbn_test_data): New variable.
27060 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27061
6a1992e2
JM
27062 * math/libm-test.inc (struct test_c_f_data): New type.
27063 (RUN_TEST_LOOP_c_f): New macro.
27064 (cabs_test_data): New variable.
27065 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27066 (carg_test_data): New variable.
27067 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27068 (cimag_test_data): New variable.
27069 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27070 (creal_test_data): New variable.
27071 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27072
0e400df5
JM
27073 * math/libm-test.inc (struct test_if_f_data): New type.
27074 (RUN_TEST_LOOP_if_f): New macro.
27075 (jn_test_data): New variable.
27076 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27077 (yn_test_data): New variable.
27078 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27079
6d33265c
JM
27080 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27081
f98ece5f
AZ
270822013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27083
27084 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27085 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27086
0f7d347b
SP
270872013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27088
43fe811b
SP
27089 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27090 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27091 (bench-deps): Add bench-timing.h.
27092 * benchtests-bench-skeleton.c: Include bench-timing.h.
27093 (main): Use TIMING_* macros instead of clock_gettime.
27094 * benchtests/bench-timing.h: New file.
27095
0f7d347b
SP
27096 [BZ #14582]
27097 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27098 Renamed from _LIB_VERSION.
27099 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27100
601a3a5f
JM
271012013-05-12 Joseph Myers <joseph@codesourcery.com>
27102
4f184d30
JM
27103 * math/libm-test.inc (struct test_fff_f_data): New type.
27104 (RUN_TEST_LOOP_fff_f): New macro.
27105 (fma_test_data): New variable.
27106 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27107 (fma_towardzero_test_data): New variable.
27108 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27109 (fma_downward_test_data): New variable.
27110 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27111 (fma_upward_test_data): New variable.
27112 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27113
08198877
JM
27114 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27115 (struct test_c_c_data): New type.
27116 (RUN_TEST_LOOP_c_c): New macro.
27117 (cacos_test_data): New variable.
27118 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27119 (cacosh_test_data): New variable.
27120 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27121 (casin_test_data): New variable.
27122 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27123 (casinh_test_data): New variable.
27124 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27125 (catan_test_data): New variable.
27126 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27127 (catanh_test_data): New variable.
27128 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27129 (ccos_test_data): New variable.
27130 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27131 (ccosh_test_data): New variable.
27132 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27133 (cexp_test_data): New variable.
27134 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27135 (clog_test_data): New variable.
27136 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27137 (clog10_test_data): New variable.
27138 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27139 (conj_test_data): New variable.
27140 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27141 (cproj_test_data): New variable.
27142 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27143 (csin_test_data): New variable.
27144 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27145 (csinh_test_data): New variable.
27146 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27147 (csqrt_test_data): New variable.
27148 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27149 (ctan_test_data): New variable.
27150 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27151 (ctan_tonearest_test_data): New variable.
27152 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27153 (ctan_towardzero_test_data): New variable.
27154 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27155 (ctan_downward_test_data): New variable.
27156 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27157 (ctan_upward_test_data): New variable.
27158 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27159 (ctanh_test_data): New variable.
27160 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27161 (ctanh_tonearest_test_data): New variable.
27162 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27163 (ctanh_towardzero_test_data): New variable.
27164 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27165 (ctanh_downward_test_data): New variable.
27166 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27167 (ctanh_upward_test_data): New variable.
27168 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27169 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27170 of BUILD_COMPLEX.
27171
601a3a5f
JM
27172 * math/libm-test.inc (struct test_ff_f_data): New type.
27173 (struct test_ff_f_data_nexttoward): Likewise.
27174 (RUN_TEST_LOOP_2_f): New macro.
27175 (RUN_TEST_LOOP_ff_f): Likewise.
27176 (atan2_test_data): New variable.
27177 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27178 (copysign_test_data): New variable.
27179 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27180 (fdim_test_data): New variable.
27181 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27182 (fmax_test_data): New variable.
27183 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27184 (fmin_test_data): New variable.
27185 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27186 (fmod_test_data): New variable.
27187 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27188 (hypot_test_data): New variable.
27189 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27190 (nextafter_test_data): New variable.
27191 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27192 (nexttoward_test_data): New variable.
27193 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27194 (pow_test_data): New variable.
27195 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27196 (pow_tonearest_test_data): New variable.
27197 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27198 (pow_towardzero_test_data): New variable.
27199 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27200 (pow_downward_test_data): New variable.
27201 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27202 (pow_upward_test_data): New variable.
27203 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27204 (remainder_test_data): New variable.
27205 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27206 (scalb_test_data): New variable.
27207 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27208 * sysdeps/i386/fpu/libm-test-ulps: Update.
27209
74c57478
JM
272102013-05-11 Joseph Myers <joseph@codesourcery.com>
27211
8329e4da
JM
27212 * math/libm-test.inc (fma_test): Use max_value instead of local
27213 variable fltmax.
27214 (nextafter_test): Likewise.
27215
74c57478
JM
27216 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27217 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27218 (acos_downward_test_data): New variable.
27219 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27220 (acos_upward_test_data): New variable.
27221 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27222 (acosh_test_data): New variable.
27223 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27224 (asin_test_data): New variable.
27225 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27226 (asin_tonearest_test_data): New variable.
27227 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27228 (asin_towardzero_test_data): New variable.
27229 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27230 (asin_downward_test_data): New variable.
27231 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27232 (asin_upward_test_data): New variable.
27233 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27234 (asinh_test_data): New variable.
27235 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27236 (atan_test_data): New variable.
27237 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27238 (atanh_test_data): New variable.
27239 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27240 (cbrt_test_data): New variable.
27241 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27242 (ceil_test_data): New variable.
27243 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27244 (cos_test_data): New variable.
27245 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27246 (cos_tonearest_test_data): New variable.
27247 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27248 (cos_towardzero_test_data): New variable.
27249 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27250 (cos_downward_test_data): New variable.
27251 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27252 (cos_upward_test_data): New variable.
27253 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27254 (cosh_test_data): New variable.
27255 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27256 (cosh_tonearest_test_data): New variable.
27257 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27258 (cosh_towardzero_test_data): New variable.
27259 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27260 (cosh_downward_test_data): New variable.
27261 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27262 (cosh_upward_test_data): New variable.
27263 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27264 (erf_test_data): New variable.
27265 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27266 (erfc_test_data): New variable.
27267 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27268 (exp_test_data): New variable.
27269 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27270 (exp_tonearest_test_data): New variable.
27271 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27272 (exp_towardzero_test_data): New variable.
27273 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27274 (exp_downward_test_data): New variable.
27275 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27276 (exp_upward_test_data): New variable.
27277 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27278 (exp10_test_data): New variable.
27279 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27280 (exp2_test_data): New variable.
27281 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27282 (expm1_test_data): New variable.
27283 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27284 (fabs_test_data): New variable.
27285 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27286 (floor_test_data): New variable.
27287 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27288 (j0_test_data): New variable.
27289 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27290 (j1_test_data): New variable.
27291 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27292 (log_test_data): New variable.
27293 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27294 (log10_test_data): New variable.
27295 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27296 (log1p_test_data): New variable.
27297 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27298 (log2_test_data): New variable.
27299 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27300 (logb_test_data): New variable.
27301 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27302 (logb_downward_test_data): New variable.
27303 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27304 (nearbyint_test_data): New variable.
27305 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27306 (rint_test_data): New variable.
27307 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27308 (rint_tonearest_test_data): New variable.
27309 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27310 (rint_towardzero_test_data): New variable.
27311 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27312 (rint_downward_test_data): New variable.
27313 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27314 (rint_upward_test_data): New variable.
27315 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27316 (round_test_data): New variable.
27317 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27318 (sin_test_data): New variable.
27319 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27320 (sin_tonearest_test_data): New variable.
27321 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27322 (sin_towardzero_test_data): New variable.
27323 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27324 (sin_downward_test_data): New variable.
27325 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27326 (sin_upward_test_data): New variable.
27327 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27328 (sinh_test_data): New variable.
27329 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27330 (sinh_tonearest_test_data): New variable.
27331 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27332 (sinh_towardzero_test_data): New variable.
27333 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27334 (sinh_downward_test_data): New variable.
27335 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27336 (sinh_upward_test_data): New variable.
27337 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27338 (sqrt_test_data): New variable.
27339 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27340 (tan_test_data): New variable.
27341 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27342 (tan_tonearest_test_data): New variable.
27343 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27344 (tan_towardzero_test_data): New variable.
27345 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27346 (tan_downward_test_data): New variable.
27347 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27348 (tan_upward_test_data): New variable.
27349 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27350 (tanh_test_data): New variable.
27351 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27352 (tgamma_test_data): New variable.
27353 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27354 (trunc_test_data): New variable.
27355 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27356 (y0_test_data): New variable.
27357 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27358 (y1_test_data): New variable.
27359 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27360 (significand_test_data): New variable.
27361 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27362
7187d844
CG
273632013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27364
27365 [BZ #12387]
27366 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27367
f63fae73
PT
273682013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27369
27370 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27371
8a67a4b3
AJ
273722013-05-10 Andreas Jaeger <aj@suse.de>
27373
27374 [BZ #15448]
27375 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27376 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27377
51df539d
JM
273782013-05-10 Joseph Myers <joseph@codesourcery.com>
27379
27380 * math/gen-libm-test.pl (adjust_arg): New function.
27381 (special_functions): Handle generating output in both functions
27382 and arrays.
27383 (parse_args): Likewise.
27384 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27385 $in_func argument to parse_args.
27386 * math/libm-test.inc (struct test_f_f_data): New type.
27387 (IF_ROUND_INIT_): New macro.
27388 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27389 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27390 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27391 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27392 (ROUND_RESTORE_): Likewise.
27393 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27394 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27395 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27396 (ROUND_RESTORE_FE_UPWARD): Likewise.
27397 (RUN_TEST_LOOP_f_f): New macro.
27398 (acos_test_data): New variable.
27399 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27400 (acos_tonearest_test_data): New variable.
27401 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27402
5c637fe5
SP
274032013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27404
27405 * benchtests/bench-skeleton.c (startup): Fix coding style.
27406
ab2b9461
JM
274072013-05-10 Joseph Myers <joseph@codesourcery.com>
27408
27409 [BZ #6809]
27410 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27411 negative infinity argument.
27412 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27413 negative infinity argument.
27414 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27415 negative infinity argument.
27416 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27417 domain errors.
27418
4c0fe6fe
FW
274192013-05-10 Florian Weimer <fweimer@redhat.com>
27420
27421 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27422 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27423 * iconv/iconv_prog.c (main): Likewise.
27424 * locale/programs/charmap-dir.c (charmap_readdir)
27425 (fopen_uncompressed): Likewise.
27426 * locale/programs/locfile.c (siblings_uncached)
27427 (write_locale_data): Use lstat64 instead of lstat.
27428 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27429 stat.
27430
a3375d29
AJ
274312013-05-10 Andreas Jaeger <aj@suse.de>
27432
27433 [BZ #15395]
27434 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27435 localization.
27436 Include <locale.h>.
27437
36129722
CD
274382013-05-09 Carlos O'Donell <carlos@redhat.com>
27439
27440 * elf/dl-close.c (_dl_close_worker): Add comments.
27441
faa7f811
JM
274422013-05-09 Joseph Myers <joseph@codesourcery.com>
27443
ed41ffef
JM
27444 [BZ #15359]
27445 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27446 high part of pi/2.
27447 (__ieee754_rem_pio2l): Update comments.
27448
d0213cd0
JM
27449 [BZ #15429]
27450 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27451 high part of pi/2.
27452 (__ieee754_rem_pio2l): Update comments.
27453
0d3e777a
JM
27454 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27455 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27456
24f56066
JM
27457 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27458 M_PI_4l.
27459
faa7f811
JM
27460 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27461 (M_PI_34_LOG10El): Likewise.
27462 (M_PI2_LOG10El): Likewise.
27463 (M_PI4_LOG10El): Likewise.
27464 (M_PI_LOG10El): Likewise.
27465
e9a5e0fd
AZ
274662013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27467
27468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27469
d8cd06db
JM
274702013-05-08 Joseph Myers <joseph@codesourcery.com>
27471
a0d9f9d7
JM
27472 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27473 (MINUS_ZERO_INIT): Likewise.
27474 (PLUS_INFTY_INIT): Likewise.
27475 (MINUS_INFTY_INIT): Likewise.
27476 (QNAN_VALUE_INIT): Likewise.
27477 (MAX_VALUE_INIT): Likewise.
27478 (MIN_VALUE_INIT): Likewise.
27479 (MIN_SUBNORM_VALUE_INIT): Likewise.
27480 (plus_zero): Initialize with PLUS_ZERO_INIT.
27481 (minus_zero): Initialize with MINUS_ZERO_INIT.
27482 (plus_infty): Initialize with PLUS_INFTY_INIT.
27483 (minus_infty): Initialize with MINUS_INFTY_INIT.
27484 (qnan_value): Initialize with QNAN_VALUE_INIT.
27485 (max_value): Initialize with MAX_VALUE_INIT.
27486 (min_value): Initialize with MIN_VALUE_INIT.
27487 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27488
ae08db3b
JM
27489 * math/libm-test.inc (RUN_TEST_if_f): New macro.
27490 (jn_test): Use TEST_if_f instead of TEST_ff_f.
27491 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27492 (yn_test): Use TEST_if_f instead of TEST_ff_f.
27493
f44bf14a
JM
27494 * math/libm-test.inc (RUN_TEST_f_f): New macro.
27495 (RUN_TEST_2_f): Likewise.
27496 (RUN_TEST_ff_f): Likewise.
27497 (RUN_TEST_fi_f): Likewise.
27498 (RUN_TEST_fl_f): Likewise.
27499 (RUN_TEST_fff_f): Likewise.
27500 (RUN_TEST_c_f): Likewise.
27501 (RUN_TEST_f_f1): Likewise.
27502 (RUN_TEST_fF_f1): Likewise.
27503 (RUN_TEST_fI_f1): Likewise.
27504 (RUN_TEST_ffI_f1): Likewise.
27505 (RUN_TEST_c_c): Likewise.
27506 (RUN_TEST_cc_c): Likewise.
27507 (RUN_TEST_f_i): Likewise.
27508 (RUN_TEST_f_i_tg): Likewise.
27509 (RUN_TEST_ff_i_tg): Likewise.
27510 (RUN_TEST_f_b): Likewise.
27511 (RUN_TEST_f_b_tg): Likewise.
27512 (RUN_TEST_f_l): Likewise.
27513 (RUN_TEST_f_L): Likewise.
27514 (RUN_TEST_sincos): Likewise.
27515 * math/gen-libm-test.pl (new_test): Take new argument to indicate
27516 whether to show exceptions. Do not include ");\n" in return
27517 value.
27518 (special_functions): Output call to RUN_TEST_sincos instead of
27519 check_float calls. Update calls to new_test.
27520 (parse_args): Output call to single RUN_TEST_* macro instead of
27521 check_* calls and other assignments. Update calls to new_test.
27522
d8cd06db
JM
27523 [BZ #2546]
27524 [BZ #2560]
27525 [BZ #5159]
27526 [BZ #15426]
27527 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27528 input to result for tgamma overflow.
27529 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27530 (gamma_coeff): New variable.
27531 (NCOEFF): New macro.
27532 (gamma_positive): New function.
27533 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27534 underflow here. Use gamma_positive instead of exp (lgamma) for
27535 other arguments.
27536 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27537 (gamma_coeff): New variable.
27538 (NCOEFF): New macro.
27539 (gammaf_positive): New function.
27540 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27541 underflow here. Use gamma_positive instead of exp (lgamma) for
27542 other arguments.
27543 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27544 (gamma_coeff): New variable.
27545 (NCOEFF): New macro.
27546 (gammal_positive): New function.
27547 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27548 underflow here. Use gamma_positive instead of exp (lgamma) for
27549 other arguments.
27550 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27551 (gamma_coeff): New variable.
27552 (NCOEFF): New macro.
27553 (gammal_positive): New function.
27554 (__ieee754_gammal_r): Handle positive infinity, overflow and
27555 underflow here. Handle NaN the same as positive infinity. Remove
27556 check x < 0xffffffff for negative integers. Use gamma_positive
27557 instead of exp (lgamma) for other arguments.
27558 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27559 (gamma_coeff): New variable.
27560 (NCOEFF): New macro.
27561 (gammal_positive): New function.
27562 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27563 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27567 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27568 * sysdeps/generic/math_private.h (__gamma_productf): New
27569 prototype.
27570 (__gamma_product): Likewise.
27571 (__gamma_productl): Likewise.
27572 * math/Makefile (libm-calls): Add gamma_product.
27573 * math/libm-test.inc (tgamma_test): Add more tests.
27574 * sysdeps/i386/fpu/libm-test-ulps: Update.
27575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27576
bb7cf681
OB
275772013-05-08 Ondřej Bílka <neleai@seznam.cz>
27578
27579 * benchtests/bench-skeleton.c (main): Preheat CPU.
27580
ba853947
AJ
275812013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27582
27583 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27584
8347c74c
RM
275852013-05-07 Roland McGrath <roland@hack.frob.com>
27586
27587 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27588 and _dl_skip_args_internal.
27589
e8dd4791
CD
275902013-05-07 Carlos O'Donell <carlos@redhat.com>
27591
27592 * manual/message.texi (Message Translation): Talk about users.
27593 Message to key mapping impacts design.
27594
c7405830
RM
275952013-05-06 Roland McGrath <roland@hack.frob.com>
27596
a9173057
RM
27597 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27598
976e2f03
RM
27599 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27600
9723ffc5
RM
27601 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27602 * sysdeps/wordsize-64/glob64.c: ... here.
27603
962e6658
RM
27604 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27605 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27606 New macros.
27607
ee586a6d
RM
27608 * debug/getlogin_r_chk.c: Moved to ...
27609 * login/getlogin_r_chk.c: ... here.
27610 * debug/Makefile (routines): Move getlogin_r_chk to ...
27611 * login/Makefile (routines): ... here.
27612 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27613 * login/Versions (libc: GLIBC_2.4): ... here.
27614
355f9165
RM
27615 * io/poll.c (__poll): Renamed from poll.
27616 Add libc_hidden_def.
27617 (poll): Define as weak alias.
27618
bd9ffde6
RM
27619 * debug/ptsname_r_chk.c: Moved to ...
27620 * login/ptsname_r_chk.c: ... here.
27621 * debug/Makefile (routines): Move ptsname_r_chk to ...
27622 * login/Makefile (routines): ... here.
27623 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27624 * login/Versions (libc: GLIBC_2.4): ... here.
27625
8fb16a04
RM
27626 * posix/getlogin.c: Moved to ...
27627 * login/getlogin.c: ... here.
27628 * posix/getlogin_r.c: Moved to ...
27629 * login/getlogin_r.c: ... here.
27630 * posix/getlogin_r.c: Moved to ...
27631 * login/getlogin_r.c: ... here.
27632 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27633 * login/Makefile (routines): ... here.
27634 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27635 * login/Versions (libc: GLIBC_2.0): ... here.
27636
b99b892f
RM
27637 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27638 (setrlimit): Define as weak alias.
27639
c7405830
RM
27640 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27641 Call __ names for open, ftruncate, and close.
27642 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27643 (truncate): Define as weak alias.
27644
5bf96de5
JM
276452013-05-06 Joseph Myers <joseph@codesourcery.com>
27646
9ea3513c
JM
27647 * math/gen-libm-test.pl (parse_args): Initialize x before each
27648 test of frexp, modf and remquo.
27649
5bf96de5
JM
27650 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27651 test signgam value.
27652
16e616a7
AZ
276532013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27654
27655 [BZ #15418]
27656 [BZ #15419]
27657 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27658 internal tests.
27659 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27660
d5e82754
RM
276612013-05-06 Roland McGrath <roland@hack.frob.com>
27662
27663 * elf/dl-writev.h: New file.
27664 * elf/dl-misc.c: Include it.
27665 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27666 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27667
a7548d41
JM
276682013-05-04 Joseph Myers <joseph@codesourcery.com>
27669
b7dab1e4
JM
27670 * math/libm-test.inc (noXFails): Remove variable.
27671 (noXPasses): Likewise.
27672 (BUILD_COMPLEX_INT): Remove macro.
27673 (print_screen): Remove xfail argument.
27674 (print_screen_max_error): Likewise.
27675 (update_stats): Likewise.
27676 (print_max_error): Likewise. Update calls to other affected
27677 functions.
27678 (print_complex_max_error): Likewise.
27679 (test_single_exception): Update calls to print_screen.
27680 (test_single_errno): Likewise.
27681 (check_float_internal): Remove xfail argument. Update calls to
27682 other affected functions.
27683 (check_float): Likewise.
27684 (check_complex): Likewise.
27685 (check_int): Likewise.
27686 (check_long): Likewise.
27687 (check_bool): Likewise.
27688 (check_longlong): Likewise.
27689 (main): Don't print noXFails and noXPasses.
27690 * math/gen-libm-test.pl (top level): Don't mention expected
27691 failure handling in comment.
27692 (new_test): Don't handle expected failures.
27693 (parse_args): Don't mention expected failure handling in comment.
27694 (generate_testfile): Don't handle expected failures.
27695 (parse_ulps): Likewise.
27696 (print_ulps_file): Likewise.
27697 (get_failure): Remove function.
27698 (output_test): Don't handle expected failures.
27699 * make/README.libm-test: Don't mention expected failure handling.
27700
a7548d41
JM
27701 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27702 (minus_zero): Likewise.
27703 (plus_infty): Likewise.
27704 (minus_infty): Likewise.
27705 (qnan_value): Likewise.
27706 (max_value): Likewise.
27707 (min_value): Likewise.
27708 (min_subnorm_value): Likewise.
27709 (initialize): Do not initialize those variables dynamically.
27710
60bfd54c
RM
277112013-05-03 Roland McGrath <roland@hack.frob.com>
27712
cc0e6ed8
RM
27713 * io/open.c (__open_2): Moved to ...
27714 * io/open_2.c: ... this new file.
27715 * io/open64.c (__open64_2): Moved to ...
27716 * io/open64_2.c: ... this new file.
27717 * io/openat.c (__openat_2): Moved to ...
27718 * io/openat_2.c: ... this new file.
27719 * io/openat64.c (__openat64_2): Moved to ...
27720 * io/openat64_2.c: ... this new file.
27721 * io/Makefile (routines): Add them.
27722 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27723 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27724 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27725 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27726 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27727 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27728 (__openat64): Add hidden_ver.
27729 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27730 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27731
60bfd54c
RM
27732 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27733 Separately conditionalize setting of GLRO(dl_sysinfo) so
27734 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27735 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27736
83e7640f
AZ
277372013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27738
27739 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27741 definition.
27742 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27743 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27744 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27745 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27746 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27747
d5dc2af3
JM
277482013-05-03 Joseph Myers <joseph@codesourcery.com>
27749
c31a5b1e
JM
27750 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27751 test signgam value.
27752
d5dc2af3
JM
27753 * math/libm-test.inc (hypot_test): Do not use
27754 IGNORE_ZERO_INF_SIGN.
27755
164fd39d
AJ
277562013-05-03 Andreas Jaeger <aj@suse.de>
27757
27758 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27759 Linux 3.9.
27760 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27761 (PF_MAX): Adjust for VSOCK change.
27762
8237f48c
AZ
277632013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27764
27765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27766
9df02941
CD
277672013-05-02 Carlos O'Donell <carlos@redhat.com>
27768
27769 [BZ #15264]
27770 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27771 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27772 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27773
d422395e
DM
277742013-05-02 David S. Miller <davem@davemloft.net>
27775
27776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27777
a07c5731
OB
277782013-05-01 Ondřej Bílka <neleai@seznam.cz>
27779
27780 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27781
1324e37f
RM
277822013-05-01 Roland McGrath <roland@hack.frob.com>
27783
27784 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27785
0695940b
RS
277862013-05-01 Richard Smith <richard@metafoo.co.uk>
27787
bb5f27ad 27788 [BZ #14952]
0695940b
RS
27789 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27790 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27791 Use __attribute__ ((__gnu_inline__)).
27792 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27793 Don't use __attribute__ ((__gnu_inline__)).
27794
10de07f5
JM
277952013-05-01 Joseph Myers <joseph@codesourcery.com>
27796
27797 [BZ #15423]
27798 * math/s_catan.c (__catan): Handle small real or imaginary part of
27799 input specially to avoid spurious underflow.
27800 * math/s_catanf.c (__catanf): Likewise.
27801 * math/s_catanh.c (__catanh): Likewise.
27802 * math/s_catanhf.c (__catanhf): Likewise.
27803 * math/s_catanhl.c (__catanhl): Likewise.
27804 * math/s_catanl.c (__catanl): Likewise.
27805 * math/libm-test.inc (catan_test): Add more tests.
27806 (catanh_test): Likewise.
27807 * sysdeps/i386/fpu/libm-test-ulps: Update.
27808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27809
cb4d5414
AZ
278102013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27811
27812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27813
caf84319
JM
278142013-04-30 Joseph Myers <joseph@codesourcery.com>
27815
27816 [BZ #15416]
27817 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27818 accurately for denominator in atan2.
27819 * math/s_catanf.c (__catanf): Likewise.
27820 * math/s_catanh.c (__catanh): Likewise.
27821 * math/s_catanhf.c (__catanhf): Likewise.
27822 * math/s_catanhl.c (__catanhl): Likewise.
27823 * math/s_catanl.c (__catanl): Likewise.
27824 * math/libm-test.inc (catan_test): Add more tests.
27825 (catanh_test): Likewise.
27826 * sysdeps/i386/fpu/libm-test-ulps: Update.
27827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27828
d569c6ee
SP
278292013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27830
6dbe713d
SP
27831 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27832
f0ee064b
SP
27833 * benchtests/Makefile (bench): Remove slow benchmarks.
27834 * benchtests/atan-inputs: Add slow benchmark inputs.
27835 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27836 (BENCH_FUNC): Accept variant offset.
27837 (VARIANT): Define.
27838 * benchtests/bench-skeleton.c (main): Run benchmark for each
27839 variant.
27840 * benchtests/cos-inputs: Add slow benchmark inputs.
27841 * benchtests/exp-inputs: Likewise.
27842 * benchtests/pow-inputs: Likewise.
27843 * benchtests/sin-inputs: Likewise.
27844 * benchtests/slowatan-inputs: Remove.
27845 * benchtests/slowatan.c: Remove.
27846 * benchtests/slowcos-inputs: Remove.
27847 * benchtests/slowcos.c: Remove.
27848 * benchtests/slowexp-inputs: Remove.
27849 * benchtests/slowexp.c: Remove.
27850 * benchtests/slowpow-inputs: Remove.
27851 * benchtests/slowpow.c: Remove.
27852 * benchtests/slowsin-inputs: Remove.
27853 * benchtests/slowsin.c: Remove.
27854 * benchtests/slowtan-inputs: Remove.
27855 * benchtests/slowtan.c: Remove.
27856 * benchtests/tan-inputs: Add slow benchmark inputs.
27857 * scripts/bench.pl: Parse comments and directives.
27858
d569c6ee
SP
27859 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27860 in CPPFLAGS.
27861 ($(objpfx)bench-%.c): Remove *-ITER.
27862 * benchtests/bench-modf.c: Remove definition of ITER.
27863 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27864 (main): Loop for DURATION seconds instead of fixed number of
27865 iterations.
27866 * scripts/bench.pl: Don't expect iterations in parameters.
27867
a6a242fe
RM
278682013-04-29 Roland McGrath <roland@hack.frob.com>
27869
27870 * io/fchdir.c (__fchdir): Renamed from fchdir.
27871 (fchdir): Define as weak alias.
27872
f2da7793
JM
278732013-04-29 Joseph Myers <joseph@codesourcery.com>
27874
27875 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27876 (ERRNO_EDOM): Likewise.
27877 (ERRNO_ERANGE): Likewise.
27878 (noErrnoTests): New variable.
27879 (init_max_error): Set errno to 0.
27880 (test_single_errno): New function.
27881 (test_errno): Likewise.
27882 (check_float_internal): Call test_errno. Set errno to 0.
27883 (check_complex): Refer to errno tests in comment.
27884 (check_int): Call test_errno. Set errno to 0.
27885 (check_long): Likewise.
27886 (check_bool): Likewise.
27887 (check_longlong): Likewise.
27888 (cos_test): Use ERRNO_* flags for errno tests instead of
27889 check_int.
27890 (expm1_test): Likewise.
27891 (fmod_test): Likewise.
27892 (ilogb_test): Likewise.
27893 (lgamma_test): Likewise.
27894 (pow_test): Likewise.
27895 (remainder_test): Likewise.
27896 (sin_test): Likewise.
27897 (tan_test): Likewise.
27898 (yn_test): Likewise.
27899 (initialize): Set errno to 0.
27900 (main): Print number of errno tests.
27901 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27902
b1a36ceb
AJ
279032013-04-29 Andreas Jaeger <aj@suse.de>
27904
c3ed8088
AJ
27905 [BZ #15084]
27906 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27907 and RES_USEVC.
27908
f1a24198
AJ
27909 [BZ #15085]
27910 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27911 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27912 unimplemented.
27913
9ce3b2cb
AJ
27914 [BZ #15380]
27915 * stdlib/random.c (__initstate): Return NULL if
27916 __initstate fails.
27917
f1a24198 27918 [BZ #15086]
b1a36ceb
AJ
27919 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27920 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27921 RES_SNGLKUPREOP.
27922
7e7b6f36
AZ
279232013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27924
27925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27926
4d14f449
JM
279272013-04-29 Joseph Myers <joseph@codesourcery.com>
27928
27929 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27930 of individual tests.
27931 (casin_test): Likewise.
27932 (casinh_test): Likewise.
27933
5b4217d7
JM
279342013-04-27 Joseph Myers <joseph@codesourcery.com>
27935
27936 [BZ #15409]
27937 * math/s_catan.c (__catan): Handle arguments with large real or
27938 imaginary part separately without squaring.
27939 * math/s_catanf.c (__catanf): Likewise.
27940 * math/s_catanh.c (__catanh): Likewise.
27941 * math/s_catanhf.c (__catanhf): Likewise.
27942 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27943 and redefine.
27944 (__catanhl): Handle arguments with large real or imaginary part
27945 separately without squaring.
27946 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27947 and redefine.
27948 (__catanl): Handle arguments with large real or imaginary part
27949 separately without squaring.
27950 * math/libm-test.inc (catan_test): Add more tests.
27951 (catanh_test): Likewise.
27952 * sysdeps/i386/fpu/libm-test-ulps: Update.
27953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954
4220c3ef
AJ
279552013-04-27 Andreas Jaeger <aj@suse.de>
27956
27957 [BZ #15007]
27958 * stdlib/stdlib.h: Update guards for qecvt.
27959 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27960 <stdlib.h>.
27961
4721b2d1
AM
279622013-04-27 Allan McRae <allan@archlinux.org>
27963
27964 * sysdeps/i386/fpu/libm-test-ulps: Update.
27965
f0302940
JM
279662013-04-26 Joseph Myers <joseph@codesourcery.com>
27967
9457fd95
JM
27968 [BZ #15406]
27969 * math/s_catan.c: Include <float.h>.
27970 (__catan): Ensure underflow exception occurs for underflowed
27971 result.
27972 * math/s_catanf.c: Include <float.h>.
27973 (__catanf): Ensure underflow exception occurs for underflowed
27974 result.
27975 * math/s_catanh.c: Include <float.h>.
27976 (__catanh): Ensure underflow exception occurs for underflowed
27977 result.
27978 * math/s_catanhf.c: Include <float.h>.
27979 (__catanhf): Ensure underflow exception occurs for underflowed
27980 result.
27981 * math/s_catanhl.c: Include <float.h>.
27982 (__catanhl): Ensure underflow exception occurs for underflowed
27983 result.
27984 * math/s_catanl.c: Include <float.h>.
27985 (__catanl): Ensure underflow exception occurs for underflowed
27986 result.
27987 * math/libm-test.inc (catan_test): Add more tests.
27988 (catanh_test): Likewise.
27989
f0302940
JM
27990 [BZ #15405]
27991 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27992 underflowed result.
27993 * math/s_ccoshf.c (__ccoshf): Likewise.
27994 * math/s_ccoshl.c (__ccoshl): Likewise.
27995 * math/s_csin.c (__csin): Likewise.
27996 * math/s_csinf.c (__csinf): Likewise.
27997 * math/s_csinh.c (__csinh): Likewise.
27998 * math/s_csinhf.c (__csinhf): Likewise.
27999 * math/s_csinhl.c (__csinhl): Likewise.
28000 * math/s_csinl.c (__csinl): Likewise.
28001 * math/libm-test.inc (ccos_test): Add more tests.
28002 (ccosh_test): Likewise.
28003 (csin_test): Likewise.
28004 (csinh_test): Likewise.
28005
aa630f59
AZ
280062013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28007
28008 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28009 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28010 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28011 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28012 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28013 powerpc/power5+/fpu folders.
28014 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28015
28016
1b835983
MT
280172013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28018
28019 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28020
73709b26
JM
280212013-04-25 Joseph Myers <joseph@codesourcery.com>
28022
28023 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28024 additions to variable.
28025 [$(config-machine) = x86_64] (modules-names): Likewise.
28026 ($(objpfx)tst-audit3): Remove dependency.
28027 ($(objpfx)tst-audit3.out): Likewise.
28028 ($(objpfx)tst-audit4): Likewise.
28029 ($(objpfx)tst-audit4.out): Likewise.
28030 ($(objpfx)tst-audit5): Likewise.
28031 ($(objpfx)tst-audit5.out): Likewise.
28032 ($(objpfx)tst-audit6): Likewise.
28033 ($(objpfx)tst-audit6.out): Likewise.
28034 ($(objpfx)tst-audit7): Likewise.
28035 ($(objpfx)tst-audit7.out): Likewise.
28036 (tst-audit3-ENV): Remove variable.
28037 (tst-audit4-ENV): Likewise.
28038 (tst-audit5-ENV): Likewise.
28039 (tst-audit6-ENV): Likewise.
28040 (tst-audit7-ENV): Likewise.
28041 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28042 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28043 addition to variable.
28044 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28045 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28046 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28047 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28048 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28049 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28050 tst-audit3, tst-audit4 and tst-audit5.
28051 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28052 tst-audit6 and tst-audit7.
28053 [$(subdir) = elf] (modules-names): Add audit modules for those
28054 tests.
28055 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28056 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28057 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28058 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28059 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28060 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28061 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28062 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28063 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28064 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28065 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28066 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28067 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28068 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28069 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28070 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28071 Likewise.
28072 [$(subdir) = elf && $(config-cflags-avx) = yes]
28073 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28074 [$(subdir) = elf && $(config-cflags-avx) = yes]
28075 (CFLAGS-tst-auditmod4a.c): Likewise.
28076 [$(subdir) = elf && $(config-cflags-avx) = yes]
28077 (CFLAGS-tst-auditmod4b.c): Likewise.
28078 [$(subdir) = elf && $(config-cflags-avx) = yes]
28079 (CFLAGS-tst-auditmod6b.c): Likewise.
28080 [$(subdir) = elf && $(config-cflags-avx) = yes]
28081 (CFLAGS-tst-auditmod6c.c): Likewise.
28082 [$(subdir) = elf && $(config-cflags-avx) = yes]
28083 (CFLAGS-tst-auditmod7b.c): Likewise.
28084 * elf/tst-audit3.c: Move to ...
28085 * sysdeps/x86_64/tst-audit3.c: ... here.
28086 * elf/tst-audit4.c: Move to ...
28087 * sysdeps/x86_64/tst-audit4.c: ... here.
28088 * elf/tst-audit5.c: Move to ...
28089 * sysdeps/x86_64/tst-audit5.c: ... here.
28090 * elf/tst-audit6.c: Move to ...
28091 * sysdeps/x86_64/tst-audit6.c: ... here.
28092 * elf/tst-audit7.c: Move to ...
28093 * sysdeps/x86_64/tst-audit7.c: ... here.
28094 * elf/tst-auditmod3a.c: Move to ...
28095 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28096 * elf/tst-auditmod3b.c: Move to ...
28097 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28098 * elf/tst-auditmod4a.c: Move to ...
28099 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28100 * elf/tst-auditmod4b.c: Move to ...
28101 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28102 * elf/tst-auditmod5a.c: Move to ...
28103 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28104 * elf/tst-auditmod5b.c: Move to ...
28105 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28106 * elf/tst-auditmod6a.c: Move to ...
28107 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28108 * elf/tst-auditmod6b.c: Move to ...
28109 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28110 * elf/tst-auditmod6c.c: Move to ...
28111 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28112 * elf/tst-auditmod7a.c: Move to ...
28113 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28114 * elf/tst-auditmod7b.c: Move to ...
28115 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28116
1ef74943
PP
281172013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28118
28119 [BZ #15366]
28120 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28121 define unconditionally.
28122 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28123 define unconditionally.
28124 (INT8_C, INT16_C, etc.): Likewise.
28125
93fd48c5
MR
281262013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28127
ae9552cf
MR
28128 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28129 __ehdr_start with hidden visibility.
28130
93fd48c5
MR
28131 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28132
418601aa
CD
281332013-04-24 Carlos O'Donell <carlos@redhat.com>
28134
28135 * math/libm-test.inc (cos_test): Use accurate hex constants.
28136 (sincost_test): Likewise.
28137
2f38fbfe
JM
281382013-04-24 Joseph Myers <joseph@codesourcery.com>
28139
5e221800
JM
28140 * math/libm-test.inc (catan_test): Add more tests.
28141 (catanh_test): Likewise.
28142
77f143fd
JM
28143 * math/s_catanf.c (__catanf): Use suffixed floating-point
28144 constants.
28145 * math/s_catanhf.c (__catanhf): Likewise.
28146 * math/s_catanhl.c (__catanhl): Likewise.
28147 * math/s_catanl.c (__catanl): Likewise.
28148
2f38fbfe
JM
28149 [BZ #15394]
28150 * math/s_catan.c (__catan): Calculate imaginary part of result
28151 with log1p not log unless computing log of number close to 0.
28152 * math/s_catanf.c (__catanf): Likewise.
28153 * math/s_catanl.c (__catanl): Likewise.
28154 * math/s_catanh.c (__catanh): Calculate real part of result with
28155 log1p not log unless computing log of number close to 0.
28156 * math/s_catanhf.c (__catanhf): Likewise.
28157 * math/s_catanhl.c (__catanhl): Likewise.
28158 * math/libm-test.inc (catan_test): Add more tests.
28159 (catanh_test): Likewise.
28160 * sysdeps/i386/fpu/libm-test-ulps: Update.
28161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28162
45d69176
SP
281632013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28164
28165 * benchtests/Makefile: Mention files in which fast and slow
28166 paths of math functions are implemented.
28167
87f51853
RM
281682013-04-23 Roland McGrath <roland@hack.frob.com>
28169
28170 * sysdeps/posix/timespec_get.c: New file.
28171
3c026539
AZ
281722013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28173
28174 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28175 POWER.
28176 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28177 for POWER.
28178 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28179 powerpc/power5/fpu folders.
28180 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28181 * benchtests/Makefile: Add modf testcase.
28182 * benchtests/bench-modf.c: New file: Benchmark test for mo
28183
ff491d14
SP
281842013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28185
28186 [BZ #14888]
28187 * time/Makefile (tests): Add tst-strptime-whitespace.
28188 * time/strptime_l.c (get_number): Use ISSPACE.
28189 (__strptime_internal): Likewise.
28190 * time/tst-strptime-whitespace.c: New test case.
28191
7ed3f4e8
AS
281922013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28193
28194 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28195 member.
28196 (_nss_files_init): Set it here.
28197
5c95f7b6
HC
281982013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28199
28200 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28201 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28202 unsigned.
28203
d34c9158
JBG
282042013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28205
28206 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28207
2169712d
SP
282082013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28209
28210 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28211 size just once.
28212
29c5de99
DM
282132013-04-21 David S. Miller <davem@davemloft.net>
28214
28215 * po/ru.po: Update Russion translation from translation project.
28216
ccdad15d
AC
282172013-04-17 Adam Conrad <adconrad@0c3.net>
28218
28219 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28220 and setfsgid.
28221
0f122b8d
CD
282222013-04-17 Carlos O'Donell <carlos@redhat.com>
28223
5c5b07da 28224 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28225 * configure: Regenerate.
5c5b07da 28226 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28227 Add example to error message.
28228 * sysdeps/i386/configure: Regenerate.
28229
037714dd
SP
282302013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28231
28232 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28233 slowtan.
28234 * benchtests/cos-inputs: New file.
28235 * benchtests/slowcos-inputs: New file.
28236 * benchtests/slowcos.c: New file.
28237 * benchtests/slowtan-inputs: New file.
28238 * benchtests/slowtan.c: New file.
28239 * benchtests/tan-inputs: New file.
28240
e913141d
RM
282412013-04-16 Roland McGrath <roland@hack.frob.com>
28242
28243 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28244 considered kosher.
28245
a2964074
SP
282462013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28247
4856bcd2
SP
28248 * benchtests/Makefile: Include cppflags-iterator.mk to add
28249 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28250
a2964074
SP
28251 * Makefile.in (bench-clean): New target.
28252 * benchtests/Makefile (bench-clean): Likewise.
28253
9fbf9aca
DH
282542013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28255
28256 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28257
207d1e2a
TS
282582013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28259
28260 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28261
306dfba9
AS
282622013-04-15 Andreas Schwab <schwab@suse.de>
28263
28264 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28265 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28266 * nscd/pwdcache.c (cache_addpw): Likewise.
28267 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28268 more than recsize.
28269
206a6699
SP
282702013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28271
28272 * benchtests/Makefile (bench): Write all output to
28273 bench-out.tmp together.
28274
0582f6b3
AS
282752013-04-15 Andreas Schwab <schwab@suse.de>
28276
28277 * nscd/nscd.c (main): Don't fork again after closing files.
28278
acb4325f
SP
282792013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28280
5cb26d0a
SP
28281 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28282
acb4325f
SP
28283 * benchtests/Rules (bench-deps): Collect dependencies into a
28284 single variable. Add Makefile to dependencies.
28285 ($(objpfx)bench-%.c): Depend on bench-deps.
28286
47792506
RM
282872013-04-12 Roland McGrath <roland@hack.frob.com>
28288 Xavier Roche <roche+kml2@exalead.com>
28289
28290 [BZ #15361]
28291 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28292 just that it's a file descriptor.
28293 * manual/llio.texi (Synchronizing AIO Operations): Update description
28294 for EBADF error from aio_fsync.
28295
8fc1bee5
SP
282962013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28297
28298 * Rules (bench): Move target definition...
28299 * benchtests/Makefile: ... here.
28300
aba5e333
CD
283012013-04-11 Carlos O'Donell <carlos@redhat.com>
28302
28303 * math/libm-test.inc (cos_test): Fix PI/2 test.
28304 (sincos_test): Likewise.
28305 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28306 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28307
273cdee8
AS
283082013-04-11 Andreas Schwab <schwab@suse.de>
28309
6ecec3b6
AS
28310 [BZ #13988]
28311 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28312 accept exponent character only when digits were seen.
28313 * stdio-common/Makefile (tests): Add bug26.
28314 * stdio-common/bug26.c: New file.
28315
273cdee8
AS
28316 [BZ #14293]
28317 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28318 non-freeable.
28319
8da491f5
SP
283202013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28321
01dc6df9
SP
28322 * Makeconfig (rtld-prefix): Define built linker prefix.
28323 * Rules (run-bench): Use it.
28324 * math/Makefile (run-regen-ulps): Likewise.
28325
8da491f5
SP
28326 * Rules (bench): Remove eval.
28327
abe7f530
SP
283282013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28329 Roland McGrath <roland@hack.frob.com>
28330 Ondrej Bilka <neleai@seznam.cz>
28331
28332 [BZ #15346]
28333 * time/getdate.c: Include ctype.h and alloca.h.
28334 (__getdate_r): Trim leading and trailing spaces of input.
28335 * time/tst-getdate.c (tests): Add tests with leading and
28336 trailing spaces.
28337
61c23e62
RM
283382013-04-08 Roland McGrath <roland@hack.frob.com>
28339
28340 [BZ #14280]
28341 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28342 when computing value.
28343
7208a313
CD
283442013-04-06 Carlos O'Donell <carlos@redhat.com>
28345
085b2d41
CD
28346 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28347 Use testrun.sh to run libm tests.
28348
7208a313
CD
28349 [BZ #15309]
28350 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28351
872c0acd
MM
283522013-04-06 Marko Myllynen <myllynen@redhat.com>
28353
28354 [BZ #15264]
28355 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28356
26510bdd
CD
283572013-04-06 Carlos O'Donell <carlos@redhat.com>
28358
28359 * Makefile.in (regen-ulps): New target.
28360 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28361 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28362 [ifneq (no,$(PERL)] (regen-ulps): New target.
28363 [ifeq (no,$(PERL)] (regen-ulps): New target.
28364 * math/libm-test.inc (ulps_file_name): Define.
28365 (output_dir): New variable.
28366 (options): Add "output-dir" option.
28367 (parse_opt): Handle 'o' case.
28368 (main): If output_dir is non-NULL use it as a prefix
28369 otherwise use "".
28370 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28371
a01f19c8
CD
283722013-04-06 Carlos O'Donell <carlos@redhat.com>
28373
28374 [BZ #10060, #10062]
28375 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28376 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28377 fail configure if __sync_val_compare_and_swap is not inlined.
28378 * sysdeps/i386/configure: Regenerate.
28379 * configure.in: Build for i686 when configured for i386.
28380 * configure: Regenerate.
28381 * README: Remove i386 reference.
28382
b7a329a5
CD
283832013-04-06 Carlos O'Donell <carlos@redhat.com>
28384
28385 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28386 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28387
bf0f50df
TS
283882013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28389
ee091edf
TS
28390 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28391 (lmsnanval): New variables.
28392 (F): Add conversion tests.
28393 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28394 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28395
a8b792d6
TS
28396 * stdio-common/tstdiomisc.c (F): Properly collect individual
28397 tests' results.
28398
a1cbf437
TS
28399 [BZ #14686, #15336]
28400 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28401 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28402 Instead, use input NaN values or generate a qNaN by arithmetic
28403 operation. Also fix bugs to comply with the standard.
28404 * math/libm-test.inc (remainder_test): Add more tests.
28405
8b43a0c9
TS
28406 [BZ #15335, #15342]
28407 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28408 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28409 input NaN values or generate a qNaN by arithmetic operation.
28410
d91da4ce
TS
28411 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28412 unreachable code.
28413
bf0f50df
TS
28414 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28415 definitions.
28416
05e166c8
JM
284172013-04-03 Joseph Myers <joseph@codesourcery.com>
28418
28419 [BZ #14478]
28420 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28421 underflowed result.
28422 * math/s_cexpf.c (__cexpf): Likewise.
28423 * math/s_cexpl.c (__cexpl): Likewise.
28424 * math/libm-test.inc (cexp_test): Add more tests.
28425
1cef1b19
AS
284262013-04-03 Andreas Schwab <schwab@suse.de>
28427
28428 [BZ #15330]
28429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28430 order arrays from heap if bigger than alloca cutoff.
28431
74d87055
TS
284322013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28433
28434 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28435 (SNAN_TESTS_double): Refer to GCC PR56831.
28436 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28437 GCC PR56828.
28438
d755bba4
SP
284392013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28440
90d5d5bb
SP
28441 * Rules (bench): Move bench.out after the run is complete.
28442
73e0cd5d
SP
28443 * Rules (bench): Echo currently running benchmark.
28444
64aabd4b
SP
28445 * benchtests/Makefile (bench): Add atan and slowatan.
28446 * benchtests/atan-inputs: New file.
28447 * benchtests/slowatan-inputs: New file.
28448 * benchtests/slowatan.c: New file.
28449
c871eccd
SP
28450 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28452 its value.
28453
d755bba4
SP
28454 [BZ #15305]
28455 * sysdeps/unix/sysv/linux/kernel-features.h
28456 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28457 __ASSUME_XFS_RESTRICTED_CHOWN.
28458 * sysdeps/unix/sysv/linux/pathconf.c
28459 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28460 Save and restore errno.
28461
52ce4860
JM
284622013-04-02 Joseph Myers <joseph@codesourcery.com>
28463
28464 [BZ #15327]
28465 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28466 arguments using __kernel_casinh.
28467 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28468 arguments using __kernel_casinhf.
28469 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28470 arguments using __kernel_casinhl.
28471 * math/libm-test.inc (cacosh_test): Add more tests.
28472 * sysdeps/i386/fpu/libm-test-ulps: Update.
28473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28474
81f311c2
SP
284752013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
28476
e7906a47
SP
28477 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28478 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28479
92e3664b
SP
28480 * bench/Makefile (bench): Add sin and slowsin.
28481 * benchtests/sin-inputs: New file.
28482 * benchtests/slowsin-inputs: New file.
28483 * benchtests/slowsin.c: New file.
28484
81f311c2
SP
28485 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28486 (bench): Add slowexp and slowpow.
28487 (exp-ITER): Increase iterations.
28488 (pow-ITER): Likewise.
28489 * benchtests/exp-inputs: Change input.
28490 * benchtests/pow-inputs: Likewise.
28491 * benchtests/slowexp-inputs: New file.
28492 * benchtests/slowexp.c: New file.
28493 * benchtests/slowpow-inputs: New file.
28494 * benchtests/slowpow.c: New file.
28495
ab0f1aa9
AZ
284962013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28497
28498 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28499 instructions.
28500 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28501 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28502 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28503 * benchtests/Makefile: Add rint benchtest.
28504 * benchtests/rint-inputs: Input for rint benchtest.
28505
57267616
TS
285062013-04-02 Thomas Schwinge <thomas@codesourcery.com>
28507
28508 * Versions.def (libm): Add GLIBC_2.18.
28509 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28510 hidden libm prototypes.
28511 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28512 * math/Makefile (libm-calls): Add s_issignaling.
28513 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28514 __issignalingf, __issignalingl. Adjust all libm.abilist files.
28515 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28516 declaration.
28517 * math/math.h [__USE_GNU] (issignaling): New macro.
28518 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28519 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28520 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28521 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28522 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28523 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28524 * manual/arith.texi (issignaling): New section.
28525 * manual/libm-err-tab.pl (@all_functions): Update comment.
28526 * math/gen-libm-test.pl (parse_args): Apply special handling for
28527 issignaling.
28528 * math/libm-test.inc (print_float, issignaling_test): New
28529 functions.
28530 (check_float_internal): Add issignaling checks.
28531 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28532 default definition.
28533 * sysdeps/powerpc/math-tests.h: New file.
28534 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28535 tests.
28536 * math/test-snan.c (TEST_FUNC): Likewise.
28537
6142896d
DM
285382013-03-30 David S. Miller <davem@davemloft.net>
28539
28540 * po/de.po: Update from translation team.
28541
ccc8cadf
JM
285422013-03-30 Joseph Myers <joseph@codesourcery.com>
28543
28544 [BZ #10357]
28545 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28546 imaginary part less than 1.0 and real part less than 0.5
28547 specially.
28548 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28549 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28550 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28551 (cacos_test): Add more tests.
28552 (casin_test): Likewise.
28553 (casinh_test): Likewise.
28554 * sysdeps/i386/fpu/libm-test-ulps: Update.
28555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28556
0f6a8d4b
SP
285572013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28558
0d1029de
SP
28559 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28560 ONE with its value.
28561
c2d94018
SP
28562 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28563 (__pow_mp): Replace ONE and MONE with their values.
28564 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28565 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28566 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28567 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28568 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28569 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28570
27ec37f1
SP
28571 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28572
a64d7e0e
SP
28573 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28574 (__pow_mp): Replace ZERO and MZERO with their values.
28575 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28576 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28577 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28578 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28579 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28580 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28581 (__sqr): Likewise.
28582
d26dd3eb
SP
28583 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28584
0f6a8d4b
SP
28585 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28586
e57b0c61
RM
285872013-03-28 Roland McGrath <roland@hack.frob.com>
28588
28589 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28590 Declare with __attribute__ ((weak)).
28591 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28592 Call __call_tls_dtors only if it's not NULL.
28593
356b3480
RM
285942013-03-28 Roland McGrath <roland@hack.frob.com>
28595
288f7d79
RM
28596 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28597 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28598 magic __ehdr_start linker symbol if it's defined.
28599 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28600 them up here if it was already done.
28601
dc0a0263
RM
28602 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28603 (_dl_aux_init): Use const in cast when setting it.
28604 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28605 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28606 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28607
3d3436ae
RM
28608 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28609 Declare them here.
28610 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28611 * csu/libc-tls.c: Nor here.
28612 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28613
356b3480
RM
28614 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28615 (__libc_message): Never call vsyslog.
28616
b0f1246a
AM
286172013-03-28 Alan Modra <amodra@gmail.com>
28618
28619 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28620 Define as empty.
28621 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28622 Likewise.
28623
fbbe2b9a
AZ
286242013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28625
28626 [BZ #15214]
28627 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28628 underflow.
28629 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28630
1728ab37
SP
286312013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28632
7a86be6e
SP
28633 [BZ #15304]
28634 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28635 Don't add gid passed as argument.
28636
1728ab37
SP
28637 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28638
3a7182a1
JM
286392013-03-27 Joseph Myers <joseph@codesourcery.com>
28640
28641 [BZ #15307]
28642 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28643 imaginary part between 1.0 and 1.5 and real part less than 0.5
28644 specially.
28645 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28646 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28647 * math/libm-test.inc (cacos_test): Add more tests.
28648 (casin_test): Likewise.
28649 (casinh_test): Likewise.
28650 * sysdeps/i386/fpu/libm-test-ulps: Update.
28651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28652
6f2e90e7
SP
286532013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28654
5739f705
SP
28655 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28656 constants.
28657 (norm): Likewise.
28658 (denorm): Likewise.
28659 (__dbl_mp): Likewise.
28660 (add_magnitudes): Likewise.
28661 (sub_magnitudes): Likewise.
28662 (__add): Likewise.
28663 (__sub): Likewise.
28664 (__mul): Likewise.
28665 (__sqr): Likewise.
28666 (__inv): Likewise.
28667 (__dvd): Likewise.
28668
e375e83d
SP
28669 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28670 commented code.
28671 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28672 (__dubcos): Likewise.
28673 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28674 (__ieee754_acos): Likewise.
28675 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28676 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28677 (__exp1): Likewise.
28678 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28679 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28680 (log1): Likewise.
28681 (my_log2): Likewise.
28682 (checkint): Likewise.
28683 * sysdeps/ieee754/dbl-64/e_remainder.c
28684 (__ieee754_remainder): Likewise.
28685 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28686 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28687 (bsloww): Likewise.
28688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28689
6f2e90e7
SP
28690 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28691 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28692 MANTISSA_STORE_T to store computations on mantissa. Use
28693 macros for rounding and division.
28694 (denorm): Likewise.
28695 (__dbl_mp): Likewise.
28696 (add_magnitudes): Likewise.
28697 (sub_magnitudes): Likewise.
28698 (__mul): Likewise.
28699 (__sqr): Likewise.
28700 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28701 powers of two in terms of TWOPOW macro.
28702 (mp_no): Make type of mantissa as MANTISSA_T.
28703 [!RADIXI]: Define RADIXI.
28704 [!TWO52]: Define TWO52.
28705 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28706
fce14d4e
AZ
287072013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28708
28709 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28710 llroundl symbol when building for PPC32.
28711
9ad027fb
MW
287122013-03-24 Mark H Weaver <mhw@netris.org>
28713
28714 * manual/arith.texi (Normalization Functions): Fix prototypes for
28715 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28716
e42a38dd
AZ
287172013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28718
28719 [BZ #13889]
28720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28721 high value to check if expl overflow.
28722 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28723 to check for underflow and overflow.
28724 * math/libm-test.inc: Add exp test.
28725
2e0fb521
DL
287262013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28727
28728 [BZ #11120]
28729 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28730 with NOT_IN_libc.
28731
b5784d95
AZ
287322013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28733
28734 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28735 symbol.
28736
5aa4a1a1
TS
287372013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28738
bdef0be7
TS
28739 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28740 wrap blocks consisting of several statements.
28741
5aa4a1a1
TS
28742 * sysdeps/generic/math-tests.h: New file.
28743 * sysdeps/i386/fpu/math-tests.h: Likewise.
28744 * math/test-snan.c: Include it.
28745 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28746
98c48fe5
JM
287472013-03-21 Joseph Myers <joseph@codesourcery.com>
28748
28749 [BZ #15285]
28750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28751 (__ieee754_j0l): Do not improve calculations using cos of twice
28752 input for inputs above LDBL_MAX / 2.0L.
28753 (__ieee754_y0l): Likewise.
28754 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28755 (__ieee754_j1l): Do not improve calculations using cos of twice
28756 input for inputs above LDBL_MAX / 2.0L.
28757 (__ieee754_y1l): Likewise.
28758 * math/libm-test.inc (j0_test): Add another test.
28759 (j1_test): Likewise.
28760 (y0_test): Likewise.
28761 (y1_test): Likewise.
28762 * sysdeps/i386/fpu/libm-test-ulps: Update.
28763
3775a8bc
SP
287642013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28765
28766 * Rules ($(objpfx)bench-%.c): Include code from a C source
28767 file.
28768
0a1b2ae6
JM
287692013-03-21 Joseph Myers <joseph@codesourcery.com>
28770
28771 [BZ #15287]
28772 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28773 imaginary part 1.0 and real part less than 0.5 specially.
28774 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28775 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28776 * math/libm-test.inc (cacos_test): Add more tests.
28777 (casin_test): Likewise.
28778 (casinh_test): Likewise.
28779 * sysdeps/i386/fpu/libm-test-ulps: Update.
28780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28781
b33d4ce4
SP
287822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28783
28784 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28785 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28786
bef0b507
JM
287872013-03-20 Joseph Myers <joseph@codesourcery.com>
28788
28789 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28790 * config.make.in (config-cflags-sse4): Remove variable.
28791 (config-cflags-avx): Likewise.
28792 (config-cflags-sse2avx): Likewise.
28793 (config-cflags-novzeroupper): Likewise.
28794 (config-asflags-i686): Likewise.
28795 (have-mfma4): Likewise.
28796 (have-as-vis3): Likewise.
28797 (MIG): Likewise.
28798 * configure.in (MIG): Do not AC_SUBST.
28799 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28800 (libc_cv_cc_sse4): Do not AC_SUBST.
28801 (libc_cv_cc_avx): Likewise.
28802 (libc_cv_cc_sse2avx): Likewise.
28803 (libc_cv_cc_novzeroupper): Likewise.
28804 (libc_cv_cc_fma4): Likewise.
28805 (libc_cv_as_i686): Likewise.
28806 (libc_cv_sparc_as_vis3): Likewise.
28807 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28808 LIBC_CONFIG_VAR.
28809 (config-asflags-i686): Likewise.
28810 (config-cflags-avx): Likewise.
28811 (config-cflags-sse2avx): Likewise.
28812 (have-mfma4): Likewise.
28813 (config-cflags-novzeroupper): Likewise.
28814 * sysdeps/mach/configure.in (MIG): Likewise.
28815 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28816 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28817 LIBC_CONFIG_VAR.
28818 (config-cflags-avx): Likewise.
28819 (config-cflags-sse2avx): Likewise.
28820 (have-mfma4): Likewise.
28821 (config-cflags-novzeroupper): Likewise.
28822 * configure: Regenerated.
28823 * sysdeps/i386/configure: Likewise.
28824 * sysdeps/mach/configure: Likewise.
28825 * sysdeps/sparc/configure: Likewise.
28826 * sysdeps/x86_64/configure: Likewise.
28827
912cc4b3
RM
288282013-03-20 Roland McGrath <roland@hack.frob.com>
28829
28830 [BZ #14812]
28831 * locale/programs/localedef.c (options): Put N_ translation marker
28832 on argument names, not just descriptions.
28833
04eed2b0
MS
288342013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28835
28836 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28837
a065ceff
OB
288382013-03-20 Ondřej Bílka <neleai@seznam.cz>
28839
9bb2a810 28840 [BZ #14176]
a065ceff
OB
28841 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28842
a600e5ce
RM
288432013-03-19 Roland McGrath <roland@hack.frob.com>
28844
28845 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28846 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28847 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28848 [!BEFORE_ABORT] (before_abort): New function.
28849 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28850 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28851 (writev_for_fatal): New function.
28852 (WRITEV_FOR_FATAL): New macro; call that.
28853 (backtrace_and_maps): New function.
28854 (BEFORE_ABORT): New macro; call that.
28855 (struct str_list): Type removed.
28856 (__libc_message, __libc_fatal): Functions removed.
28857 Include <sysdeps/posix/libc_fatal.c> instead.
28858
6b18bea6
JM
288592013-03-19 Joseph Myers <joseph@codesourcery.com>
28860
28861 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28862 constants.
28863 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28864 double constants.
28865
aaa8cb4b
AS
288662013-03-19 Andreas Schwab <schwab@suse.de>
28867
44673770
AS
28868 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28869 * sysdeps/gnu/configure: Regenerate.
28870
aaa8cb4b
AS
28871 * configure.in: Substitute libc_cv_rtlddir.
28872 * configure: Regenerate.
28873 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28874 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28875 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28876 * elf/Makefile (install-others, CFLAGS-interp.c)
28877 (ldso_install, common-ldd-rewrite): Likewise.
28878 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28879 $(inst_slibdir)/$(rtld-installed-name).
28880 * scripts/rellns-sh: Add -p option.
28881 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28882 for source.
28883
d3cfc668
SP
288842013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28885
28886 * manual/nptl.texi: Renamed to ...
28887 * manual/threads.texi: ... this.
28888 * manual/Makefile (chapters): Update.
28889
0e2b9cdd
RM
288902013-03-18 Roland McGrath <roland@hack.frob.com>
28891
28892 [BZ #14812]
28893 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28894 on argument names, not just descriptions.
0e2b9cdd
RM
28895 * malloc/memusagestat.c (options): Likewise.
28896 * nss/getent.c (options): Likewise.
63270c24
RM
28897
288982013-03-18 Benno Schulenberg <bensberg@justemail.net>
28899
28900 [BZ #14812]
28901 * iconv/iconv_prog.c (options): Put N_ translation marker
28902 on argument names, not just descriptions.
28903 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 28904
b2e1393c
OB
289052013-03-18 Ondrej Bilka <neleai@seznam.cz>
28906
28907 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28908 implementation which is faster on all x86_64 architectures.
28909 Tested on AMD, Intel Nehalem, SNB, IVB.
28910 * sysdeps/x86_64/strnlen.S: Likewise.
28911
28912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28913 Remove all multiarch strlen and strnlen versions.
28914 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28915 Remove strlen and strnlen related parts.
28916
28917 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28918 Inline strlen part.
28919 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28920
28921 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28922 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28923 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28924 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28925 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28926 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28927
ec4ff04d
CD
289282013-03-17 Carlos O'Donell <carlos@redhat.com>
28929
28930 * manual/memory.texi (Malloc Tunable Parameters):
28931 Sort parameters alphabetically. Add comments for missing entries.
28932
cd18e90a
DM
289332013-03-17 David S. Miller <davem@davemloft.net>
28934
28935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28936
2a185d32
JM
289372013-03-16 Joseph Myers <joseph@codesourcery.com>
28938
d2f9799e
JM
28939 [BZ #15283]
28940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28941 for arguments at most half maximum finite value.
28942 * math/libm-test.inc (j0_test): Add more tests.
28943 (j1_test): Likewise.
28944 (y0_test): Likewise.
28945 (y1_test): Likewise.
28946 * sysdeps/i386/fpu/libm-test-ulps: Update.
28947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28948
2a185d32
JM
28949 [BZ #14155]
28950 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28951 1 / x and functions P and Q for arguments above 0x1p256L.
28952 (__ieee754_y0l): Likewise.
28953 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28954 (__ieee754_y1l): Likewise.
28955 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28956 (j1_test): Likewise.
28957 (y0_test): Likewise.
28958 (y1_test): Likewise.
28959
6cbec759
TS
289602013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28961
28962 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28963 variable.
28964
bc16e260
RM
289652013-03-15 Roland McGrath <roland@hack.frob.com>
28966
aefc9b8c
RM
28967 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28968 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28969 zero since it's initialized to EXEC_PAGESIZE.
28970
bc16e260
RM
28971 * sysdeps/unix/sysv/linux/ldsodefs.h
28972 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28973 * sysdeps/generic/ldsodefs.h: ... here.
28974
a57da955
TS
289752013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28976
af00a34d
TS
28977 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28978
495ded2c
TS
28979 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28980 math/test-snan.c.
28981 * math/test-snan.c: Renamed from
28982 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28983 * math/Makefile (tests): Add test-snan.
28984 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28985 test-powerpc-snan.
28986
777b0332
TS
28987 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28988 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28989 functions.
28990 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28991 __builtin_nan family of functions.
28992 * math/libm-test.inc (initialize): Initialize qnan_value with
28993 __builtin_nan family of functions.
28994 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28995 Remove variables.
28996 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28997 Remove functions.
28998 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28999 storage class. Initialize qNaN_var and sNaN_var with
29000 __builtin_nan and __builtin_nans families of functions,
29001 respectively.
29002
64d063b8
TS
29003 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29004 (sqrt_test): Remove duplicate test with qNaN input.
29005 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29006 (round_test, signbit_test, significand_test): Note missing +/-Inf
29007 as well as qNaN tests.
29008
67e971f1
TS
29009 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29010 qNaN_var. Fix a few strings, too.
29011 * math/libm-test.inc (nan_value): Rename to qnan_value.
29012 * math/gen-libm-test.pl (%beautify): Adjust to that.
29013 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29014 * math/test-misc.c (main): Likewise.
29015 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29016 to __qnan_bytes, and __qnan_union, respectively.
29017 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29018 Likewise.
29019 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29020 and lqnanval, respectively.
29021 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29022 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29023 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29024 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29025
64487e12
TS
29026 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29027 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29028 doubles.
29029
e015e27b
TS
29030 * math/test-misc.c (main): Fix copy'n'pastos.
29031 * misc/tst-efgcvt.c (special): Likewise.
29032
a57da955
TS
29033 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29034 Remove declarations.
29035
1e380345
SP
290362013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29037
29038 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29039 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29040 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29041 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29042
ef26eece
AZ
290432013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29044
29045 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29046 macro to return vdso values correctly in IFUNC implementations.
29047 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29048 Optimization by using IFUNC.
29049
8cfdb7e0
SP
290502013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29051 Richard Henderson <rth@redhat.com>
29052 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29053
29054 * Makefile.in (bench): New target.
29055 * NEWS: Mention the benchmark framework.
29056 * Rules (bench): Likewise.
29057 (binaries-bench): Generate binaries for functions to
29058 benchmark.
29059 * benchtests/Makefile: New makefile for benchmark tests.
29060 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29061 programs.
29062 * benchtests/exp-inputs: New input file for EXP function.
29063 * benchtests/pow-inputs: New input file for POW function.
29064 * scripts/bench.pl: New script to generate source files for
29065 benchmark programs.
29066
bcda9880
SP
290672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29068
d22ca8cd
SP
29069 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29070 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29071 computations on mantissa. Use macros for rounding and
29072 division.
29073 (denorm): Likewise.
29074 (__dbl_mp): Likewise.
29075 (add_magnitudes): Likewise.
29076 (sub_magnitudes): Likewise.
29077 (__mul): Likewise.
29078 (__sqr): Likewise.
29079 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29080 powers of two in terms of TWOPOW macro.
29081 (mp_no): Make type of mantissa as MANTISSA_T.
29082 [!RADIXI]: Define RADIXI.
29083 [!TWO52]: Define TWO52.
29084 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29085
bcda9880
SP
29086 * manual/nptl.texi (cindex): Modify threads to pthreads.
29087
06d5adfb
JM
290882013-03-15 Joseph Myers <joseph@codesourcery.com>
29089
29090 * sysdeps/x86_64/preconfigure: Regenerated.
29091
41c7328e
JM
290922013-03-14 Joseph Myers <joseph@codesourcery.com>
29093
29094 [BZ #14155]
29095 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29096 0x1p28 and above.
29097 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29098 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29099 0x1p28 and above.
29100 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29101 * math/libm-test.inc (j0_test): Do not allow one spurious
29102 underflow exception.
29103 (y1_test): Likewise.
29104
e25cfa60
SP
291052013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29106
0409959c
SP
29107 * manual/Makefile (chapters): Add nptl.
29108 * manual/debug.texi (Debugging Support): Add link to Threads
29109 chapter.
29110 * manual/nptl.texi: New file.
29111
e25cfa60
SP
29112 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29113
58a1335e
PB
291142013-03-14 Petr Baudis <pasky@ucw.cz>
29115
29116 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29117 for non-NULL pointer before the memory validity test. Pointed
29118 out by Holger Brunck <holger.brunck@keymile.com>.
29119
9dc7c64f
AS
291202013-03-13 Andreas Schwab <schwab@suse.de>
29121
29122 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29123 instead of .os.
29124
54206aa6
JM
291252013-03-13 Joseph Myers <joseph@codesourcery.com>
29126
29127 * timezone/zic.c: Update from tzcode 2013b.
29128
e98cdb38
CD
291292013-03-12 Carlos O'Donell <carlos@redhat.com>
29130
29131 * manual/install.texi (Configuring and compiling):
29132 Mention i686 and i586.
29133 * INSTALL: Regenerate.
29134
9967e003
RM
291352013-03-12 Roland McGrath <roland@hack.frob.com>
29136
29137 * sysdeps/init_array/elf-init.c: New file.
29138 * csu/elf-init.c
29139 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29140 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29141
29142 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29143 __gmon_start__ as global, but as static with a .preinit_array pointer.
29144 * sysdeps/init_array/gmon-start.c: New file. Use that.
29145 * sysdeps/init_array/crti.S: New file, empty except for comments.
29146 * sysdeps/init_array/crtn.S: Likewise.
29147
e6b5a293 291482013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29149
29150 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29151 definining bcopy.
80f844c9
OB
29152 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29153 Remove Prefer_SSE_for_memop.
29154 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29155 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29156 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29157 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29158 memset-x86-64.
80f844c9 29159 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29160 Remove bzero, memset ifunc support.
80f844c9
OB
29161 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29162 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29163 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29164 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29165
fb6b0fcb
AS
291662013-03-11 Andreas Schwab <schwab@suse.de>
29167
29168 [BZ #15234]
29169 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29170 by SHLIB_COMPAT.
29171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29172 (GLIBC_2.16): Remove pthread_atfork.
29173
3e6bd4b1
PP
291742013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29175
29176 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29177 (ptestcases.h): Likewise.
29178
222d7f00
RM
291792013-03-08 Roland McGrath <roland@hack.frob.com>
29180
29181 * Makeconfig ($(common-objpfx)config.status): Depend on
29182 sysdeps/*/preconfigure{,.in} too.
29183
1ba4f030
JM
291842013-03-08 Joseph Myers <joseph@codesourcery.com>
29185
a222d91a
JM
29186 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29187 (__free_hook): Use void * instead of __malloc_ptr_t.
29188 (__malloc_hook): Likewise.
29189 (__realloc_hook): Likewise.
29190 (__memalign_hook): Likewise.
29191 (__after_morecore_hook): Likewise.
29192 * malloc/arena.c (save_malloc_hook): Likewise.
29193 (save_free_hook): Likewise.
29194 * malloc/hooks.c (malloc_hook_ini): Likewise.
29195 (realloc_hook_ini): Likewise.
29196 (memalign_hook_ini): Likewise.
29197 * malloc/malloc.c (malloc_hook_ini): Likewise.
29198 (realloc_hook_ini): Likewise.
29199 (memalign_hook_ini): Likewise.
29200 (__free_hook): Likewise.
29201 (__malloc_hook): Likewise.
29202 (__realloc_hook): Likewise.
29203 (__memalign_hook): Likewise.
29204 (__libc_malloc): Likewise.
29205 (__libc_free): Likewise.
29206 (__libc_realloc): Likewise.
29207 (__libc_memalign): Likewise.
29208 (__libc_valloc): Likewise.
29209 (__libc_pvalloc): Likewise.
29210 (__libc_calloc): Likewise.
29211 (__posix_memalign): Likewise.
29212 * malloc/morecore.c (__sbrk): Likewise.
29213 (__default_morecore): Likewise.
29214
5cc45e10
JM
29215 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29216
dd54b864
JM
29217 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29218 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29219 __malloc_ptrdiff_t.
29220
1ba4f030
JM
29221 * malloc/malloc.h (__malloc_size_t): Remove macro.
29222 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29223 __malloc_size_t.
29224 (old_memalign_hook): Likewise.
29225 (old_realloc_hook): Likewise.
29226 (struct hdr): Likewise.
29227 (flood): Likewise.
29228 (mallochook): Likewise.
29229 (memalignhook): Likewise.
29230 (reallochook): Likewise.
29231 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29232 (tr_old_realloc_hook): Likewise.
29233 (tr_old_memalign_hook): Likewise.
29234 (tr_mallochook): Likewise.
29235 (tr_reallochook): Likewise.
29236 (tr_memalignhook): Likewise.
29237
edf66e57
AZ
292382013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29239
29240 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29241 default_ldbl_pack and using as default implementation.
29242 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29243 implementation.
29244 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29245 redundant definition.
29246 (ldbl_insert_mantissa): Likewise.
29247 (ldbl_canonicalize): Likewise.
29248 (ldbl_nearbyint): Likewise.
29249 (ldbl_pack): Rename to ldbl_pack_ppc.
29250 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29251 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29252 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29253
6d9145d8
SP
292542013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29255
29256 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29257 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29259 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29260 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29261 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29262 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29263 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29264
4dd4e157
AJ
292652013-03-07 Andreas Jaeger <aj@suse.de>
29266
29267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29268 bits/mman-linux.h.
29269
adbb8027
SP
292702013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29271
ce544b5b
SP
29272 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29273 Include mpa.h and declare __MPEXP.
29274 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29275 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29276 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29277 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29278 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29279 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29281
4cc149fd
SP
29282 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29283 (__slowpow): Use long double EXPL and LOGL functions to
29284 compute POW.
29285 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29286 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29287 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29288 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29289 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29290 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29291
e6ebd4a7
SP
29292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29293 intermediate variable to calculate exponent.
29294 (__sqr): Likewise.
29295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29296 Likewise.
29297 (__sqr): Likewise.
29298
82a9811d
SP
29299 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29300 [!NO__SQR]: Define __sqr.
29301 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29302 and NO__SQR. Remove all code except __mul and __sqr. Include
29303 sysdeps/ieee754/dbl-64/mpa.c.
29304 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29305
adbb8027
SP
29306 [BZ #12723]
29307 * posix/Makefile (tests): Add tst-pathconf.
29308 * posix/tst-pathconf.c: New test case.
29309 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29310 _PC_PIPE_BUF.
29311 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29312
39120df9
PF
293132013-03-06 Patsy Franklin <pfrankli@redhat.com>
29314
29315 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29316
67525cb8
AJ
293172013-03-06 Andreas Jaeger <aj@suse.de>
29318
664a9ce4
AJ
29319 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29320 definition via __MAP_ANONYMOUS.
29321
8e39047d
AJ
29322 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29323 it's not part of Linux headers.
29324
67525cb8
AJ
29325 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29326 (MAP_HUGE_MASK): Define.
29327
29328 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29329 Define.
29330 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29331 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29332 Define.
29333 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29334 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29335 Define.
29336 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29337 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29338 Define.
29339 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29340
29341 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29342 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29343 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29344 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29345 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29346 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29347
29348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29349 Handle f2fs.
29350
29351 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29352 Handle f2fs and efivarfs.
29353
29354 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29355 f2fs.
29356
29357 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29358 (EFIVARFS_MAGIC): Add.
29359 (F2FS_LINK_MAX): Add.
29360
e1b42695
PP
293612013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29362
29363 * stdio-common/vfprintf.c: Replace __builtin_expect with
29364 __glibc_unlikely.
29365
2d67d91a
JM
293662013-03-06 Joseph Myers <joseph@codesourcery.com>
29367
29368 [BZ #13550]
29369 * sysdeps/generic/bp-sym.h: Remove file.
29370 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29371 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29372 <bp-sym.h> and <bp-asm.h>.
29373 (__longjmp): Don't use BP_SYM.
29374 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29375 and <bp-asm.h>.
29376 (memcpy): Don't use BP_SYM.
29377 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29378 <bp-sym.h> and <bp-asm.h>.
29379 (memcpy): Don't use BP_SYM.
29380 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29381 <bp-asm.h>.
29382 (memcpy): Don't use BP_SYM.
29383 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29384 <bp-asm.h>.
29385 (memset): Don't use BP_SYM.
29386 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29387 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29388 (__bzero): Don't use BP_SYM.
29389 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29390 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29392 <bp-sym.h> and <bp-asm.h>.
29393 (memcmp): Don't use BP_SYM. Remove comment about bounded
29394 pointers.
29395 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29396 <bp-sym.h> and <bp-asm.h>.
29397 (memcpy): Don't use BP_SYM.
29398 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29399 <bp-sym.h> and <bp-asm.h>.
29400 (memset): Don't use BP_SYM.
29401 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29402 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29403 (__bzero): Don't use BP_SYM.
29404 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29405 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29407 <bp-sym.h> and <bp-asm.h>.
29408 (strncmp): Don't use BP_SYM. Remove comment about bounded
29409 pointers.
29410 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29411 <bp-sym.h> and <bp-asm.h>.
29412 (memcpy): Don't use BP_SYM.
29413 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29414 <bp-sym.h> and <bp-asm.h>.
29415 (memset): Don't use BP_SYM.
29416 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29417 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29418 (__bzero): Don't use BP_SYM.
29419 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29420 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29421 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29422 <bp-sym.h> and <bp-asm.h>.
29423 (__memchr): Don't use BP_SYM.
29424 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29425 <bp-sym.h> and <bp-asm.h>.
29426 (memcmp): Don't use BP_SYM. Remove comment about bounded
29427 pointers.
29428 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29429 <bp-sym.h> and <bp-asm.h>.
29430 (memcpy): Don't use BP_SYM.
29431 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29432 <bp-sym.h> and <bp-asm.h>.
29433 (__mempcpy): Don't use BP_SYM.
29434 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29435 <bp-sym.h> and <bp-asm.h>.
29436 (__memrchr): Don't use BP_SYM.
29437 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29438 <bp-sym.h> and <bp-asm.h>.
29439 (memset): Don't use BP_SYM.
29440 (__bzero): Likewise.
29441 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29442 <bp-sym.h> and <bp-asm.h>.
29443 (__rawmemchr): Don't use BP_SYM.
29444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29445 <bp-sym.h> and <bp-asm.h>.
29446 (__STRCMP): Don't use BP_SYM.
29447 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29448 <bp-sym.h> and <bp-asm.h>.
29449 (strchr): Don't use BP_SYM.
29450 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29451 <bp-sym.h> and <bp-asm.h>.
29452 (__strchrnul): Don't use BP_SYM.
29453 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29454 <bp-sym.h> and <bp-asm.h>.
29455 (strlen): Don't use BP_SYM.
29456 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29457 <bp-sym.h> and <bp-asm.h>.
29458 (strncmp): Don't use BP_SYM. Remove comment about bounded
29459 pointers.
29460 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29461 <bp-sym.h> and <bp-asm.h>.
29462 (__strnlen): Don't use BP_SYM.
29463 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29464 <bp-sym.h> and <bp-asm.h>.
29465 (__GI__setjmp): Don't use BP_SYM.
29466 (_setjmp): Likewise.
29467 (__sigsetjmp): Likewise.
29468 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29469 (L(start_addresses)): Don't use BP_SYM.
29470 (_start): Likewise.
29471 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29472 <bp-asm.h>.
29473 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29474 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29475 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29476 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29477 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29478 <bp-asm.h>.
29479 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29480 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
29481 about bounded pointers.
29482 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29483 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29484 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29485 <bp-asm.h>.
29486 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29487 about bounded pointers. Remove GKM FIXME comments.
29488 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29489 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29490 <bp-asm.h>.
29491 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29492 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
29493 Remove GKM FIXME comments.
29494 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29495 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29496 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29497 <bp-asm.h>.
29498 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
29499 about bounded pointers. Remove GKM FIXME comment.
29500 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29501 and <bp-asm.h>.
29502 (strncmp): Don't use BP_SYM. Remove comment about bounded
29503 pointers.
29504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29505 <bp-sym.h> and <bp-asm.h>.
29506 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29508 <bp-sym.h> and <bp-asm.h>.
29509 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29510 comment.
29511
cdcf361f
PP
295122013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29513
29514 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29515 call free(NULL).
29516
3c4a2b15
DM
295172013-03-05 David S. Miller <davem@davemloft.net>
29518
29519 * po/es.po: Update from translation team.
29520
cdcf361f 295212013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
29522
29523 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29524 <bits/mman-linux.h>.
29525 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29526 is fine.
29527 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29528 <bits/mman-linux.h> to end of file.
29529 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29530 is fine.
29531 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29532 <bits/mman-linux.h> to end of file.
29533 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29534 is fine.
29535 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29536 <bits/mman-linux.h> to end of file.
29537
29538 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29539 (MCL_CURRENT, MCL_FUTURE): Define here.
29540
5f67c04f
AK
295412013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29542
8a4473cc 29543 [BZ #15232]
5f67c04f
AK
29544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29545 attribute_hidden.
29546 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29547
c3e94a95
AK
295482013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29549
29550 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29551 fourth parameter needed for rt_sigprocmask syscall.
29552 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29553 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29554 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29555 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29556 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29557 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29558
cfb6382a
JM
295592013-03-04 Joseph Myers <joseph@codesourcery.com>
29560
29561 [BZ #13550]
29562 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29563 comment about bounded pointers.
29564 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29565 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29566
539d8e01
AJ
295672013-03-04 Andreas Jaeger <aj@suse.de>
29568
29569 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29570 common definitions.
29571
29572 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29573 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29574 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29575 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29576 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
29577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29578
2e167a70 295792013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
29580
29581 [BZ #15055]
29582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29583 __ieee754_sqrl instead of __sqrl.
29584
68508633
JM
295852013-03-01 Joseph Myers <joseph@codesourcery.com>
29586
29587 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29588 * sysdeps/powerpc/fpu_control.h: ... here.
29589 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29590 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29591 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29592 * sysdeps/powerpc/bits/mathinline.h: ... here.
29593
7775448e
RM
295942013-03-01 Roland McGrath <roland@hack.frob.com>
29595
29596 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29597 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29598 to just [NEED_DL_SYSINFO_DSO].
29599 * elf/dl-support.c: Likewise.
29600 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29601 * elf/rtld.c (dl_main): Likewise.
29602 * elf/setup-vdso.h (setup_vdso): Likewise.
29603 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29604 * sysdeps/unix/sysv/linux/dl-sysdep.c
29605 (_dl_discover_osversion): Likewise.
29606
4e9b5995
CD
296072013-03-01 Carlos O'Donell <carlos@redhat.com>
29608
29609 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29610 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29611
e23872c8
SP
296122013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29613
e5c74c63
SP
29614 * NEWS: Mention libm performance improvements and non-x86 PI
29615 futex support.
29616
e23872c8
SP
29617 * csu/libc-start.c (__pthread_initialize_minimal): Change
29618 function arguments.
29619 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29620
b5510883
JM
296212013-02-28 Joseph Myers <joseph@codesourcery.com>
29622
29623 [BZ #13550]
29624 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29625 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29626 <bp-sym.h> and <bp-asm.h>.
29627 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29629 and <bp-asm.h>.
29630 (memcpy): Don't use BP_SYM.
29631 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29632 <bp-asm.h>.
29633 (__mpn_add_n): Don't use BP_SYM.
29634 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29635 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29636 and <bp-asm.h>.
29637 (__mpn_addmul_1): Don't use BP_SYM.
29638 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29639 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29640 <bp-sym.h>.
29641 (_setjmp): Don't use BP_SYM.
29642 (__novmx_setjmp): Likewise.
29643 (__GI__setjmp): Likewise.
29644 (__vmx_setjmp): Likewise.
29645 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29646 <bp-sym.h>.
29647 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29648 (__bzero): Don't use BP_SYM.
29649 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29650 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29651 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29652 <bp-sym.h> and <bp-asm.h>.
29653 (memcpy): Don't use BP_SYM.
29654 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29655 <bp-sym.h> and <bp-asm.h>.
29656 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29657 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29658 <bp-sym.h> and <bp-asm.h>.
29659 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29660 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29661 <bp-asm.h>.
29662 (__mpn_lshift): Don't use BP_SYM.
29663 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29664 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29665 <bp-asm.h>.
29666 (memset): Don't use BP_SYM.
29667 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29668 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29669 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29670 <bp-asm.h>.
29671 (__mpn_mul_1): Don't use BP_SYM.
29672 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29673 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29674 <bp-sym.h> and <bp-asm.h>.
29675 (memcmp): Don't use BP_SYM.
29676 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29677 <bp-sym.h> and <bp-asm.h>.
29678 (memcpy): Don't use BP_SYM.
29679 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29680 <bp-sym.h> and <bp-asm.h>.
29681 (memset): Don't use BP_SYM.
29682 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29683 <bp-sym.h> and <bp-asm.h>.
29684 (strncmp): Don't use BP_SYM.
29685 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29686 <bp-sym.h> and <bp-asm.h>.
29687 (memcpy): Don't use BP_SYM.
29688 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29689 <bp-sym.h> and <bp-asm.h>.
29690 (memset): Don't use BP_SYM.
29691 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29692 <bp-sym.h> and <bp-asm.h>.
29693 (__memchr): Don't use BP_SYM.
29694 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29695 <bp-sym.h> and <bp-asm.h>.
29696 (memcmp): Don't use BP_SYM.
29697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29698 <bp-sym.h> and <bp-asm.h>.
29699 (memcpy): Don't use BP_SYM.
29700 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29701 <bp-sym.h> and <bp-asm.h>.
29702 (__mempcpy): Don't use BP_SYM.
29703 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29704 <bp-sym.h> and <bp-asm.h>.
29705 (__memrchr): Don't use BP_SYM.
29706 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29707 <bp-sym.h> and <bp-asm.h>.
29708 (memset): Don't use BP_SYM.
29709 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29710 <bp-sym.h> and <bp-asm.h>.
29711 (__rawmemchr): Don't use BP_SYM.
29712 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29713 <bp-sym.h> and <bp-asm.h>.
29714 (__STRCMP): Don't use BP_SYM.
29715 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29716 <bp-sym.h> and <bp-asm.h>.
29717 (strchr): Don't use BP_SYM.
29718 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29719 <bp-sym.h> and <bp-asm.h>.
29720 (__strchrnul): Don't use BP_SYM.
29721 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29722 <bp-sym.h> and <bp-asm.h>.
29723 (strlen): Don't use BP_SYM.
29724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29725 <bp-sym.h> and <bp-asm.h>.
29726 (strncmp): Don't use BP_SYM.
29727 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29728 <bp-sym.h> and <bp-asm.h>.
29729 (__strnlen): Don't use BP_SYM.
29730 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29731 <bp-asm.h>.
29732 (__mpn_rshift): Don't use BP_SYM.
29733 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29734 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29735 <bp-sym.h> and <bp-asm.h>.
29736 (__sigsetjmp): Don't use BP_SYM.
29737 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29738 (L(start_addresses)): Don't use BP_SYM.
29739 (_start): Likewise.
29740 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29741 <bp-asm.h>.
29742 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29743 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29744 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29745 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29746 <bp-asm.h>.
29747 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29748 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29749 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29750 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29751 <bp-asm.h>.
29752 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29753 comments.
29754 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29755 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29756 <bp-asm.h>.
29757 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29758 FIXME comments.
29759 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29760 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29761 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29762 <bp-asm.h>.
29763 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29764 comment.
29765 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29766 and <bp-asm.h>.
29767 (strncmp): Don't use BP_SYM,
29768 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29769 <bp-asm.h>.
29770 (__mpn_sub_n): Don't use BP_SYM.
29771 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29772 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29773 and <bp-asm.h>.
29774 (__mpn_submul_1): Don't use BP_SYM.
29775 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29777 <bp-sym.h> and <bp-asm.h>.
29778 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29780 <bp-sym.h> and <bp-asm.h>.
29781 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29782 comment.
29783
8d19fe64
SP
297842013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29785
29786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29787 Use ZK to minimize writes to Z.
29788 (sub_magnitudes): Simplify code a bit.
29789 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29790 Use ZK to minimize writes to Z.
29791 (sub_magnitudes): Simplify code a bit.
29792
85bd816a
RM
297932013-02-27 Roland McGrath <roland@hack.frob.com>
29794
29795 * csu/gmon-start.c: Add special exception to license text.
29796
b5977bf2
RH
297972013-02-27 Richard Henderson <rth@redhat.com>
29798
29799 * scripts/config.guess: Update from config.git.
29800 * scripts/config.sub: Likewise.
29801
11d6e2f2
SP
298022013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29803
09c14ed2
SP
29804 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29805
a688864e
SP
29806 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29807
6295157a
SP
29808 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29809
b8de2202
SP
29810 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29811
11d6e2f2
SP
29812 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29813
7e80ddb8
RM
298142013-02-26 Roland McGrath <roland@hack.frob.com>
29815
29816 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29817 [$(build-shared = yes].
7e80ddb8 29818
7da6d9ed
SP
298192013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29820
45f05884
SP
29821 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29822 (__mul): Reduce iterations for calculating mantissa.
29823
2236d359
SP
29824 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29825 MPTWO.
29826 (__mpranred): Likewise.
29827
7da6d9ed
SP
29828 [BZ #15160]
29829 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29830 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29831
b7688c42
PE
298322013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29833
29834 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29835 Define __attribute__.
29836
53a5c423
SP
298372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29838
29839 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29840 unused.
29841 * posix/regex_internal.h (__attribute): Remove.
29842 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29843 (re_string_context_at): Likewise.
29844 (bitset_not): Use __attribute__ and mark function as possibly
29845 unused.
29846 (bitset_merge): Likewise.
29847 (bitset_mask): Likewise.
29848 (re_string_char_size_at): Likewise.
29849 (re_string_wchar_at): Likewise.
29850 (re_string_elem_size_at): Likewise.
29851
60f5a8b5
SP
298522013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29853
2a983a2e
SP
29854 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29855 code.
29856 (cc32): Likewise.
29857
e69804d1
SP
29858 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29859 (__acr): Likewise.
29860 (__cpy): Likewise.
29861 (norm): Likewise.
29862 (denorm): Likewise.
29863 (__dbl_mp): Likewise.
29864 (add_magnitudes): Likewise.
29865 (sub_magnitudes): Likewise.
29866 (__mul): Likewise.
29867 (__inv): Likewise.
29868
2f22a1e8
SP
29869 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29870 style.
29871
8930ddc7
SP
29872 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29873 style.
29874
dc60cb11
SP
29875 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29876 code.
29877
60f5a8b5
SP
29878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29879 up changes with default code.
29880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29881 Likewise.
29882
b4d1fd33
AM
298832013-02-24 Allan McRae <allan@archlinux.org>
29884
faf6f8bc
AM
29885 * manual/socket.texi (The Internet Namespace): Order menu items
29886 to match that in the file.
29887
b4d1fd33
AM
29888 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29889 node listing of the info page menu.
29890
2366713d
JM
298912013-02-21 Joseph Myers <joseph@codesourcery.com>
29892
29893 [BZ #13550]
29894 * sysdeps/i386/bp-asm.h: Remove file.
29895 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29896 (PARMS): Do not use macros from bp-asm.h.
29897 (S1): Likewise.
29898 (S2): Likewise.
29899 (SIZE): Likewise.
29900 (__mpn_add_n): Do not use BP_SYM
29901 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
29906 (__mpn_addmul_1): Do not use BP_SYM
29907 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29908 "bp-asm.h".
29909 (PARMS): Do not use macros from bp-asm.h.
29910 (SIGMSK): Likewise.
29911 (_setjmp): Likewise. Do not use BP_SYM.
29912 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29913 "bp-asm.h".
29914 (PARMS): Do not use macros from bp-asm.h.
29915 (SIGMSK): Likewise.
29916 (setjmp): Likewise. Do not use BP_SYM.
29917 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29918 "bp-asm.h".
29919 (PARMS): Do not use macros from bp-asm.h.
29920 (__frexp): Do not use BP_SYM.
29921 (frexp): Likewise.
29922 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29923 "bp-asm.h".
29924 (PARMS): Do not use macros from bp-asm.h.
29925 (__frexpf): Do not use BP_SYM.
29926 (frexpf): Likewise.
29927 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29928 "bp-asm.h".
29929 (PARMS): Do not use macros from bp-asm.h.
29930 (__frexpl): Do not use BP_SYM.
29931 (frexpl): Likewise.
29932 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29933 "bp-asm.h".
29934 (PARMS): Do not use macros from bp-asm.h.
29935 (__remquo): Do not use BP_SYM.
29936 (remquo): Likewise.
29937 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29938 "bp-asm.h".
29939 (PARMS): Do not use macros from bp-asm.h.
29940 (__remquof): Do not use BP_SYM.
29941 (remquof): Likewise.
29942 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29943 "bp-asm.h".
29944 (PARMS): Do not use macros from bp-asm.h.
29945 (__remquol): Do not use BP_SYM.
29946 (remquol): Likewise.
29947 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29948 "bp-asm.h".
29949 (PARMS): Do not use macros from bp-asm.h.
29950 (DEST): Likewise.
29951 (SRC): Likewise.
29952 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29953 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29954 "bp-asm.h".
29955 (PARMS): Do not use macros from bp-asm.h.
29956 (strlen): Do not use BP_SYM.
29957 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29958 "bp-asm.h".
29959 (PARMS): Do not use macros from bp-asm.h.
29960 (S1): Likewise.
29961 (S2): Likewise.
29962 (SIZE): Likewise.
29963 (__mpn_add_n): Do not use BP_SYM.
29964 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29965 "bp-asm.h".
29966 (PARMS): Do not use macros from bp-asm.h.
29967 (S1): Likewise.
29968 (SIZE): Likewise.
29969 (__mpn_addmul_1): Do not use BP_SYM.
29970 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29971 weak_alias.
29972 (bzero): Likewise.
29973 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29974 "bp-asm.h".
29975 (PARMS): Do not use macros from bp-asm.h.
29976 (S): Likewise.
29977 (SIZE): Likewise.
29978 (__mpn_lshift): Do not use BP_SYM.
29979 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29980 "bp-asm.h".
29981 (PARMS): Do not use macros from bp-asm.h.
29982 (DEST): Likewise.
29983 (SRC): Likewise.
29984 (LEN): Likewise.
29985 (memcpy): Likewise. Do not use BP_SYM.
29986 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29987 libc_hidden_def and weak_alias.
29988 (mempcpy): Do not use BP_SYM in weak_alias.
29989 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29990 "bp-asm.h".
29991 (PARMS): Do not use macros from bp-asm.h.
29992 (DEST): Likewise.
29993 (LEN): Likewise.
29994 [!BZERO_P] (CHR): Likewise.
29995 (memset): Likewise. Do not use BP_SYM.
29996 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29997 "bp-asm.h".
29998 (PARMS): Do not use macros from bp-asm.h.
29999 (S1): Likewise.
30000 (SIZE): Likewise.
30001 (__mpn_mul_1): Do not use BP_SYM.
30002 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30003 "bp-asm.h".
30004 (PARMS): Do not use macros from bp-asm.h.
30005 (S): Likewise.
30006 (SIZE): Likewise.
30007 (__mpn_rshift): Do not use BP_SYM.
30008 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30009 "bp-asm.h".
30010 (PARMS): Do not use macros from bp-asm.h.
30011 (STR): Likewise.
30012 (CHR): Likewise.
30013 (strchr): Likewise. Do not use BP_SYM.
30014 (index): Do not use BP_SYM in weak_alias.
30015 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30016 "bp-asm.h".
30017 (PARMS): Do not use macros from bp-asm.h.
30018 (DEST): Likewise.
30019 (SRC): Likewise.
30020 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30021 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30022 "bp-asm.h".
30023 (PARMS): Do not use macros from bp-asm.h.
30024 (strlen): Do not use BP_SYM.
30025 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30026 "bp-asm.h".
30027 (PARMS): Do not use macros from bp-asm.h.
30028 (S1): Likewise.
30029 (S2): Likewise.
30030 (SIZE): Likewise.
30031 (__mpn_sub_n): Do not use BP_SYM.
30032 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30033 "bp-asm.h".
30034 (PARMS): Do not use macros from bp-asm.h.
30035 (S1): Likewise.
30036 (SIZE): Likewise.
30037 (__mpn_submul_1): Do not use BP_SYM.
30038 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30039 "bp-asm.h".
30040 (PARMS): Do not use macros from bp-asm.h.
30041 (S1): Likewise.
30042 (S2): Likewise.
30043 (SIZE): Likewise.
30044 (__mpn_add_n): Do not use BP_SYM.
30045 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30046 weak_alias.
30047 (bzero): Likewise.
30048 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30049 "bp-asm.h".
30050 (PARMS): Do not use macros from bp-asm.h.
30051 (BLK2): Likewise.
30052 (LEN): Likewise.
30053 (memcmp): Do not use BP_SYM.
30054 (bcmp): Do not use BP_SYM in weak_alias.
30055 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30056 "bp-asm.h".
30057 (PARMS): Do not use macros from bp-asm.h.
30058 (DEST): Likewise.
30059 (SRC): Likewise.
30060 (LEN): Likewise.
30061 (memcpy): Likewise. Do not use BP_SYM.
30062 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30063 "bp-asm.h".
30064 (PARMS): Do not use macros from bp-asm.h.
30065 (DEST): Likewise.
30066 (SRC): Likewise.
30067 (LEN): Likewise.
30068 (memmove): Likewise. Do not use BP_SYM.
30069 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30070 "bp-asm.h".
30071 (PARMS): Do not use macros from bp-asm.h.
30072 (DEST): Likewise.
30073 (SRC): Likewise.
30074 (LEN): Likewise.
30075 (__mempcpy): Likewise. Do not use BP_SYM.
30076 (mempcpy): Do not use BP_SYM in weak_alias.
30077 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30078 "bp-asm.h".
30079 (PARMS): Do not use macros from bp-asm.h.
30080 (DEST): Likewise.
30081 (LEN): Likewise.
30082 [!BZERO_P] (CHR): Likewise.
30083 (memset): Likewise. Do not use BP_SYM.
30084 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30085 "bp-asm.h".
30086 (PARMS): Do not use macros from bp-asm.h.
30087 (STR2): Likewise.
30088 (strcmp): Do not use BP_SYM.
30089 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30090 "bp-asm.h".
30091 (PARMS): Do not use macros from bp-asm.h.
30092 (STR): Likewise.
30093 (DELIM): Likewise.
30094 [USE_AS_STRTOK_R] (SAVE): Likewise.
30095 (FUNCTION): Likewise. Do not use BP_SYM.
30096 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30097 aliases.
30098 (strtok_r): Likewise.
30099 (__GI___strtok_r): Likewise.
30100 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30101 (PARMS): Do not use macros from bp-asm.h.
30102 (S): Likewise.
30103 (SIZE): Likewise.
30104 (__mpn_lshift): Do not use BP_SYM.
30105 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30106 (PARMS): Do not use macros from bp-asm.h.
30107 (STR): Likewise.
30108 (CHR): Likewise.
30109 (__memchr): Do not use BP_SYM.
30110 (memchr): Do not use BP_SYM in weak_alias.
30111 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30112 (PARMS): Do not use macros from bp-asm.h.
30113 (BLK2): Likewise.
30114 (LEN): Likewise.
30115 (memcmp): Do not use BP_SYM.
30116 (bcmp): Do not use BP_SYM in weak_alias.
30117 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30118 (PARMS): Do not use macros from bp-asm.h.
30119 (S1): Likewise.
30120 (SIZE): Likewise.
30121 (__mpn_mul_1): Do not use BP_SYM.
30122 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30123 "bp-asm.h".
30124 (PARMS): Do not use macros from bp-asm.h.
30125 (STR): Likewise.
30126 (CHR): Likewise.
30127 (__rawmemchr): Do not use BP_SYM.
30128 (rawmemchr): Do not use BP_SYM in weak_alias.
30129 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30130 (PARMS): Do not use macros from bp-asm.h.
30131 (S): Likewise.
30132 (SIZE): Likewise.
30133 (__mpn_rshift): Do not use BP_SYM.
30134 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30135 (PARMS): Do not use macros from bp-asm.h.
30136 (SIGMSK): Likewise.
30137 (__sigsetjmp): Likewise. Do not use BP_SYM.
30138 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30139 (_start): Do not use BP_SYM.
30140 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30141 (PARMS): Do not use macros from bp-asm.h.
30142 (DEST): Likewise.
30143 (SRC): Likewise.
30144 (__stpcpy): Likewise. Do not use BP_SYM.
30145 (stpcpy): Do not use BP_SYM in weak_alias.
30146 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30147 "bp-asm.h".
30148 (PARMS): Do not use macros from bp-asm.h.
30149 (DEST): Likewise.
30150 (SRC): Likewise.
30151 (LEN): Likewise.
30152 (__stpncpy): Likewise. Do not use BP_SYM.
30153 (stpncpy): Do not use BP_SYM in weak_alias.
30154 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30155 (PARMS): Do not use macros from bp-asm.h.
30156 (STR): Likewise.
30157 (CHR): Likewise.
30158 (strchr): Likewise. Do not use BP_SYM.
30159 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30160 "bp-asm.h".
30161 (PARMS): Do not use macros from bp-asm.h.
30162 (STR): Likewise.
30163 (CHR): Likewise.
30164 (__strchrnul): Likewise. Do not use BP_SYM.
30165 (strchrnul): Do not use BP_SYM in weak_alias.
30166 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30167 "bp-asm.h".
30168 (PARMS): Do not use macros from bp-asm.h.
30169 (STOP): Likewise.
30170 (strcspn): Do not use BP_SYM.
30171 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30172 "bp-asm.h".
30173 (PARMS): Do not use macros from bp-asm.h.
30174 (STR): Likewise.
30175 (STOP): Likewise.
30176 (strpbrk): Likewise. Do not use BP_SYM.
30177 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30178 "bp-asm.h".
30179 (PARMS): Do not use macros from bp-asm.h.
30180 (STR): Likewise.
30181 (CHR): Likewise.
30182 (strrchr): Likewise. Do not use BP_SYM.
30183 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30184 (PARMS): Do not use macros from bp-asm.h.
30185 (SKIP): Likewise.
30186 (strspn): Do not use BP_SYM.
30187 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30188 (PARMS): Do not use macros from bp-asm.h.
30189 (STR): Likewise.
30190 (DELIM): Likewise.
30191 (SAVE): Likewise.
30192 (FUNCTION): Likewise. Do not use BP_SYM.
30193 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30194 aliases.
30195 (strtok_r): Likewise.
30196 (__GI___strtok_r): Likewise.
30197 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30198 (PARMS): Do not use macros from bp-asm.h.
30199 (S1): Likewise.
30200 (S2): Likewise.
30201 (SIZE): Likewise.
30202 (__mpn_sub_n): Do not use BP_SYM.
30203 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30204 "bp-asm.h".
30205 (PARMS): Do not use macros from bp-asm.h.
30206 (S1): Likewise.
30207 (SIZE): Likewise.
30208 (__mpn_submul_1): Do not use BP_SYM.
30209 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30210 <bp-sym.h>.
30211 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30212 and <bp-asm.h>.
30213 (PARMS): Do not use macros from bp-asm.h.
30214 (FLAGS): Likewise.
30215 (PTID): Likewise.
30216 (TLS): Likewise.
30217 (CTID): Likewise.
30218 (__clone): Do not use BP_SYM.
30219 (clone): Do not use BP_SYM in weak_alias.
30220 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30221 and <bp-asm.h>.
30222 (PARMS): Do not use macros from bp-asm.h.
30223 (LEN): Likewise.
30224 (__mmap64): Do not use BP_SYM.
30225 (mmap64): Do not use BP_SYM in weak_alias.
30226 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30227 <bp-sym.h> and <bp-asm.h>.
30228 (PARMS): Do not use macros from bp-asm.h.
30229 (__posix_fadvise64_l64): Do not use BP_SYM.
30230 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30231 (PARMS): Do not use macros from bp-asm.h.
30232 (NSOPS): Likewise.
30233 (semtimedop): Do not use BP_SYM.
30234 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30235 and <bp-asm.h>.
30236
582a3cff
AM
302372013-02-21 Allan McRae <allan@archlinux.org>
30238
30239 * manual/message.texi (Charset conversion in gettext):
30240 Move @end statement to beginning of line.
30241
bab8a695
SP
302422013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30243
80945231
SP
30244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30245 static.
30246 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30247 Likewise.
30248
bab8a695
SP
30249 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30250 (denorm): Likewise.
30251 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30253
e21d7aa7
AK
302542013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30255
30256 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30257 tail-call to the resolved function if pltexit isn't needed.
30258
4c7a4263
SP
302592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30260
30261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30262 or Y being zero as being unlikely.
30263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30264 Likewise.
30265
41f49342
CD
302662013-02-20 Carlos O'Donell <carlos@redhat.com>
30267
30268 * manual/nss.texi (System Databases and Name Service Switch):
30269 Remove frobnicate @pxref.
30270
50022a93
TS
302712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30272
30273 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30274 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30275
08cbd996
PM
302762013-02-20 Petr Machata <pmachata@redhat.com>
30277
30278 * elf/elf.h (R_ARM_TARGET1): New macro.
30279 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30280 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30281 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30282 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30283 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30284 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30285 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30286 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30287 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30288 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30289 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30290 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30291 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30292 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30293 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30294 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30295 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30296 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30297 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30298 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30299 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30300 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30301 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30302 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30303 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30304 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30305 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30306 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30307 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30308 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30309 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30310 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30311 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30312 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30313 (R_ARM_THM_GOT_BREL12): Likewise.
30314 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30315 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30316 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30317 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30318 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30319 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30320 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30321 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30322 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30323
c7b275d6
TS
303242013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30325
30326 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30327 __attribute_used__ to __attribute__ ((unused)).
30328
20cd7fb3
SP
303292013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30330
30331 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30332 powerpc mpa.c.
30333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30334 comment formatting.
30335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30336
92945b52
JM
303372013-02-19 Joseph Myers <joseph@codesourcery.com>
30338
30339 [BZ #13550]
30340 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30341 Remove macro.
30342 (ENTER): Remove both macro definitions.
30343 (LEAVE): Likewise.
30344 (CHECK_BOUNDS_LOW): Likewise.
30345 (CHECK_BOUNDS_HIGH): Likewise.
30346 (CHECK_BOUNDS_BOTH): Likewise.
30347 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30348 (RETURN_BOUNDED_POINTER): Likewise.
30349 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30350 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30351 (POP_ERRNO_LOCATION_RETURN): Likewise.
30352 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30353 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30354 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30355 macros.
30356 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30357 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30358 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30359 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30360 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30361 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30362 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30363 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30364 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30365 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30366 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30367 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30368 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30369 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30370 removed macros.
30371 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30372 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30373 macros.
30374 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30375 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30376 * sysdeps/i386/i586/memset.S (memset): Likewise.
30377 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30378 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30379 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30380 macros.
30381 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30382 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30383 Change uses of L(2) to L(out).
30384 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30385 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30386 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30387 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30388 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30389 removed macros.
30390 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30391 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30392 macros.
30393 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30394 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30395 (RETURN): Do not use macro LEAVE.
30396 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30397 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30398 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30399 * sysdeps/i386/i686/memset.S (memset): Likewise.
30400 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30401 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30402 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30403 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30404 Likewise.
30405 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30406 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30407 L(1_2) and L(1_3) into L(1).
30408 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30409 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30411 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30412 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30413 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30414 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30415 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30416 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30417 macros.
30418 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30419 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30420 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30421 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30422 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30423 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30424 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30425 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30426 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30427 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30428 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30429 * sysdeps/i386/strspn.S (strspn): Likewise.
30430 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30431 conditional code.
30432 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30433 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30434 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30435 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30436 L(1_3) into L(1_1).
30437 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30438 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30439 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30440 macros.
30441 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30442
2389741a
JJ
304432013-02-19 Jakub Jelinek <jakub@redhat.com>
30444
30445 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30446 macro.
30447
2016b3cd
SP
304482013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30449
e4f22324
SP
30450 * math/atest-exp.c (exp_mpn): Remove ROUND.
30451 * math/atest-exp2.c (exp_mpn): Likewise.
30452 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30453
2016b3cd
SP
30454 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30455 * stdlib/tst-tls-atexit-lib.c: Likewise.
30456 * stdlib/tst-tls-atexit.c: Likewise.
30457
4be9b544
MF
304582013-02-18 Mike Frysinger <vapier@gentoo.org>
30459
30460 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30461 and __attribute_alloc_size__.
30462
2f62b9ee
MF
304632013-02-18 Mike Frysinger <vapier@gentoo.org>
30464
30465 * include/programs/xmalloc.h: Change __attribute_alloc_size to
30466 __attribute_alloc_size__.
30467 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30468 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30469
6ff444c4
MF
304702013-02-18 Mike Frysinger <vapier@gentoo.org>
30471
30472 * include/programs/xmalloc.h: New file.
30473 * catgets/gencat.c: Include it.
30474 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30475 * elf/pldd.c: Likewise.
30476 * iconv/iconv_charmap.c: Likewise.
30477 * iconv/iconvconfig.c: Likewise.
30478 * iconv/strtab.c: Likewise.
30479 * locale/programs/locale.c: Likewise.
30480 * locale/programs/localedef.h: Likewise.
30481 * locale/programs/simple-hash.c: Likewise.
30482 * nscd/nscd.h: Likewise.
30483 * nss/makedb.c: Likewise.
30484 * sysdeps/generic/ldconfig.h: Likewise.
30485
be179c8a
SP
304862013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30487
ba384f6e
SP
30488 * Versions.def: Add GLIBC_2.18.
30489 * include/link.h (struct link_map): New member l_tls_dtor_count.
30490 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30491 (__call_tls_dtors): Likewise.
30492 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30493 __cxa_thread_atexit_impl.
30494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30495 Likewise.
30496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30497 Likewise.
30498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30499 Likewise.
30500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30501 Likewise.
30502 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30504 Likewise.
30505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30506 Likewise.
30507 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30509 Likewise.
30510 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30511 (tests): Add test case tst-tls-atexit.
30512 (modules-names): Add shared library for tst-tls-atexit.
85891aca 30513 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
30514 (GLIBC_PRIVATE): Add __call_tls_dtors.
30515 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30516 for libstdc++.
30517 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30518 * stdlib/tst-tls-atexit.c: New test case.
30519 * stdlib/tst-tls-atexit-lib.c: New test case.
30520
ffaa74cf 30521 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 30522
be179c8a
SP
30523 * elf/Versions (ld): Add _dl_find_dso_for_object.
30524 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30525 * elf/dl-open.c (_dl_find_dso_for_object): New function.
30526 (dl_open_worker): Use _dl_find_dso_for_object.
30527 * elf/dl-sym.c (do_sym): Likewise.
30528 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30529
f78b5caa
AK
305302013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30531
30532 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30533 Syntactic changes only.
30534 (_dl_runtime_profile): Do a tail-call to the resolved function.
30535
29691210
JM
305362013-02-17 Joseph Myers <joseph@codesourcery.com>
30537
30538 [BZ #13550]
30539 * sysdeps/x86_64/bp-asm.h: Remove file.
30540 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30541 <bp-sym.h> and <bp-asm.h>.
30542 (__clone): Do not use BP_SYM.
30543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30544 <bp-sym.h> and <bp-asm.h>.
30545 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30546 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30547 "bp-asm.h".
30548 (_setjmp): Do not use BP_SYM.
30549 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30550 "bp-asm.h".
30551 (setjmp): Do not use BP_SYM.
30552 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30553 libc_hidden_def.
30554 (mempcpy): Do not use BP_SYM in weak_alias.
30555 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30556 "bp-asm.h".
30557 (strchr): Do not use BP_SYM.
30558 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30559 "bp-asm.h".
30560 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30561 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30562 (_start): Do not use BP_SYM.
30563 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30564 "bp-asm.h".
30565 (strcat): Do not use BP_SYM.
30566 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30567 "bp-asm.h".
30568 (STRCMP): Do not use BP_SYM.
30569 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30570 "bp-asm.h".
30571 (STRCPY): Do not use BP_SYM.
30572 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30573 "bp-asm.h".
30574 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30575 "bp-asm.h".
30576 (FUNCTION): Do not use BP_SYM.
30577 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30578 weak_alias.
30579 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30580
f238fd19
AJ
305812013-02-17 Andreas Jaeger <aj@suse.de>
30582
30583 * time/Versions: Sort entries.
30584 * string/Versions: Likewise.
30585 * resolv/Versions: Likewise.
30586 * posix/Versions: Likewise.
30587 * iconv/Versions: Likewise.
30588 * elf/Versions: Likewise.
30589 * wcsmbs/Versions: Likewise.
30590
bd07f23c 305912013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 30592
22af19f9
SP
30593 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30594 loop termination condition.
30595
4709fe76
SP
30596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30597 variable to calculate EZ.
30598 (__sqr): Likewise.
2d0e0f29
SP
30599
30600 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30601 the lower precision input.
30602
daaa7713
JM
306032013-02-15 Joseph Myers <joseph@codesourcery.com>
30604
30605 [BZ #13550]
30606 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30607 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30608 (run-via-rtld-prefix): Do not handle %-bp tests.
30609 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30610 (all-object-suffixes): Remove .ob.
30611 (bppfx): Remove variable.
30612 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30613 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30614 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30615 [$(build-bounded) = yes] (libtype.ob): Likewise.
30616 * Makerules (elide-routines.ob): Remove variable.
30617 (do-tests-clean): Do not handle *-bp.out.
30618 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30619 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30620 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30621 (tests): Do not include $(tests-bp.out).
30622 (xtests): Do not include $(xtests-bp.out).
30623 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30624 [$(build-bounded) = yes] ($(addprefix
30625 $(objpfx),$(binaries-bounded))): Remove rule.
30626 ($(objpfx)%-bp.out): Remove rule.
30627 * config.make.in (build-bounded): Remove variable.
30628 * crypt/Makefile [$(build-bounded) = yes]
30629 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30630 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30631 append to variable.
30632 [$(build-bounded) = yes] (install-lib): Likewise.
30633 [$(build-bounded) = yes] (generated): Likewise.
30634 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30635 Remove rule.
30636 * intl/Makefile [$(build-bounded) = yes]
30637 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30638 * math/Makefile [$(build-bounded) = yes]
30639 ($(tests:%=$(objpfx)%-bp): Likewise.
30640 * misc/Makefile [$(build-bounded) = yes]
30641 ($(objpfx)tst-tsearch-bp): Likewise.
30642 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30643 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30644 Remove dependency.
30645 * string/Makefile (o-objects.ob): Remove variable.
30646 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30647 (CFLAGS-.ob): Remove variable.
30648 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30650 both definitions of variable.
30651 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30652 (ASFLAGS-.ob): Remove variable.
30653
e97ed6dd
JM
306542013-02-14 Joseph Myers <joseph@codesourcery.com>
30655
2bdd4ca6
JM
30656 [BZ #13550]
30657 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30658 Remove __BOUNDED_POINTERS__ from condition.
30659 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30660 * string/bits/string2.h [!__NO_STRING_INLINES &&
30661 !__BOUNDED_POINTERS__]: Likewise.
30662 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30663 Likewise.
30664 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30665 Remove conditional code.
30666 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30667 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30668 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30669 condition.
30670
e97ed6dd
JM
30671 [BZ #13550]
30672 * csu/libc-start.c: Do not include <bp-sym.h>.
30673 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30674 * elf/dl-open.c: Do not include <bp-sym.h>.
30675 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30676 * math/fegetenv.c: Do not include <bp-sym.h>.
30677 (fegetenv): Do not use BP_SYM in versioned symbols.
30678 * nptl/sysdeps/pthread/bits/libc-lockP.h
30679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30680 <bp-sym.h>.
30681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30682 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30684 (__pthread_mutex_destroy): Likewise.
30685 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30686 (__pthread_mutex_lock): Likewise.
30687 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30688 (__pthread_mutex_trylock): Likewise.
30689 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30690 (__pthread_mutex_unlock): Likewise.
30691 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30692 (__pthread_mutexattr_init): Likewise.
30693 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30694 (__pthread_mutexattr_destroy): Likewise.
30695 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30696 (__pthread_mutexattr_settype): Likewise.
30697 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30698 (__pthread_rwlock_init): Likewise.
30699 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30700 (__pthread_rwlock_destroy): Likewise.
30701 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30702 (__pthread_rwlock_rdlock): Likewise.
30703 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30704 (__pthread_rwlock_tryrdlock): Likewise.
30705 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30706 (__pthread_rwlock_wrlock): Likewise.
30707 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30708 (__pthread_rwlock_trywrlock): Likewise.
30709 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30710 (__pthread_rwlock_unlock): Likewise.
30711 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30712 (__pthread_key_create): Likewise.
30713 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30714 (__pthread_setspecific): Likewise.
30715 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30716 (__pthread_getspecific): Likewise.
30717 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30718 Likewise.
30719 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30720 (_pthread_cleanup_push_defer): Likewise.
30721 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30722 (_pthread_cleanup_pop_restore): Likewise.
30723 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30724 (pthread_setcancelstate): Likewise.
30725 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30726 <bp-sym.h>.
30727 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30728 (memchr): Do not use BP_SYM in weak_alias.
30729 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30730 (fegetenv): Do not use BP_SYM in versioned symbols.
30731 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30732 (fesetenv): Do not use BP_SYM in versioned symbols.
30733 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30734 (feupdateenv): Do not use BP_SYM in versioned symbols.
30735 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30736 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30737 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30738 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30739 (open64): Do not use BP_SYM in weak_alias.
30740 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30741 (fegetenv): Do not use BP_SYM in versioned symbols.
30742 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30743 (fesetenv): Do not use BP_SYM in versioned symbols.
30744 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30745 (feupdateenv): Do not use BP_SYM in versioned symbols.
30746 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30747 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30748 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30749 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30750 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30751 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30752 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30753 <bp-sym.h>.
30754 (__libc_start_main): Do not use BP_SYM.
30755
d6752ccd
SP
307562013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30757
cb57ce60
SP
30758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30759 redundant return line.
30760 (norm): Likewise.
30761 (denorm): Likewise.
30762 (dbl_mp): Likewise.
30763 (sub_magnitudes): Likewise.
30764 (__add): Likewise.
30765 (__sub): Likewise.
30766 (__mul): Likewise.
30767 (__inv): Likewise.
30768 (__dvd): Likewise.
30769 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30770 (norm): Likewise.
30771 (denorm): Likewise.
30772 (dbl_mp): Likewise.
30773 (sub_magnitudes): Likewise.
30774 (__add): Likewise.
30775 (__sub): Likewise.
30776 (__mul): Likewise.
30777 (__inv): Likewise.
30778 (__dvd): Likewise.
30779
f414520d
SP
30780 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30781 instead of __mul.
30782 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30783 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30784 (cc32): Likewise.
30785
d6752ccd
SP
30786 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30787 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30789 of __mul for squares.
30790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30791 function
30792 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30793 Likewise.
30794 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30795 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30796
70d9946a
JM
307972013-02-13 Joseph Myers <joseph@codesourcery.com>
30798
30799 [BZ #13550]
30800 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30801 code.
30802 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30803 prototype or function definition. Rename ubp_* variables and
30804 parameters. Remove argv definitions conditional on
30805 [__BOUNDED_POINTERS__].
30806 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30807 * elf/dl-runtime.c (_dl_fixup): Likewise.
30808 * include/set-hooks.h (RUN_HOOK): Likewise.
30809 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30810 definition.
30811 * string/strcpy.c (strcpy): Do not use __unbounded.
30812 * sysdeps/generic/frame.h (struct layout): Likewise.
30813 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30814 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30815 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30816 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30817 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30818 (__backtrace): Likewise.
30819 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30820 use __ptrvalue.
30821 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30822 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30823 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30824 Likewise.
30825 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30826 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30827 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30828 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30829 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30830 Do not use __unbounded.
30831 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30832 Rename __unboundedrlimits parameter to rlimits in prototype.
30833 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30834 Do not use __unbounded.
30835 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30836 not use __ptrvalue.
30837 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30838 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30839 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30840 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30841 __ptrvalue or __unbounded.
30842 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30843 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30844 use __unbounded.
30845 (__new_msgctl): Do not use __ptrvalue.
30846 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30847 __unbounded.
30848 (__libc_msgrcv): Do not use __ptrvalue.
30849 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30850 startup_info): Do not use __unbounded.
30851 (__libc_start_main): Likewise. Rename ubp_* variables and
30852 parameters. Remove argv definitions conditional on
30853 [__BOUNDED_POINTERS__].
30854 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30855 __ptrvalue.
30856 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30857 use __unbounded.
30858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30859 or __ptrvalue.
30860 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30861 use __unbounded.
30862 (__new_shmctl): Do not use __ptrvalue.
30863 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30864 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30865 Likewise.
30866 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30867 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30868 (__libc_sigaction): Likewise.
30869 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30870 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30871 Likewise.
30872 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30873
cc7834d6
OB
308742013-02-13 Ondřej Bílka <neleai@seznam.cz>
30875
ffb1ec7b 30876 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
30877
30878 * string/mempcpy.c: Implement by calling memcpy.
30879
bdf02814
SP
308802013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30881
c2af38aa
SP
30882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30883
4e92d59e
SP
30884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30885 evaluation.
30886
909279a5
SP
30887 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30888 values in the mantissa.
30889
bdf02814
SP
30890 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30891 minimize writes to Z.
30892 (sub_magnitudes): Simplify code a bit.
30893
cd525923
RM
308942013-02-12 Roland McGrath <roland@hack.frob.com>
30895
30896 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30897 from the message. The linker prefixes all warnings with that already.
30898
7e2f0d2d
AS
308992013-02-12 Andreas Schwab <schwab@suse.de>
30900
a445af0b
AS
30901 [BZ #15078]
30902 * posix/regexec.c (extend_buffers): Add parameter min_len.
30903 (check_matching): Pass minimum needed length.
30904 (clean_state_log_if_needed): Likewise.
30905 (get_subexp): Likewise.
30906 * posix/Makefile (tests): Add bug-regex34.
30907 (bug-regex34-ENV): Define.
30908 * posix/bug-regex34.c: New file.
30909
7e2f0d2d
AS
30910 [BZ #11561]
30911 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30912 elements compare against the byte sequence of it, not its name.
30913 * posix/Makefile (tests): Add bug-regex35.
30914 (bug-regex35-ENV): Define.
30915 * posix/bug-regex35.c: New file.
30916
a175b684
TV
309172013-02-11 Tom de Vries <tom@codesourcery.com>
30918
30919 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30920 comment.
30921 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30922 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30923 (CHECK_EOL): Add undef.
30924
310998fe 309252013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
30926
30927 * bits/stdlib-bsearch.h: New file.
30928 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 30929 * stdlib/stdlib.h: Likewise.
41eda41d 30930
8ded91fb
RM
309312013-02-11 Roland McGrath <roland@hack.frob.com>
30932
30933 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30934 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30935 declaration.
30936 * manual/search.texi (Array Search Function): Add missing const in
30937 lfind prototype.
30938 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30939 declaration to use rlim_t.
30940 (Basic Scheduling Functions): Remove erroneous const from
30941 sched_getparam prototype. Remove erroneous * from
30942 sched_get_priority_max and sched_get_priority_min prototypes.
30943 (Resource Usage): Fix summary @comment on vtimes to refer to
30944 sys/vtimes.h rather than vtimes.h.
30945 Add missing *s in vtimes prototype.
30946 (Limits on Resources): Fix ulimit prototype to return long int.
30947 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30948 prototypes to use long int rather than double.
30949 (BSD Random): Fix initstate and setstate to use char *, not void *.
30950 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30951 prototype to make second argument 'struct aiocb64 *const[]'.
30952 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30953 (Status of AIO Operations): Remove erroneous const in aio_return and
30954 aio_return64 prototypes.
30955 (Synchronizing I/O): Fix sync prototype to return void.
30956 * manual/startup.texi (Suboptions): Remove an erroneous const in
30957 getsubopt prototype.
30958 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30959 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30960 use size_t rather than int.
30961 (Scanning All Users): Likewise for getpwent_r.
30962 (Setting Groups): Add missing const to setgroups prototype.
30963 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30964 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30965 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30966 'const void *' rather than 'const char *'.
30967 (Host Address Functions): Likewise for inet_ntop.
30968 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30969 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30970 ssize_t for return value.
30971 (Sending Data): Likewise for send, sendto, sendmsg.
30972 (Socket Option Functions): Add a missing const in setsockopt prototype.
30973 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30974 use wchar_t for the argument.
30975 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30976 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30977 take no arguments.
30978 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30979 double/float/long double for second argument.
30980 Fix return types of significand, significandf, significandl.
30981 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30982 argument in fchmod prototype.
30983 (File Owner): Use uid_t and gid_t in fchown prototype.
30984 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30985 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30986 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30987 use 'const struct dirent **' as argument types to CMP function pointer
30988 argument.
30989 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30990 (File Times): Fix summary magic @comment for struct utimbuf and utime
30991 to refer to utime.h, not time.h.
30992 * manual/string.texi (Argz Functions): Add missing const in
30993 argz_extract and argz_next prototypes.
30994 (Finding Tokens in a String): Likewise for basename.
30995 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30996 (Copying and Concatenation): Fix typo in wmemmove prototype.
30997 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30998 (Signal Stack): Remove erroneous const in sigstack prototype.
30999 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31000 prototype.
31001 (Simple Calendar Time): Likewise for stime.
31002 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31003 prototype.
31004 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31005 say sys/sysctl.h instead.
31006 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31007 and vsyslog prototypes.
31008
fe77fe6d
TV
310092013-02-11 Tom de Vries <tom@codesourcery.com>
31010
31011 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31012 Remove.
31013
3a09b620
RM
310142013-02-11 Roland McGrath <roland@hack.frob.com>
31015
31016 * misc/sys/mman.h: Fix typo in mremap comment.
31017
550a0b89
RM
310182013-02-08 Roland McGrath <roland@hack.frob.com>
31019
31020 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31021 the '\0' terminator.
31022
a2da1673
JM
310232013-02-08 Joseph Myers <joseph@codesourcery.com>
31024
31025 [BZ #13550]
31026 * debug/segfault.c: Don't include <bp-checks.h>.
31027 * sysdeps/generic/bp-checks.h: Remove file.
31028 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31029 (__GETDENTS): Don't use CHECK_N.
31030 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31031 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31032 (__getgroups): Don't use CHECK_N.
31033 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31034 (setgroups): Don't use CHECK_N.
31035 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31036 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31037 (__libc_msgrcv): Don't use CHECK_N.
31038 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31039 (__libc_msgsnd): Don't use CHECK_N.
31040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31041 <bp-checks.h>.
31042 (__libc_pread): Don't use CHECK_N.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31044 include <bp-checks.h>.
31045 (__libc_pread64): Don't use CHECK_N.
31046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31047 include <bp-checks.h>.
31048 (__libc_pwrite): Don't use CHECK_N.
31049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31050 include <bp-checks.h>.
31051 (__libc_pwrite64): Don't use CHECK_N.
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31053 <bp-checks.h>.
31054 (__libc_pread): Don't use CHECK_N.
31055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31056 include <bp-checks.h>.
31057 (__libc_pread64): Don't use CHECK_N.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31059 include <bp-checks.h>.
31060 (__libc_pwrite): Don't use CHECK_N.
31061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31062 include <bp-checks.h>.
31063 (__libc_pwrite64): Don't use CHECK_N.
31064 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31065 (do_pread): Don't use CHECK_N.
31066 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31067 (do_pread64): Don't use CHECK_N.
31068 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31069 (do_pwrite): Don't use CHECK_N.
31070 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31071 (do_pwrite64): Don't use CHECK_N.
31072 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31073 (__libc_readv): Don't use CHECK_N.
31074 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31075 (semop): Don't use CHECK_N.
31076 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31077 <bp-checks.h>.
31078 (semtimedop): Don't use CHECK_N.
31079 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31080 (__libc_pread): Don't use CHECK_N.
31081 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31082 <bp-checks.h>.
31083 (__libc_pread64): Don't use CHECK_N.
31084 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31085 <bp-checks.h>.
31086 (__libc_pwrite): Don't use CHECK_N.
31087 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31088 <bp-checks.h>.
31089 (__libc_pwrite64): Don't use CHECK_N.
31090 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31091 <bp-checks.h>.
31092 (__libc_msgrcv): Don't use CHECK_N.
31093 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31094 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31095 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31096 (__libc_writev): Don't use CHECK_N.
31097
b84660a8
RM
310982013-02-08 Roland McGrath <roland@hack.frob.com>
31099
7f3e75f8
RM
31100 * string/strcpy.c: Removed unused variable.
31101
b84660a8
RM
31102 * Makeconfig (+sysdep-includes): Define with := rather than =.
31103 Use an existing include/ subdir of each sysdeps dir before it.
31104
471514d3
CD
311052013-02-08 Carlos O'Donell <carlos@redhat.com>
31106
31107 * nscd/connection.c (register_traced_file): Comment function.
31108 [HAVE_INOTIFY] (union __inev): Define.
31109 [HAVE_INOTIFY] (inotify_check_files): New function.
31110 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31111 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31112 clear_db_cache.
31113 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31114
b2d3c3be
CD
311152013-02-08 Carlos O'Donell <carlos@redhat.com>
31116
31117 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31118 loaded if not already and that a failure is permanent.
31119
b39949d2
CD
311202013-02-08 Carlos O'Donell <carlos@redhat.com>
31121
ddacd1db 31122 [BZ #15006]
b39949d2
CD
31123 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31124 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31125
b2c9eff4
JM
311262013-02-08 Joseph Myers <joseph@codesourcery.com>
31127
f3aae3f3
JM
31128 [BZ #13550]
31129 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31130 (CHECK_1_NULL_OK): Likewise.
31131 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31132 (__fxstat): Do not use CHECK_1.
31133 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31134 <bp-checks.h>.
31135 (___fxstat64): Do not use CHECK_1.
31136 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31137 <bp-checks.h>.
31138 (__fxstatat): Do not use CHECK_1.
31139 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31140 <bp-checks.h>.
31141 (__fxstatat64): Do not use CHECK_1.
31142 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31143 <bp-checks.h>.
31144 (__fxstat): Do not use CHECK_1.
31145 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31146 <bp-checks.h>.
31147 (__fxstatat): Do not use CHECK_1.
31148 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31149 <bp-checks.h>.
31150 (__getresgid): Do not use CHECK_1.
31151 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31152 <bp-checks.h>.
31153 (__getresuid): Do not use CHECK_1.
31154 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31155 <bp-checks.h>.
31156 (__lxstat): Do not use CHECK_1.
31157 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31158 <bp-checks.h>.
31159 (__old_msgctl): Do not use CHECK_1.
31160 (__new_msgctl): Likewise.
31161 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31162 <bp-checks.h>.
31163 (__new_setrlimit): Do not use CHECK_1.
31164 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31165 <bp-checks.h>.
31166 (__old_shmctl): Do not use CHECK_1.
31167 (__new_shmctl): Likewise.
31168 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31169 <bp-checks.h>.
31170 (__xstat): Do not use CHECK_1.
31171 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31172 (__lxstat): Do not use CHECK_1.
31173 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31174 <bp-checks.h>.
31175 (___lxstat64): Do not use CHECK_1.
31176 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31177 (__old_msgctl): Do not use CHECK_1.
31178 (__new_msgctl): Likewise.
31179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31180 <bp-checks.h>.
31181 (__gettimeofday): Do not use CHECK_1.
31182 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31183 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31184 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31185 <bp-checks.h>.
31186 (__gettimeofday): Do not use CHECK_1.
31187 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31188 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31189 (__new_shmctl): Do not use CHECK_1.
31190 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31191 <bp-checks.h>.
31192 (do_sigtimedwait): Do not use CHECK_1.
31193 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31194 <bp-checks.h>.
31195 (do_sigwaitinfo): Do not use CHECK_1.
31196 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31197 <bp-checks.h>.
31198 (msgctl): Do not use CHECK_1.
31199 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31200 <bp-checks.h>.
31201 (shmctl): Do not use CHECK_1.
31202 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31203 (ustat): Do not use CHECK_1.
31204 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31205 <bp-checks.h>.
31206 (__fxstat): Do not use CHECK_1.
31207 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31208 <bp-checks.h>.
31209 (__fxstatat): Do not use CHECK_1.
31210 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31211 <bp-checks.h>.
31212 (__lxstat): Do not use CHECK_1.
31213 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31214 <bp-checks.h>.
31215 (__xstat): Do not use CHECK_1.
31216 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31217 (__xstat): Do not use CHECK_1.
31218 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31219 (___xstat64): Do not use CHECK_1.
31220
b2c9eff4
JM
31221 [BZ #13550]
31222 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31223 definitions.
31224 (CHECK_BOUNDS_HIGH): Likewise.
31225 * string/strcpy.c: Do not include <bp-checks.h>.
31226 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31227
f1d70dad
RM
312282013-02-07 Roland McGrath <roland@hack.frob.com>
31229
31230 * nscd/nscd-client.h (__nscd_drop_map_ref):
31231 Add __attribute__ ((unused)).
31232 * nis/nss-nisplus.h (niserr2nss): Likewise.
31233
31234 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31235 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31236
31237 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31238 Remove inline keyword.
31239 * include/rounding-mode.h (round_away): Likewise.
31240 * libio/wfileops.c (adjust_wide_data): Likewise.
31241 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31242 (__m128i_strloadu_tolower): Likewise.
31243 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31244 (__m128i_strloadu_tolower): Likewise.
31245 * time/mktime.c (ydhms_diff): Likewise.
31246 * locale/elem-hash.h (elem_hash): Likewise.
31247 * locale/setlocale.c (setdata): Likewise.
31248 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31249 (re_string_wchar_at): Likewise.
31250 (bitset_not, bitset_merge, bitset_mask): Likewise.
31251 [!(__GNUC__ > 3)] (inline): Remove macro.
31252 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31253 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31254 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31255 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31256 * string/memcmp.c (memcmp_bytes): Likewise.
31257 * locale/programs/locarchive.c (compute_hashval): Likewise.
31258 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31259 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31260 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31261 * nss/getent.c (print_rpc, print_protocols): Likewise.
31262 (print_passwd, print_group, print_aliases): Likewise.
31263 * nis/nss-nisplus.h (niserr2nss): Likewise.
31264 * nscd/connections.c (restart_p): Likewise.
31265 Change return type to bool.
31266
eab55bfb
RM
312672013-02-05 Roland McGrath <roland@hack.frob.com>
31268
7bd642f5
RM
31269 * Makeconfig (all-Depend-files): Add existing
31270 $(sorted-subdirs:=/Depend) files.
31271 (all-subdirs): Remove nss.
31272 * sysdeps/unix/inet/Subdirs: Add it here instead.
31273 * hesiod/Depend: New file.
31274
573c29b2
RM
31275 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31276 instead of calling alloca.
31277
b2e25af0
RM
31278 * io/lseek.c (__lseek): Rename to __libc_lseek.
31279 Define __lseek as an alias.
31280
eab55bfb
RM
31281 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31282
9a0d1941
CD
312832013-02-04 Carlos O'Donell <carlos@redhat.com>
31284
31285 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31286 else clause and remove check for non-standard endianness.
31287
b83bbec4
DM
312882013-02-04 David S. Miller <davem@davemloft.net>
31289
31290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31291
6277fdab
JM
312922013-02-04 Joseph Myers <joseph@codesourcery.com>
31293
31294 [BZ #13550]
31295 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31296 (__ubp_memchr): Remove prototype.
31297 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31298 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31299 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31300 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31301 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31302 Remove alias.
31303 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31304 (__ubp_memchr): Likewise.
31305 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31306 (__ubp_memchr): Likewise.
31307 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31308 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31309 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31310 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31311 CHECK_STRING.
31312 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31313 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31314 (__getcwd): Do not use CHECK_STRING.
31315 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31316 <bp-checks.h>.
31317 (__real_chown): Do not use CHECK_STRING.
31318 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31319 <bp-checks.h>.
31320 (fchownat): Do not use CHECK_STRING.
31321 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31322 CHECK_STRING.
31323 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31324 <bp-checks.h>.
31325 (__lchown): Do not use CHECK_STRING.
31326 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31327 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31328 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31329 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31331 include <bp-checks.h>.
31332 (truncate64): Do not use CHECK_STRING.
31333 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31334 <bp-checks.h>.
31335 (__real_chown): Do not use CHECK_STRING.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31337 <bp-checks.h>.
31338 (__lchown): Do not use CHECK_STRING.
31339 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31340 <bp-checks.h>.
31341 (__chown): Do not use CHECK_STRING.
31342 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31343 <bp-checks.h>.
31344 (truncate64): Do not use CHECK_STRING.
31345 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31346 Likewise.
31347 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31348 (__xmknod): Do not use CHECK_STRING.
31349 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31350 <bp-checks.h>.
31351 (__xmknodat): Do not use CHECK_STRING.
31352 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31353 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31354
903ae060
AS
313552013-02-04 Andreas Schwab <schwab@suse.de>
31356
31357 [BZ #14142]
31358 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31359 * include/netdb.h: Likewise for h_errno.
31360 * elf/tst-stackguard1.c: Include <tls.h>.
31361
542f9466
JK
313622013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31363
31364 * elf/link.h (struct link_map): Extend the l_addr comment.
31365 * include/link.h (struct link_map): Likewise.
31366
e782a927
JM
313672013-02-01 Joseph Myers <joseph@codesourcery.com>
31368
31369 [BZ #13550]
31370 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31371 (BOUNDED_1): Remove macro.
31372 * debug/backtrace.c: Don't include <bp-checks.h>.
31373 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31374 (__backtrace): Likewise.
31375 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31376 <bp-checks.h>.
31377 (__backtrace): Don't use BOUNDED_1.
31378 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31379 <bp-checks.h>.
31380 (__backtrace): Don't use BOUNDED_1.
31381 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31382 (__backtrace): Don't use BOUNDED_1.
31383 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31384 (shmat): Don't use BOUNDED_N.
31385
8cf28c5e
JM
313862013-01-31 Joseph Myers <joseph@codesourcery.com>
31387
3a7ac8a0
JM
31388 [BZ #13550]
31389 * sysdeps/generic/bp-start.h: Remove file.
31390 * csu/libc-start.c: Don't include <bp-start.h>.
31391 (LIBC_START_MAIN): Set up __environ directly instead of using
31392 INIT_ARGV_and_ENVIRON.
31393 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31394 <bp-start.h>.
31395
f3499f95
JM
31396 [BZ #13550]
31397 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31398 definitions.
31399 (CHECK_FCNTL): Likewise.
31400 (CHECK_N_PAGES): Likewise.
31401
32a45bea
JM
31402 [BZ #13550]
31403 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31404 definitions.
31405 (CHECK_SIGSET_NULL_OK): Likewise.
31406 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31407 <bp-checks.h>.
31408 (sigpending): Don't use CHECK_SIGSET.
31409 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31410 <bp-checks.h>.
31411 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31412 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31413 <bp-checks.h>.
31414 (do_sigsuspend): Don't use CHECK_SIGSET.
31415 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31416 use CHECK_SIGSET.
31417 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31418 (do_sigwait): Don't use CHECK_SIGSET.
31419 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31420 use CHECK_SIGSET.
31421 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31422 include <bp-checks.h>.
31423 (sigpending): Don't use CHECK_SIGSET.
31424 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31425 include <bp-checks.h>.
31426 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31427 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31428 <bp-checks.h>.
31429 (sigpending): Don't use CHECK_SIGSET.
31430 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31431 <bp-checks.h>.
31432 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31433
2e8a5c8c
JM
31434 [BZ #13550]
31435 * sysdeps/generic/bp-semctl.h: Remove file.
31436 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31437 <bp-checks.h> and <bp-semctl.h>.
31438 (__old_semctl): Don't use CHECK_SEMCTL.
31439 (__new_semctl): Likewise.
31440 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31441 and <bp-semctl.h>.
31442 (__old_semctl): Don't use CHECK_SEMCTL.
31443 (__new_semctl): Likewise.
31444 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31445 <bp-checks.h> and <bp-semctl.h>.
31446 (__old_semctl): Don't use CHECK_SEMCTL.
31447 (__new_semctl): Likewise.
31448 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31449 <bp-checks.h> and <bp-semctl.h>.
31450 (semctl): Don't use CHECK_SEMCTL.
31451
c2d54929
JM
31452 [BZ #13550]
31453 * Makerules (elide-bp-thunks): Remove variable.
31454 (elide-routines.oS): Don't use $(elide-bp-thunks).
31455 (elide-routines.os): Likewise.
31456 (elide-routines.o): Likewise.
31457 (elide-routines.op): Likewise.
31458 (elide-routines.og): Likewise.
31459 (objects): Don't use $(bp-thunks).
31460 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31461 include.
31462 (common-generated): Do not add s-proto-bp.d.
31463 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31464 (int): Likewise.
31465 (typ): Likewise.
31466 Do not generate makefile rules for bounded-pointer thunks.
31467 * sysdeps/generic/bp-thunks.h: Remove file.
31468 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31469 * sysdeps/unix/s-proto-bp.S: Likewise.
31470
8cf28c5e
JM
31471 [BZ #15062]
31472 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31473 parts of result separately when argument is not close to line from
31474 -i to i and one part of argument is small.
31475 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31476 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31477 * math/libm-test.inc (cacos_test): Add more tests.
31478 (casin_test): Likewise.
31479 (casinh_test): Likewise.
31480 * sysdeps/i386/fpu/libm-test-ulps: Update.
31481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31482
c4e33b8d
DM
314832013-01-31 David S. Miller <davem@davemloft.net>
31484
31485 * po/de.po: Update from translation team.
31486
3b60b421
MK
314872013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
31488
31489 * time/tzfile.c: Include stdint.h for SIZE_MAX.
31490
bb931195
TS
314912013-01-25 Thomas Schwinge <thomas@codesourcery.com>
31492
b5a5da23
TS
31493 * configure.in (_AC_PROG_CC_C89): New definition.
31494 * configure: Regenerate.
31495
bb931195
TS
31496 * configure.in (AC_PROG_CPP): New definition.
31497 * configure: Regenerate.
31498
8c53a12c
JM
314992013-01-23 Joseph Myers <joseph@codesourcery.com>
31500
31501 * debug/tst-backtrace.h: New file.
31502 * debug/tst-backtrace2.c: Include tst-backtrace.h.
31503 (ret): Remove variable.
31504 (x): Likewise.
31505 (FAIL): Remove macro.
31506 (NO_INLINE): Likewise.
31507 (fn1): Use match function instead of strstr.
31508 * debug/tst-backtrace3.c: Include tst-backtrace.h.
31509 (ret): Remove variable.
31510 (x): Likewise.
31511 (FAIL): Remove macro.
31512 (NO_INLINE): Likewise.
31513 (fn): Use match function instead of strstr.
31514 * debug/tst-backtrace4.c: Include tst-backtrace.h.
31515 (ret): Remove variable.
31516 (x): Likewise.
31517 (FAIL): Remove macro.
31518 (NO_INLINE): Likewise.
31519 (handle_signal): Use match function instead of strstr.
31520 * debug/tst-backtrace5.c: Include tst-backtrace.h.
31521 (ret): Remove variable.
31522 (x): Likewise.
31523 (FAIL): Remove macro.
31524 (NO_INLINE): Likewise.
31525 (handle_signal): Use match function instead of strstr.
31526
4858fa2a
RM
315272013-01-23 Roland McGrath <roland@hack.frob.com>
31528
31529 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31530
bae8e7f5
DM
315312013-01-23 David S. Miller <davem@davemloft.net>
31532
31533 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31534 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31535 argument of CAS if possible.
31536 * sysdeps/sparc/sparc64/bits/atomic.h
31537 (__arch_compare_and_exchange_val_32_acq): Likewise.
31538 (__arch_compare_and_exchange_val_64_acq): Likewise.
31539
9cbbc4ae
PT
315402013-01-23 Pino Toscano <toscano.pino@tiscali.it>
31541
31542 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31543 * sysdeps/posix/ulimit.c: ... this.
92a601b8 31544 Include <limits.h>.
67b3f58c 31545 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 31546
5655a0b5
AC
315472013-01-23 Adam Conrad <adconrad@0c3.net>
31548
31549 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31550 (LDFLAGS-tst-array5): Likewise.
31551
052aff95
JM
315522013-01-23 Joseph Myers <joseph@codesourcery.com>
31553
31554 [BZ #15036]
31555 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31556 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31557 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31558 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31559
7c1e01aa
DM
315602013-01-21 David S. Miller <davem@davemloft.net>
31561
31562 * sysdeps/sparc/backtrace.c: New file.
31563 * sysdeps/sparc/sparc32/backtrace.h: New file.
31564 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31565 * sysdeps/sparc/sparc64/backtrace.h: New file.
31566 * sysdeps/sparc/sparc64/backtrace.c: Delete.
31567 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31568 -funwind-tables.
31569
ab087e0a
AS
315702013-01-21 Andreas Schwab <schwab@suse.de>
31571
31572 [BZ #15020]
31573 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31574 closed its stdout.
31575
ed689c2f
AS
315762013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31577
31578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31579 "mpa2.h".
31580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31581
31d470ac
JM
315822013-01-18 Joseph Myers <joseph@codesourcery.com>
31583 Mark Mitchell <mark@codesourcery.com>
31584 Tom de Vries <tom@codesourcery.com>
31585 Paul Pluzhnikov <ppluzhnikov@google.com>
31586
31587 * debug/tst-backtrace2.c: New file.
31588 * debug/tst-backtrace3.c: Likewise.
31589 * debug/tst-backtrace4.c: Likewise.
31590 * debug/tst-backtrace5.c: Likewise.
31591 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31592 (CFLAGS-tst-backtrace3.c): Likewise.
31593 (CFLAGS-tst-backtrace4.c): Likewise.
31594 (CFLAGS-tst-backtrace5.c): Likewise.
31595 (LDFLAGS-tst-backtrace2): Likewise.
31596 (LDFLAGS-tst-backtrace3): Likewise.
31597 (LDFLAGS-tst-backtrace4): Likewise.
31598 (LDFLAGS-tst-backtrace5): Likewise.
31599 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31600 tst-backtrace4 and tst-backtrace5.
31601
90567f30 316022013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
31603 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31604
31605 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31606 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31607 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31608 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31610 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31611 "+r" and remove output regs list as redundant. Add explicit inline
31612 asm to specify register of return val to work around compiler codegen
31613 bug. Remove (int) cast on return value. Add return type parameter to
31614 use in macro so that this macro does not truncate return value for
31615 64-bit values.
31616 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31617 pass to INTERNAL_VSYSCALL_NCS.
31618 (INLINE_VSYSCALL): Add 'long int' as return type to
31619 INTERNAL_VSYSCALL_NCS macro invocation.
31620 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31621 INTERNAL_VSYSCALL_NCS macro invocation.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31623
d3b9ea61
SP
316242013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31625
0b57daeb
SP
31626 [BZ #14496]
31627 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31628 Fix application of SIMD FP exception mask.
31629
caa99d06
SP
31630 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31631 mp_no from a power of two.
31632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31633 __mpexp_twomm1. Use __pow_mp.
31634
d3b9ea61
SP
31635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31636 multiplication.
31637
1dbaee3c
DM
316382013-01-17 David S. Miller <davem@davemloft.net>
31639
31640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31641
728d7b43
JM
316422013-01-17 Joseph Myers <joseph@codesourcery.com>
31643
31644 [BZ #15023]
31645 * include/complex.h: Condition contents on [!_COMPLEX_H].
31646 (__kernel_casinhf): New prototype.
31647 (__kernel_casinh): Likewise.
31648 (__kernel_casinhl): Likewise.
31649 * math/Makefile (libm_calls): Add k_casinh.
31650 * math/k_casinh.c: New file.
31651 * math/k_casinhf.c: Likewise.
31652 * math/k_casinhl.c: Likewise.
31653 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31654 finite nonzero arguments.
31655 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31656 finite nonzero arguments.
31657 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31658 finite nonzero arguments.
31659 * math/s_casinh.c: Do not include <float.h>.
31660 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31661 * math/s_casinhf.c: Do not include <float.h>.
31662 (__casinhf): Move code for finite nonzero arguments to
31663 k_casinhf.c.
31664 * math/s_casinhl.c: Do not include <float.h>.
31665 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31666 redefine.
31667 (__casinhl): Move code for finite nonzero arguments to
31668 k_casinhl.c.
31669 * math/libm-test.inc (cacos_test): Add more tests.
31670 * sysdeps/i386/fpu/libm-test-ulps: Update.
31671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31672
2a26ef3a
PT
316732013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31674
31675 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31676 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31677 [!HAVE_MREMAP]: Remove [defined linux] case.
31678 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31679
a897655d
SP
316802013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31681
31682 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31683
881ebe89 316842013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
31685
31686 * elf/elf.h (R_386_SIZE32): New relocation.
31687 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31688 R_386_SIZE32.
31689 (elf_machine_rela): Likewise.
31690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31691 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31692
59981e9b
JM
316932013-01-17 Joseph Myers <joseph@codesourcery.com>
31694
31695 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31696 (FP_FAST_FMA): Do not define.
31697 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31698 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31699 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31700 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31701 !_SOFT_FLOAT]: Likewise.
31702 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31703 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31704 value.
31705 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31706 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31707 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31708 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31709 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31710 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31711 file.
31712
cfa8054f
AS
317132013-01-16 Andreas Schwab <schwab@suse.de>
31714
31715 [BZ #14327]
31716 * include/stdlib.h (__mktemp): Add declaration.
31717 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31718 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31719
dd930cc5
SP
317202013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31721
881ebe89
SP
31722 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31723 definitions.
31724 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31725 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31726 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31727 definitions here.
31728 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31729 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31730 definitions.
31731 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31732 and ONE.
31733 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31734 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31735 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31736 definitions.
31737 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31738 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31739 definitions.
31740 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 31741
dd930cc5
SP
31742 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31743
c19a9f89
DM
317442013-01-15 David S. Miller <davem@davemloft.net>
31745
1aa61767
DM
31746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31747 trunc{,f} to libm-sysdep_routes.
31748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31750 file.
31751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31753 file.
31754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31755 file.
31756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31758 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31759 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31760 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31761 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31762 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31763 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31764
c42d5e98
DM
31765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31766 nearbyint{,f} to libm-sysdep_routes.
31767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31769 New file.
31770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31771 file.
31772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31773 New file.
31774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31775 file.
31776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31778 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31779 file.
31780 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31781 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31782 file.
31783 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31784 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31785 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31786
c19a9f89
DM
31787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31788 libc_feholdexcept and libc_fesetenv.
31789
357679d2
MF
317902013-01-15 Mike Frysinger <vapier@gentoo.org>
31791
31792 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31793
65a82e3d
DM
317942013-01-14 David S. Miller <davem@davemloft.net>
31795
8b954ab9
DM
31796 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31797 (SPARC_ASM_VIS2_IFUNC): Likewise.
31798 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31800 use of 'siam' instruction.
31801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31802 Likewise.
31803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31804 Likewise.
31805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31806 Likewise.
31807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31810 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31812 file.
31813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31814 file.
31815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31816 file.
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31818 file.
31819 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31820 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31822 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31824 new VIS2 routines.
31825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31828 Likewise.
31829 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31834 routines to libm-sysdep_routines.
31835 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31836
65a82e3d
DM
31837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31838 fdim/fdimf to libm-sysdep_routines.
31839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31840 file.
31841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31843 file.
31844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31845 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31847 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31848 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31849 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31850 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31851
e34ab705
SP
318522013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31853
2a91b573
SP
31854 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31855 to optimize copies.
31856
1066a534
SP
31857 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31860
e34ab705
SP
31861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31862 local variable MPTWO.
31863 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31864 Likewise.
31865
aba5e596
MF
318662013-01-13 Mike Frysinger <vapier@gentoo.org>
31867
31868 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31869 GLOB_NOESCAPE.
31870
e557e9e5
MF
318712013-01-13 Mike Frysinger <vapier@gentoo.org>
31872
31873 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31874
0428cec9
MF
318752013-01-13 Mike Frysinger <vapier@gentoo.org>
31876
31877 * manual/pattern.texi (glob_t): Document gl_flags.
31878 (glob64_t): Likewise.
31879
8794a964
DM
318802013-01-11 David S. Miller <davem@davemloft.net>
31881
66438c3f
RM
31882 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31883 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31884 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
31885 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31886 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31887 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31888 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31889 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31890 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31891 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31892 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31893 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31894 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31895
4ae4244d
DM
31896 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31897 sparc V9 rather than using V8 code.
31898 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31899 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31900
8794a964
DM
31901 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31902 Move to...
31903 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31904 Here.
31905
6270516e
RM
319062013-01-11 Roland McGrath <roland@hack.frob.com>
31907
31908 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31909 not in the main loop.
31910 * configure: Regenerated.
31911
6a57d931
JM
319122013-01-11 Joseph Myers <joseph@codesourcery.com>
31913
31914 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31915 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31916 to just #else.
31917 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31918 [!__GLIBC_HAVE_LONG_LONG] case.
31919 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31920 condition to just #else.
31921 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31922 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31923 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31924 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31925 unconditional.
31926 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31927 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31928 #elif condition to just #else.
31929 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31930 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31931 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31932 #elif condition to just #else.
31933
0e8529e9
SE
319342013-01-11 Steve Ellcey <sellcey@mips.com>
31935
31936 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31937 (EF_MIPS_ARCH_64): Fix value.
31938 (EF_MIPS_ARCH_32R2): New.
31939 (EF_MIPS_ARCH_64R2): New.
31940
740b3dbe
L
319412013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31942
31943 * Makeconfig (+link-pie-before-libc): New.
31944 (+link-pie-after-libc): Likewise.
31945 (+link-pie-tests): Likewise.
31946 (+link-pie): Rewritten.
31947 (link-before-libc): Remove $(config-LDFLAGS).
31948 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31949 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31950 (config-LDFLAGS): Renamed to ...
31951 (rtld-LDFLAGS): This.
31952 (rtld-tests-LDFLAGS): New macro.
31953 (link-libc-rpath-link): Likewise.
31954 (link-libc-tests-rpath-link): Likewise.
31955 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31956 (link-libc): Prepand $(link-libc-rpath-link).
31957 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31958 (test-program-prefix): New macro.
31959 (test-via-rtld-prefix): Likewise.
31960 (test-program-cmd): Likewise.
31961 (host-test-program-cmd): Likewise.
31962 * Makefile ($(common-objpfx)testrun.sh): Replace
31963 $(run-program-prefix) with $(test-program-prefix).
31964 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31965 $(rtld-LDFLAGS).
31966 ($(common-objpfx)shlib.lds): Likewise.
31967 (build-module-helper): Likewise.
31968 ($(common-objpfx)format.lds): Likewise.
31969 * Rules (binaries-pie-tests): New.
31970 (binaries-pie-notests): Likewise.
31971 (binaries-pie): Rewritten.
31972 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31973 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31974 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31975 (make-test-out): Replace $(host-built-program-cmd) with
31976 $(host-test-program-cmd).
31977 * config.make.in (build-hardcoded-path-in-tests): New variable.
31978 * configure.in (--enable-hardcoded-path-in-tests): New configure
31979 option.
31980 (hardcoded_path_in_tests): New AC_SUBST.
31981 * configure: Regenerated.
31982 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31983 $(built-program-cmd) with $(test-program-cmd).
31984 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31985 (test_program_cmd): This.
31986 * elf/Makefile ($(objpfx)order.out): Run test with
31987 $(test-program-prefix).
31988 ($(objpfx)order2.out): Likewise.
31989 ($(objpfx)tst-initorder.out): Likewise.
31990 ($(objpfx)tst-initorder2.out): Likewise.
31991 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31992 $(test-program-cmd).
31993 ($(objpfx)tst-array1-static.out): Likewise.
31994 ($(objpfx)tst-array2.out): Likewise.
31995 ($(objpfx)tst-array3.out): Likewise.
31996 ($(objpfx)tst-array4.out): Likewise.
31997 ($(objpfx)tst-array5.out): Likewise.
31998 ($(objpfx)tst-array5-static.out): Likewise.
31999 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32000 $(test-program-cmd).
32001 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32002 $(run-program-prefix) with $(test-program-prefix).
32003 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32004 (test_program_prefix): This.
32005 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32006 $(run-program-prefix) with $(test-program-prefix).
32007 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32008 (test_program_prefix): This.
32009 * iconvdata/tst-tables.sh: Likewise.
32010 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32011 $(run-program-prefix) with $(test-program-prefix).
32012 ($(objpfx)tst-translit.out): Likewise.
32013 ($(objpfx)tst-gettext2.out): Likewise.
32014 ($(objpfx)tst-gettext4.out): Likewise.
32015 ($(objpfx)tst-gettext6.out): Likewise.
32016 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32017 (test_program_prefix): This.
32018 * intl/tst-gettext2.sh: Likewise.
32019 * intl/tst-gettext4.sh Likewise.
32020 * intl/tst-gettext6.sh: Likewise.
32021 * intl/tst-translit.sh: Likewise.
32022 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32023 with $(test-program-cmd).
32024 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32025 $(run-program-prefix) with $(test-program-prefix).
32026 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32027 (test_program_prefix): This.
32028 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32029 $(run-program-prefix) with $(test-program-prefix).
32030 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32031 (test_program_prefix): This.
32032 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32033 * posix/Makefile ($(objpfx)globtest.out): Replace
32034 $(run-via-rtld-prefix) and $(test-wrapper) with
32035 $(test-program-prefix) and $(test-via-rtld-prefix).
32036 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32037 $(test-program-prefix).
32038 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32039 $(host-test-program-cmd).
32040 (tst-spawn-ARGS): Likewise.
32041 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32042 $(test-program-prefix).
32043 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32044 (test_via_rtld_prefix): This.
32045 (test_wrapper): Renamed to ...
32046 (test_program_prefix): This.
32047 (run_program_prefix): Replaced by test_program_prefix.
32048 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32049 (test_program_prefix): This.
32050 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32051 with $(host-test-program-cmd).
32052 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32053 $(run-program-prefix) with $(test-program-prefix).
32054 ($(objpfx)tst-printf.out): Likewise.
32055 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32056 $(test-program-cmd).
32057 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32058 (test_program_prefix): This.
32059 * stdio-common/tst-unbputc.sh: Likewise.
32060 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32061 $(run-program-prefix) with $(test-program-prefix).
32062 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32063 (test_program_prefix): This.
32064 * string/Makefile ($(objpfx)tst-svc.out): Replace
32065 $(built-program-cmd) with $(test-program-cmd).
32066
c6fe55cf
AJ
320672013-01-11 Andreas Jaeger <aj@suse.de>
32068
32069 [BZ #15003]
32070 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32071 value. Sync with Linux 3.7.
32072
9e6919c8
DM
320732013-01-10 David S. Miller <davem@davemloft.net>
32074
32075 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32076 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32077 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32078
1c9f1a02
RM
320792013-01-10 Roland McGrath <roland@hack.frob.com>
32080
32081 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32082 never set.
32083 * configure: Regenerated.
32084
b9de2dde
DM
320852013-01-10 David S. Miller <davem@davemloft.net>
32086
32087 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32088 sparc V9 rather than using V8 code.
32089 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32090 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32091
e7f68ef4
RM
320922013-01-10 Roland McGrath <roland@hack.frob.com>
32093
32094 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32095 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32096 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32097 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32098 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32099 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32100 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32101 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32102 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32103 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32104 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32105 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32106 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32107 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32108 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32109 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32110 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32111 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32112 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32113 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32114 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32115 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32116 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32117 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32118 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32119 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32120 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32121
5a47cc9c
DM
321222013-01-10 David S. Miller <davem@davemloft.net>
32123
32124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32125
4cf8f209
L
321262013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32127
32128 * posix/Makefile (tests-static): New variable.
32129 (tests): Add $(tests-static).
32130 (tst-exec-static-ARGS): New variable.
32131 (tst-spawn-static-ARGS): Likewise.
32132 * posix/tst-exec-static.c: New file.
32133 * posix/tst-spawn-static.c: Likewise.
32134 * posix/tst-exec.c: Support run directly.
32135 * posix/tst-spawn.c: Likewise.
32136
fed0faa1
JM
321372013-01-10 Joseph Myers <joseph@codesourcery.com>
32138
828beb13
JM
32139 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32140 long.
32141 * math/bits/mathcalls.h (llrint): Likewise.
32142 (llround): Likewise.
32143 * stdlib/stdlib.h (struct drand48_data): Likewise.
32144 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32145 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32146 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32147 Likewise.
32148 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32149 Likewise.
32150 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32151 (elf_greg_t): Likewise.
32152 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32153 (__jmp_buf): Likewise.
32154 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32155 definitions.
32156 (llrint): Likewise, for all definitions.
32157 (llrintl): Likewise.
32158
fed0faa1
JM
32159 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32160 Remove [__GNUC__] condition.
32161 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32162 condition to just [__USE_ISOC99].
32163 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32164
1a20cb20
L
321652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32166
32167 [BZ #14200]
32168 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32169 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32170 defined.
32171 (_POSIX_V6_ILP32_OFF32): Likewise.
32172 (_XBS5_ILP32_OFF32): Likewise.
32173 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32174 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32175
751b85f7
SP
321762013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32177
7490eb81
SP
32178 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32179
751b85f7
SP
32180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32181 doubles __mpexp_twomm1. Adjust usage.
32182 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32183 Remove.
32184
988197f0
AS
321852013-01-10 Andreas Schwab <schwab@suse.de>
32186
32187 [BZ #14964]
32188 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32189 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32190
e83d7298
DM
321912013-01-09 David S. Miller <davem@davemloft.net>
32192
034ed64b 32193 [BZ #15003]
57f41c40
AS
32194 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32195 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32196 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32197 (TCP_FASTOPEN): Define.
e83d7298
DM
32198 (tcp_repair_opt): New structure.
32199 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32200 enum values.
57f41c40
AS
32201 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32202 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32203 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32204 (tcp_cookie_transactions): New structure.
32205
d5e0b9bd
AB
322062013-01-09 Anton Blanchard <anton@samba.org>
32207
32208 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32209 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32210 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32211 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32212
0c07e3ea
JM
322132013-01-09 Joseph Myers <joseph@codesourcery.com>
32214
32215 * include/features.h (__USE_ANSI): Remove.
32216
232f7002
RM
322172013-01-09 Roland McGrath <roland@hack.frob.com>
32218
ad98e30c
RM
32219 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32220
232f7002
RM
32221 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32222
950c99ca
SP
322232013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32224
b5792741
SP
32225 * sysdeps/s390/fpu/libm-test-ulps: Update.
32226
47cf2278
SP
32227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32228
950c99ca
SP
32229 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32230 (__acr): Likewise.
32231 (__cpy): Likewise.
32232 (norm): Likewise.
32233 (denorm): Likewise.
32234 (__mp_dbl): Likewise.
32235 (__dbl_mp): Likewise.
32236 (add_magnitudes): Likewise.
32237 (sub_magnitudes): Likewise.
32238 (__add): Likewise.
32239 (__sub): Likewise.
32240 (__mul): Likewise.
32241 (__inv): Likewise.
32242 (__dvd): Likewise.
32243 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32244 (__acr): Likewise.
32245 (__cpy): Likewise.
32246 (norm): Likewise.
32247 (denorm): Likewise.
32248 (__mp_dbl): Likewise.
32249 (__dbl_mp): Likewise.
32250 (add_magnitudes): Likewise.
32251 (sub_magnitudes): Likewise.
32252 (__add): Likewise.
32253 (__sub): Likewise.
32254 (__mul): Likewise.
32255 (__inv): Likewise.
32256 (__dvd): Likewise.
32257 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32258 (__acr): Likewise.
32259 (__cpy): Likewise.
32260 (norm): Likewise.
32261 (denorm): Likewise.
32262 (__mp_dbl): Likewise.
32263 (__dbl_mp): Likewise.
32264 (add_magnitudes): Likewise.
32265 (sub_magnitudes): Likewise.
32266 (__add): Likewise.
32267 (__sub): Likewise.
32268 (__mul): Likewise.
32269 (__inv): Likewise.
32270 (__dvd): Likewise.
32271
eede9df9
JM
322722013-01-08 Joseph Myers <joseph@codesourcery.com>
32273
32274 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32275 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32276 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32277 2 && __USE_EXTERN_INLINES]: Likewise.
32278
c40ea3d9
AJ
322792013-01-08 Andreas Jaeger <aj@suse.de>
32280
32281 [BZ# 14985]
32282 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32283 Remove.
32284 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32285 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32286
2ccdea26
AB
322872013-01-07 Anton Blanchard <anton@samba.org>
32288
32289 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32290 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32291 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32292 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32293 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32294 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32295 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32296 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32297 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32298 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32299 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32300 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32301 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32302 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32303 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32304 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32305 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32306 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32307 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32308 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32309 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32310 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32312 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32313 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32314 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32315 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32316 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32318 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32319 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32320 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32321 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32322 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32324 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32325 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32326 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32327 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32328 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32329 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32330 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32331 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32332
a9708fed
JM
323332013-01-07 Joseph Myers <joseph@codesourcery.com>
32334
375607b9
JM
32335 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32336 (__MALLOC_PMT): Likewise.
32337 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32338 [__GNUC__], only on [_LIBC].
32339 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32340 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32341 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32342 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32343 forward declaration.
32344 (realloc_hook_ini): Likewise.
32345 (memalign_hook_ini): Likewise.
32346 (__libc_memalign): Do not use __MALLOC_PMT in variable
32347 declaration.
32348 (__libc_valloc): Likewise.
32349 (__libc_pvalloc): Likewise.
32350 (__libc_calloc): Likewise.
32351 (__posix_memalign): Likewise.
32352
a9708fed
JM
32353 [BZ #14996]
32354 * math/s_casinh.c: Include <float.h>.
32355 (__casinh): Do not do computation with squaring and square root
32356 for large arguments.
32357 * math/s_casinhf.c: Include <float.h>.
32358 (__casinhf): Do not do computation with squaring and square root
32359 for large arguments.
32360 * math/s_casinhl.c: Include <float.h>.
32361 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32362 (__casinhl): Do not do computation with squaring and square root
32363 for large arguments.
32364 * math/libm-test.inc (casin_test): Add more tests.
32365 (casinh_test): Likewise.
32366 * sysdeps/i386/fpu/libm-test-ulps: Update.
32367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32368
afec409a
L
323692013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32370
32371 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32372 (__x86_64_raw_data_cache_size): Likewise.
32373 (__x86_64_data_cache_size_half): Likewise.
32374 (__x86_64_raw_data_cache_size_half): Likewise.
32375 (__x86_64_shared_cache_size): Likewise.
32376 (__x86_64_raw_shared_cache_size): Likewise.
32377 (__x86_64_shared_cache_size_half): Likewise.
32378 (__x86_64_raw_shared_cache_size_half): Likewise.
32379 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32380 to ...
32381 (__x86_data_cache_size): This.
32382 (__x86_64_raw_data_cache_size): Renamed to ...
32383 (__x86_raw_data_cache_size): This.
32384 (__x86_64_data_cache_size_half): Renamed to ...
32385 (__x86_data_cache_size_half): This.
32386 (__x86_64_raw_data_cache_size_half): Renamed to ...
32387 (__x86_raw_data_cache_size_half): This.
32388 (__x86_64_shared_cache_size): Renamed to ...
32389 (__x86_shared_cache_size): This.
32390 (__x86_64_raw_shared_cache_size): Renamed to ...
32391 (__x86_raw_shared_cache_size): This.
32392 (__x86_64_shared_cache_size_half): Renamed to ...
32393 (__x86_shared_cache_size_half): This.
32394 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32395 (__x86_raw_shared_cache_size_half): This.
32396 * sysdeps/x86_64/memcpy.S: Updated.
32397 * sysdeps/x86_64/memset.S: Likewise.
32398 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32399 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32400 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32401
0b3986d0
DM
324022013-01-04 David S. Miller <davem@davemloft.net>
32403
32404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32405
e47686e9
AS
324062013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32407
d643bac1
AS
32408 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32409 1 to avoid redefinition warning.
32410 (__USE_GNU): Don't define.
32411 (init_signaling_nan): Protoize.
32412
e47686e9
AS
32413 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32414
b18decba
SP
324152013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32416
fffb407f
SP
32417 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32419 (__cpymn): Likewise.
32420 (norm): Remove commented code.
32421 (denorm): Likewise.
32422 (__mp_dbl): Likewise.
32423 (__inv): Likewise.
32424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32425 (__cpymn): Likewise.
32426 (norm): Remove commented code.
32427 (denorm): Likewise.
32428 (__mp_dbl): Likewise.
32429 (__inv): Likewise.
32430
b18decba
SP
32431 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32432 mp_no value for 1.0 and 2.0.
32433 (norm): Use RADIXI instead of radixi.d.
32434 (denorm): Likewise.
32435 (__mul): Use 0.0 instead of zero.d.
32436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32437 mp_no value for 1.0 and 2.0.
32438 (norm): Use RADIXI instead of radixi.d.
32439 (denorm): Likewise.
32440 (__mul): Use 0.0 instead of zero.d.
32441
cdc1c96f
JM
324422013-01-04 Joseph Myers <joseph@codesourcery.com>
32443
32444 [BZ #14994]
32445 * math/s_casinh.c (__casinh): Reduce finite argument to first
32446 quadrant then set signs of results at the end.
32447 * math/s_casinhf.c (__casinhf): Likewise.
32448 * math/s_casinhl.c (__casinhl): Likewise.
32449 * math/libm-test.inc (casin_test): Add more tests.
32450 (casinh_test): Likewise.
32451 * sysdeps/i386/fpu/libm-test-ulps: Update.
32452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32453
302913e1
SP
324542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32455
6420d207
SP
32456 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32457
a9e48ab4
SP
32458 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32459
b7837264
SP
32460 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32461 declarations.
32462 (denorm): Likewise.
32463 (__mp_dbl): Likewise.
32464 (__inv): Likewise.
32465
f8af25d2
SP
32466 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32467 and adjust the header comment.
32468
302913e1
SP
32469 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32470 variable name from declaration.
32471
5d7dd1ca
L
324722013-01-03 H.J. Lu <hongjiu.lu@intel.com>
32473
32474 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32475 Initialize COMMON_CPUID_INDEX_7 element.
32476 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32477 (CPUID_RTM): Likewise.
32478 (HAS_RTM): Likewise.
32479 (COMMON_CPUID_INDEX_7): New enum.
32480
2f5f40f4
AS
324812013-01-03 Andreas Schwab <schwab@linux-m68k.org>
32482
32483 [BZ #14981]
32484 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32485 size is zero, record memory as freed.
32486
4056f4a0
AJ
324872013-01-03 Andreas Jaeger <aj@suse.de>
32488
32489 * po/ia.po: Add new Interlingua translation.
32490
ab15736f 324912012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
32492
32493 * locale/programs/localedef.c: Fix description of '--posix' flag.
32494
568035b7
JM
324952013-01-02 Joseph Myers <joseph@codesourcery.com>
32496
e6898b8d
JM
32497 * NEWS: Update dates in second copyright notice.
32498 * README: Update copyright dates in example.
32499 * manual/libc.texinfo: Update copyright dates.
32500 * scripts/test-installation.pl: Update copyright date in --version
32501 output.
32502
0e2f9562
JM
32503 * hurd/ctty-input.c: Fix copyright notice formatting.
32504 * hurd/ctty-output.c: Likewise.
32505 * hurd/dtable.c: Likewise.
32506 * hurd/hurd-raise.c: Likewise.
32507 * hurd/hurdprio.c: Likewise.
32508 * hurd/msgportdemux.c: Likewise.
32509 * misc/sys/file.h: Likewise.
32510 * misc/sys/ioctl.h: Likewise.
32511 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32512 * sysdeps/mach/hurd/chdir.c: Likewise.
32513 * sysdeps/mach/hurd/fchdir.c: Likewise.
32514 * sysdeps/mach/hurd/rename.c: Likewise.
32515 * sysdeps/mach/hurd/rmdir.c: Likewise.
32516 * sysdeps/mach/hurd/seekdir.c: Likewise.
32517 * sysdeps/mach/hurd/setsid.c: Likewise.
32518 * sysdeps/posix/wait3.c: Likewise.
32519
568035b7
JM
32520 * All files with FSF copyright notices: Update copyright dates
32521 using scripts/update-copyrights.
32522 * intl/plural.c: Regenerated.
32523 * locale/programs/charmap-kw.h: Likewise.
32524 * locale/programs/locfile-kw.h: Likewise.
32525
da08f647
SP
325262013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32527
0f5477af
SP
32528 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32529 four values.
32530
44e0d4c2
SP
32531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32532 calculation loop and add branch prediction.
32533
4d55b4e5
SP
32534 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32535 check access beyond bounds of m1np.
32536
da08f647
SP
32537 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32538 MPTWO.
32539 (__inv): Remove local variable MPTWO to use the global
32540 constant.
32541 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32543 variable MPTWO.
32544 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32545 MP3HALFS static const.
32546
8e051029
DM
325472013-01-01 David S. Miller <davem@davemloft.net>
32548
32549 * po/ca.po: Update from translation team.
32550
f4cf5f2d
JM
325512013-01-01 Joseph Myers <joseph@codesourcery.com>
32552
32553 * scripts/update-copyrights: New file.
32554 * Makeconfig: Reformat copyright notice.
32555 * ctype/ctype.h: Likewise.
32556 * debug/swprintf_chk.c: Likewise.
32557 * elf/dl-cache.c: Likewise.
32558 * elf/dl-debug.c: Likewise.
32559 * elf/dl-object.c: Likewise.
32560 * grp/initgroups.c: Likewise.
32561 * hurd/Makefile: Likewise.
32562 * hurd/hurd/signal.h: Likewise.
32563 * hurd/hurdfault.c: Likewise.
32564 * hurd/hurdioctl.c: Likewise.
32565 * hurd/hurdlookup.c: Likewise.
32566 * hurd/intr-msg.c: Likewise.
32567 * iconv/gconv_open.c: Likewise.
32568 * libio/swprintf.c: Likewise.
32569 * locale/lc-ctype.c: Likewise.
32570 * locale/nl_langinfo.c: Likewise.
32571 * mach/Machrules: Likewise.
32572 * mach/Makefile: Likewise.
32573 * malloc/obstack.h: Likewise.
32574 * manual/Makefile: Likewise.
32575 * manual/tsort.awk: Likewise.
32576 * misc/bits/stab.def: Likewise.
32577 * nis/nis_print_group_entry.c: Likewise.
32578 * nis/nis_table.c: Likewise.
32579 * nis/nss_compat/compat-pwd.c: Likewise.
32580 * nis/nss_compat/compat-spwd.c: Likewise.
32581 * po/Makefile: Likewise.
32582 * posix/fnmatch.c: Likewise.
32583 * posix/regex.h: Likewise.
32584 * resolv/Makefile: Likewise.
32585 * resolv/nss_dns/dns-network.c: Likewise.
32586 * resolv/res_hconf.c: Likewise.
32587 * scripts/gen-sorted.awk: Likewise.
32588 * soft-fp/soft-fp.h: Likewise.
32589 * stdio-common/printf.h: Likewise.
32590 * stdlib/monetary.h: Likewise.
32591 * stdlib/random.c: Likewise.
32592 * stdlib/random_r.c: Likewise.
32593 * sysdeps/generic/Makefile: Likewise.
32594 * sysdeps/gnu/Makefile: Likewise.
32595 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32596 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32597 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32598 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32599 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32600 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32601 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32602 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32603 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32604 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32605 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32606 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32607 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32608 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32609 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32610 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32611 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32612 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32613 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32614 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32615 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32616 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32617 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32618 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32619 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32620 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32621 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32622 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32623 * sysdeps/mach/hurd/errnos.awk: Likewise.
32624 * sysdeps/mach/hurd/fork.c: Likewise.
32625 * sysdeps/mach/hurd/getcwd.c: Likewise.
32626 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32627 * sysdeps/mach/hurd/mmap.c: Likewise.
32628 * sysdeps/mach/hurd/utimes.c: Likewise.
32629 * sysdeps/mach/hurd/xmknod.c: Likewise.
32630 * sysdeps/posix/profil.c: Likewise.
32631 * sysdeps/posix/readdir_r.c: Likewise.
32632 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32633 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32634 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32635 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32636 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32637 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32638 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32639 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32640 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32641 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32642 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32643 * sysdeps/pthread/lio_listio.c: Likewise.
32644 * sysdeps/sparc/dl-procinfo.h: Likewise.
32645 * sysdeps/unix/i386/sysdep.S: Likewise.
32646 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32647 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32648 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32649 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32651 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32652 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32653 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32654 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32655 * sysdeps/wordsize-32/divdi3.c: Likewise.
32656 * time/sys/time.h: Likewise.
32657 * wcsmbs/Makefile: Likewise.
32658
0549fbba
DM
326592013-01-01 David S. Miller <davem@davemloft.net>
32660
a141f1a7
DM
32661 * po/fr.po: Update from translation team.
32662
0549fbba
DM
32663 * catgets/gencat.c: Update copyright year.
32664 * csu/version.c: Likewise.
32665 * debug/catchsegv.sh: Likewise.
32666 * debug/pcprofiledump.c: Likewise.
32667 * debug/xtrace.sh: Likewise.
32668 * elf/ldconfig.c: Likewise.
32669 * elf/ldd.bash.in: Likewise.
32670 * elf/pldd.c: Likewise.
32671 * elf/sotruss.ksh: Likewise.
32672 * elf/sprof.c: Likewise.
32673 * iconv/iconv_prog.c: Likewise.
32674 * iconv/iconvconfig.c: Likewise.
32675 * locale/programs/locale.c: Likewise.
32676 * locale/programs/localedef.c: Likewise.
32677 * login/programs/pt_chown.c: Likewise.
32678 * malloc/memusage.sh: Likewise.
32679 * malloc/memusagestat.c: Likewise.
32680 * malloc/mtrace.pl: Likewise.
32681 * nscd/nscd.c: Likewise.
32682 * nss/getent.c: Likewise.
32683 * nss/makedb.c: Likewise.
32684 * posix/getconf.c: Likewise.
32685
18ea052c
SP
326862012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32687
32688 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32689 numbers.
32690
9c89fca6
MF
326912012-12-30 Mike Frysinger <vapier@gentoo.org>
32692
32693 * math/bits/mathcalls.h (modf): Use __nonnull.
32694
085ec079
SP
326952012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32696
32697 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32698 (split): Use macro CN instead of the bare value.
32699 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32700 could be used.
32701 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32702 instead of the bare value.
32703 (power1): Likewise.
32704
6d9f97e1
SP
327052012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32706
d63f73be
SP
32707 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32708 __ATAN_TWOM.
32709 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32710
6d9f97e1
SP
32711 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32712 their values.
32713 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32714 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32715 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32716 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32717
4c4febf5
AJ
327182012-12-28 Andreas Jaeger <aj@suse.de>
32719
af5843ef
AJ
32720 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32721 values are from Linux 3.7.
32722
4c4febf5
AJ
32723 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32724 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32725
99136f82
SP
327262012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32727
2f216c3c 32728 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
32729 TRUE case.
32730
99136f82
SP
32731 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32732 (norm): Likewise.
32733 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32734 variables with preprocessor constants.
32735 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32736 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32737 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32738
7fffbdff
BH
327392012-12-27 Bruno Haible <bruno@clisp.org>
32740
32741 [BZ #14317]
32742 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32743 only if needed.
32744
b76eb5f0
SP
327452012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32746
31a7fe5c
SP
32747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32748 and use variable directly.
32749 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32750
b76eb5f0
SP
32751 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32752 MPONE.
32753 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32754 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32755 variable MPONE.
32756 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32758 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32759 include directive. Remove local variable MPONE.
32760 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32761 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32762 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32763
2c8bfe7d
DM
327642012-12-25 David S. Miller <davem@davemloft.net>
32765
32766 * version.h (RELEASE): Set to "development".
32767 (VERSION): Set to "2.17.90".
32768 * NEWS: Add 2.18 section.
32769
147d03b0
DM
327702012-12-21 David S. Miller <davem@davemloft.net>
32771
32772 * po/hr.po: Update from translation team.
32773
a8ebb2b9
AK
327742012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32775
32776 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32777
95b4f1b6
SE
327782012-12-19 Steve Ellcey <sellcey@mips.com>
32779
b2d94007 32780 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 32781
cedb2a90
MS
327822012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32783
32784 * manual/contrib.texi (Contributors): Spelling correction.
32785
bbf527d6
DM
327862012-12-15 David S. Miller <davem@davemloft.net>
32787
32788 * po/ru.po: Update from translation team.
32789
bc38c906
DM
327902012-12-13 David S. Miller <davem@davemloft.net>
32791
85429b1a
DM
32792 * NEWS: Mention IFUNC testsuite enhancements.
32793
d283e353
DM
32794 * po/pl.po: Update from translation team.
32795 * po/bg.po: Likewise.
32796
bc38c906
DM
32797 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32798 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32799
a181b0d7
DM
328002012-12-11 David S. Miller <davem@davemloft.net>
32801
4641d57e
DM
32802 * po/sv.po: Update from translation team.
32803
f7bc6495
DM
32804 * po/vi.po: Update from translation team.
32805
6fc9048f
DM
32806 * po/cs.po: Update from translation team.
32807
a181b0d7
DM
32808 * po/de.po: Update from translation team.
32809 * po/eo.po: Likewise.
32810 * po/nl.po: Likewise.
32811
f70bfe80
SP
328122012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32813
3c8b4190
SP
32814 [BZ #14246]
32815 * manual/argp.texi (Argp Helper Functions): Move node to follow
32816 Argp Parsing State.
32817
f70bfe80
SP
32818 [BZ #14872]
32819 * manual/conf.texi (Limits on File System Capacity): Mention if
32820 terminating null is included in the max size.
32821
188f0adf
AJ
328222012-12-10 Andreas Jaeger <aj@suse.de>
32823
32824 * po/cs.po: Update from translation team.
32825
56e7d3ad
SP
328262012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32827
32828 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32829 void pointer and cast to uintptr_t.
32830 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32831 path.
32832 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32833 * sysdeps/s390/s390-64/memset.S: Likewise.
32834
76f2d2ea 328352012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
32836
32837 [BZ #14833]
32838 * menual/message.texi (Message Translation): Fix typos.
32839 (Helper programs for gettext): Likewise.
32840
67cbf9a2
AS
328412012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32842
32843 [BZ #14898]
32844 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32845 Change to -1.
32846
682d0e9a
DM
328472012-12-07 David S. Miller <davem@davemloft.net>
32848
32849 * po/libc.pot: Update.
32850
573cd484
RH
328512012-12-07 Richard Henderson <rth@redhat.com>
32852
7e9da188 32853 [BZ #10114]
573cd484
RH
32854 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32855 normal/normal case to before the switch.
32856 (_FP_DIV): Likewise.
32857
e933a943
MF
328582012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32859 Mike Frysinger <vapier@gentoo.org>
32860
32861 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32862 check for __NR_fadvise64_64.
32863
82123268
CM
328642012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32865
32866 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32867 0, not just to plain "0" as a statement.
32868 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32869 with cw.
32870
d9814526
JM
328712012-12-06 Joseph Myers <joseph@codesourcery.com>
32872
32873 * NEWS: Use sourceware.org in Bugzilla URL.
32874
7728c574
SP
328752012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32876
f16946dd
SP
32877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32878 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32879
5704bbcb
SP
32880 * stdio-common/tst-put-error.c (do_test): Add newline to the
32881 padded test to ensure flush.
32882
17aa0516
JL
328832012-12-05 Jeff Law <law@redhat.com>
32884
32885 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32886
363313b5
JM
328872012-12-05 Joseph Myers <joseph@codesourcery.com>
32888
effbd42a
JM
32889 * README: Don't refer to ports add-on as distributed separately.
32890 Mention AArch64 in list of systems supported in the ports add-on.
32891
87600365
JM
32892 * LICENSES: Add more non-FSF copyright and license notices.
32893
a0d7066a
JM
32894 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32895 ((unused)).
32896
66ca5a5b
JM
32897 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32898
363313b5
JM
32899 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32900 10000 as width of padded output.
32901
b37984ad
JM
329022012-12-04 Joseph Myers <joseph@codesourcery.com>
32903
9003570a
JM
32904 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32905
b37984ad
JM
32906 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32907 variable LX with __attribute__ ((unused)).
32908 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32909 Likewise.
32910 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32911 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32912 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32913 with __attribute__ ((unused)).
32914
c8df52ec
DM
329152012-12-04 David S. Miller <davem@abraco.davemloft.net>
32916
32917 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32918
b3b099af
JM
329192012-12-04 Joseph Myers <joseph@codesourcery.com>
32920
c33aa6e3
JM
32921 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32922 (CFLAGS-nldbl-acos.c): New variable.
32923 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32924 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32925 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32926 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32927 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32928 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32929 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32930 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32931 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32932 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32933 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32934 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32935 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32936 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32937 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32938 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32939 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32940 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32941 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32942 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32943 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32944 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32945 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32946 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32947 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32948 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32949 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32950 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32951 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32952 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32953 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32954 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32955 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32956 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32957 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32958 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32959 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32960 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32961 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32962 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32963 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32964 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32965 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32966 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32967 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32968 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32969 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32970 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32971 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32972 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32973 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32974 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32975 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32976 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32977 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32978 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32979 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32980 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32981 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32982 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32983 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32984 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32985 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32986 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32987 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32988 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32989 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32990 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32991 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32992 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32993 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32994 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32995 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32996 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32997 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32998 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32999 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33000 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33001 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33002 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33003 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33004 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33005 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33006 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33007 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33008 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33009 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33010 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33011 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33012 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33013 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33014 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33015 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33016 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33017 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33018 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33019 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33020
20f0018d
JM
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33022 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33023
b3b099af
JM
33024 [BZ #14914]
33025 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33026 whole low double instead of just low 47 bits when splitting values
33027 into two parts.
33028
029264d1
AM
330292012-12-03 Allan McRae <allan@archlinux.org>
33030
33031 * manual/stdio.texi (Predefined Printf Handlers): Remove
33032 @hsep and @vsep usage.
33033
c9d6789e
MF
330342012-12-03 Mike Frysinger <vapier@gentoo.org>
33035
33036 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33037 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33038
4b7634a5
JL
330392012-12-03 Jeff Law <law@redhat.com>
33040
33041 * time/sys/time.h (settimeofday): Do not mark TV argument
33042 as __nonnull.
33043
eb6cbd24
MF
330442012-12-01 Mike Frysinger <vapier@gentoo.org>
33045
33046 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33047 when currently writing and seek to current position when not.
33048 * libio/Makefile (tests): Remove bug-fclose1.
33049 * libio/bug-fclose1.c: Delete.
33050
f638872a
JM
330512012-12-01 Joseph Myers <joseph@codesourcery.com>
33052
33053 * manual/arith.texi (feenableexcept): Fix typo.
33054 (fedisableexcept): Likewise.
33055
48085d14
RM
330562012-11-30 Roland McGrath <roland@hack.frob.com>
33057
33058 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33059 second, differently-typed declaration, rather than a cast.
33060
1a538b9f
SP
330612012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33062
33063 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33064 * include/rpc/svc.h: ... here.
33065
d07f2ff1 330662012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33067
33068 [BZ #13013]
33069 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33070 depending n and resplen2 to catch cases where answer
33071 equals answerp2.
33072
c93ec1f0
CD
330732012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33074
33075 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33076 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33077
37db69de
MF
330782012-11-29 Mike Frysinger <vapier@gentoo.org>
33079
33080 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33081
e10c4e4f
RM
330822012-11-29 Roland McGrath <roland@hack.frob.com>
33083
33084 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33085
2af1b328
JL
330862012-11-28 Jeff Law <law@redhat.com>
33087
33088 [BZ #13761]
33089 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33090 dataset_temporary. Track alloca usage into alloca_used.
33091 If dataset is large allocate and release it via malloc/free.
33092
111db5b1
FW
330932012-06-04 Florian Weimer <fweimer@redhat.com>
33094
f06cc227 33095 [BZ #14197]
111db5b1
FW
33096 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33097
dd694abd
DM
330982012-11-28 David S. Miller <davem@davemloft.net>
33099
33100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33101
9984dd01
JM
331022012-11-28 Joseph Myers <joseph@codesourcery.com>
33103
33104 [BZ #14803]
33105 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33106 of pi/2 rounded to nearest to 64 bits.
33107 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33108 nearest to 64 bits.
33109 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33110 bits.
33111
14bc93a9
JL
331122012-11-28 Jeff Law <law@redhat.com>
33113 Martin Osvald <mosvald@redhat.com>
33114
33115 [BZ #14889]
33116 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33117 * sunrpc/svc.c: Include time.h.
33118 (__svc_accept_failed): New function.
33119 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33120 any reason other than EINTR, call __svc_accept_failed.
33121 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33122 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33123
e3c6aa3a
AS
331242012-11-28 Andreas Schwab <schwab@suse.de>
33125
33126 * scripts/abilist.awk: Also handle indirect functions in .opd
33127 section.
33128
1bead169
JM
331292012-11-28 Joseph Myers <joseph@codesourcery.com>
33130
33131 [BZ #13881]
33132 * sysdeps/x86/fpu/powl_helper.c: New file.
33133 * sysdeps/x86/fpu/Makefile: Likewise.
33134 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33135 (p3): New object.
33136 (__ieee754_powl): Use __powl_helper for finite arguments except
33137 integer exponents below 8.
33138 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33139 (p3): New object.
33140 (__ieee754_powl): Use __powl_helper for finite arguments except
33141 integer exponents below 8.
33142 * math/libm-test.inc (pow_test): Add more tests and enable some
33143 previously disabled tests.
33144 * sysdeps/i386/fpu/libm-test-ulps: Update.
33145 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33146
0817d63d
SP
331472012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33148 Carlos O'Donell <carlos_odonell@mentor.com>
33149
33150 * nss/makedb.c (is_prime): Assert that input is odd and greater
33151 than 4. Note that fact in a comment too.
33152 (next_prime): Add 4 to input.
33153
de2fd463
SP
331542012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33155
33156 [BZ #11741]
33157 * libio/Makefile (tests): Add test case tst-fwrite-error.
33158 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33159 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33160 * libio/tst-fwrite-error.c: New test case.
33161
c515fb51
L
331622012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33163
33164 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33165 before casting to void *.
33166 * include/libc-internal.h (__pointer_type): New macro.
33167 (__integer_if_pointer_type_sub): Likewise.
33168 (__integer_if_pointer_type): Likewise.
33169 (cast_to_integer): Likewise.
33170 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33171 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33172 before casting to atomic64_t.
33173 (atomic_exchange_acq): Likewise.
33174 (__arch_exchange_and_add_body): Likewise.
33175 (__arch_add_body): Likewise.
33176 (atomic_add_negative): Likewise.
33177 (atomic_add_zero): Likewise.
33178
4cf77aa9
JM
331792012-11-26 Joseph Myers <joseph@codesourcery.com>
33180
33181 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33182 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33183 (add_fdes): Likewise.
33184 (linear_search_fdes): Likewise.
33185 (binary_search_unencoded_fdes): Likewise.
33186
d260b3b4
AS
331872012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33188
33189 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33190
67060746
AC
331912012-11-24 Adam Conrad <adconrad@0c3.net>
33192
33193 * configure.in: Autodetect C++ header directories.
33194 * configure: Regenerated.
33195
800938a1
MF
331962012-11-23 Mike Frysinger <vapier@gentoo.org>
33197
33198 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33199
4e6e34e6
AS
332002012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33201
33202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33203
7c7feb47
JM
332042012-11-22 Joseph Myers <joseph@codesourcery.com>
33205
7184dcdf
JM
33206 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33207 LDBL_MANT_DIG == 106]: Disable some tests.
33208 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33209 Likewise.
33210 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33211 Likewise.
33212
0a42601f
JM
33213 [BZ #14871]
33214 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33215 input for small inputs. Return +/- pi/2 for large inputs.
33216 * math/libm-test.inc (atan_test): Add more tests.
33217
79c9b9fe
JM
33218 * sysdeps/generic/unwind-dw2-fde-glibc.c
33219 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33220 __attribute__ ((unused)).
33221
c60d3bf2
JM
33222 [BZ #14645]
33223 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33224 x * y if x and y are nonzero and z is zero.
33225
ef1e0867
JM
33226 [BZ #14811]
33227 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33228 nonzero exponents with absolute value below 0x1p-117 to +/-
33229 0x1p-117.
33230
1468ded3
JM
33231 [BZ #14869]
33232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33233 up arguments below 2**-450, not just those below 2**-500.
33234 * math/libm-test.inc (hypot_test): Add another test.
33235
8e27e3cc
JM
33236 [BZ #14868]
33237 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33238 Return a+b for ratio over 2**120, not 2**60.
33239 * math/libm-test.inc (hypot_test): Add another test.
33240
c9c0279b
JM
33241 * math/libm-test.inc (clog_test): Use
33242 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33243 (clog10_test): Likewise.
33244
7c7feb47
JM
33245 [BZ #6778]
33246 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33247
fff1530e
AS
332482012-11-22 Andreas Schwab <schwab@suse.de>
33249
33250 * sysdeps/i386/fpu/libm-test-ulps: Update.
33251
94558d30
PT
332522012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33253
33254 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33255 printf output with newline.
33256
7e1be741
L
332572012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33258
6bfea974
L
33259 [BZ #14865]
33260 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33261 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33262 -z nodlopen, -z initfirst and -z execstack support.
33263 * configure: Regenerated.
33264
7e1be741
L
33265 * elf/elf.h (DF_1_NODIRECT): New macro.
33266 (DF_1_IGNMULDEF): Likewise.
33267 (DF_1_NOKSYMS): Likewise.
33268 (DF_1_NOHDR): Likewise.
33269 (DF_1_EDITED): Likewise.
33270 (DF_1_NORELOC): Likewise.
33271 (DF_1_SYMINTPOSE): Likewise.
33272 (DF_1_GLOBAUDIT): Likewise.
33273 (DF_1_SINGLETON): Likewise.
33274 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33275 DT_1_SUPPORTED_MASK bits.
33276 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33277
105ce2ce
CD
332782012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33279
33280 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33281
123be9de
TS
332822012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33283
d072f3f7
TS
33284 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33285 macro.
33286
123be9de
TS
33287 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33288 (sendmmsg): Move declarations...
33289 * socket/sys/socket.h: ... here.
33290 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33291 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33292 include it from...
33293 * socket/recvmmsg.c: ... this new file.
33294 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33295 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33296 definition of __sendmmsg hidden.
33297 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33298 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33299 Move ENOSYS stub into and include it from...
33300 * socket/sendmmsg.c: ... this new file.
33301 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33302 (sysdep_routines): Move recvmmsg and sendmmsg...
33303 * socket/Makefile (routines): ... here.
33304 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33305 (GLIBC_PRIVATE): Add __sendmmsg.
33306 * include/sys/socket.h (__sendmmsg): Add declarations.
33307 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33308 sendmmsg.
33309
cf9a5d18
JM
333102012-11-20 Joseph Myers <joseph@codesourcery.com>
33311
33312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33313 variable I1 with __attribute__ ((unused)).
33314 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33315
ecd4caf9
JM
333162012-11-19 Joseph Myers <joseph@codesourcery.com>
33317
be14d48f
JM
33318 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33319 DUMMY variables with __attribute__ ((unused)).
33320
ecd4caf9
JM
33321 * bits/byteswap.h: Include <bits/types.h>.
33322 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33323
986cab95
PT
333242012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33325
33326 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33327 string_t. Do not manually set errno.
33328 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33329 length with __strnlen. Make sure to both set errno and return it on
33330 failure.
33331
6d33cc9d
DM
333322012-11-19 David S. Miller <davem@davemloft.net>
33333
33334 With help from Joseph Myers.
33335 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33336 very large arguments properly.
33337 * math/libm-test.inc (atan_test): New tests.
33338 (atan2_test): New tests.
33339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33341
ee663277
JM
333422012-11-19 Joseph Myers <joseph@codesourcery.com>
33343
877f2d8e
JM
33344 [BZ #14856]
33345 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33346 Define to 3.
33347
116fc08a
JM
33348 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33349 [POSIX] (EADDRNOTAVAIL): Likewise.
33350 [POSIX] (EAFNOSUPPORT): Likewise.
33351 [POSIX] (EALREADY): Likewise.
33352 [POSIX] (ECONNABORTED): Likewise.
33353 [POSIX] (ECONNREFUSED): Likewise.
33354 [POSIX] (ECONNRESET): Likewise.
33355 [POSIX] (EDESTADDRREQ): Likewise.
33356 [POSIX] (EDQUOT): Likewise.
33357 [POSIX] (EHOSTUNREACH): Likewise.
33358 [POSIX] (EIDRM): Likewise.
33359 [POSIX] (EISCONN): Likewise.
33360 [POSIX] (ELOOP): Likewise.
33361 [POSIX] (EMULTIHOP): Likewise.
33362 [POSIX] (ENETDOWN): Likewise.
33363 [POSIX] (ENETUNREACH): Likewise.
33364 [POSIX] (ENOBUFS): Likewise.
33365 [POSIX] (ENODATA): Likewise.
33366 [POSIX] (ENOLINK): Likewise.
33367 [POSIX] (ENOMSG): Likewise.
33368 [POSIX] (ENOPROTOOPT): Likewise.
33369 [POSIX] (ENOSR): Likewise.
33370 [POSIX] (ENOSTR): Likewise.
33371 [POSIX] (ENOTCONN): Likewise.
33372 [POSIX] (ENOTSOCK): Likewise.
33373 [POSIX] (EOPNOTSUPP): Likewise.
33374 [POSIX] (EOVERFLOW): Likewise.
33375 [POSIX] (EPROTO): Likewise.
33376 [POSIX] (EPROTONOSUPPORT): Likewise.
33377 [POSIX] (EPROTOTYPE): Likewise.
33378 [POSIX] (ESTALE): Likewise.
33379 [POSIX] (ETIME): Likewise.
33380 [POSIX] (ETXTBSY): Likewise.
33381 [POSIX] (EWOULDBLOCK): Likewise.
33382 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33383 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33384 [POSIX] (SEEK_CUR): Likewise.
33385 [POSIX] (SEEK_END): Likewise.
33386 [POSIX || UNIX98] (mode_t): Do not require.
33387 [POSIX] (off_t): Likewise.
33388 [POSIX] (pid_t): Likewise.
33389 [POSIX] (sys/stat.h): Do not allow header.
33390 [POSIX] (unistd.h): Likewise.
33391 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33392 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33393 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33394 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33395 require.
33396 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33397 sigevent): Specify elements.
33398 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33399 entry.
33400 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33401 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33402
a483863f
JM
33403 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33404 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33405 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33406 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33407 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33408 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33409 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33410 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33411 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33412 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33413 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33414 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33415 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33416 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33417 Likewise.
33418 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33419 Likewise.
33420 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33421 Likewise.
33422 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33423 Likewise.
33424 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33425 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33426 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33427 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33428 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33429 Specify lower bound on value.
33430 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33431 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33432 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33433 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33434 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33435 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33436 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33437 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33438 value.
33439 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33440 as optional.
33441 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33442 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33443 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33444 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33445 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33446 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33447 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33448 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33449 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33450 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33451 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33452 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33453 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33454 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33455 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33456 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33457 entry.
33458 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33459 optional.
33460 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33461 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33462 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33463 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33464 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33465 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33466 Likewise.
33467 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33468 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33469 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33470 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33471 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
33472 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33473 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33474 as optional.
33475 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33476 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33477 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33478 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33479 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33480 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33481 specify as optional.
33482 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33483 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33484 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33485 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33486 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33487 [XPG3] (NL_LANGMAX): Likewise.
33488 [POSIX || XPG3] (NL_MSGMAX): Likewise.
33489 [POSIX || XPG3] (NL_NMAX): Likewise.
33490 [POSIX || XPG3] (NL_SETMAX): Likewise.
33491 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33492 [XPG3] (NZERO): Likewise.
33493 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33494 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33495 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33496 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33497 (REG_ERANGE): Expect.
33498 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33499 optional-constant.
33500 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33501 Use (void) in prototype.
33502 [POSIX] (*_t): Allow.
33503 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33504 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33505 (WRDE_BADVAL): Expect.
33506
5ba924e3
JM
33507 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33508 expect.
33509 [XPG3 || XPG4] (O_RSYNC): Likewise.
33510 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33511 Likewise.
33512 [XPG3 || XPG4] (pthread_sigmask): Likewise.
33513 [XPG3 || XPG4] (sigqueue): Likewise.
33514 [XPG3 || XPG4] (sigtimedwait): Likewise.
33515 [XPG3 || XPG4] (sigwaitinfo): Likewise.
33516 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33517 [XPG3 || XPG4] (vsnprintf): Likewise.
33518 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33519 Likewise.
33520 [XPG3 || XPG4] (blksize_t): Likewise.
33521 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33522 Likewise.
33523 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33524 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33525 [XPG3 || XPG4] (struct itimerspec): Likewise.
33526 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33527 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33528 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33529 [XPG3 || XPG4] (clockid_t): Likewise.
33530 [XPG3 || XPG4] (timer_t): Likewise.
33531 [XPG3 || XPG4] (clock_getres): Likewise.
33532 [XPG3 || XPG4] (clock_gettime): Likewise.
33533 [XPG3 || XPG4] (clock_settime): Likewise.
33534 [XPG3 || XPG4] (nanosleep): Likewise.
33535 [XPG3 || XPG4] (timer_create): Likewise.
33536 [XPG3 || XPG4] (timer_delete): Likewise.
33537 [XPG3 || XPG4] (timer_gettime): Likewise.
33538 [XPG3 || XPG4] (timer_getoverrun): Likewise.
33539 [XPG3 || XPG4] (timer_settime): Likewise.
33540 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33541 [XPG3 || XPG4] (getlogin_r): Likewise.
33542 [XPG3 || XPG4] (pread): Likewise.
33543 [XPG3 || XPG4] (pthread_atfork): Likewise.
33544 [XPG3 || XPG4] (pwrite): Likewise.
33545
ee663277
JM
33546 [BZ #14835]
33547 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33548 <bits/siginfo.h>.
33549
942caa16
PT
335502012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33551
e19af380
PT
33552 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33553 finalizing MALLSTREAM.
33554
942caa16
PT
33555 * sysdeps/mach/hurd/syncfs.c: New file.
33556
cfde9b46
SP
335572012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33558
33559 [BZ #14719]
33560 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33561 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33562 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33563 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33564 (_nss_dns_gethostbyname4_r): Likewise.
33565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33566 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33567
f6da27e5
PH
335682012-11-19 Peng Haitao <penght@cn.fujitsu.com>
33569
33570 [BZ #13763]
33571 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33572
6665d4a2
SM
335732012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
33574
1f51ee92
SM
33575 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33576 * elf/cache.c (print_entry): Print ",AArch64" for
33577 FLAG_AARCH64_LIB64
33578
6665d4a2
SM
33579 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33580 * elf/cache.c (print_entry): Print ",hard-float" for
33581 FLAG_ARM_LIBHF.
33582
05b227bd
DM
335832012-11-18 David S. Miller <davem@davemloft.net>
33584
33585 With help from Joseph Myers.
33586 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33587 cutoff to 2**-13.
33588 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33589 cutoff to 2**-25.
33590 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33591 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33592 small.
33593 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33594 * math/libm-test.inc (y0_test): New tests.
33595 (y1_test): New tests.
33596 * sysdeps/i386/fpu/libm-test-ulps: Update.
33597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33599
786b0b67
AS
336002012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33601
33602 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33603 64-bit targets.
33604 * configure: Regenerated.
33605
8e18b86d
DM
336062012-11-17 David S. Miller <davem@davemloft.net>
33607
33608 [BZ #14811]
33609 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33610 nonzero exponents with absolute value below 0x1p-128 to +/-
33611 0x1p-128.
33612
531f1ae0
JM
336132012-11-17 Joseph Myers <joseph@codesourcery.com>
33614
12df29e2
JM
33615 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33616
150dc1a0
JM
33617 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33618
531f1ae0
JM
33619 * posix/getconf-speclist.c: New file.
33620 * posix/posix-envs.def: Likewise.
33621 * posix/confstr.c (START_ENV_GROUP): New macro.
33622 (END_ENV_GROUP): Likewise.
33623 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33624 (KNOWN_PRESENT_ENV_STRING): Likewise.
33625 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33626 (UNKNOWN_ENVIRONMENT): Likewise.
33627 (confstr): Include posix-envs.def instead of handling
33628 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33629 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33630 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33631 (END_ENV_GROUP): Likewise.
33632 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33633 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33634 (UNKNOWN_ENVIRONMENT): Likewise.
33635 (__sysconf): Include posix-envs.def instead of handling associated
33636 cases directly here.
33637 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33638 preprocessing getconf-speclist.c rather than running getconf or
33639 generating empty file.
33640
a93f9cbc
PT
336412012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33642
33643 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33644
d64d9f87
AL
336452012-11-16 Andrej Lajovic <natrij@gmail.com>
33646
33647 [BZ #14672]
33648 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33649
447885eb
DM
336502012-11-16 David S. Miller <davem@davemloft.net>
33651
33652 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33653 smaller than LDBL_EPSILON/2.0L, just return xm1.
33654
bcbf9830
L
336552012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33656
33657 * elf/tst-array1.c (init): Set constructor priority to 1000.
33658 (fini): Set destructor priority to 1000.
33659 * elf/tst-array2dep.c: Likewise.
33660
2b766585
SP
336612012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33662
33663 [BZ #11741]
33664 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33665 (_IO_new_file_xsputn): Also return EOF if none of the input
33666 data was written when overflow failed.
33667 * libio/iopadn.c (_IO_padn): Likewise.
33668 * libio/iowpadn.c (_IO_wpadn): Likewise.
33669 * stdio-common/tst-put-error.c: Add copyright notice.
33670 (do_test): Add case for printing padded string.
33671 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33672 _IO_padn returned error.
33673 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33674 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33675 return EOF.
33676
b1848fde
SP
336772012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33678
33679 * libio/libioP.h: Add comment note that the references to C++
33680 bits are now obsolete.
33681
2fd89785
MS
336822012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33683
33684 * math/libm-test.inc (check_complex): Use asprintf.
33685
e3ea5409
JM
336862012-11-14 Joseph Myers <joseph@codesourcery.com>
33687
33688 * debug/pcprofiledump.c (print_version): Update copyright year.
33689 * malloc/memusagestat.c (print_version): Likewise.
33690
2e64d265
L
336912012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33692
33693 [BZ #14831]
33694 * elf/Makefile (tests): Add tst-audit8.
33695 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33696 ($(objpfx)tst-audit8.out): New target.
33697 (tst-audit8-ENV): New variable.
33698 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33699 audit if l_reloc_result is NULL.
33700 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33701 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33702 * elf/tst-audit8.c: New file.
33703
c485e4d2
MS
337042012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33705
33706 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33707 * misc/Makefile (CFLAGS-select.c): Define.
33708 * posix/Makefile (CFLAGS-pause.c): Define.
33709
3a0d900a
DM
337102012-11-13 David S. Miller <davem@davemloft.net>
33711
33712 * crypt/Makefile: Move test targets after toplevel Rules
33713 inclusion. Grab any necessary sysdep routines when linking.
33714 * crypt/md5.c (md5_process_block): Remove define, we will always
33715 name it __md5_process_block.
33716 (md5_finish_ctx): Update md5_process_block call.
33717 (md5_stream): Likewise.
33718 (md5_process_bytes): Likewise.
33719 (md5_process_block): Rename to __md5_process_block and move to ...
33720 * crypt/md5-block.c: ... here.
33721 * crypt/sha256.c (sha256_process_block): Move to ...
33722 * crypt/sha256-block.c: ... here.
33723 * crypt/sha512.c (sha512_process_block): Move to ...
33724 * crypt/sha512-block.c: ... here.
33725 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33726 path.
33727 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33728 * sysdeps/sparc/sparc64/multiarch/Makefile
33729 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33730 crypt subdir.
33731 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33732 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33733 multiarch changes.
33734 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33735 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33736 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33737 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33738 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33739 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33740 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33741 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33742 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33743 file.
33744 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33745 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33746 file.
33747 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33748
8ca89318
JM
337492012-11-13 Joseph Myers <joseph@codesourcery.com>
33750
e27d476a
JM
33751 * timezone/tzselect.ksh: Update from tzcode git revision
33752 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33753 * timezone/zdump.c: Likewise.
33754 * timezone/zic.c: Likewise.
33755 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33756 in TZVERSION setting, not $(PKGVERSION).
33757 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33758 REPORT_BUGS_TO settings.
33759
8ca89318
JM
33760 [BZ #14838]
33761 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33762 macro.
33763
47594329
MS
337642012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33765
33766 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33767 detection to immediately after _FP_ROUND().
33768 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33769 bits are 0.
33770
640ac3f1
DM
337712012-11-11 David S. Miller <davem@davemloft.net>
33772
33773 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33774 inttypes.h
33775 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33776 __close rather than their public counterparts.
33777
3d2577bb
JM
337782012-11-10 Joseph Myers <joseph@codesourcery.com>
33779
33780 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33781 file.
33782 [UNIX98] (sem_timedwait): Do not expect.
33783 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33784 [XPG4 || UNIX98] (sockatmark): Do not expect.
33785 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33786 (clock_getcpuclockid): Do not expect.
33787 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33788 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33789 Do not expect.
33790 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33791 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33792 [UNIX98] (vwscanf): Likewise.
33793 [UNIX98] (vswscanf): Likewise.
33794
fb1ae1ee
JM
337952012-11-09 Joseph Myers <joseph@codesourcery.com>
33796
9ec6f8bd
JM
33797 * timezone/version.h: Remove file.
33798 * timezone/README: Do not refer to version.h.
33799 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33800 $(objpfx)version.h.
33801 ($(objpfx)zdump.o): Likewise.
c3f81911 33802 ($(objpfx)version.h): New target.
9ec6f8bd 33803
0aa8f8a1
JM
33804 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33805 2012i.
33806 * timezone/README: Don't mention modification to tzselect.ksh.
33807 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33808 work on unmodified tzselect.ksh. Substitute version numbers in
33809 tzselect.ksh.
33810
4e87147f
JM
33811 * Makefile (format-me): Remove.
33812 (INSTALL): Adjust indentation. Use commands directly instead of
33813 using $(format-me).
33814
8b748aed
JM
33815 * aclocal.m4 (ACX_PKGVERSION): New macro.
33816 (ACX_BUGURL): Likewise.
33817 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33818 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33819 (REPORT_BUGS_TO): Likewise.
33820 * configure: Regenerated.
33821 * config.h.in (PKGVERSION): New macro.
33822 (REPORT_BUGS_TO): Likewise.
33823 * config.make.in (PKGVERSION): New variable.
33824 (PKGVERSION_TEXI): Likewise.
33825 (REPORT_BUGS_TO): Likewise.
33826 (REPORT_BUGS_TEXI): Likewise.
33827 * Makefile (format-me): Use -I$(common-objpfx)manual.
33828 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33829 ($(common-objpfx)manual/%): New target.
33830 (manual/%): Remove target.
33831 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33832 (print_version): Use PKGVERSION.
33833 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33834 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33835 and REPORT_BUGS_TO.
33836 ($(objpfx)xtrace): Likewise.
33837 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33838 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33839 (print_version): Use PKGVERSION.
33840 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33841 (do_version): Use PKGVERSION.
33842 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33843 REPORT_BUGS_TO.
33844 (common-ldd-rewrite): Likewise.
33845 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33846 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33847 (print_version): Use PKGVERSION.
33848 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33849 * elf/pldd.c (argp_program_bug_address): Remove variable.
33850 (more_help): New function.
33851 (argp): Use more_help.
33852 (print_version): Use PKGVERSION.
33853 * elf/sln.c (main): Use PKGVERSION.
33854 (usage): Use REPORT_BUGS_TO.
33855 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33856 (top level): Use PKGVERSION.
33857 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33858 (print_version): Use PKGVERSION.
33859 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33860 (print_version): Use PKGVERSION.
33861 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33862 (print_version): Use PKGVERSION.
33863 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33864 (print_version): Use PKGVERSION.
33865 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33866 (print_version): Use PKGVERSION.
33867 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33868 (print_version): Use PKGVERSION.
33869 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33870 and BUGURL.
33871 ($(objpfx)memusage): Likewise.
33872 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33873 (do_version): Use PKGVERSION.
33874 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33875 (print_version): Use PKGVERSION.
33876 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33877 ($PKGVERSION): New variable.
33878 ($REPORT_BUGS_TO): Likewise.
33879 (usage): Use $REPORT_BUGS_TO.
33880 (top level): Use $PKGVERSION.
33881 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33882 ($(objpfx)pkgvers.texi): New rule.
33883 ($(objpfx)stamp-pkgvers): Likewise.
33884 * manual/install.texi: Include pkgvers.texi.
33885 (--with-pkgversion): Document new configure option.
33886 (--with-bugurl): Likewise.
33887 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33888 than necessarily for this particular distribution. Use
33889 REPORT_BUGS_TO for where to report bugs.
33890 * INSTALL: Regenerated.
33891 * manual/libc.texinfo: Include pkgvers.texi.
33892 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33893 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33894 (print_version): Use PKGVERSION.
33895 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33896 (print_version): Use PKGVERSION.
33897 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33898 (print_version): Use PKGVERSION.
33899 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33900 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33901 macro.
33902 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33903 (print_version): Use PKGVERSION.
33904 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33905 (print_version): Use PKGVERSION.
33906 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33907 and PKGVERSION.
33908
92e4b6a9
JM
33909 * timezone/checktab.awk: Update from tzcode 2012i.
33910 * timezone/ialloc.c: Likewise.
33911 * timezone/private.h: Likewise.
33912 * timezone/scheck.c: Likewise.
33913 * timezone/tzfile.h: Likewise.
33914 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33915 (TZVERSION): Hardcode tzcode version number.
33916 * timezone/zdump.c: Update from tzcode 2012i.
33917 * timezone/zic.c: Likewise.
33918 * timezone/version.h: New file.
33919 * timezone/README: Describe version.h. Update upstream location.
33920
9bde902c
JM
33921 [BZ #14824]
33922 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33923 (mktemp): Enable declaration.
33924 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33925 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33926 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33927 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33928 Likewise.
33929 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33930 Likewise.
33931 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33932 Likewise.
33933 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33934 Likewise.
33935 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33936 Likewise.
33937 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33938 Likewise.
33939
fb1ae1ee
JM
33940 [BZ #14821]
33941 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33942 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33943 for copies of such integer values.
33944 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33945 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33946
2c1adbcb
AJ
339472012-11-09 Andreas Jaeger <aj@suse.de>
33948
33949 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33950 definitions and declarations that are provided by
33951 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33952
d0f8457e
AK
339532012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33954
3a235abb 33955 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
33956 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33957 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33958 definition.
33959
57241e26
MS
339602012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33961
33962 * elf/elf.h: Update comment before AArch64 relocations.
33963
60e8270d
DM
339642012-11-07 David S. Miller <davem@davemloft.net>
33965
33966 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33967 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33968 (__start_context): Declare.
33969 (__makecontext_ret): Delete.
33970 (__makecontext): Hook up __start_context instead of
33971 __makecontext_ret.
33972 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33973 (sysdep_routines): Add __start_context when in stdlib.
33974
0fbb0fbc
JM
339752012-11-07 Joseph Myers <joseph@codesourcery.com>
33976
33977 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33978 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33979 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33980 hardcoded "nm".
33981 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33982 (READELF): New variable. Use it instead of hardcoded "readelf".
33983
eb48db7e
L
339842012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33985
33986 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33987 * sysdeps/x86/Makefile: Here.
33988 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33989 * sysdeps/x86/tst-xmmymm.sh: This.
33990
05bcf62a
JM
339912012-11-07 Joseph Myers <joseph@codesourcery.com>
33992
c4b6cf53
JM
33993 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33994 expectations.
33995 [UNIX98] (pthread_barrier_t): Do not expect.
33996 [UNIX98] (pthread_barrierattr_t): Likewise.
33997 [UNIX98] (pthread_spinlock_t): Likewise.
33998 [UNIX98] (pthread_barrier_destroy): Likewise.
33999 [UNIX98] (pthread_barrier_init): Likewise.
34000 [UNIX98] (pthread_barrier_wait): Likewise.
34001 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34002 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34003 [UNIX98] (pthread_barrierattr_init): Likewise.
34004 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34005 [UNIX98] (pthread_getcpuclockid): Likewise.
34006 [UNIX98] (pthread_mutex_timedlock): Likewise.
34007 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34008 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34009 [UNIX98] (pthread_sigmask): Likewise.
34010 [UNIX98] (pthread_spin_destroy): Likewise.
34011 [UNIX98] (pthread_spin_init): Likewise.
34012 [UNIX98] (pthread_spin_lock): Likewise.
34013 [UNIX98] (pthread_spin_trylock): Likewise.
34014 [UNIX98] (pthread_spin_unlock): Likewise.
34015 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34016 Do not expect.
34017 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34018 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34019 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34020 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34021 [XPG3 || XPG4] (pthread_key_t): Likewise.
34022 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34023 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34024 [XPG3 || XPG4] (pthread_once_t): Likewise.
34025 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34026 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34027 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34028 [XPG3 || XPG4] (pthread_t): Likewise.
34029
cbe6e120
JM
34030 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34031 not expect.
34032 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34033
1b126443
JM
34034 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34035 Change function return type to int.
34036
b961a573
JM
34037 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34038 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34039 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34040 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34041 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34042 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34043 [!POSIX] (posix_madvise): Likewise.
34044 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34045 && !UNIX98].
34046 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34047 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34048 (mode_t): Likewise.
34049 (posix_mem_offset): Likewise.
34050 (posix_typed_mem_get_info): Likewise.
34051 (posix_typed_mem_open): Likewise.
34052
9e188909
JM
34053 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34054 Change condition to [XOPEN2K8].
34055
05bcf62a
JM
34056 * conform/conformtest.pl: Preprocess allow-header data with -x c
34057 instead of from stdin.
34058 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34059 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34060 [C99-based standards] (cerfc): Likewise.
34061 [C99-based standards] (cexp2): Likewise.
34062 [C99-based standards] (cexpm1): Likewise.
34063 [C99-based standards] (clog10): Likewise.
34064 [C99-based standards] (clog1p): Likewise.
34065 [C99-based standards] (clog2): Likewise.
34066 [C99-based standards] (clgamma): Likewise.
34067 [C99-based standards] (ctgamma): Likewise.
34068 [C99-based standards] (cerff): Likewise.
34069 [C99-based standards] (cerfcf): Likewise.
34070 [C99-based standards] (cexp2f): Likewise.
34071 [C99-based standards] (cexpm1f): Likewise.
34072 [C99-based standards] (clog10f): Likewise.
34073 [C99-based standards] (clog1pf): Likewise.
34074 [C99-based standards] (clog2f): Likewise.
34075 [C99-based standards] (clgammaf): Likewise.
34076 [C99-based standards] (ctgammaf): Likewise.
34077 [C99-based standards] (cerfl): Likewise.
34078 [C99-based standards] (cerfcl): Likewise.
34079 [C99-based standards] (cexp2l): Likewise.
34080 [C99-based standards] (cexpm1l): Likewise.
34081 [C99-based standards] (clog10l): Likewise.
34082 [C99-based standards] (clog1pl): Likewise.
34083 [C99-based standards] (clog2l): Likewise.
34084 [C99-based standards] (clgammal): Likewise.
34085 [C99-based standards] (ctgammal): Likewise.
34086 * conform/data/inttypes.h-data [C99-based standards]: Include
34087 stdint.h-data. Remove all expectations for stdint.h contents.
34088 [C99-based standards] (PRI*): Do not allow.
34089 [C99-based standards] (SCN*): Likewise.
34090 [C99-based standards] (*_t): Likewise.
34091 [C99-based-standards] (PRId8): Expect macro.
34092 [C99-based-standards] (PRIi8): Likewise.
34093 [C99-based-standards] (PRIo8): Likewise.
34094 [C99-based-standards] (PRIu8): Likewise.
34095 [C99-based-standards] (PRIx8): Likewise.
34096 [C99-based-standards] (PRIX8): Likewise.
34097 [C99-based-standards] (SCNd8): Likewise.
34098 [C99-based-standards] (SCNi8): Likewise.
34099 [C99-based-standards] (SCNo8): Likewise.
34100 [C99-based-standards] (SCNu8): Likewise.
34101 [C99-based-standards] (SCNx8): Likewise.
34102 [C99-based-standards] (PRIdLEAST8): Likewise.
34103 [C99-based-standards] (PRIiLEAST8): Likewise.
34104 [C99-based-standards] (PRIoLEAST8): Likewise.
34105 [C99-based-standards] (PRIuLEAST8): Likewise.
34106 [C99-based-standards] (PRIxLEAST8): Likewise.
34107 [C99-based-standards] (PRIXLEAST8): Likewise.
34108 [C99-based-standards] (SCNdLEAST8): Likewise.
34109 [C99-based-standards] (SCNiLEAST8): Likewise.
34110 [C99-based-standards] (SCNoLEAST8): Likewise.
34111 [C99-based-standards] (SCNuLEAST8): Likewise.
34112 [C99-based-standards] (SCNxLEAST8): Likewise.
34113 [C99-based-standards] (PRIdFAST8): Likewise.
34114 [C99-based-standards] (PRIiFAST8): Likewise.
34115 [C99-based-standards] (PRIoFAST8): Likewise.
34116 [C99-based-standards] (PRIuFAST8): Likewise.
34117 [C99-based-standards] (PRIxFAST8): Likewise.
34118 [C99-based-standards] (PRIXFAST8): Likewise.
34119 [C99-based-standards] (SCNdFAST8): Likewise.
34120 [C99-based-standards] (SCNiFAST8): Likewise.
34121 [C99-based-standards] (SCNoFAST8): Likewise.
34122 [C99-based-standards] (SCNuFAST8): Likewise.
34123 [C99-based-standards] (SCNxFAST8): Likewise.
34124 [C99-based-standards] (PRId16): Likewise.
34125 [C99-based-standards] (PRIi16): Likewise.
34126 [C99-based-standards] (PRIo16): Likewise.
34127 [C99-based-standards] (PRIu16): Likewise.
34128 [C99-based-standards] (PRIx16): Likewise.
34129 [C99-based-standards] (PRIX16): Likewise.
34130 [C99-based-standards] (SCNd16): Likewise.
34131 [C99-based-standards] (SCNi16): Likewise.
34132 [C99-based-standards] (SCNo16): Likewise.
34133 [C99-based-standards] (SCNu16): Likewise.
34134 [C99-based-standards] (SCNx16): Likewise.
34135 [C99-based-standards] (PRIdLEAST16): Likewise.
34136 [C99-based-standards] (PRIiLEAST16): Likewise.
34137 [C99-based-standards] (PRIoLEAST16): Likewise.
34138 [C99-based-standards] (PRIuLEAST16): Likewise.
34139 [C99-based-standards] (PRIxLEAST16): Likewise.
34140 [C99-based-standards] (PRIXLEAST16): Likewise.
34141 [C99-based-standards] (SCNdLEAST16): Likewise.
34142 [C99-based-standards] (SCNiLEAST16): Likewise.
34143 [C99-based-standards] (SCNoLEAST16): Likewise.
34144 [C99-based-standards] (SCNuLEAST16): Likewise.
34145 [C99-based-standards] (SCNxLEAST16): Likewise.
34146 [C99-based-standards] (PRIdFAST16): Likewise.
34147 [C99-based-standards] (PRIiFAST16): Likewise.
34148 [C99-based-standards] (PRIoFAST16): Likewise.
34149 [C99-based-standards] (PRIuFAST16): Likewise.
34150 [C99-based-standards] (PRIxFAST16): Likewise.
34151 [C99-based-standards] (PRIXFAST16): Likewise.
34152 [C99-based-standards] (SCNdFAST16): Likewise.
34153 [C99-based-standards] (SCNiFAST16): Likewise.
34154 [C99-based-standards] (SCNoFAST16): Likewise.
34155 [C99-based-standards] (SCNuFAST16): Likewise.
34156 [C99-based-standards] (SCNxFAST16): Likewise.
34157 [C99-based-standards] (PRId32): Likewise.
34158 [C99-based-standards] (PRIi32): Likewise.
34159 [C99-based-standards] (PRIo32): Likewise.
34160 [C99-based-standards] (PRIu32): Likewise.
34161 [C99-based-standards] (PRIx32): Likewise.
34162 [C99-based-standards] (PRIX32): Likewise.
34163 [C99-based-standards] (SCNd32): Likewise.
34164 [C99-based-standards] (SCNi32): Likewise.
34165 [C99-based-standards] (SCNo32): Likewise.
34166 [C99-based-standards] (SCNu32): Likewise.
34167 [C99-based-standards] (SCNx32): Likewise.
34168 [C99-based-standards] (PRIdLEAST32): Likewise.
34169 [C99-based-standards] (PRIiLEAST32): Likewise.
34170 [C99-based-standards] (PRIoLEAST32): Likewise.
34171 [C99-based-standards] (PRIuLEAST32): Likewise.
34172 [C99-based-standards] (PRIxLEAST32): Likewise.
34173 [C99-based-standards] (PRIXLEAST32): Likewise.
34174 [C99-based-standards] (SCNdLEAST32): Likewise.
34175 [C99-based-standards] (SCNiLEAST32): Likewise.
34176 [C99-based-standards] (SCNoLEAST32): Likewise.
34177 [C99-based-standards] (SCNuLEAST32): Likewise.
34178 [C99-based-standards] (SCNxLEAST32): Likewise.
34179 [C99-based-standards] (PRIdFAST32): Likewise.
34180 [C99-based-standards] (PRIiFAST32): Likewise.
34181 [C99-based-standards] (PRIoFAST32): Likewise.
34182 [C99-based-standards] (PRIuFAST32): Likewise.
34183 [C99-based-standards] (PRIxFAST32): Likewise.
34184 [C99-based-standards] (PRIXFAST32): Likewise.
34185 [C99-based-standards] (SCNdFAST32): Likewise.
34186 [C99-based-standards] (SCNiFAST32): Likewise.
34187 [C99-based-standards] (SCNoFAST32): Likewise.
34188 [C99-based-standards] (SCNuFAST32): Likewise.
34189 [C99-based-standards] (SCNxFAST32): Likewise.
34190 [C99-based-standards] (PRId64): Likewise.
34191 [C99-based-standards] (PRIi64): Likewise.
34192 [C99-based-standards] (PRIo64): Likewise.
34193 [C99-based-standards] (PRIu64): Likewise.
34194 [C99-based-standards] (PRIx64): Likewise.
34195 [C99-based-standards] (PRIX64): Likewise.
34196 [C99-based-standards] (SCNd64): Likewise.
34197 [C99-based-standards] (SCNi64): Likewise.
34198 [C99-based-standards] (SCNo64): Likewise.
34199 [C99-based-standards] (SCNu64): Likewise.
34200 [C99-based-standards] (SCNx64): Likewise.
34201 [C99-based-standards] (PRIdLEAST64): Likewise.
34202 [C99-based-standards] (PRIiLEAST64): Likewise.
34203 [C99-based-standards] (PRIoLEAST64): Likewise.
34204 [C99-based-standards] (PRIuLEAST64): Likewise.
34205 [C99-based-standards] (PRIxLEAST64): Likewise.
34206 [C99-based-standards] (PRIXLEAST64): Likewise.
34207 [C99-based-standards] (SCNdLEAST64): Likewise.
34208 [C99-based-standards] (SCNiLEAST64): Likewise.
34209 [C99-based-standards] (SCNoLEAST64): Likewise.
34210 [C99-based-standards] (SCNuLEAST64): Likewise.
34211 [C99-based-standards] (SCNxLEAST64): Likewise.
34212 [C99-based-standards] (PRIdFAST64): Likewise.
34213 [C99-based-standards] (PRIiFAST64): Likewise.
34214 [C99-based-standards] (PRIoFAST64): Likewise.
34215 [C99-based-standards] (PRIuFAST64): Likewise.
34216 [C99-based-standards] (PRIxFAST64): Likewise.
34217 [C99-based-standards] (PRIXFAST64): Likewise.
34218 [C99-based-standards] (SCNdFAST64): Likewise.
34219 [C99-based-standards] (SCNiFAST64): Likewise.
34220 [C99-based-standards] (SCNoFAST64): Likewise.
34221 [C99-based-standards] (SCNuFAST64): Likewise.
34222 [C99-based-standards] (SCNxFAST64): Likewise.
34223 [C99-based-standards] (PRIdMAX): Likewise.
34224 [C99-based-standards] (PRIiMAX): Likewise.
34225 [C99-based-standards] (PRIoMAX): Likewise.
34226 [C99-based-standards] (PRIuMAX): Likewise.
34227 [C99-based-standards] (PRIxMAX): Likewise.
34228 [C99-based-standards] (PRIXMAX): Likewise.
34229 [C99-based-standards] (SCNdMAX): Likewise.
34230 [C99-based-standards] (SCNiMAX): Likewise.
34231 [C99-based-standards] (SCNoMAX): Likewise.
34232 [C99-based-standards] (SCNuMAX): Likewise.
34233 [C99-based-standards] (SCNxMAX): Likewise.
34234 [C99-based-standards] (PRIdPTR): Likewise.
34235 [C99-based-standards] (PRIiPTR): Likewise.
34236 [C99-based-standards] (PRIoPTR): Likewise.
34237 [C99-based-standards] (PRIuPTR): Likewise.
34238 [C99-based-standards] (PRIxPTR): Likewise.
34239 [C99-based-standards] (PRIXPTR): Likewise.
34240 [C99-based-standards] (SCNdPTR): Likewise.
34241 [C99-based-standards] (SCNiPTR): Likewise.
34242 [C99-based-standards] (SCNoPTR): Likewise.
34243 [C99-based-standards] (SCNuPTR): Likewise.
34244 [C99-based-standards] (SCNxPTR): Likewise.
34245 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34246 allow.
34247 * conform/data/stdint.h-data: Update comments to clarify
34248 requirements.
34249 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34250 type.
34251 [C99-based standards] (INT8_MAX): Likewise.
34252 [C99-based standards] (INT16_MIN): Likewise.
34253 [C99-based standards] (INT16_MAX): Likewise.
34254 [C99-based standards] (INT32_MIN): Likewise.
34255 [C99-based standards] (INT32_MAX): Likewise.
34256 [C99-based standards] (INT64_MIN): Likewise.
34257 [C99-based standards] (INT64_MAX): Likewise.
34258 [C99-based standards] (UINT8_MAX): Likewise.
34259 [C99-based standards] (UINT16_MAX): Likewise.
34260 [C99-based standards] (UINT32_MAX): Likewise.
34261 [C99-based standards] (UINT64_MAX): Likewise.
34262 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34263 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34264 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34265 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34266 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34267 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34268 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34269 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34270 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34271 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34272 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34273 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34274 [C99-based standards] (INT_FAST8_MIN): Likewise.
34275 [C99-based standards] (INT_FAST8_MAX): Likewise.
34276 [C99-based standards] (INT_FAST16_MIN): Likewise.
34277 [C99-based standards] (INT_FAST16_MAX): Likewise.
34278 [C99-based standards] (INT_FAST32_MIN): Likewise.
34279 [C99-based standards] (INT_FAST32_MAX): Likewise.
34280 [C99-based standards] (INT_FAST64_MIN): Likewise.
34281 [C99-based standards] (INT_FAST64_MAX): Likewise.
34282 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34283 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34284 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34285 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34286 [C99-based standards] (INTPTR_MIN): Likewise.
34287 [C99-based standards] (INTPTR_MAX): Likewise.
34288 [C99-based standards] (UINTPTR_MAX): Likewise.
34289 [C99-based standards] (INTMAX_MIN): Likewise.
34290 [C99-based standards] (INTMAX_MAX): Likewise.
34291 [C99-based standards] (UINTMAX_MAX): Likewise.
34292 [C99-based standards] (PTRDIFF_MIN): Likewise.
34293 [C99-based standards] (PTRDIFF_MAX): Likewise.
34294 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34295 [C99-based standards] (SIZE_MAX): Likewise.
34296 [C99-based standards] (WCHAR_MAX): Likewise.
34297 [C99-based standards] (WINT_MAX): Likewise.
34298 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34299 constraint on value.
34300 [C99-based standards] (WCHAR_MIN): Likewise.
34301 [C99-based standards] (WINT_MIN): Likewise.
34302 [C99-based standards] (*_t): Allow.
34303 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34304 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34305 Include math.h-data and complex.h-data. Remove all expectations
34306 of math.h and complex.h contents.
34307 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34308 at end of line.
34309 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34310 (struct tm): Expect tag.
34311 [C99-based-standards] (wcstof): Expect function.
34312 [C99-based-standards] (wcstold): Likewise.
34313 [C99-based-standards] (wcstoll): Likewise.
34314 [C99-based-standards] (wcstoull): Likewise.
34315 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34316 macro-int-constant. Specify type.
34317 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34318 constraint on value.
34319 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34320 Specify type.
34321 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34322 Specify value.
34323 [ISO C standards]: Do not allow headers.
34324 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34325 wcs[abcdefghijklmnopqrstuvwxyz]*.
34326 [ISO C standards] (*_t): Do not allow.
34327 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34328 Expect function.
34329 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34330 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34331 Specify type.
34332 [ISO C standards]: Do not allow headers.
34333 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34334 is[abcdefghijklmnopqrstuvwxyz]*.
34335 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34336 to[abcdefghijklmnopqrstuvwxyz]*.
34337 [ISO C standards] (*_t): Do not allow.
34338 * conform/data/stdalign.h-data: New file.
34339 * conform/data/stdbool.h-data: Likewise.
34340 * conform/data/stdnoreturn.h-data: Likewise.
34341
7514feb8
RM
343422012-11-07 Roland McGrath <roland@hack.frob.com>
34343
34344 [BZ #14815]
34345 * manual/filesys.texi (Directory Entries): Typo fix.
34346 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34347
19b2ecfc
MS
343482012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34349
34350 * elf/elf.h (EM_AARCH64): New macro.
34351 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34352 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34353 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34354 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34355 (R_AARCH64_TLSDESC): Likewise.
34356 (NT_ARM_TLS): Likewise.
34357 (NT_ARM_HW_BREAK): Likewise.
34358 (NT_ARM_HW_WATCH): Likewise.
34359
60e235ee
JM
343602012-11-07 Joseph Myers <joseph@codesourcery.com>
34361
34362 [BZ #14811]
34363 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34364 (__ieee754_powl): Saturate nonzero exponents with absolute value
34365 below 0x1p-79 to +/- 0x1p-79.
34366 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34367 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34368 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34369 nonzero exponents with absolute value below 0x1p-32 to +/-
34370 0x1p-32.
34371 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34372 (__ieee754_powl): Saturate nonzero exponents with absolute value
34373 below 0x1p-79 to +/- 0x1p-79.
34374 * math/libm-test.inc (pow_test): Add more tests.
34375
0ab234b7
AK
343762012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34377
34378 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34379 _dl_s390_cap_flags with kernel. Increase string length.
34380 (_dl_s390_platforms): Add z196 and zEC12.
34381
45832f74
JM
343822012-11-07 Joseph Myers <joseph@codesourcery.com>
34383
34384 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34385 Change XOPEN21K to XOPEN2K.
34386
19218757
MK
343872012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34388
34389 * string/memmove.c: Use memcpy when possible.
34390
c5f45721
AJ
343912012-11-06 Andreas Jaeger <aj@suse.de>
34392
34393 * po/eo.po: Update from translation team.
34394
82477c28
JM
343952012-11-06 Joseph Myers <joseph@codesourcery.com>
34396
34397 [BZ #14793]
34398 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34399 exponent and small x and y exponents, scale x or y up. Increase
34400 by 2 the exponent used in scaling up.
34401 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34402 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34403 * math/libm-test.inc (fma_test): Add more tests.
34404 (fma_test_towardzero): Likewise.
34405 (fma_test_downward): Likewise.
34406 (fma_test_upward): Likewise.
34407
99252c8c
JM
344082012-11-05 Joseph Myers <joseph@codesourcery.com>
34409
acfa885f
JM
34410 [BZ #14805]
34411 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34412 fenv_t *.
34413
99252c8c
JM
34414 [BZ #14801]
34415 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34416 namespace for names of struct fields.
34417 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34418 fenv_t fields.
34419 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34420 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34421
d6d98dea
ST
344222012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34423
34424 [BZ #3665]
34425 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34426
e10bb107
TS
344272012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34428
34429 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34430 PTR_DEMANGLE.
34431
34432 [BZ #5246]
34433 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34434 PTR_DEMANGLE.
34435
a0c2940d
JM
344362012-11-04 Joseph Myers <joseph@codesourcery.com>
34437
34438 [BZ #14797]
34439 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34440 definitely overflow as x * y not x * y + z.
34441 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34442 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34443 * math/libm-test.inc (fma_test): Add more tests.
34444 (fma_test_towardzero): Likewise.
34445 (fma_test_downward): Likewise.
34446 (fma_test_upward): Likewise.
34447
b830319d
TS
344482012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34449
34450 [BZ #157]
34451
34452 * include/stub-tag.h: Remove file.
34453 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34454 '#include' of it.
34455 * manual/maint.texi (Porting): Don't reference it.
34456 * Makerules ($(objpfx)stubs): Likewise.
34457 * dirent/closedir.c: Don't include <stub-tag.h>.
34458 * dirent/dirfd.c: Likewise.
34459 * dirent/fdopendir.c: Likewise.
34460 * dirent/getdents.c: Likewise.
34461 * dirent/getdents64.c: Likewise.
34462 * dirent/opendir.c: Likewise.
34463 * dirent/readdir.c: Likewise.
34464 * dirent/readdir64.c: Likewise.
34465 * dirent/readdir64_r.c: Likewise.
34466 * dirent/readdir_r.c: Likewise.
34467 * dirent/rewinddir.c: Likewise.
34468 * dirent/seekdir.c: Likewise.
34469 * dirent/telldir.c: Likewise.
34470 * gmon/profil.c: Likewise.
34471 * grp/setgroups.c: Likewise.
34472 * inet/if_index.c: Likewise.
34473 * io/access.c: Likewise.
34474 * io/chdir.c: Likewise.
34475 * io/chmod.c: Likewise.
34476 * io/chown.c: Likewise.
34477 * io/close.c: Likewise.
34478 * io/dup.c: Likewise.
34479 * io/dup2.c: Likewise.
34480 * io/dup3.c: Likewise.
34481 * io/euidaccess.c: Likewise.
34482 * io/faccessat.c: Likewise.
34483 * io/fchdir.c: Likewise.
34484 * io/fchmod.c: Likewise.
34485 * io/fchmodat.c: Likewise.
34486 * io/fchown.c: Likewise.
34487 * io/fchownat.c: Likewise.
34488 * io/fcntl.c: Likewise.
34489 * io/flock.c: Likewise.
34490 * io/fstatfs.c: Likewise.
34491 * io/fstatfs64.c: Likewise.
34492 * io/fstatvfs.c: Likewise.
34493 * io/fstatvfs64.c: Likewise.
34494 * io/futimens.c: Likewise.
34495 * io/fxstat.c: Likewise.
34496 * io/fxstat64.c: Likewise.
34497 * io/fxstatat.c: Likewise.
34498 * io/fxstatat64.c: Likewise.
34499 * io/getcwd.c: Likewise.
34500 * io/isatty.c: Likewise.
34501 * io/lchmod.c: Likewise.
34502 * io/lchown.c: Likewise.
34503 * io/link.c: Likewise.
34504 * io/linkat.c: Likewise.
34505 * io/lseek.c: Likewise.
34506 * io/lseek64.c: Likewise.
34507 * io/lxstat64.c: Likewise.
34508 * io/mkdir.c: Likewise.
34509 * io/mkdirat.c: Likewise.
34510 * io/mkfifo.c: Likewise.
34511 * io/mkfifoat.c: Likewise.
34512 * io/open.c: Likewise.
34513 * io/open64.c: Likewise.
34514 * io/openat.c: Likewise.
34515 * io/openat64.c: Likewise.
34516 * io/pipe.c: Likewise.
34517 * io/pipe2.c: Likewise.
34518 * io/poll.c: Likewise.
34519 * io/posix_fadvise.c: Likewise.
34520 * io/posix_fadvise64.c: Likewise.
34521 * io/posix_fallocate.c: Likewise.
34522 * io/posix_fallocate64.c: Likewise.
34523 * io/read.c: Likewise.
34524 * io/readlink.c: Likewise.
34525 * io/readlinkat.c: Likewise.
34526 * io/rmdir.c: Likewise.
34527 * io/sendfile.c: Likewise.
34528 * io/sendfile64.c: Likewise.
34529 * io/statfs.c: Likewise.
34530 * io/statfs64.c: Likewise.
34531 * io/statvfs.c: Likewise.
34532 * io/statvfs64.c: Likewise.
34533 * io/symlink.c: Likewise.
34534 * io/symlinkat.c: Likewise.
34535 * io/ttyname.c: Likewise.
34536 * io/ttyname_r.c: Likewise.
34537 * io/umask.c: Likewise.
34538 * io/unlink.c: Likewise.
34539 * io/unlinkat.c: Likewise.
34540 * io/utime.c: Likewise.
34541 * io/utimensat.c: Likewise.
34542 * io/write.c: Likewise.
34543 * io/xmknod.c: Likewise.
34544 * io/xmknodat.c: Likewise.
34545 * io/xstat.c: Likewise.
34546 * io/xstat64.c: Likewise.
34547 * login/getpt.c: Likewise.
34548 * login/grantpt.c: Likewise.
34549 * login/unlockpt.c: Likewise.
34550 * math/e_acoshl.c: Likewise.
34551 * math/e_acosl.c: Likewise.
34552 * math/e_asinl.c: Likewise.
34553 * math/e_atan2l.c: Likewise.
34554 * math/e_atanhl.c: Likewise.
34555 * math/e_coshl.c: Likewise.
34556 * math/e_expl.c: Likewise.
34557 * math/e_fmodl.c: Likewise.
34558 * math/e_gammal_r.c: Likewise.
34559 * math/e_hypotl.c: Likewise.
34560 * math/e_j0l.c: Likewise.
34561 * math/e_j1l.c: Likewise.
34562 * math/e_jnl.c: Likewise.
34563 * math/e_lgammal_r.c: Likewise.
34564 * math/e_log10l.c: Likewise.
34565 * math/e_log2l.c: Likewise.
34566 * math/e_logl.c: Likewise.
34567 * math/e_powl.c: Likewise.
34568 * math/e_rem_pio2l.c: Likewise.
34569 * math/e_sinhl.c: Likewise.
34570 * math/e_sqrtl.c: Likewise.
34571 * math/fclrexcpt.c: Likewise.
34572 * math/fedisblxcpt.c: Likewise.
34573 * math/feenablxcpt.c: Likewise.
34574 * math/fegetenv.c: Likewise.
34575 * math/fegetexcept.c: Likewise.
34576 * math/fegetround.c: Likewise.
34577 * math/feholdexcpt.c: Likewise.
34578 * math/fesetenv.c: Likewise.
34579 * math/fesetround.c: Likewise.
34580 * math/feupdateenv.c: Likewise.
34581 * math/fgetexcptflg.c: Likewise.
34582 * math/fraiseexcpt.c: Likewise.
34583 * math/fsetexcptflg.c: Likewise.
34584 * math/ftestexcept.c: Likewise.
34585 * math/k_cosl.c: Likewise.
34586 * math/k_rem_pio2l.c: Likewise.
34587 * math/k_sinl.c: Likewise.
34588 * math/k_tanl.c: Likewise.
34589 * math/s_asinhl.c: Likewise.
34590 * math/s_atanl.c: Likewise.
34591 * math/s_cbrtl.c: Likewise.
34592 * math/s_erfl.c: Likewise.
34593 * math/s_expm1l.c: Likewise.
34594 * math/s_log1pl.c: Likewise.
34595 * math/s_tanhl.c: Likewise.
34596 * misc/acct.c: Likewise.
34597 * misc/brk.c: Likewise.
34598 * misc/chflags.c: Likewise.
34599 * misc/chroot.c: Likewise.
34600 * misc/fchflags.c: Likewise.
34601 * misc/fgetxattr.c: Likewise.
34602 * misc/flistxattr.c: Likewise.
34603 * misc/fremovexattr.c: Likewise.
34604 * misc/fsetxattr.c: Likewise.
34605 * misc/fsync.c: Likewise.
34606 * misc/ftruncate.c: Likewise.
34607 * misc/futimes.c: Likewise.
34608 * misc/futimesat.c: Likewise.
34609 * misc/getdomain.c: Likewise.
34610 * misc/getdtsz.c: Likewise.
34611 * misc/gethostid.c: Likewise.
34612 * misc/gethostname.c: Likewise.
34613 * misc/getloadavg.c: Likewise.
34614 * misc/getpagesize.c: Likewise.
34615 * misc/getsysstats.c: Likewise.
34616 * misc/getxattr.c: Likewise.
34617 * misc/gtty.c: Likewise.
34618 * misc/ioctl.c: Likewise.
34619 * misc/lgetxattr.c: Likewise.
34620 * misc/listxattr.c: Likewise.
34621 * misc/llistxattr.c: Likewise.
34622 * misc/lremovexattr.c: Likewise.
34623 * misc/lsetxattr.c: Likewise.
34624 * misc/lutimes.c: Likewise.
34625 * misc/madvise.c: Likewise.
34626 * misc/mincore.c: Likewise.
34627 * misc/mlock.c: Likewise.
34628 * misc/mlockall.c: Likewise.
34629 * misc/mmap.c: Likewise.
34630 * misc/mprotect.c: Likewise.
34631 * misc/msync.c: Likewise.
34632 * misc/munlock.c: Likewise.
34633 * misc/munlockall.c: Likewise.
34634 * misc/munmap.c: Likewise.
34635 * misc/preadv.c: Likewise.
34636 * misc/preadv64.c: Likewise.
34637 * misc/ptrace.c: Likewise.
34638 * misc/pwritev.c: Likewise.
34639 * misc/pwritev64.c: Likewise.
34640 * misc/readv.c: Likewise.
34641 * misc/reboot.c: Likewise.
34642 * misc/remap_file_pages.c: Likewise.
34643 * misc/removexattr.c: Likewise.
34644 * misc/revoke.c: Likewise.
34645 * misc/select.c: Likewise.
34646 * misc/setdomain.c: Likewise.
34647 * misc/setegid.c: Likewise.
34648 * misc/seteuid.c: Likewise.
34649 * misc/sethostid.c: Likewise.
34650 * misc/sethostname.c: Likewise.
34651 * misc/setregid.c: Likewise.
34652 * misc/setreuid.c: Likewise.
34653 * misc/setxattr.c: Likewise.
34654 * misc/sstk.c: Likewise.
34655 * misc/stty.c: Likewise.
34656 * misc/swapoff.c: Likewise.
34657 * misc/swapon.c: Likewise.
34658 * misc/sync.c: Likewise.
34659 * misc/syncfs.c: Likewise.
34660 * misc/syscall.c: Likewise.
34661 * misc/truncate.c: Likewise.
34662 * misc/ualarm.c: Likewise.
34663 * misc/usleep.c: Likewise.
34664 * misc/ustat.c: Likewise.
34665 * misc/utimes.c: Likewise.
34666 * misc/vhangup.c: Likewise.
34667 * misc/writev.c: Likewise.
34668 * posix/_exit.c: Likewise.
34669 * posix/alarm.c: Likewise.
34670 * posix/execve.c: Likewise.
34671 * posix/fexecve.c: Likewise.
34672 * posix/fork.c: Likewise.
34673 * posix/fpathconf.c: Likewise.
34674 * posix/getaddrinfo.c: Likewise.
34675 * posix/getegid.c: Likewise.
34676 * posix/geteuid.c: Likewise.
34677 * posix/getgid.c: Likewise.
34678 * posix/getgroups.c: Likewise.
34679 * posix/getlogin.c: Likewise.
34680 * posix/getlogin_r.c: Likewise.
34681 * posix/getpgid.c: Likewise.
34682 * posix/getpid.c: Likewise.
34683 * posix/getppid.c: Likewise.
34684 * posix/getresgid.c: Likewise.
34685 * posix/getresuid.c: Likewise.
34686 * posix/getsid.c: Likewise.
34687 * posix/getuid.c: Likewise.
34688 * posix/glob64.c: Likewise.
34689 * posix/nanosleep.c: Likewise.
34690 * posix/pathconf.c: Likewise.
34691 * posix/pause.c: Likewise.
34692 * posix/posix_madvise.c: Likewise.
34693 * posix/pread.c: Likewise.
34694 * posix/pread64.c: Likewise.
34695 * posix/pwrite.c: Likewise.
34696 * posix/pwrite64.c: Likewise.
34697 * posix/sched_getaffinity.c: Likewise.
34698 * posix/sched_getp.c: Likewise.
34699 * posix/sched_gets.c: Likewise.
34700 * posix/sched_primax.c: Likewise.
34701 * posix/sched_primin.c: Likewise.
34702 * posix/sched_rr_gi.c: Likewise.
34703 * posix/sched_setaffinity.c: Likewise.
34704 * posix/sched_setp.c: Likewise.
34705 * posix/sched_sets.c: Likewise.
34706 * posix/sched_yield.c: Likewise.
34707 * posix/setgid.c: Likewise.
34708 * posix/setlogin.c: Likewise.
34709 * posix/setpgid.c: Likewise.
34710 * posix/setresgid.c: Likewise.
34711 * posix/setresuid.c: Likewise.
34712 * posix/setsid.c: Likewise.
34713 * posix/setuid.c: Likewise.
34714 * posix/sleep.c: Likewise.
34715 * posix/spawni.c: Likewise.
34716 * posix/sysconf.c: Likewise.
34717 * posix/times.c: Likewise.
34718 * posix/wait.c: Likewise.
34719 * posix/wait3.c: Likewise.
34720 * posix/wait4.c: Likewise.
34721 * posix/waitpid.c: Likewise.
34722 * resolv/gai_sigqueue.c: Likewise.
34723 * resource/getpriority.c: Likewise.
34724 * resource/getrlimit.c: Likewise.
34725 * resource/getrusage.c: Likewise.
34726 * resource/nice.c: Likewise.
34727 * resource/setpriority.c: Likewise.
34728 * resource/setrlimit.c: Likewise.
34729 * resource/ulimit.c: Likewise.
34730 * rt/aio_cancel.c: Likewise.
34731 * rt/aio_fsync.c: Likewise.
34732 * rt/aio_read.c: Likewise.
34733 * rt/aio_sigqueue.c: Likewise.
34734 * rt/aio_suspend.c: Likewise.
34735 * rt/aio_write.c: Likewise.
34736 * rt/clock_getres.c: Likewise.
34737 * rt/clock_gettime.c: Likewise.
34738 * rt/clock_nanosleep.c: Likewise.
34739 * rt/clock_settime.c: Likewise.
34740 * rt/lio_listio.c: Likewise.
34741 * rt/mq_close.c: Likewise.
34742 * rt/mq_getattr.c: Likewise.
34743 * rt/mq_notify.c: Likewise.
34744 * rt/mq_open.c: Likewise.
34745 * rt/mq_receive.c: Likewise.
34746 * rt/mq_send.c: Likewise.
34747 * rt/mq_setattr.c: Likewise.
34748 * rt/mq_timedreceive.c: Likewise.
34749 * rt/mq_timedsend.c: Likewise.
34750 * rt/mq_unlink.c: Likewise.
34751 * rt/shm_open.c: Likewise.
34752 * rt/shm_unlink.c: Likewise.
34753 * rt/timer_create.c: Likewise.
34754 * rt/timer_delete.c: Likewise.
34755 * rt/timer_getoverr.c: Likewise.
34756 * rt/timer_gettime.c: Likewise.
34757 * rt/timer_settime.c: Likewise.
34758 * setjmp/__longjmp.c: Likewise.
34759 * setjmp/setjmp.c: Likewise.
34760 * signal/kill.c: Likewise.
34761 * signal/killpg.c: Likewise.
34762 * signal/raise.c: Likewise.
34763 * signal/sigaction.c: Likewise.
34764 * signal/sigaltstack.c: Likewise.
34765 * signal/sigblock.c: Likewise.
34766 * signal/sigignore.c: Likewise.
34767 * signal/sigintr.c: Likewise.
34768 * signal/signal.c: Likewise.
34769 * signal/sigpause.c: Likewise.
34770 * signal/sigpending.c: Likewise.
34771 * signal/sigqueue.c: Likewise.
34772 * signal/sigreturn.c: Likewise.
34773 * signal/sigset.c: Likewise.
34774 * signal/sigsetmask.c: Likewise.
34775 * signal/sigstack.c: Likewise.
34776 * signal/sigsuspend.c: Likewise.
34777 * signal/sigtimedwait.c: Likewise.
34778 * signal/sigvec.c: Likewise.
34779 * signal/sigwait.c: Likewise.
34780 * signal/sigwaitinfo.c: Likewise.
34781 * signal/sysv_signal.c: Likewise.
34782 * socket/accept.c: Likewise.
34783 * socket/accept4.c: Likewise.
34784 * socket/bind.c: Likewise.
34785 * socket/connect.c: Likewise.
34786 * socket/getpeername.c: Likewise.
34787 * socket/getsockname.c: Likewise.
34788 * socket/getsockopt.c: Likewise.
34789 * socket/isfdtype.c: Likewise.
34790 * socket/listen.c: Likewise.
34791 * socket/recv.c: Likewise.
34792 * socket/recvfrom.c: Likewise.
34793 * socket/recvmsg.c: Likewise.
34794 * socket/send.c: Likewise.
34795 * socket/sendmsg.c: Likewise.
34796 * socket/sendto.c: Likewise.
34797 * socket/setsockopt.c: Likewise.
34798 * socket/shutdown.c: Likewise.
34799 * socket/sockatmark.c: Likewise.
34800 * socket/socket.c: Likewise.
34801 * socket/socketpair.c: Likewise.
34802 * stdio-common/ctermid.c: Likewise.
34803 * stdio-common/cuserid.c: Likewise.
34804 * stdio-common/remove.c: Likewise.
34805 * stdio-common/rename.c: Likewise.
34806 * stdio-common/renameat.c: Likewise.
34807 * stdio-common/tempname.c: Likewise.
34808 * stdlib/getcontext.c: Likewise.
34809 * stdlib/makecontext.c: Likewise.
34810 * stdlib/setcontext.c: Likewise.
34811 * stdlib/swapcontext.c: Likewise.
34812 * stdlib/system.c: Likewise.
34813 * streams/fattach.c: Likewise.
34814 * streams/fdetach.c: Likewise.
34815 * streams/getmsg.c: Likewise.
34816 * streams/getpmsg.c: Likewise.
34817 * streams/putmsg.c: Likewise.
34818 * streams/putpmsg.c: Likewise.
34819 * sysdeps/unix/bsd/getpt.c: Likewise.
34820 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34821 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34822 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34824 Likewise.
34825 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34826 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34827 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34828 * sysvipc/msgctl.c: Likewise.
34829 * sysvipc/msgget.c: Likewise.
34830 * sysvipc/msgrcv.c: Likewise.
34831 * sysvipc/msgsnd.c: Likewise.
34832 * sysvipc/semctl.c: Likewise.
34833 * sysvipc/semget.c: Likewise.
34834 * sysvipc/semop.c: Likewise.
34835 * sysvipc/semtimedop.c: Likewise.
34836 * sysvipc/shmat.c: Likewise.
34837 * sysvipc/shmctl.c: Likewise.
34838 * sysvipc/shmdt.c: Likewise.
34839 * sysvipc/shmget.c: Likewise.
34840 * termios/tcdrain.c: Likewise.
34841 * termios/tcflow.c: Likewise.
34842 * termios/tcflush.c: Likewise.
34843 * termios/tcgetattr.c: Likewise.
34844 * termios/tcgetpgrp.c: Likewise.
34845 * termios/tcsendbrk.c: Likewise.
34846 * termios/tcsetattr.c: Likewise.
34847 * termios/tcsetpgrp.c: Likewise.
34848 * time/adjtime.c: Likewise.
34849 * time/clock.c: Likewise.
34850 * time/getitimer.c: Likewise.
34851 * time/gettimeofday.c: Likewise.
34852 * time/setitimer.c: Likewise.
34853 * time/settimeofday.c: Likewise.
34854 * time/stime.c: Likewise.
34855 * time/time.c: Likewise.
34856
348572012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 34858
a20492cf
PT
34859 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34860 /usr/old/bin.
34861
72e182e3
PT
34862 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34863 instead of spaces.
34864 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34865
fbeafede
JM
348662012-11-03 Joseph Myers <joseph@codesourcery.com>
34867
5b5b04d6
JM
34868 [BZ #14796]
34869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34870 FE_TONEAREST before applying Dekker multiplication and Knuth
34871 addition. Clear inexact exceptions and check for exact zero
34872 results afterwards.
34873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34874 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34875 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34876 * math/libm-test.inc (fma_test): Add more tests.
34877 (fma_test_towardzero): Likewise.
34878 (fma_test_downward): Likewise.
34879 (fma_test_upward): Likewise.
34880 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34881 function.
34882 (libc_fesetround): New macro.
34883 (libc_fesetroundf): Likewise.
34884 (libc_fesetroundl): Likewise.
34885 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34886 function.
34887 (libc_fesetround_387): Likewise.
34888 (libc_fesetroundf): New macro.
34889 (libc_fesetround): Likewise.
34890 (libc_fesetroundl): Likewise.
34891 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34892 function.
34893 (libc_fesetroundf): New macro.
34894 (libc_fesetround): Likewise.
34895 (libc_fesetroundl): Likewise.
34896 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34897 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34898 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34899 libm_hidden_ver.
34900 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34901 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34902 libm_hidden_def.
34903 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34904 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34905 libm_hidden_ver.
34906 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34907 libm_hidden_def.
34908
fbeafede
JM
34909 [BZ #3439]
34910 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34911 integer constant usable in #if and use that to give value to enum
34912 constant.
34913 (FE_DIVBYZERO): Likewise.
34914 (FE_UNDERFLOW): Likewise.
34915 (FE_OVERFLOW): Likewise.
34916 (FE_INVALID): Likewise.
34917 (FE_INVALID_SNAN): Likewise.
34918 (FE_INVALID_ISI): Likewise.
34919 (FE_INVALID_IDI): Likewise.
34920 (FE_INVALID_ZDZ): Likewise.
34921 (FE_INVALID_IMZ): Likewise.
34922 (FE_INVALID_COMPARE): Likewise.
34923 (FE_INVALID_SOFTWARE): Likewise.
34924 (FE_INVALID_SQRT): Likewise.
34925 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34926 (FE_TONEAREST): Likewise.
34927 (FE_TOWARDZERO): Likewise.
34928 (FE_UPWARD): Likewise.
34929 (FE_DOWNWARD): Likewise.
34930 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34931 (FE_DIVBYZERO): Likewise.
34932 (FE_OVERFLOW): Likewise.
34933 (FE_UNDERFLOW): Likewise.
34934 (FE_INEXACT): Likewise.
34935 (FE_TONEAREST): Likewise.
34936 (FE_DOWNWARD): Likewise.
34937 (FE_UPWARD): Likewise.
34938 (FE_TOWARDZERO): Likewise.
34939 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34940 (FE_UNDERFLOW): Likewise.
34941 (FE_OVERFLOW): Likewise.
34942 (FE_DIVBYZERO): Likewise.
34943 (FE_INVALID): Likewise.
34944 (FE_TONEAREST): Likewise.
34945 (FE_TOWARDZERO): Likewise.
34946 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34947 (FE_OVERFLOW): Likewise.
34948 (FE_UNDERFLOW): Likewise.
34949 (FE_DIVBYZERO): Likewise.
34950 (FE_INEXACT): Likewise.
34951 (FE_TONEAREST): Likewise.
34952 (FE_TOWARDZERO): Likewise.
34953 (FE_UPWARD): Likewise.
34954 (FE_DOWNWARD): Likewise.
34955 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34956 (FE_DIVBYZERO): Likewise.
34957 (FE_OVERFLOW): Likewise.
34958 (FE_UNDERFLOW): Likewise.
34959 (FE_INEXACT): Likewise.
34960 (FE_TONEAREST): Likewise.
34961 (FE_DOWNWARD): Likewise.
34962 (FE_UPWARD): Likewise.
34963 (FE_TOWARDZERO): Likewise.
34964
105ca950
CM
349652012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34966
34967 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34968
a542b389
AS
349692012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34970
34971 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34972 commands. Quote $PWD.
34973 (blacklist_exports): Don't use remove_newlines. Replace "declare
34974 -x" by "export".
34975 (remove_newlines): Remove.
34976
f62c8abc
L
349772012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34978
34979 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34980 * stdlib/stdlib.h (atof): Moved to ...
34981 * include/bits/stdlib-float.h: Here. New file.
34982 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34983 * stdlib/bits/stdlib-float.h: New file.
34984 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34985 -mno-sse -mno-mmx.
34986 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34987 <xmmintrin.h>.
34988
0155d5b2
JM
349892012-11-02 Joseph Myers <joseph@codesourcery.com>
34990
a68d0680
JM
34991 * conform/conformtest.pl (@headers): Add fenv.h.
34992 * conform/data/fenv.h-data: New file.
34993 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34994 include of <math/fenv.h>.
34995
caf7f573
JM
34996 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34997 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34998 && !UNIX98]. Enables tests for XOPEN2K8.
34999 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35000 POSIX2008]: Likewise.
35001
6c073ad6
JM
35002 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35003 (struct rusage): Do not expect type or its members.
35004
0155d5b2
JM
35005 [BZ #3439]
35006 * math/math.h (FP_NAN): Define macro to integer constant usable in
35007 #if and use that to give value to enum constant.
35008 (FP_INFINITE): Likewise.
35009 (FP_ZERO): Likewise.
35010 (FP_SUBNORMAL): Likewise.
35011 (FP_NORMAL): Likewise.
35012
b5dcacb4
AS
350132012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35014
35015 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35016 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35017 arguments.
35018
f7934be8
RM
350192012-11-02 Roland McGrath <roland@hack.frob.com>
35020
35021 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35022 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35023 autoconf-time if not.
35024 * configure.in: Remove AC_PREREQ.
35025
d7d08bde
TMQMF
350262012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35027
35028 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35029 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35030 of the internal implementation.
35031
dcdae19a
JM
350322012-11-02 Joseph Myers <joseph@codesourcery.com>
35033
35034 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35035 except include of <misc/sys/syslog.h>.
35036
d6cffd3e
AS
350372012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35038
35039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35040 function returns with a NULL context exit with zero.
35041
b3563932
TMQMF
350422012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35043
35044 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35045
b288a93d
L
350462012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35047
35048 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35049 (run_program_cmd): This.
35050 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35051 (tst_langinfo): New variable. Use it.
35052
a2421a68
SAS
350532012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35054
35055 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35056 floating point opcodes.
35057
6f796e1b
TS
350582012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35059
7402596b
TS
35060 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35061 variable.
35062
d0d4f868
TS
35063 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35064
6f796e1b
TS
35065 * sysdeps/mach/hurd/powerpc: Remove directory.
35066 * sysdeps/mach/powerpc: Likewise.
35067
4da224a2
AS
350682012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35069
35070 * scripts/check-local-headers.sh: Ignore c++ headers.
35071
341dd673
TS
350722012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35073
35074 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35075 __libc_cleanup_region_start argument.
35076
473611b2
JM
350772012-11-01 Joseph Myers <joseph@codesourcery.com>
35078
35079 [BZ #14784]
35080 [BZ #14785]
35081 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35082 x * y using scaling, not as x * y + z.
35083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35084 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35085 * math/libm-test.inc (fma_test): Add more tests.
35086 (fma_test_towardzero): Likewise.
35087 (fma_test_downward): Likewise.
35088 (fma_test_upward): Likewise.
35089
4078da3d
TS
350902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35091
35092 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35093
903252aa
JM
350942012-10-31 Joseph Myers <joseph@codesourcery.com>
35095
35096 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35097 New variable.
35098
cbc818d0
TS
350992012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35100
35101 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35102
5a03cb1e
AS
351032012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35104
35105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35106 Fix sort order.
35107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35108 Likewise.
35109
90aff2ff
TMQMF
351102012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35111
35112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35113 Fix the order of the list for glibc 2.17.
35114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35115 Likewise.
35116
1818fcb7
AS
351172012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35118
35119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35120
ef82f4da
JM
351212012-10-31 Joseph Myers <joseph@codesourcery.com>
35122
16a0e2ec
JM
35123 [BZ #14610]
35124 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35125 for low part of x being zero before using __atanl (y).
35126 * math/libm-test.inc (atan2_test): Add another test.
35127
0eb69512
JM
35128 * manual/install.texi (Configuring and compiling): Document
35129 general use of test-wrapper and test-wrapper-env.
35130 * INSTALL: Regenerated.
35131
ef82f4da
JM
35132 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35133 (__fma): Do not extract and scale down low bits on after-rounding
35134 systems when result rounded to normal precision would have normal
35135 exponent.
35136 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35137 (__fmal): Do not extract and scale down low bits on after-rounding
35138 systems when result rounded to normal precision would have normal
35139 exponent.
35140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35141 (__fmal): Do not extract and scale down low bits on after-rounding
35142 systems when result rounded to normal precision would have normal
35143 exponent.
35144 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35145 macro.
35146 (fma_test): Add more tests.
35147 (fma_test_towardzero): Likewise.
35148 (fma_test_downward): Likewise.
35149 (fma_test_upward): Likewise.
35150
954ef0d9
L
351512012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35152
35153 * sysdeps/i386/tininess.h: Renamed to ...
35154 * sysdeps/x86/tininess.h: This.
35155 * sysdeps/x86_64/tininess.h: Removed.
35156
df61ffb2
JM
351572012-10-30 Joseph Myers <joseph@codesourcery.com>
35158
35159 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35160 input. Use $(build-program-cmd).
35161 ($(objpfx)tst-array1-static.out): Likewise.
35162 ($(objpfx)tst-array2.out): Likewise.
35163 ($(objpfx)tst-array3.out): Likewise.
35164 ($(objpfx)tst-array4.out): Likewise.
35165 ($(objpfx)tst-array5.out): Likewise.
35166 ($(objpfx)tst-array5-static.out): Likewise.
35167
01767843
CM
351682012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35169
47cc1490
CM
35170 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35171 if defined.
35172
01767843
CM
35173 * nss/nsswitch.h (nss_interface_function): Provide new
35174 macro for use with NSS functions.
35175 * grp/initgroups.c: Use new macro.
35176 * nss/getXXbyYY.c: Likewise.
35177 * nss/getXXbyYY_r.c: Likewise.
35178 * nss/getXXent.c: Likewise.
35179 * nss/getXXent_r.c: Likewise.
35180 * sysdeps/posix/getaddrinfo.c: Likewise.
35181
8321aa97
AJ
351822012-10-30 Andreas Jaeger <aj@suse.de>
35183
35184 * po/ru.po: Update Russion translation from translation project.
35185
2a27fd6d
JM
351862012-10-30 Joseph Myers <joseph@codesourcery.com>
35187
8627a232
JM
35188 [BZ #14152]
35189 [BZ #14783]
35190 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35191 result and shift together with sticky bit instead of replicating
35192 round-to-nearest rounding.
35193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35195 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35196 missing underflow exceptions.
35197 (fma_test_towardzero): Add more tests.
35198 (fma_test_downward): Likewise.
35199 (fma_test_upward): Likewise.
35200
2a27fd6d
JM
35201 [BZ #14047]
35202 * sysdeps/generic/tininess.h: New file.
35203 * sysdeps/i386/tininess.h: Likewise.
35204 * sysdeps/sh/tininess.h: Likewise.
35205 * sysdeps/x86_64/tininess.h: Likewise.
35206 * stdlib/tst-strtod-underflow.c: Likewise.
35207 * stdlib/tst-tininess.c: Likewise.
35208 * stdlib/strtod_l.c: Include <tininess.h>.
35209 (round_and_return): Do not set errno for exact underflow cases.
35210 Force an underflow exception when setting errno for underflow.
35211 Determine underflow based on rounding to normal precision if
35212 TININESS_AFTER_ROUNDING.
35213 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35214 ERANGE for exact underflow cases.
35215 * stdlib/Makefile (tests): Add tst-tininess and
35216 tst-strtod-underflow.
35217 ($(objpfx)tst-tininess): Use $(link-libm).
35218 ($(objpfx)tst-strtod-underflow): Likewise.
35219
e7170363
AJ
352202012-10-30 Andreas Jaeger <aj@suse.de>
35221
e5088dc6
AJ
35222 [BZ#14767]
35223 * elf/Makefile (tests): Remove conditional for have-initfini-array
35224 since this is now always required and the variable does not exist
35225 anymore.
35226 (tests-static): Likewise.
35227 (modules-names): Likewise.
35228
e7170363 35229 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35230
35231 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35232 merged with constructor/destructor.
35233 (init_array): Likewise.
35234 * elf/tst-array2dep.c (fini_array): Likewise.
35235 (init_array): Likewise.
35236
60457d8a
MF
352372012-10-29 Mike Frysinger <vapier@gentoo.org>
35238
35239 * manual/message.texi: Delete @cartouche tags.
35240
8bece752
PT
352412012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35242
94ce799f
PT
35243 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35244 EOPNOTSUPP.
35245 * sysdeps/mach/hurd/fsync.c: Likewise.
35246
8bece752
PT
35247 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35248 [_POSIX_REALTIME_SIGNALS]: Change condition to
35249 [_POSIX_REALTIME_SIGNALS > 0].
35250
86ebe6b1
AJ
352512012-10-27 Andreas Jaeger <aj@suse.de>
35252
35253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35254 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35256 [__WORDSIZE != 64]: Likewise.
35257
54399c08
L
352582012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35259
35260 * iconvdata/tst-table.sh: Remove ${SHELL}.
35261 * iconvdata/tst-tables.sh: Likewise.
35262
e2211bed
DM
352632012-10-25 David S. Miller <davem@davemloft.net>
35264
35265 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35266 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35267 of strtoull.
35268
f303f97c
DM
35269 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35270 ifunc-impl-list.c
35271 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35272 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35273 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35274 file.
35275
1e9d84cd
RM
352762012-10-25 Roland McGrath <roland@hack.frob.com>
35277
35278 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35279 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35280 __getdirentries.
35281
df381762
JM
352822012-10-25 Joseph Myers <joseph@codesourcery.com>
35283 Jim Blandy <jimb@codesourcery.com>
35284
35285 * scripts/cross-test-ssh.sh: New file.
35286 * manual/install.texi (Configuring and compiling): Document use of
35287 cross-test-ssh.sh.
35288 * INSTALL: Regenerated.
35289
bff64913
PT
352902012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35291
35292 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35293 EOPNOTSUPP.
35294
25fe8932
JM
352952012-10-25 Joseph Myers <joseph@codesourcery.com>
35296
35297 * Makeconfig (run-program-prefix): Fix comment.
35298
cc1290d0
JM
352992012-10-24 Joseph Myers <joseph@codesourcery.com>
35300 Jim Blandy <jimb@codesourcery.com>
35301
35302 * Makeconfig (test-wrapper): New variable,
35303 (test-wrapper-env): Likewise.
35304 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35305 (run-built-tests): Define to yes.
35306 (run-program-prefix): Use $(test-wrapper).
35307 (built-program-cmd): Likewise.
35308 * Rules (make-test-out): Use $(test-wrapper-env) and
35309 $(host-built-program-cmd).
35310 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35311 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35312 tst-pathopt.sh.
35313 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35314 $(test-wrapper-env) to tst-rtld-load-self.sh.
35315 ($(objpfx)order2.out): Use $(test-wrapper).
35316 ($(objpfx)tst-initorder.out): Likewise.
35317 ($(objpfx)tst-initorder2.out): Likewise.
35318 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35319 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35320 (test_wrapper_env): New variable. Use it to run ld.so.
35321 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35322 Use it to run ld.so.
35323 (test_wrapper_env): Likewise.
35324 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35325 $(test-wrapper) to run-iconv-test.sh.
35326 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35327 (ICONV): Use $test_wrapper.
35328 * posix/Makefile ($(objpfx)globtest.out): Pass
35329 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35330 globtest.sh, not $(run-program-prefix).
35331 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35332 (test_wrapper): Likewise.
35333 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35334 set together with run_via_rtld_prefix.
35335 (run_program_prefix): Define in terms of test_wrapper and
35336 run_via_rtld_prefix.
35337
6e6249d0
RM
353382012-10-24 Roland McGrath <roland@hack.frob.com>
35339
35340 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35341 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35342 Targets removed.
35343
35344 [BZ #14743]
35345 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35346 Declare __clock_getres, __clock_gettime, __clock_settime,
35347 __clock_nanosleep, and __clock_getcpuclockid.
35348 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35349 Remove librt_hidden_def (clock_gettime).
35350 * sysdeps/unix/clock_gettime.c: Likewise.
35351 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35352 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35353 * rt/clock_getres.c: Define __clock_getres as an alias.
35354 * sysdeps/posix/clock_getres.c: Likewise.
35355 * rt/clock_settime.c: Define __clock_settime as an alias.
35356 * sysdeps/unix/clock_settime.c: Likewise.
35357 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35358 * sysdeps/unix/clock_nanosleep.c: Likewise.
35359 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35360 * rt/clock-compat.c: New file.
35361 * rt/Makefile (librt-routines): Add clock-compat and move
35362 $(clock-routines) to ...
35363 (routines): ... here, new variable.
35364 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35365 Don't add get_clockfreq here.
35366 * rt/Versions (libc: GLIBC_2.17): New version set.
35367 Add clock_* symbols here.
35368 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35369 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35370 (GLIBC_2.17): Add clock_* symbols.
35371 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35372 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35375 Likewise.
35376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35377 Likewise.
35378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35382 * NEWS: Mention the move.
35383
35384 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35385 Use __open, __read, __close rather than their public counterparts.
35386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35387 (__get_clockfreq_via_cpuinfo): Likewise.
35388 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35389 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35390
35391 * config.h.in (HAVE_IFUNC): New #undef.
35392 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35393 was successful.
35394 * configure: Regenerated.
35395
0cae3f4b
MF
353962012-10-24 Mike Frysinger <vapier@gentoo.org>
35397
35398 * configure.in: Move READELF check to start of file.
35399 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35400 libc_cv_asm_gnu_indirect_function in the process.
35401 * configure: Regenerated.
35402
8175a253
MF
354032012-10-24 Mike Frysinger <vapier@gentoo.org>
35404
35405 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35406 send the output to /dev/null.
35407 (libc_cv_cc_with_libunwind): Likewise.
35408 (libc_cv_as_noexecstack): Likewise.
35409 * configure: Regenerate.
35410
0708a7d1
JM
354112012-10-24 Joseph Myers <joseph@codesourcery.com>
35412
10b40d85
JM
35413 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35414
0708a7d1
JM
35415 * posix/globtest.sh (TMPDIR): Do not set.
35416 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35417 (testout): Likewise.
35418
9fddec1a
AJ
354192012-10-24 Andreas Jaeger <aj@suse.de>
35420
3a8db22f
AJ
35421 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35422 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35423 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35424 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35425 posix_fadvise64, posix_fallocate64.
35426
9fddec1a
AJ
35427 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35428 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35429 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35430 Likewise.
35431 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35432 Likewise.
35433 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35434
35435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35436 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35437 <bits/fcntl-linux.h>.
35438 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35439
35440 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35441 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35442 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35443 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35444 [__WORDSIZE != 64]: Likewise.
35445
ebfd1bbd
JM
354462012-10-23 Joseph Myers <joseph@codesourcery.com>
35447
03ac099f
JM
35448 * Makeconfig (run-built-tests): New variable.
35449 * Rules [$(cross-compiling) = yes]: Change condition to
35450 [$(run-built-tests) = no].
35451 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35452 to [$(run-built-tests) = yes].
35453 * elf/Makefile [$(cross-compiling) = no]: Likewise
35454 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35455 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35456 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35457 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35458 * io/Makefile [$(cross-compiling) = no]: Likewise.
35459 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35460 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35461 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35462 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35463 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35464 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35465 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35466 * string/Makefile [$(cross-compiling) = no]: Likewise.
35467
ebfd1bbd
JM
35468 * posix/Makefile ($(objpfx)globtest.out): Pass
35469 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35470 $(rtld-installed-name).
35471 * posix/globtest.sh (elf_objpfx): Remove variable.
35472 (rtld_installed_name): Likewise.
35473 (library_path): Likewise.
35474 (run_program_prefix): New variable. Use for running globtest
35475 binary.
35476
166bca24
JB
354772012-10-23 Jim Blandy <jimb@codesourcery.com>
35478 Joseph Myers <joseph@codesourcery.com>
35479
35480 * Makeconfig (host-built-program-cmd): New variable.
35481 * elf/Makefile (tst-stackguard1-ARGS): Use
35482 $(host-built-program-cmd).
35483 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35484 (tst-spawn-ARGS): Likewise.
35485 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35486
88866099
JM
354872012-10-23 Joseph Myers <joseph@codesourcery.com>
35488 Jim Blandy <jimb@codesourcery.com>
35489
35490 * Makeconfig (run-via-rtld-prefix): New variable.
35491 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35492 (built-program-cmd): Likewise.
35493
b4b4c296
AJ
354942012-10-22 Andreas Jaeger <aj@suse.de>
35495
35496 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35497 __O_RSYNC if it exists, otherwise to O_SYNC.
35498
6fb54a22
JB
354992012-10-22 Jim Blandy <jimb@codesourcery.com>
35500 Joseph Myers <joseph@codesourcery.com>
35501
35502 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35503 /dev/null.
35504 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35505 from /dev/null
35506 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35507 /dev/null.
35508
481b90b9
AJ
355092012-10-22 Andreas Jaeger <aj@suse.de>
35510
2a0e2669
AJ
35511 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35512 Define always.
35513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35514
76e38f9a
AJ
35515 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35516 bits/fcntl-linux.h.
35517
7cd37b43
AJ
35518 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35519 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35520
481b90b9
AJ
35521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35522 to __O_LARGEFILE.
35523 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35524 to __O_LARGEFILE.
35525
aba75984
JB
355262012-10-21 Jim Blandy <jimb@codesourcery.com>
35527 Joseph Myers <joseph@codesourcery.com>
35528
35529 * config.make.in (NM): New variable.
35530
88d4247f
AJ
355312012-10-21 Andreas Jaeger <aj@suse.de>
35532
35533 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35534 definitions and declarations that are provided by
35535 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35536
f2eed205
L
355372012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35538
35539 [BZ #14683]
35540 * elf/Makefile (tests-static): Add tst-leaks1-static.
35541 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35542 ($(objpfx)tst-leaks1-static): New rule.
35543 ($(objpfx)tst-leaks1-static-mem): Likewise.
35544 (tst-leaks1-static-ENV): New macro.
35545 * elf/dl-open.c (dl_open_worker): Check the main application
35546 only if SHARED is defined.
35547 * elf/tst-leaks1-static.c: New file.
35548
335e6931
AJ
355492012-10-20 Andreas Jaeger <aj@suse.de>
35550
35551 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35552 generic values for Linux.
35553 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35554 and declarations that are provided by <bits/fcntl-linux.h> and
35555 include <bits/fcntl-linux.h>.
35556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35558
ac5c94d3
RM
355592012-10-20 Roland McGrath <roland@hack.frob.com>
35560
35561 * io/fcntl.h: Move include of <bits/types.h> to the top and
35562 include it unconditionally.
35563
de54b33a
L
355642012-10-20 H.J. Lu <hongjiu.lu@intel.com>
35565
228cfb01
L
35566 * wcsmbs/Makefile (tests-ifunc): New variable.
35567 (tests): Add $(tests-ifunc).
35568 * wcsmbs/test-wcschr-ifunc.c: New file.
35569 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35570 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35571 * wcsmbs/test-wcslen-ifunc.c: Likewise.
35572 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35573 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35574
69f07e5f
L
35575 * string/Makefile (tests-ifunc): New variable.
35576 (tests): Add $(tests-ifunc).
35577 * string/test-memccpy.c (TEST_NAME): New macro.
35578 * string/test-memchr.c (TEST_NAME): Likewise.
35579 * string/test-memcmp.c (TEST_NAME): Likewise.
35580 * string/test-memcpy.c (TEST_NAME): Likewise.
35581 * string/test-memmem.c (TEST_NAME): Likewise.
35582 * string/test-memmove.c (TEST_NAME): Likewise.
35583 * string/test-memset.c (TEST_NAME): Likewise.
35584 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35585 * string/test-stpcpy.c (TEST_NAME): Likewise.
35586 * string/test-stpncpy.c (TEST_NAME): Likewise.
35587 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35588 * string/test-strcasestr.c (TEST_NAME): Likewise.
35589 * string/test-strcat.c (TEST_NAME): Likewise.
35590 * string/test-strchr.c (TEST_NAME): Likewise.
35591 * string/test-strcmp.c(TEST_NAME): Likewise.
35592 * string/test-strcpy.c (TEST_NAME): Likewise.
35593 * string/test-strcspn.c (TEST_NAME): Likewise.
35594 * string/test-strlen.c (TEST_NAME): Likewise.
35595 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35596 * string/test-strncmp.c (TEST_NAME): Likewise.
35597 * string/test-strncpy.c (TEST_NAME): Likewise.
35598 * string/test-strnlen.c (TEST_NAME): Likewise.
35599 * string/test-strpbrk.c (TEST_NAME): Likewise.
35600 * string/test-strrchr.c (TEST_NAME): Likewise.
35601 * string/test-strspn.c (TEST_NAME): Likewise.
35602 * string/test-strstr.c (TEST_NAME): Likewise.
35603 * string/test-bcopy-ifunc.c: New file.
35604 * string/test-bzero-ifunc.c: Likewise.
35605 * string/test-memccpy-ifunc.c: Likewise.
35606 * string/test-memchr-ifunc.c: Likewise.
35607 * string/test-memcmp-ifunc.c: Likewise.
35608 * string/test-memcpy-ifunc.c: Likewise.
35609 * string/test-memmem-ifunc.c: Likewise.
35610 * string/test-memmove-ifunc.c: Likewise.
35611 * string/test-mempcpy-ifunc.c: Likewise.
35612 * string/test-memset-ifunc.c: Likewise.
35613 * string/test-rawmemchr-ifunc.c: Likewise.
35614 * string/test-stpcpy-ifunc.c: Likewise.
35615 * string/test-stpncpy-ifunc.c: Likewise.
35616 * string/test-strcasecmp-ifunc.c: Likewise.
35617 * string/test-strcasestr-ifunc.c: Likewise.
35618 * string/test-strcat-ifunc.c: Likewise.
35619 * string/test-strchr-ifunc.c: Likewise.
35620 * string/test-strchrnul-ifunc.c: Likewise.
35621 * string/test-strcmp-ifunc.c: Likewise.
35622 * string/test-strcpy-ifunc.c: Likewise.
35623 * string/test-strcspn-ifunc.c: Likewise.
35624 * string/test-strlen-ifunc.c: Likewise.
35625 * string/test-strncasecmp-ifunc.c: Likewise.
35626 * string/test-strncat-ifunc.c: Likewise.
35627 * string/test-strncmp-ifunc.c: Likewise.
35628 * string/test-strncpy-ifunc.c: Likewise.
35629 * string/test-strnlen-ifunc.c: Likewise.
35630 * string/test-strpbrk-ifunc.c: Likewise.
35631 * string/test-strrchr-ifunc.c: Likewise.
35632 * string/test-strspn-ifunc.c: Likewise.
35633 * string/test-strstr-ifunc.c: Likewise.
35634
de54b33a
L
35635 * debug/Makefile (tests-ifunc): New variable.
35636 (tests): Add $(tests-ifunc).
35637 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35638 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35639 * debug/test-stpcpy_chk-ifunc.c: New file.
35640 * debug/test-strcpy_chk-ifunc.c: Likewise.
35641
88481c16
SP
356422012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35643
35644 [BZ #13601]
35645 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35646 header is not read in.
35647
135948bd
JM
356482012-10-19 Joseph Myers <joseph@codesourcery.com>
35649
89f1c388
JM
35650 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35651 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35652 directly. Pass built executable to script as
35653 $(built-program-cmd).
35654 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35655 $testprogram without using LD_LIBRARY_PATH and $ldso.
35656
e40a0d21
JM
35657 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35658 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35659 $(rtld-installed-name).
35660 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35661 (rtld_installed_name): Likewise.
35662 (library_path): Likewise.
35663 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35664 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35665 $(run-program-prefix) to tst-tables.sh.
35666 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35667 it to run tst-table-from and tst-table-to.
35668 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35669 Pass it to tst-table.sh.
35670 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35671 $(run-program-prefix) to tst-gettext.sh.
35672 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35673 tst-translit.sh.
35674 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35675 tst-gettext2.sh.
35676 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35677 to run tst-gettext.
35678 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35679 to run tst-gettext2.
35680 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35681 to run tst-translit.
35682 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35683 $(run-program-prefix) to tst-mtrace.sh.
35684 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35685 to run tst-mtrace.
35686 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35687 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35688 $(rtld-installed-name).
35689 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35690 (rtld_installed_name): Likewise.
35691 (run_program_prefix): New variable. Use it to run wordexp-test.
35692
728e272a
JM
35693 * Makeconfig (ARCH): Remove all definitions.
35694 (machine): Likewise.
35695 [ARCH]: Remove conditional code.
35696 [!objdir]: Give error.
35697 [!objdir] (objpfx): Remove.
35698 [!objdir] (common-objpfx): Likewise.
35699 [!objdir] (common-objdir): Likewise.
35700 * configure.in (config_makefile): Remove. Hardcode Makefile in
35701 AC_CONFIG_FILES call.
35702 * configure: Regenerated.
35703
d528cdcf
JM
35704 [BZ #13888]
35705 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35706 or TMPDIR.
35707 (testout): Likewise.
35708
135948bd
JM
35709 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35710 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35711 $(rtld-installed-name).
35712 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35713 (rtld_installed_name): Likwise.
35714 (runit): Remove function.
35715 (run_getconf): New variable, Use it for running getconf binary.
35716
38c78296
L
357172012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35718
35719 [BZ #14716]
35720 * string/test-memmem.c (check_result): New function.
35721 (do_one_test): Use it.
35722 (check1): New function.
35723 (test_main): Use it.
35724
d077f65f
MT
357252012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35726
35727 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35728
ced52c71
JM
357292012-10-18 Joseph Myers <joseph@codesourcery.com>
35730
35731 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35732 (_G_LSEEK64): Likewise.
35733 (_G_MMAP64): Likewise.
35734 (_G_FSTAT64): Likewise.
35735 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35736 (_G_LSEEK64): Likewise.
35737 (_G_MMAP64): Likewise.
35738 (_G_FSTAT64): Likewise.
35739 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35740 unconditional. Call __mmap64 directly.
35741 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35742 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35743 __lseek64 directly.
35744 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35745 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35746 __mmap64 directly.
35747 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35748 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35749 __lseek64 directly.
35750 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35751 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35752 __lseek64 directly.
35753 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35754 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35755 __lseek64 directly.
35756 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35757 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35758 __fxstat64 directly.
35759 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35760 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35761 unconditional.
35762 (freopen64) [!_G_OPEN64]: Remove conditional code.
35763 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35764 unconditional.
35765 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35766 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35767 unconditional.
35768 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35769 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35770 unconditional.
35771 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35772 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35773 unconditional.
35774 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35775 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35776 unconditional.
35777 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35778 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35779 unconditional.
35780 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35781 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35782 unconditional.
35783 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35784
b741de23
SP
357852012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35786
35787 [BZ #12140]
35788 * manual/memory.texi (Malloc Tunable Parameters): Add note
35789 about free list pointers overwriting some perturb bytes.
35790 Wording suggested by Roland McGrath.
35791
f9b9d9c9
JM
357922012-10-17 Joseph Myers <joseph@codesourcery.com>
35793
35794 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35795 (lgamma_test): Likewise.
35796 (tgamma_test): Likewise.
35797
172a631a
FW
357982012-10-16 Florian Weimer <fweimer@redhat.com>
35799
35800 [BZ #14700]
35801 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35802 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35803
e9f37252
MK
358042012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35805
35806 * NEWS: Mention BZ #14716.
35807 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35808 when removing AVAILABLE1_USES_J macro.
35809
d394eb74
L
358102012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35811
35812 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35813 (__bswap_64): __uint64_t for unsigned 64-bit int.
35814
ca38dc17
AS
358152012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35816
35817 * include/string.h (memmem): Declare libc hidden alias.
35818 * string/memmem.c (memmem): Define libc hidden alias.
35819 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35820 __read, __close instead of open, read, close.
35821
9a387d1f
L
358222012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35823
ac49ecaf
L
35824 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35825 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35826 global and hidden.
35827 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35828 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35829 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35830 Likewise.
35831 (__rawmemchr_sse2): Likewise.
35832 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35833 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35834 (__strchr_sse2): Likewise.
35835 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35836 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35837 (__strcasecmp_sse2): Likewise.
35838 (__strncasecmp_sse2): Likewise.
35839 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35840 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35841 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35842 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35843 (__strrchr_sse2): Likewise.
35844 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35845 ifunc-impl-list.c.
35846 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35847 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35848 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35849 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35850 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35851 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35852 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35853 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35854 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35855 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35856 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35857 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35858 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35859 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35860 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35861 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35862 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35863 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35864 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35865 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35866 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35867 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35868 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35869 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35870 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35871 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35872 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35873 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35874 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35875 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35876
b090e8ea
L
35877 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35878 global and hidden.
35879 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35880 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35881 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35882 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35883 Likewise.
35884 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35885 Likewise.
35886 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35887 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35888 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35889 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35890 ifunc-impl-list.c.
35891 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35892 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35893 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35894 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35895 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35896 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35897 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35898 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35899 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35900 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35901 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35902 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35903 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35904 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35905 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35907 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35908 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35909 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35910 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35911 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35912 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35913 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35914 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35916 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35917 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35918 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35919 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35920 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35921 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35922 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35923 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35924 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35925 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35926 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35927 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35928 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35929 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35930 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35931 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35932
11dd4af6
L
35933 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35934 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35935 * include/ifunc-impl-list.h: New file.
35936 * misc/ifunc-impl-list.c: Likewise.
35937 * misc/Makefile (routines): Add ifunc-impl-list.
35938 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35939 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
35940 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35941 TEST_NAME]: New variables.
11dd4af6
L
35942 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35943 are defined.
35944 (test_init): Call __libc_ifunc_impl_list to initialize
35945 func_list if TEST_IFUNC and TEST_NAME are defined.
35946
9a387d1f
L
35947 * string/Makefile (strop-tests): Add bcopy and bzero.
35948 * string/test-bcopy.c: New file.
35949 * string/test-bzero.c: Likewise.
35950 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35951 defined.
35952 * string/test-memset.c: Support bzero test if TEST_BZERO is
35953 defined.
35954 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35955 __libc_memmove.
35956 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35957 __libc_memset.
35958 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35959 of memset.
35960
472371b9
JM
359612012-10-10 Joseph Myers <joseph@codesourcery.com>
35962
1e4a9536
JM
35963 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35964 * configure: Regenerated.
35965
d173d12e
JM
35966 * Makeconfig (+link-static-before-libc): Don't include
35967 $(link-static-libc).
35968
472371b9
JM
35969 * libio/libio.h (_IO_pos_t): Remove.
35970
89a3ad0b
AO
359712012-10-10 Alexandre Oliva <aoliva@redhat.com>
35972
35973 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35974 McGrath.
35975
e7451425
AO
359762012-10-10 Alexandre Oliva <aoliva@redhat.com>
35977
35978 * crypt/crypt-entry.c: Include fips-private.h.
35979 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35980 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35981 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35982 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35983
4ba74a35
AO
359842012-10-10 Alexandre Oliva <aoliva@redhat.com>
35985
35986 * crypt/crypt-private.h: Include stdbool.h.
35987 (_ufc_setup_salt_r): Return bool.
35988 * crypt/crypt-entry.c: Include errno.h.
35989 (__crypt_r): Return NULL with EINVAL for bad salt.
35990 * crypt/crypt_util.c (bad_for_salt): New.
35991 (_ufc_setup_salt_r): Check that salt is long enough and within
35992 the specified alphabet.
35993 * crypt/badsalttest.c: New file.
35994 * crypt/Makefile (tests): Add it.
35995 ($(objpfx)badsalttest): New.
35996
f96f1242
MK
359972012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35998
35999 * NEWS: Add entry for BZ #14602.
36000
0e8e0c1c
JM
360012012-10-09 Joseph Myers <joseph@codesourcery.com>
36002
36003 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36004 type-generic.
36005 * math/libm-test.inc: Update comment listing what functions and
36006 macros are tested.
36007 (isgreater_test): New function.
36008 (isgreaterequal_test): Likewise.
36009 (isless_test): Likewise.
36010 (islessequal_test): Likewise.
36011 (islessgreater_test): Likewise.
36012 (isunordered_test): Likewise.
36013 (main): Call the new functions.
36014
273edc5e
RM
360152012-10-09 Roland McGrath <roland@hack.frob.com>
36016
b8493de0
RM
36017 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36018 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36019 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36020 * sysdeps/i386/configure: Regenerated.
36021 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36022 * sysdeps/mach/configure: Regenerated.
36023 * sysdeps/mach/hurd/configure: Regenerated.
36024 * sysdeps/powerpc/configure: Regenerated.
36025 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36026 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36027 * sysdeps/s390/s390-32/configure: Regenerated.
36028 * sysdeps/s390/s390-64/configure: Regenerated.
36029 * sysdeps/sh/configure: Regenerated.
36030 * sysdeps/sparc/configure: Regenerated.
36031 * sysdeps/unix/sysv/linux/configure: Regenerated.
36032 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36033 * sysdeps/x86_64/configure: Regenerated.
36034
273edc5e
RM
36035 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36036 defined. Don't check if MAP is NULL.
36037
c8450f70
JM
360382012-10-09 Joseph Myers <joseph@codesourcery.com>
36039
36040 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36041 (_G_stat64): Likewise.
36042 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36043 (_G_stat64): Likewise.
36044 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36045 instead of struct _G_stat64.
36046 * libio/fileops.c (mmap_remap_check): Likewise.
36047 (decide_maybe_mmap): Likewise.
36048 (_IO_new_file_seekoff): Likewise.
36049 (_IO_file_stat): Likewise.
36050 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36051 _G_off64_t.
36052 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36053 instead of struct _G_stat64.
36054 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36055
57e605ba
MK
360562012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36057
36058 [BZ #14602]
36059 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36060 Replace with ...
36061 (CHECK_EOL): New macro.
36062 (two_way_short_needle): Check beginning of haystack for EOL. Use
36063 CHECK_EOL.
36064 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36065 Replace with CHECK_EOL.
36066 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36067 Replace with CHECK_EOL.
36068
ef1bb361
JM
360692012-10-08 Joseph Myers <joseph@codesourcery.com>
36070
36071 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36072 type-generic.
36073 * math/libm-test.inc: Update comment listing what functions and
36074 macros are tested.
36075 (finite_test): New function.
36076 (isinf_test): Likewise.
36077 (isnan_test): Likewise.
36078 (fpclassify_test): Test subnormal input.
36079 (isfinite_test): Likewise.
36080 (isnormal_test): Likewise.
36081 (main): Call the new functions.
36082
55f11534
JN
360832012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36084
36085 [BZ #14660]
36086 * Makerules (%.dynsym): Force C locale when running
36087 $(OBJDUMP) --dynamic-syms.
36088
1ab29350
AS
360892012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36090
36091 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36092 <stdint.h>.
36093
f1ecb7ef
DM
360942012-10-06 David S. Miller <davem@davemloft.net>
36095
36096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36097 upper 32-bits of the length value in %o2 since we use branch-on-register
36098 tests which consider the entire 64-bit register.
36099
5d41d91a
L
361002012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36101
36102 * string/test-strstr.c (check2): Add a test for page boundary.
36103
3baddb72
DM
361042012-10-05 David S. Miller <davem@davemloft.net>
36105
36106 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36107 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36108 file.
36109 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36110 sysdep_routines.
36111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36112 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36113 and bzero when HWCAP_SPARC_CRYPTO is present.
36114
9cee5585
L
361152012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36116
d7e0dab9
L
36117 [BZ #14602]
36118 * string/test-strstr.c (check2): New function.
36119 (test_main): Call check2.
36120
03759f47
L
36121 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36122 and bug-strchr1.
36123 * string/bug-strcasestr1.c (do_test): Moved to ...
36124 * string/test-strcasestr.c (check1): Here. New function.
36125 (do_one_test): Break out result checking code into ...
36126 (check_result): This. New function.
36127 (do_one_test): Call check_result.
36128 (test_main): Call check1.
36129 * string/bug-strchr1.c (do_test): Moved to ...
36130 * string/test-strchr.c (check1): Here. New function.
36131 (do_one_test): Break out result checking code into ...
36132 (check_result): This. New function.
36133 (do_one_test): Call check_result.
36134 (test_main): Call check1.
36135 * string/bug-strstr1.c (main): Moved to ...
046f153e 36136 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36137 (do_one_test): Break out result checking code into ...
36138 (check_result): This. New function.
36139 (do_one_test): Call check_result.
36140 (test_main): Call check1.
36141 * string/bug-strcasestr1.c: Removed.
36142 * string/bug-strchr1.c: Likewise.
36143 * string/bug-strstr1.c: Likewise.
36144
53cea63e
L
36145 * elf/Makefile (dl-routines): Add hwcaps.
36146 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36147 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36148 (_dl_important_hwcaps): Moved to ...
36149 * elf/dl-hwcaps.c: Here. New file.
36150 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36151
9cee5585 36152 [BZ #14557]
bb859b06
L
36153 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36154 if IS_IN_rtld isn't defined.
36155
9cee5585
L
36156 * elf/dl-support.c (_dl_sysinfo_map): New.
36157 Include "get-dynamic-info.h" and "setup-vdso.h".
36158 (_dl_non_dynamic_init): Call setup_vdso.
36159 * elf/dynamic-link.h: Don't include <assert.h>.
36160 (elf_get_dynamic_info): Moved to ...
36161 * elf/get-dynamic-info.h: Here. New file.
36162 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36163 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36164 * elf/setup-vdso.h: Here. New file.
36165 * elf/rtld.c: Include "setup-vdso.h".
36166 (dl_main): Call setup_vdso.
36167
23c31b76
JM
361682012-10-05 Joseph Myers <joseph@codesourcery.com>
36169
28234b07
JM
36170 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36171 creal in comment listing functions tested. List finite, isinf,
36172 isnan, isless, islessequal, isgreater, isgreaterequal,
36173 islessgreater, isunordered, lgamma_r and pow10 as functions and
36174 macros not tested. Mention which functions not tested are aliases
36175 for other functions. Fix typo. Note that signs of NaNs are not
36176 tested.
36177
23c31b76
JM
36178 * scripts/config.guess: Update from config.git.
36179 * scripts/config.sub: Likewise.
36180
9043e228
RM
361812012-10-04 Roland McGrath <roland@hack.frob.com>
36182
36183 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36184 * misc/madvise.c (madvise): Renamed to __madvise.
36185 Make madvise a weak alias.
36186 * include/sys/mman.h: Declare __madvise.
36187 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36188 * sysdeps/unix/syscalls.list
36189 (madvise): Make __madvise the strong name, and madvise a weak alias.
36190 * sysdeps/unix/sysv/linux/syscalls.list
36191 (madvise, mmap): Remove redundant entries.
36192 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36193 * malloc/malloc.c (mtrim): Likewise.
36194 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36195
f57f8055
RM
361962012-10-03 Roland McGrath <roland@hack.frob.com>
36197
36198 * sysdeps/mach/hurd/dl-cache.c: File removed.
36199 * config.h.in (USE_LDCONFIG): New #undef.
36200 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36201 * configure: Regenerated.
36202 * elf/Makefile (dl-routines): Add dl-cache only under
36203 [$(use-ldconfig) = yes].
36204 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36205 cache on [USE_LDCONFIG].
36206 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36207 [USE_LDCONFIG].
36208 * elf/rtld.c (dl_main): Likewise.
36209
5bb0c10a
PT
362102012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36211
36212 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36213 _SC_LEVEL4_CACHE_LINESIZE.
36214
010188c6
RM
362152012-10-03 Roland McGrath <roland@hack.frob.com>
36216
36217 * sysdeps/unix/bsd/confstr.h: File removed.
36218
b6c5ec07
AO
362192012-10-02 Alexandre Oliva <aoliva@redhat.com>
36220
36221 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36222 sys/sdt-config.h.
36223
408223d4
RM
362242012-10-02 Roland McGrath <roland@hack.frob.com>
36225
36226 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36227 Make 'mapoff' field ElfW(Off) rather than off_t.
36228
bb9510dc
DL
362292012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36230
fc997c6e
DL
36231 * nscd/Makefile: Remove nscd-cflags and all its users.
36232 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36233 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36234
bb9510dc
DL
36235 [BZ #10631]
36236 * malloc.c (malloc_printerr): Clarify error message.
36237
05699367
L
362382012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36239
36240 [BZ #14648]
36241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36242 Set bit_FMA_Usable if FMA is supported.
36243 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36244 macro.
36245 (bit_FMA4_Usable): Updated.
36246 (index_FMA_Usable): New macro.
36247 (CPUID_FMA): Likewise
36248 (HAS_FMA): Defined with bit_FMA_Usable.
36249
51367701
RM
362502012-10-01 Roland McGrath <roland@hack.frob.com>
36251
36252 * bits/types.h (__swblk_t): Type removed.
36253 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36254 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36255 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36256 (__SWBLK_T_TYPE): Likewise.
36257 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36258 (__SWBLK_T_TYPE): Likewise.
36259 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36260 (__SWBLK_T_TYPE): Likewise.
36261 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36262 (__SWBLK_T_TYPE): Likewise.
36263
4d57bf63 362642012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36265 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36266
36267 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36268 (xdr_mapname): Use YPMAXMAP as maxsize.
36269 (xdr_peername): Use YPMAXPEER as maxsize.
36270 (xdr_keydat): Use YPAXRECORD as maxsize.
36271 (xdr_valdat): Use YPMAXRECORD as maxsize.
36272
93c65d43
RM
362732012-10-01 Roland McGrath <roland@hack.frob.com>
36274
497a03d6
RM
36275 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36276
93c65d43
RM
36277 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36278 * csu/init-first.c: ... here.
36279 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36280 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36281 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36282 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36283 * sysdeps/i386/init-first.c: File removed.
36284 * sysdeps/sh/init-first.c: File removed.
36285
bec749fd
JM
362862012-10-01 Joseph Myers <joseph@codesourcery.com>
36287
36288 [BZ #14645]
36289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36290 if x * y might underflow to zero and z is zero.
36291 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36293 * math/libm-test.inc (min_subnorm_value): New variable.
36294 (fma_test): Add more tests.
36295 (fma_test_towardzero): Likewise.
36296 (fma_test_downward): Likewise
36297 (fma_test_upward): Likewise.
36298 (initialize): Set min_subnorm_value.
36299
8ec5b013
JM
363002012-09-29 Joseph Myers <joseph@codesourcery.com>
36301
36302 [BZ #14638]
36303 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36304 0 + 0.
36305 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36306 mode for addition resulting in exact zero.
36307 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36308 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36309 exact 0 + 0.
36310 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36312 * math/libm-test.inc (fma_test): Add more tests.
36313 (fma_test_towardzero): New function.
36314 (fma_test_downward): Likewise.
36315 (fma_test_upward): Likewise.
36316 (main): Call the new functions.
36317
b1fa802e
DM
363182012-09-28 David S. Miller <davem@davemloft.net>
36319
36320 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36321
d3b9fd9e
RM
363222012-09-28 Roland McGrath <roland@hack.frob.com>
36323
ea4d37b3
RM
36324 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36325 instead of SIGALRM.
36326
ac51c949
RM
36327 * sysdeps/gnu/_G_config.h: Moved to ...
36328 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36329 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36330 * sysdeps/generic/_G_config.h: ... here.
36331
28c195f7
RM
36332 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36333
848917f9
RM
36334 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36335
6bacf05b
RM
36336 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36337 Conditionalize target on [libnss_test1.so-version].
36338
91363dbb
RM
36339 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36340
cc87f7d8
RM
36341 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36342 (elfobjdir): Move out of conditionals.
36343
b1c608fe
RM
36344 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36345 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36346 (__nss_lookup_function): Conditionalize label remove_from_tree on
36347 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36348
1d9a6d96
DM
363492012-09-28 David S. Miller <davem@davemloft.net>
36350
36351 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36352 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36353 file.
36354 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36355 sysdep_routines.
36356 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36357 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36358 when HWCAP_SPARC_CRYPTO is present.
36359
72581615
PT
363602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36361
36362 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36363
715a900c
JL
363642012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36365
36366 [BZ #6530]
36367 * stdio-common/vfprintf.c (process_string_arg): Revert
36368 2000-07-22 change.
36369
363702011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36371
36372 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36373 for testcase.
36374 * stdio-common/tst-sprintf.c: Include <locale.h>
36375 (main): Test sprintf's handling of incomplete multibyte
36376 characters.
36377
9bac1d86
L
363782012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36379
36380 * elf/dl-runtime.c (VERSYMIDX): Removed.
36381 * elf/dl-version.c (VERSYMIDX): Likewise.
36382 * elf/do-rel.h (VERSYMIDX): Likewise.
36383 (VALIDX): Likewise.
36384 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36385 * elf/rtld.c (VALIDX): Likewise.
36386 (ADDRIDX): Likewise.
9bac1d86
L
36387 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36388 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36389 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36390 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36391 (VALIDX): Likewise.
36392 (ADDRIDX): Likewise.
9bac1d86 36393
b31606c0
PT
363942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36395
36396 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36397
11541177
JL
363982012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36399
36400 [BZ #11438]
36401 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36402 to global scope.
36403 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36404 addresses are in the same scope as 192.0.2/24.
36405 * posix/gai.conf: Document new scope table defaults.
36406
adb26fae
SP
364072012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36408
36409 [BZ #5298]
36410 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36411 for ftell. Compute offsets from write pointers instead.
36412 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36413
4573c6b0
SP
364142012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36415
36416 [BZ #14543]
36417 * libio/Makefile (tests): New test case tst-fseek.
36418 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36419 combination works in wide mode.
36420 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36421 state when the external buffer state changes.
36422
aa9bbfe6
DM
364232012-09-27 David S. Miller <davem@davemloft.net>
36424
36425 [BZ #14376]
36426 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36427 pass reloc->r_addend in as the 'high' argument to
36428 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36429
784421e7
DM
36430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36431
c39bc8b8
PT
364322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36433
36434 * rt/tst-aio2.c: Include <pthread.h>.
36435 * rt/tst-aio3.c: Likewise.
36436
1ccc2399
SE
364372012-09-27 Steve Ellcey <sellcey@mips.com>
36438
36439 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36440
31ed4153
L
364412012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36442
25f5f885
L
36443 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36444 contents on [SHARED].
31ed4153 36445
b7bfe116
MP
364462012-09-26 Marek Polacek <polacek@redhat.com>
36447
36448 [BZ #14530]
36449 [BZ #13741]
36450 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36451 for C++ and GCC <4.3 as well as for non GCC compilers.
36452
43c4edba
MT
364532012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36454
36455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36456
6a1bf82f
RM
364572012-09-25 Roland McGrath <roland@hack.frob.com>
36458
36459 * Makefile.in (all, install): Declare with .PHONY.
36460 Reported by Michael Hope <michael.hope@linaro.org>.
36461
8ad11b9a
TMQMF
364622012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36463
36464 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36465 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36466 system header.
36467 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36468 Likewise.
36469 (sydep_routines): Add the new and the internal functions.
36470 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36471 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36473 (GLIBC_2.17): Add the new function.
36474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36475 (GLIBC_2.17): Likewise.
36476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36477 (GLIBC_2.17): Likewise.
36478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36479 (GLIBC_2.17): Likewise.
36480 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36481
7e2fca8d
AM
364822012-09-25 Alan Modra <amodra@gmail.com>
36483
36484 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36485 Add release barrier before setting once_control to say
36486 initialisation is done. Add hints on lwarx. Use macro in
36487 place of isync.
36488 (clear_once_control): Add release barrier.
36489
b87c4b24
JM
364902012-09-25 Joseph Myers <joseph@codesourcery.com>
36491
d032e0d2
JM
36492 [BZ #13629]
36493 * math/s_clog.c (__clog): Handle more values close to |z| = 1
36494 specially.
36495 * math/s_clog10.c (__clog10): Likewise.
36496 * math/s_clog10f.c (__clog10f): Likewise.
36497 * math/s_clog10l.c (__clog10l): Likewise.
36498 * math/s_clogf.c (__clogf): Likewise.
36499 * math/s_clogl.c (__clogl): Likewise.
36500 * math/Makefile (libm-calls): Add x2y2m1.
36501 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36502 (__x2y2m1): Likewise.
36503 (__x2y2m1l): Likewise.
36504 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36505 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36506 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36507 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36508 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36509 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36510 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36511 * sysdeps/i386/fpu/libm-test-ulps: Update.
36512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36513
b87c4b24
JM
36514 [BZ #14621]
36515 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36516 int as type of variable DEPTH.
36517 (glob): Use size_t instead of int as type of variables NEWCOUNT
36518 and OLD_PATHC.
36519
6d3bf199
LD
365202012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36521
22bf5c17
LD
36522 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36523 Add s_sincosf-sse2.
36524 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36525 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36526 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36527 macros for using routine as __sincosf_ia32.
36528 Use macro for function declaration and weak_alias.
36529 * sysdeps/i386/fpu/libm-test-ulps: Update.
36530
36531 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36533
36534 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
36535 subnormal argument.
36536 * math/s_cexpf.c (__cexpf): Likewise.
36537 * math/s_csinf.c (__csinf): Likewise.
36538 * math/s_csinhf.c (__csinhf): Likewise.
36539 * math/s_ctanf.c (__ctanf): Likewise.
36540 * math/s_ctanhf.c (__ctanhf): Likewise.
36541 * math/s_ccosh.c (__ccoshf): Likewise.
36542 * math/s_cexp.c (__cexpl): Likewise.
36543 * math/s_csin.c (__csin): Likewise.
36544 * math/s_csinh.c (__csinh): Likewise.
36545 * math/s_ctan.c (__ctan): Likewise.
36546 * math/s_ctanh.c (ctanh): Likewise.
36547 * math/s_ccoshl.c (__ccoshl): Likewise.
36548 * math/s_cexpl.c (__cexpl): Likewise.
36549 * math/s_csinl.c (__csinl): Likewise.
36550 * math/s_csinhl.c (__csinhl): Likewise.
36551 * math/s_ctanl.c (__ctanl): Likewise.
36552 * math/s_ctanhl.c (__ctanhl): Likewise.
36553
203e5603
JM
365542012-09-25 Joseph Myers <joseph@codesourcery.com>
36555
36556 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36557 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36558 (_IO_off_t): Define to __off_t, not _G_off_t.
36559 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36560 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36561 (_IO_wint_t): Define to wint_t, not _G_wint_t.
36562 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36563 type of __dummy and __dummy2 fields.
36564 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36565 (_G_ssize_t): Likewise.
36566 (_G_off_t): Likewise.
36567 (_G_pid_t): Likewise.
36568 (_G_uid_t): Likewise.
36569 (_G_wchar_t): Likewise.
36570 (_G_wint_t): Likewise.
36571 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36572 (_G_ssize_t): Likewise.
36573 (_G_off_t): Likewise.
36574 (_G_pid_t): Likewise.
36575 (_G_uid_t): Likewise.
36576 (_G_wchar_t): Likewise.
36577 (_G_wint_t): Likewise.
36578 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36579 (_G_ssize_t): Likewise.
36580 (_G_off_t): Likewise.
36581 (_G_pid_t): Likewise.
36582 (_G_uid_t): Likewise.
36583 (_G_wchar_t): Likewise.
36584 (_G_wint_t): Likewise.
36585
9fab36eb
SP
365862012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36587
36588 * malloc/arena.c: Include malloc-sysdep.h.
36589 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36590 is sufficient to shrink the heap or an unmap is needed.
36591 * sysdeps/generic/malloc-sysdep.h: New file. Define
36592 new function check_may_shrink_heap.
36593 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36594 new function check_may_shrink_heap.
36595
2b4f00d1
SP
365962012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36597
36598 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36599 comments.
36600
9a9028b1
DL
366012012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36602
57c69bef
DL
36603 * catgets/test-gencat.sh: Add "set -e".
36604 * elf/tst-pathopt.sh: Likewise.
36605 * grp/tst_fgetgrent.sh: Likewise.
36606 * iconvdata/run-iconv-test.sh: Likewise.
36607 * intl/tst-gettext.sh: Likewise.
36608 * intl/tst-gettext2.sh: Likewise.
36609 * intl/tst-gettext4.sh: Likewise.
36610 * intl/tst-gettext6.sh: Likewise.
36611 * intl/tst-translit.sh: Likewise.
36612 * io/ftwtest-sh: Likewise.
36613 * libio/test-freopen.sh: Likewise.
36614 * malloc/tst-mtrace.sh: Likewise.
36615 * posix/globtest.sh: Likewise.
36616 * posix/tst-getconf.sh: Likewise.
36617 * posix/wordexp-tst.sh: Likewise.
36618 * stdio-common/tst-printf.sh: Likewise.
36619 * stdio-common/tst-unbputc.sh: Likewise.
36620 * stdlib/tst-fmtmsg.sh: Likewise.
36621 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36622 * catgets/Makefile: Do not specify -e option when running
36623 testsuite shell scripts.
36624 * elf/Makefile: Likewise.
36625 * grp/Makefile: Likewise.
36626 * iconvdata/Makefile: Likewise.
36627 * intl/Makefile: Likewise.
36628 * io/Makefile: Likewise.
36629 * libio/Makefile: Likewise.
36630 * malloc/Makefile: Likewise.
36631 * posix/Makefile: Likewise.
36632 * stdio-common/Makefile: Likewise.
36633 * stdlib/Makefile: Likewise.
36634 * sysdeps/x86_64/Makefile: Likewise.
36635
9a9028b1
DL
36636 * io/ftwtest-sh: Add copyright header.
36637 * posix/globtest.sh: Likewise.
36638 * posix/tst-getconf.sh: Likewise.
36639 * posix/wordexp-tst.sh: Likewise.
36640 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36641
ced6f16e
L
366422012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36643
94b32c39
L
36644 [BZ #13679]
36645 * Makeconfig (+link): Defined as $(+link-static) if
36646 $(build-shared) isn't yes.
36647 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36648 isn't yes.
36649 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36650
189e935b
L
36651 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36652
ced6f16e
L
36653 [BZ #14562]
36654 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36655 new chunk size with MALLOC_ALIGN_MASK.
36656
a9f8e53a
JM
366572012-09-24 Joseph Myers <joseph@codesourcery.com>
36658
36659 [BZ #5044]
36660 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36661 <rounding-mode.h>.
36662 (__printf_fphex): Determine rounding using get_rounding_mode and
36663 round_away.
36664 * stdio-common/tst-printf-round.c (struct hex_test): New
36665 structure.
36666 (hex_tests): New variable.
36667 (test_hex_in_one_mode): New function.
36668 (do_test): Also run tests for hex float output.
36669
43153109
JM
366702012-09-21 Joseph Myers <joseph@codesourcery.com>
36671
36672 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36673 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36674 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36675 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36676 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36677 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36678 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36680
8a26625d
JM
366812012-09-20 Joseph Myers <joseph@codesourcery.com>
36682
36683 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36684 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36685 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36686 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36687
f3fd569c
DL
366882012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36689
36690 [BZ #14579]
36691 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36692 mode only.
36693 * elf/tst-rtld-load-self.sh: New test.
36694 * elf/Makefile: Run it.
36695
63bbedd4
JM
366962012-09-18 Joseph Myers <joseph@codesourcery.com>
36697
36698 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36699 (tst-writev-ENV): Remove.
36700 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36701
626f8b6a
CM
367022012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36703
36704 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36705
b7aaa4d6
JM
367062012-09-17 Joseph Myers <joseph@codesourcery.com>
36707
36708 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36709 unconditional.
36710 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36711 Likewise.
36712 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36713 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36714 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36715 Likewise.
36716
65513990
L
367172012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36718
36719 [BZ #14587]
36720 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36721 * config.make.in (have-cpp-asm-debuginfo): Removed.
36722 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36723 * configure: Regenerated.
36724
784761be
JM
367252012-09-14 Joseph Myers <joseph@codesourcery.com>
36726
36727 [BZ #5044]
36728 * stdio-common/printf_fp.c: Include <stdbool.h> and
36729 <rounding-mode.h>.
36730 (___printf_fp): Determine rounding using get_rounding_mode and
36731 round_away.
36732 * stdio-common/tst-printf-round.c: New file.
36733 * stdio-common/Makefile (tests): Add tst-printf-round.
36734 (link-libm): New variable.
36735 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36736
9503345f
L
367372012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36738
36739 [BZ #14576]
36740 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36741 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36742 Likewise.
36743 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36744 Likewise.
36745
ad35fc00
JM
367462012-09-13 Joseph Myers <joseph@codesourcery.com>
36747
36748 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36749 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36750 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36751 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36752
6c9b0f68
JM
367532012-09-12 Joseph Myers <joseph@codesourcery.com>
36754
36755 [BZ #14518]
36756 * include/rounding-mode.h: New file.
36757 * sysdeps/generic/get-rounding-mode.h: Likewise.
36758 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36759 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36760 (MAX_VALUE): New macro.
36761 (MIN_VALUE): Likewise.
36762 (overflow_value): New function.
36763 (underflow_value): Likewise.
36764 (round_and_return): Use overflow_value and underflow_value to
36765 determine return values in overflow and underflow cases. Use
36766 round_away to determine rounding depending on rounding mode.
36767 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36768 determine return values in overflow and underflow cases.
36769 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36770 (struct test_results): New structure.
36771 (struct test): Use struct test_results to store expected results
36772 for all rounding modes.
36773 (TEST): Include expected results for all rounding modes.
36774 (test_in_one_mode): New function.
36775 (do_test): Use test_in_one_mode to compute and check results.
36776 Check results for all rounding modes.
36777 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36778 $(link-libm).
36779
19fcedd5
AM
367802012-12-09 Allan McRae <allan@archlinux.org>
36781
1e9d84cd 36782 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 36783
8bbfd2f1
JM
367842012-09-11 Joseph Myers <joseph@codesourcery.com>
36785
36786 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36787 (_G_int32_t): Likewise.
36788 (_G_uint16_t): Likewise.
36789 (_G_uint32_t): Likewise.
36790 (_G_HAVE_BOOL): Likewise.
36791 (_G_HAVE_ATEXIT): Likewise.
36792 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36793 (_G_HAVE_IO_FILE_OPEN): Likewise.
36794 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36795 (_G_int32_t): Likewise.
36796 (_G_uint16_t): Likewise.
36797 (_G_uint32_t): Likewise.
36798 (_G_HAVE_BOOL): Likewise.
36799 (_G_HAVE_ATEXIT): Likewise.
36800 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36801 (_G_HAVE_IO_FILE_OPEN): Likewise.
36802 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36803 (_G_int32_t): Likewise.
36804 (_G_uint16_t): Likewise.
36805 (_G_uint32_t): Likewise.
36806 (_G_HAVE_BOOL): Likewise.
36807 (_G_HAVE_ATEXIT): Likewise.
36808 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36809 (_G_HAVE_IO_FILE_OPEN): Likewise.
36810
b1dc5912
L
368112012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36812
36813 * csu/libc-tls.c: Update copyright years.
36814
0e886ef9
JM
368152012-09-10 Joseph Myers <joseph@codesourcery.com>
36816
28361c5e
JM
36817 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36818 [!_G_USING_THUNKS]: Remove conditional code.
36819 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36820 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36821
0e886ef9
JM
36822 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36823 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36824 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36825 (_G_VTABLE_LABEL_PREFIX): Likewise.
36826 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36827 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36828 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36829 (_G_VTABLE_LABEL_PREFIX): Likewise.
36830 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36831 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36832 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36833 (_G_VTABLE_LABEL_PREFIX): Likewise.
36834 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36835
bcba7aa2
L
368362012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36837
36838 * libio/Makefile: Include ../Makeconfig before tests.
36839 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36840 only if $(build-shared) is yes.
36841
06585ee8
L
36842 * iconv/gconv_db.c: Update copyright years.
36843
80ccd52c
LD
368442012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36845
36846 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36847 unwind info if defined PIC. Fix special cases description.
36848 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36849
36850 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36851 DP_HI_MASK entry.
36852 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36853
691bc9c1
L
368542012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36855
3d9b46b3
L
36856 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36857
de2139a9
L
36858 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36859 is NULL.
36860
5ca78dd0
L
36861 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36862 (LDLIBS-tst-chk4): This.
36863 (LDFLAGS-tst-chk5): Renamed to ...
36864 (LDLIBS-tst-chk5): This.
36865 (LDFLAGS-tst-chk6): Renamed to ...
36866 (LDLIBS-tst-chk6): This.
36867 (LDFLAGS-tst-lfschk4): Renamed to ...
36868 (LDLIBS-tst-lfschk4): This.
36869 (LDFLAGS-tst-lfschk5): Renamed to ...
36870 (LDLIBS-tst-lfschk5): This.
36871 (LDFLAGS-tst-lfschk6): Renamed to ...
36872 (LDLIBS-tst-lfschk6): This.
36873
691bc9c1
L
36874 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36875 on $(common-objpfx)soversions.mk.
36876
65cafb1c
JM
368772012-09-07 Joseph Myers <joseph@codesourcery.com>
36878
36879 [BZ #10014]
36880 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36881 example host name.
36882
c78ab094
SP
368832012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36884
36885 * malloc/arena.c (arena_get_retry): New function that gets
36886 another arena for the caller to try its request on.
36887 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36888 current arena cannot fulfill the request.
36889 (__libc_memalign): Likewise.
36890 (__libc_memalign): Likewise.
36891 (__libc_pvalloc): Likewise.
36892 (__libc_calloc): Likewise.
36893
01f49f59
JT
368942012-09-05 John Tobey <john.tobey@gmail.com>
36895
36896 [BZ #13542]
36897 * manual/arith.texi (Operations on Complex): Fix description
36898 of carg branch cut.
36899
4c23fed5
JM
369002012-09-06 Joseph Myers <joseph@codesourcery.com>
36901
1d3c8572
JM
36902 [BZ #10014]
36903 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36904 host name.
36905
4c23fed5
JM
36906 [BZ #10038]
36907 * manual/memory.texi (Memory): Make order of menu items match
36908 order of sections.
36909
04570aaa
L
369102012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36911
36912 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36913 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36914 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36915
b80af2f4
L
369162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36917
36918 * csu/libc-tls.c (static_dtv): Renamed to ...
36919 (_dl_static_dtv): This. Make it global.
36920 (_dl_initial_dtv): Removed.
36921 (__libc_setup_tls): Updated.
36922 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36923 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36924 DL_INITIAL_DTV.
36925
2abe9f15
PM
369262012-09-06 Petr Machata <pmachata@redhat.com>
36927
36928 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36929 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36930 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36931 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36932
0948c3af
L
369332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36934
36935 [BZ #14545]
36936 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36937 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36938 freeing dtv[-1].
36939
a5055ad1
L
369402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36941
36942 [BZ #14544]
36943 * Makeconfig (link-static-before-libc): Replace $(+prector)
36944 with $(+prectorT).
36945 (link-static-after-libc): Replace $(+postctor) with
36946 $(+postctorT).
36947 (link-bounded): Replace $(+prector)/$(+postctor) with
36948 $(+prectorT)/$(+postctorT).
36949 (+prectorT): New macro.
36950 (+postctorT): Likewise.
36951
ed8c2ecd
JM
369522012-09-06 Joseph Myers <joseph@codesourcery.com>
36953
36954 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36955 (round_str): Handle values above the maximum for IBM long double
36956 as inexact.
36957 * stdlib/tst-strtod-round.c (tests): Regenerated.
36958
14c996c8
AK
369592012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36960
36961 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36962 assembler flag.
36963 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36964 zarch_nohighgprs around the zarch optimized routines.
36965 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36966 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36967 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36968 for zarch.
36969
430d6ce6
DM
369702012-09-05 David S. Miller <davem@davemloft.net>
36971
36972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36973
57f41c40
AS
36974 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36975 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
36976 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36977 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36978 entries.
36979
24d4e01b
AO
369802012-09-05 Alexandre Oliva <aoliva@redhat.com>
36981
36982 * malloc/arena.c: Fold copyright years.
36983 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36984
61d58174
AO
369852012-09-05 Alexandre Oliva <aoliva@redhat.com>
36986
36987 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36988
20196a5e
AO
369892012-09-05 Alexandre Oliva <aoliva@redhat.com>
36990
36991 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36992
5c447383
AO
369932012-09-05 Alexandre Oliva <aoliva@redhat.com>
36994
36995 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36996 change internal state upon failure.
36997
fad64255
AO
369982012-09-05 Alexandre Oliva <aoliva@redhat.com>
36999
37000 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37001 * malloc/memusage.c (mmap): Likewise.
37002 (mmap64, mremap): Likewise. Adjust name in comment.
37003
1ffb8c90
SP
370042012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37005
37006 * libio/fileops.c: Fix typos in comments.
37007 * libio/oldfileops.c: Likewise.
37008 * libio/wfileops.c: Likewise.
37009
6ef9cc37
SP
370102012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37011
37012 [BZ #1349]
37013 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37014 (tst-malloc-usable-ENV): Set environment for test case.
37015 * malloc/hooks.c (malloc_check_get_size): New function to get
37016 requested size.
37017 * malloc/malloc.c (musable): Use malloc_check_get_size.
37018 * malloc/tst-malloc-usable.c: New test case.
37019
4d038ae3
AS
370202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37021
37022 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37023
c4e85184
AM
370242012-09-05 Allan McRae <allan@archlinux.org>
37025
b9dafc56 37026 [BZ #13966]
c4e85184
AM
37027 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37028 determine header location.
37029 * configure: Regenerated.
37030
e1343020
AS
370312012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37032
37033 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37034 float format.
37035 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37036 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37037 format.
e1343020
AS
37038 (test): Regenerate.
37039
0a9f1987
DM
370402012-09-04 David S. Miller <davem@davemloft.net>
37041
37042 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37043 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37044 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37045
29237804
FW
370462012-09-04 Florian Weimer <fweimer@redhat.com>
37047
37048 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37049 failures.
37050
edb3cb88
FW
37051 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37052
60160d83
JM
370532012-09-04 Joseph Myers <joseph@codesourcery.com>
37054
37055 [BZ #9914]
37056 * libio/iogetdelim.c: Include <limits.h>.
37057 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37058 + len + 1 would overflow.
37059
bcd6c8dc
AJ
370602012-09-03 Andreas Jaeger <aj@suse.de>
37061
37062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37063 * sysdeps/i386/fpu/libm-test-ulps: Update.
37064
4ffffbd2
LD
370652012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37066
37067 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37068 Add s_sinf-sse2, s_conf-sse2.
37069
37070 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37071 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37072 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37073 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37074
37075 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37076 for using routine as __sinf_ia32.
37077 Use macro for function declaration and weak_alias.
37078 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37079 for using routine as __cosf_ia32.
37080 Use macro for function declaration and weak_alias.
37081
37082 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37083 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37084
37085 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37086 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37088
37089 * math/libm-test.inc (cos_test): Add more test cases.
37090 (sin_test): Likewise.
37091 (sincos_test): Likewise.
37092
511fa286
AK
370932012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37094
37095 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37096 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37097 hidden.
37098 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37099
5f30cfec
L
371002012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37101
37102 [BZ #14538]
37103 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37104 first element of the GOT.
37105 (elf_machine_load_address): Return the difference between
37106 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37107
0786794f
AM
371082012-09-01 Allan McRae <allan@archlinux.org>
37109
5f30cfec
L
37110 [BZ #13412]
37111 * configure.in (AWK): Require gawk version 3.0 or later.
37112 * configure: Regenerated.
0786794f 37113
26889eac
JM
371142012-09-01 Joseph Myers <joseph@codesourcery.com>
37115
37116 * sysdeps/unix/sysv/linux/kernel-features.h
37117 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37118 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37119 [__NR_clock_getres]: Make code unconditional.
37120 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37121 (clock_getcpuclockid): Remove code left unreachable by removal of
37122 conditionals.
37123 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37124 code unconditional.
37125 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37126 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37127 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37128 Make code unconditional.
37129 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37130 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37131 * sysdeps/unix/sysv/linux/clock_settime.c
37132 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37133 conditional code.
37134 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37135 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37136
d22e28b0
L
371372012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37138
37139 [BZ #14476]
37140 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37141 scripts/test-installation.pl.
37142
37143 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37144 and $ld_so_version if it is set.
37145
050af9c4
SP
371462012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37147
37148 [BZ #14516]
37149 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37150 failure if reading from procfs failed.
37151 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37152
ad845c0b
JM
371532012-08-27 Joseph Myers <joseph@codesourcery.com>
37154
37155 * sysdeps/unix/sysv/linux/kernel-features.h
37156 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37157 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37158 Remove conditional code.
37159 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37160 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37161 Remove conditional code.
37162 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37163 * sysdeps/unix/sysv/linux/i386/fxstat.c
37164 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37166 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37167 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37168 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37169 * sysdeps/unix/sysv/linux/i386/lxstat.c
37170 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37171 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37172 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37173 Remove conditional code.
37174 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37175 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37176 Remove conditional code.
37177 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37178 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37179 <kernel-features.h>.
37180 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37181 Remove.
37182 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37183 Remove conditional code.
37184 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37185 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37186 Remove conditional.
37187
5dbf56af
MF
371882012-08-27 Mike Frysinger <vapier@gentoo.org>
37189
37190 [BZ #5400]
37191 * NEWS: Add fixed bug number.
37192
d6e70f43
JM
371932012-08-27 Joseph Myers <joseph@codesourcery.com>
37194
7efb4737
JM
37195 [BZ #14519]
37196 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37197 underflowing exponent in case of negative sign.
37198 * stdlib/tst-strtod-round-data: Add more tests.
37199 * stdlib/tst-strtod-round.c (tests): Regenerated.
37200
af92131a
JM
37201 [BZ #3479]
37202 * stdlib/strtod_l.c (NDIG): Remove.
37203 (HEXNDIG): Likewise.
37204 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37205 smallest representable value.
37206 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37207 lie within an exact representation of 1/2 ulp of the result.
37208 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37209 unconditionally.
37210 (TENS_P9_IDX): Define unconditionally.
37211 (TENS_P9_SIZE): Likewise.
37212 (TENS_P10_IDX): Likewise.
37213 (TENS_P10_SIZE): Likewise.
37214 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37215 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37216 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37217 entries for 10^2^13 and 10^2^14.
37218 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37219 (TENS_P13_IDX): Define.
37220 (TENS_P13_SIZE): Likewise.
37221 (TENS_P14_IDX): Likewise.
37222 (TENS_P14_SIZE): Likewise.
37223 (_fpioconst_pow10): Change array size to
37224 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37225 unconditional.
37226 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37227 1024]: Add entries for 10^2^13 and 10^2^14.
37228 [LAST_POW10 > _LAST_POW10]: Remove #error.
37229 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37230 (_fpioconst_pow10): Change array size to
37231 FPIOCONST_POW10_ARRAY_SIZE.
37232 * stdlib/gen-fpioconst.c: New file.
37233 * stdlib/gen-tst-strtod-round.c: Likewise.
37234 * stdlib/tst-strtod-round-data: Likewise.
37235 * stdlib/tst-strtod-round.c: Likewise.
37236 * stdlib/Makefile (tests): Add tst-strtod-round.
37237
d6e70f43
JM
37238 [BZ #14459]
37239 * stdlib/strtod_l.c: Include <stdint.h>.
37240 (NDEBUG): Do not define.
37241 (round_and_return): Change EXPONENT parameter to type intmax_t.
37242 Rearrange calculations to avoid internal overflow possibilities.
37243 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37244 Rearrange calculations to avoid internal overflow possibilities.
37245 Assert that number fits inside MPNSIZE limbs.
37246 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37247 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37248 calculations and add assertions to avoid internal overflow
37249 possibilities. Add casts to avoid signed/unsigned operations.
37250 * stdlib/tst-strtod-overflow.c: New file.
37251 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37252
1f529f7d
MP
372532012-08-25 Marek Polacek <polacek@redhat.com>
37254
37255 * time/time.h: Fix some typos in comments.
37256
59a629f1
RM
372572012-08-23 Roland McGrath <roland@hack.frob.com>
37258
37259 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37260 * posix/tst-rfc3484-2.c: Likewise.
37261 * posix/tst-rfc3484-3.c: Likewise.
37262
d3bafbc9
SM
372632012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37264
37265 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37266 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37267
4efcc022
JM
372682012-08-23 Joseph Myers <joseph@codesourcery.com>
37269
37270 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37271 #include of fxstatat64.c.
37272
3cc3ef96
RM
372732012-08-22 Roland McGrath <roland@hack.frob.com>
37274
f04e2132
RM
37275 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37276 * shadow/getspent_r.c: Likewise.
37277 * shadow/getspnam.c: Likewise.
37278 * shadow/getspnam_r.c: Likewise.
37279 * gshadow/getsgent.c: Likewise.
37280 * gshadow/getsgent_r.c: Likewise.
37281 * gshadow/getsgnam.c: Likewise.
37282 * gshadow/getsgnam_r.c: Likewise.
37283 * inet/getnetbyad.c: Likewise.
37284 * inet/getnetbyad_r.c: Likewise.
37285 * inet/getnetbynm.c: Likewise.
37286 * inet/getnetbynm_r.c: Likewise.
37287 * inet/getnetent.c: Likewise.
37288 * inet/getnetent_r.c: Likewise.
37289 * inet/getproto.c: Likewise.
37290 * inet/getproto_r.c: Likewise.
37291 * inet/getprtent.c: Likewise.
37292 * inet/getprtent_r.c: Likewise.
37293 * inet/getprtname.c: Likewise.
37294 * inet/getprtname_r.c: Likewise.
37295 * inet/getrpcbyname.c: Likewise.
37296 * inet/getrpcbyname_r.c: Likewise.
37297 * inet/getrpcbynumber.c: Likewise.
37298 * inet/getrpcbynumber_r.c: Likewise.
37299 * inet/getrpcent.c: Likewise.
37300 * inet/getrpcent_r.c: Likewise.
37301 * inet/getaliasent.c: Likewise.
37302 * inet/getaliasent_r.c: Likewise.
37303 * inet/getaliasname.c: Likewise.
37304 * inet/getaliasname_r.c: Likewise.
37305 * nscd/getgrgid_r.c: Likewise.
37306 * nscd/getgrnam_r.c: Likewise.
37307 * nscd/gethstbyad_r.c: Likewise.
37308 * nscd/gethstbynm3_r.c: Likewise.
37309 * nscd/getpwnam_r.c: Likewise.
37310 * nscd/getpwuid_r.c: Likewise.
37311 * nscd/getsrvbynm_r.c: Likewise.
37312 * nscd/getsrvbypt_r.c: Likewise.
37313 * nscd/gai.c: Likewise.
37314
c53d909c
RM
37315 * configure.in (build_nscd): New substituted variable, set
37316 by --disable-build-nscd and defaults to $use_nscd.
37317 * configure: Regenerated.
37318 * config.make.in (build-nscd): New substituted variable.
37319 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37320 Change conditional to require [$(build-nscd) = yes] as well.
37321 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37322
3cc3ef96
RM
37323 [BZ# 13696]
37324 * configure.in (use_nscd): New substituted variable, set by
37325 --disable-nscd. If enabled, define USE_NSCD.
37326 * configure: Regenerated.
37327 * config.h.in: Add USE_NSCD.
37328 * config.make.in (use-nscd): New substituted variable.
37329 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37330 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37331 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37332 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37333 (CFLAGS-getgrnam_r.c): Likewise.
37334 (CFLAGS-initgroups.c): Likewise.
37335 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37336 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37337 Variables removed.
37338 * inet/getnetgrent_r.c
37339 (nscd_setnetgrent): New function, broken out of ...
37340 (setnetgrent): ... here. Call it.
37341 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37342 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37343 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37344 * nscd/Makefile (routines, aux): Move definitions after include of
37345 Makeconfig. Conditionalize on [$(use-nscd) != no].
37346 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37347 Conditionalize on [USE_NSCD].
37348 (is_nscd, nscd_init_cb): Likewise.
37349 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37350 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37351 * nss/nss_db/db-init.c: Likewise.
37352 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37353 [USE_NSCD].
37354 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37355 (make_request): Use it.
37356 (cache_valid_p): New function.
37357 (__check_pf): Use it.
37358 * NEWS: Add item for --disable-nscd.
37359
07e51550
DL
373602012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37361
37362 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37363 to support sed >= 4.2.1-20-ga9bf076.
37364 * configure: Regenerated.
37365
35a5b08b
RM
373662012-08-22 Roland McGrath <roland@hack.frob.com>
37367
37368 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37369 Conditionalize whole body on [IREL].
37370
8479f23a
JL
373712012-08-22 Jeff Law <law@redhat.com>
37372
37373 [BZ #14505]
37374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37375 if the family is PF_UNSPEC.
37376
48da0b21
MF
373772012-08-22 Mike Frysinger <vapier@gentoo.org>
37378
37379 * Makerules (lib-version): Rename from V.
37380 (install-lib-nosubdir): Change V to lib-version.
37381
15d0da8c
WS
373822012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37383
37384 [BZ #14252]
37385 * powerpc32/power6/wcschr.c: New file.
37386 * powerpc32/power6/wcscpy.c: New file.
37387 * powerpc32/power6/wcsrchr.c: New file.
37388 * powerpc64/power6/wcschr.c: New file.
37389 * powerpc64/power6/wcscpy.c: New file.
37390 * powerpc64/power6/wcsrchr.c: New file.
37391
bcca0895
MK
373922012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37393
37394 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37395 (two_way_short_needle): Use it.
5a4aaa33
RM
37396 * string/strstr.c (AVAILABLE1_USES_J): Define.
37397 * string/strcasestr.c: Likewise.
99677e57
MK
37398
37399 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37400 array references.
37401 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37402
400726de
MK
37403 [BZ #11607]
37404 * NEWS: Add an entry.
37405 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37406 define their defaults.
37407 (two_way_short_needle): Detect end-of-string on-the-fly.
37408 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37409 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37410 * string/bug-strcasestr1.c: New test.
37411 * string/Makefile: Run it.
37412
20a71f2c
MK
374132012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37414
37415 [BZ #11607]
37416 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37417 the first character.
37418
21ad0558
RM
374192012-08-21 Roland McGrath <roland@hack.frob.com>
37420
37421 * csu/elf-init.c (__libc_csu_irel): Function removed.
37422 * csu/libc-start.c (apply_irel): New function.
37423 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37424
0e1d9911
JM
374252012-08-21 Joseph Myers <joseph@codesourcery.com>
37426
37427 * sysdeps/unix/sysv/linux/kernel-features.h
37428 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37429 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37430 <kernel-features.h>.
37431 [__NR_fadvise64_64]: Make code unconditional.
37432 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37433 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37434 !__NR_fadvise64_64)]: Likewise.
37435 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37436 !__NR_fadvise64_64))]: Likewise.
37437 [__NR_fadvise64]: Make code unconditional.
37438 [!__NR_fadvise64]: Remove conditional code.
37439 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37440 <kernel-features.h>.
37441 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37442 unconditional.
37443 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37444 conditional code.
37445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37446 not include <kernel-features.h>.
37447 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37448 unconditional.
37449 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37450 conditional code.
37451 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37452 include <kernel-features.h>.
37453 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37454 unconditional.
37455 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37456 conditional code.
37457
14a50c9d
WS
374582012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37459
37460 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37461 slight instruction rearrangements per scrollpipe analysis.
37462 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37463
c0f4faf0
RM
374642012-08-20 Roland McGrath <roland@hack.frob.com>
37465
696da859
RM
37466 * manual/syslog.texi (syslog; vsyslog, closelog):
37467 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37468 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37469
c0f4faf0
RM
37470 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37471 DSOCAPS to match condition on defining it.
37472
348363b2
JM
374732012-08-20 Joseph Myers <joseph@codesourcery.com>
37474
a35cbf28
JM
37475 * sysdeps/unix/sysv/linux/kernel-features.h
37476 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37478 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37479 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37481 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37482 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37484 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37485 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37486
445f7ecd
JM
37487 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37488 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37489
348363b2
JM
37490 * sysdeps/unix/sysv/linux/kernel-features.h
37491 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37492 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37493 unconditional.
37494 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37495 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37496 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37497 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37498 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37499 Make code unconditional.
37500 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37501 (__mmap64) [!__NR_mmap2]: Likewise.
37502 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37503 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37504 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37505 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37506 [__NR_mmap2]: Make code unconditional.
37507 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37508 (__mmap64) [!__NR_mmap2]: Likewise.
37509
bc5bc0e5
AK
375102012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37511
37512 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37513
88d506de
AJ
375142012-08-18 Andreas Jaeger <aj@suse.de>
37515
37516 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37517
493387d2
MF
375182012-08-18 Mike Frysinger <vapier@gentoo.org>
37519
37520 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37521 * include/unistd.h (__have_sock_cloexec): Likewise.
37522 (__have_pipe2): Likewise.
37523 (__have_dup3): Likewise.
37524
a277af22
MF
375252012-08-18 Mike Frysinger <vapier@gentoo.org>
37526
37527 [BZ #9685]
37528 * include/unistd.h (__have_pipe2): Change define into an extern int.
37529 (__have_dup3): Likewise.
37530 * socket/have_sock_cloexec.c: Include fcntl.h.
37531 (__have_pipe2): New variable.
37532 (__have_dup3): Likewise.
37533
fdab8fd3
MF
375342012-08-17 Mike Frysinger <vapier@gentoo.org>
37535
37536 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37537
31035e80
MP
375382012-08-17 Marek Polacek <polacek@redhat.com>
37539
37540 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37541 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37542
3bd9e993
RM
375432012-08-17 Roland McGrath <roland@hack.frob.com>
37544
c91c505f
RM
37545 * configure.in: Add AC_SUBST for sysheaders.
37546 * configure: Regenerated.
37547 * config.make.in (sysheaders): New substituted variable.
37548
7c6f9d53
RM
37549 * sysdeps/unix/mkfifo.c: Moved ...
37550 * sysdeps/posix/mkfifo.c: ... here.
37551 * sysdeps/unix/mkfifoat.c: Moved ...
37552 * sysdeps/posix/mkfifoat.c: ... here.
37553
37554 * sysdeps/unix/utime.c: Moved ...
37555 * sysdeps/posix/utime.c: ... here.
37556
37557 * sysdeps/unix/time.c: Moved ...
37558 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
37559 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37560 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
37561
37562 * sysdeps/unix/nice.c: Moved ...
37563 * sysdeps/posix/nice.c: ... here.
37564
37565 * sysdeps/unix/alarm.c: Moved ...
37566 * sysdeps/posix/alarm.c: ... here.
37567
3bd9e993
RM
37568 * intl/Makefile ($(codeset_mo)): Depend on the input file.
37569
d1f09384
JL
375702012-08-17 Jeff Law <law@redhat.com>
37571
37572 * intl/Makefile (codeset_mo): New variable.
37573 ($(codeset_mo)): New target.
37574 (tst-codeset.out): Depend on that. Remove explicit rule.
37575 (tst-gettext3.out, tst-gettext5.out): Likewise.
37576 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37577 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37578 * intl/tst-codeset.sh: Remove.
37579 * intl/tst-gettext3.sh: Likewise.
37580 * intl/tst-gettext5.sh: Likewise.
37581
2ae1ae5c
RM
375822012-08-17 Roland McGrath <roland@hack.frob.com>
37583
c31fdb83
RM
37584 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37585 * sysdeps/unix/syscalls.list: ... here.
37586
a0844057
RM
37587 * sysdeps/posix/getaddrinfo.c
37588 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37589 (gaiconf_init, gaiconf_reload): Use them.
37590 [!_STATBUF_ST_NSEC]
37591 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37592 Define using time_t rather than struct timespec.
37593
750c1f2a
RM
37594 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37595 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37596 Macros removed.
37597 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37598 [!NO_THREADS].
37599 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37600 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37601 Likewise.
37602
2ae1ae5c
RM
37603 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37604 __libc_cleanup_push argument.
37605
e66a42f5
RM
37606 * bits/param.h: New file.
37607 * misc/sys/param.h: New file.
37608 * include/sys/param.h: New file.
37609 * misc/Makefile (headers): Add bits/param.h.
37610 * sysdeps/generic/sys/param.h: File removed.
37611 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37612 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37613 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 37614 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 37615
b7c08a66
RM
37616 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37617 last change.
37618
b2e1c562
RM
37619 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37620 [_IO_MTSAFE_IO].
37621 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37622 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37623 New macros.
37624
c75ccd4c
RM
37625 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37626 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37627 rather than -D_IO_MTSAFE_IO conditionally.
37628 * stdio-common/Makefile (CPPFLAGS): Likewise.
37629 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37630 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37631 Use $(libio-mtsafe).
37632 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37633 of -D_IO_MTSAFE_IO.
37634 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37635 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37636 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37637 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37638 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37639 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37640 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37641 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37642 (CFLAGS-fread_u_chk.c): Likewise.
37643 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37644 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37645 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37646 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37647 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37648 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37649 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37650 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37651 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37652
37653 * libio/Makefile: Test [$(libc-reentrant) = yes]
37654 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37655
37656 * Makeconfig
37657 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37658 * sysdeps/pthread/configure: File removed.
37659 * sysdeps/pthread/Makeconfig: New file.
37660 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37661 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37662
d9195db8
GB
376632012-08-16 Gary Benson <gbenson@redhat.com>
37664
37665 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37666 unmapping the first object in a namespace.
37667
86466cd9
RM
376682012-08-16 Roland McGrath <roland@hack.frob.com>
37669
37670 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37671 (__internal_setnetgrent): ... this. Add internal_function to
37672 definition. Add libc_hidden_def.
37673 (setnetgrent): Update caller.
37674 (internal_endnetgrent): Renamed to ...
37675 (__internal_endnetgrent): ... this. Add internal_function to
37676 definition. Add libc_hidden_def.
37677 (endnetgrent): Update caller.
37678 (internal_getnetgrent_r): Renamed to ...
37679 (__internal_getnetgrent_r): ... this. Add internal_function to
37680 definition. Add libc_hidden_def.
37681 (__getnetgrent_r): Update caller.
37682 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37683
c3c8283c
JM
376842012-08-16 Joseph Myers <joseph@codesourcery.com>
37685
37686 * stdlib/longlong.h: Update from GCC.
37687
db1ee0a8
RM
376882012-08-16 Roland McGrath <roland@hack.frob.com>
37689
37690 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37691 on _QL, which is set by umul_ppmm but never used.
37692 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37693 variables, which are set by GMP macros but never used.
37694 * stdio-common/_itowa.c (_itowa): Likewise.
37695 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37696 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37697
30f69637
CD
376982012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37699
37700 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37701 struct La_sh_regs is not constant.
37702 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37703 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37704 and struct La_sparc64_regs are not constant.
37705
93a78ac4
JM
377062012-08-16 Joseph Myers <joseph@codesourcery.com>
37707
37708 * sysdeps/unix/sysv/linux/kernel-features.h
37709 (__ASSUME_POSIX_TIMERS): Remove.
37710 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37711 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37712 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37713 Make code unconditional.
37714 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37715 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37716 Make code unconditional.
37717 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37718 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37719 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37720 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37721 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37722 Make code unconditional.
37723 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37724 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37725 (__libc_missing_posix_timers): Remove.
37726
dd924cd7
RM
377272012-08-15 Roland McGrath <roland@hack.frob.com>
37728
4b4f2771
RM
37729 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37730 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37731
601c888b
RM
37732 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37733
176790a7
RM
37734 * elf/dl-sym.c: Include <stdlib.h>.
37735
329bc018
RM
37736 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37737 constants, which avoids warnings in 32-bit builds.
37738
e04e272d
RM
37739 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37740 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37741
952bf94a
RM
37742 * misc/lseek.c: File moved to ...
37743 * io/lseek.c: ... here.
37744
7c99b50a
RM
37745 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37746
dd924cd7
RM
37747 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37748 shifting LEN more than 31 bits at once.
37749
b3f479a8
LD
377502012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37751
37752 [BZ #14195]
8c4ae0d4
RM
37753 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37754 segmentation fault for a case of two empty input strings.
b3f479a8
LD
37755 * string/test-strncasecmp.c (check1): Renamed to...
37756 (bz12205): ...this.
37757 (bz14195): Add new testcase for two empty input strings and N > 0.
37758 (test_main): Call new testcase, adapt for renamed function.
37759
9c55864e
AJ
377602012-08-15 Andreas Jaeger <aj@suse.de>
37761
37762 [BZ #14090]
37763 * crypt/md5test2.c: New test, based on test supplied by Serge
37764 Belyshev <belyshev@depni.sinp.msu.ru>.
37765 * crypt/Makefile (xtests): Add md5test-giant..
37766 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37767
02dcb6c5
PE
377682012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37769
37770 [BZ #14090]
37771 * crypt/md5.c (md5_process_block): Don't assume the buffer
37772 length is less than 2**32.
37773 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37774 length is less than 2**64.
37775
a3f95dcc
RM
377762012-08-15 Roland McGrath <roland@hack.frob.com>
37777
be75d758
RM
37778 * string/str-two-way.h: Include <sys/param.h>.
37779 (MAX): Macro removed.
37780
7312ca90
RM
37781 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37782 Move #define and #undef of memmove to just before and after
37783 including <string.h>.
37784
9a0a5486
RM
37785 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37786 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37787 and after including <string.h>. Move declarations of
37788 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37789 to before #include "string/memmove.c".
37790
67cc348d
RM
37791 * include/dirent.h: Declare __getdirentries.
37792
a3f95dcc
RM
37793 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37794 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37795
ca98e171
MF
377962012-08-14 Mike Frysinger <vapier@gentoo.org>
37797
37798 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37799 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37800 * sysdeps/i386/configure: Regenerated.
37801 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37802 STABS_CURRENT_FILE, and STABS_FUN.
37803 (END): Remove call to STABS_FUN_END.
37804 (STABS_CURRENT_FILE1): Delete.
37805 (STABS_CURRENT_FILE): Likewise.
37806 (STABS_FUN): Likewise.
37807 (STABS_FUN_END): Likewise.
37808 (STABS_FUN2): Likewise.
37809 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37810 * sysdeps/x86_64/configure: Regenerated.
37811
5908bf46
RM
378122012-08-14 Roland McGrath <roland@hack.frob.com>
37813
37814 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 37815 * elf/dl-lookup.c: Likewise.
5908bf46 37816
f2c05b9e
JM
378172012-08-14 Joseph Myers <joseph@codesourcery.com>
37818
37819 * sysdeps/unix/sysv/linux/kernel-features.h
37820 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37821 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37822 unconditionally.
37823 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37824 unconditionally.
37825 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37826 condition on __ASSUME_CLONE_THREAD_FLAGS.
37827
e11f5155
AJ
378282012-08-14 Andreas Jaeger <aj@suse.de>
37829
37830 * sysdeps/i386/fpu/libm-test-ulps: Update.
37831
51a9ba86
MK
378322012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37833
2fdd4f78
AJ
37834 * include/atomic.h (atomic_exchange_and_add): Split into ...
37835 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37836 New atomic macros.
51a9ba86 37837
ba6cba9e
MT
378382012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37839
37840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37841
42443a47
JL
378422012-08-13 Jeff Law <law@redhat.com>
37843
37844 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37845 null byte in the output string.
37846
121dce05
JM
378472012-08-10 Joseph Myers <joseph@codesourcery.com>
37848
37849 * sysdeps/unix/sysv/linux/kernel-features.h
37850 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37851 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37852 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37854 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37855 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37856 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37857
bf51f568
JL
378582012-08-09 Jeff Law <law@redhat.com>
37859
37860 [BZ #13939]
37861 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37862 When avoid_arena is set, don't retry in the that arena. Pick the
37863 next one, whatever it might be.
37864 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37865 (arena_lock): Pass in new parameter to arena_get2.
37866 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37867 arena_get2.
37868 (__libc_malloc): Unify retrying after main arena failure with
37869 __libc_memalign version.
37870 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37871
f85fa270
L
378722012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37873
37874 [BZ #14166]
37875 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37876 to __redirect_strstr.
37877 (__strstr_sse42): Use typeof __redirect_strstr.
37878 (__strstr_ia32): Likewise.
37879 (__libc_strstr): New prototype.
37880 (strstr): Renamed to ...
37881 (__libc_strstr): This.
37882 (strstr): New strong alias of __libc_strstr.
37883 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37884 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37885 __redirect_time.
37886 Include <time.h>.
37887 (__libc_time): New prototype.
37888 (time_ifunc): Replace time with __libc_time.
37889 (time): New strong alias and hidden definition of __libc_time.
37890 (__GI_time): Remove strong alias.
37891 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37892 Include <stddef.h>.
37893 (memmove): Redefined to __redirect_memmove.
37894 (__memmove_sse2): Use typeof __redirect_memmove.
37895 (__memmove_ssse3): Likewise.
37896 (__memmove_ssse3_back): Likewise.
37897 (__libc_memmove): New prototype.
37898 (memmove): Renamed to ...
37899 (__libc_memmove): This.
37900 (memmove): New strong alias of __libc_memmove.
37901
33b4a91e
MS
379022012-08-08 Mark Salter <msalter@redhat.com>
37903
37904 * elf/elf.h
37905 (R_MN10300_TLS_GD): Define.
37906 (R_MN10300_TLS_LD): Likewise.
37907 (R_MN10300_TLS_LDO): Likewise.
37908 (R_MN10300_TLS_GOTIE): Likewise.
37909 (R_MN10300_TLS_IE): Likewise.
37910 (R_MN10300_TLS_LE): Likewise.
37911 (R_MN10300_TLS_DTPMOD): Likewise.
37912 (R_MN10300_TLS_DTPOFF): Likewise.
37913 (R_MN10300_TLS_TPOFF): Likewise.
37914 (R_MN10300_SYM_DIFF): Likewise.
37915 (R_MN10300_ALIGN): Likewise.
37916 (R_MN10300_NUM): Update.
37917
b36137f1
JM
379182012-08-08 Joseph Myers <joseph@codesourcery.com>
37919
37920 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37921 Remove.
37922
cdd915fd
RM
379232012-08-08 Roland McGrath <roland@hack.frob.com>
37924
a2433aac
RM
37925 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37926
cdd915fd
RM
37927 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37928 sysdeps/unix -> sysdeps/posix move.
37929 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37930
bf9b740a
AM
379312012-08-07 Allan McRae <allan@archlinux.org>
37932
37933 [BZ #14303]
37934 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37935 (SUNOS_CPP): Likewise.
37936 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37937 not found.
37938 (open_input): Call CPP using execvp.
37939
93df14ee
JM
379402012-08-07 Joseph Myers <joseph@codesourcery.com>
37941
37942 * sysdeps/unix/sysv/linux/kernel-features.h
37943 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37944 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37945 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37946 (__ASSUME_WAITID_SYSCALL): Likewise.
37947 * sysdeps/unix/sysv/linux/dl-execstack.c
37948 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37949 code unconditional.
37950 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37951 conditional code.
37952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37953 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37954 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37955 code.
37956 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37957 unconditional.
37958 [__ASSUME_WAITID_SYSCALL]: Likewise.
37959 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37960
d34689de
RM
379612012-08-07 Roland McGrath <roland@hack.frob.com>
37962
a281decc
RM
37963 * sysdeps/unix/closedir.c: Renamed to ...
37964 * sysdeps/posix/closedir.c: ... here.
37965 * sysdeps/unix/dirfd.c: Renamed to ...
37966 * sysdeps/posix/dirfd.c: ... here.
37967 * sysdeps/unix/dirstream.h: Renamed to ...
37968 * sysdeps/posix/dirstream.h: ... here.
37969 * sysdeps/unix/fdopendir.c: Renamed to ...
37970 * sysdeps/posix/fdopendir.c: ... here.
37971 * sysdeps/unix/opendir.c: Renamed to ...
37972 * sysdeps/posix/opendir.c: ... here.
37973 * sysdeps/unix/readdir.c: Renamed to ...
37974 * sysdeps/posix/readdir.c: ... here.
37975 * sysdeps/unix/readdir_r.c: Renamed to ...
37976 * sysdeps/posix/readdir_r.c: ... here.
37977 * sysdeps/unix/rewinddir.c: Renamed to ...
37978 * sysdeps/posix/rewinddir.c: ... here.
37979 * sysdeps/unix/seekdir.c: Renamed to ...
37980 * sysdeps/posix/seekdir.c: ... here.
37981 * sysdeps/unix/telldir.c: Renamed to ...
37982 * sysdeps/posix/telldir.c: ... here.
37983 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37984 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37985 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37986 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37987
22895b47
RM
37988 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37989 * bits/fcntl.h: ... here.
37990
707a53b6
RM
37991 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37992 not 0.
37993 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37994 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37995 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37996 (struct flock): Move l_start, l_len to the beginning.
37997 Use __pid_t for l_pid.
37998 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37999 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38000 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38001 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38002 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38003 [__USE_LARGEFILE64] (struct flock64): New type.
38004 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38005
f0bd3e25
RM
38006 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38007 * bits/dirent.h: ... here.
38008
d34689de
RM
38009 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38010 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38011
6dad2c06
JM
380122012-08-07 Joseph Myers <joseph@codesourcery.com>
38013
38014 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38015 Change from 2.6.0 to 2.6.16.
38016 * sysdeps/unix/sysv/linux/configure: Regenerated.
38017 * sysdeps/unix/sysv/linux/kernel-features.h
38018 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38019 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38020 version.
38021 (__ASSUME_UTIMES): Likewise.
38022 (__ASSUME_CLONE_STOPPED): Remove.
38023 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38024 architectures, not kernel version.
38025 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38026 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38027 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38028 (__ASSUME_WAITID_SYSCALL): Likewise.
38029 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38030 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38031 * README: State 2.6.16 as minimum Linux kernel version. Do not
38032 refer to older versions.
38033
03af9520
RM
380342012-08-06 Roland McGrath <roland@hack.frob.com>
38035
8e49df1d
RM
38036 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38037 Define alphasort64 as an alias.
38038 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38039 Define versionsort64 as an alias.
38040 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38041 Define scandir64 as an alias.
38042 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38043 Define scandirat64 as an alias.
38044 * dirent/alphasort64.c (alphasort64):
38045 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38046 * dirent/versionsort64.c: Likewise.
38047 * dirent/scandir64.c: Likewise.
38048 * dirent/scandirat64.c: Likewise.
38049 * sysdeps/wordsize-64/alphasort.c: File removed.
38050 * sysdeps/wordsize-64/alphasort64.c: File removed.
38051 * sysdeps/wordsize-64/scandir.c: File removed.
38052 * sysdeps/wordsize-64/scandir64.c: File removed.
38053 * sysdeps/wordsize-64/scandirat.c: File removed.
38054 * sysdeps/wordsize-64/scandirat64.c: File removed.
38055 * sysdeps/wordsize-64/versionsort.c: File removed.
38056 * sysdeps/wordsize-64/versionsort64.c: File removed.
38057 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38058 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38059 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38061 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38063 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38064 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38065
38066 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38068 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38070 [defined __arch64__ || defined __sparcv9]
38071 (__INO_T_MATCHES_INO64_T): New macro.
38072 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38073 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38074 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38075 * sysdeps/unix/sysv/linux/bits/dirent.h
38076 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38077 (_DIRENT_MATCHES_DIRENT64): New macro.
38078
03af9520
RM
38079 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38080 Define lockf64 as an alias.
38081 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38082 Define fseeko64 as an alias.
38083 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38084 Define ftello64 as an alias.
38085 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38086 Define _IO_fgetpos64 and fgetpos64 as aliases.
38087 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38088 Define _IO_fsetpos64 and fsetpos64 as aliases.
38089 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38090 Conditionalize body on this.
38091 * libio/fseeko64.c: Likewise.
38092 * libio/ftello64.c: Likewise.
38093 * libio/iofgetpos64.c: Likewise.
38094 * libio/iofsetpos64.c: Likewise.
38095 * sysdeps/wordsize-64/lockf.c: File removed.
38096 * sysdeps/wordsize-64/lockf64.c: File removed.
38097 * sysdeps/wordsize-64/fseeko.c: File removed.
38098 * sysdeps/wordsize-64/fseeko64.c: File removed.
38099 * sysdeps/wordsize-64/ftello.c: File removed.
38100 * sysdeps/wordsize-64/ftello64.c: File removed.
38101 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38102 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38103 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38104 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38105 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38106 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38107 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38108 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38109 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38110 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38111 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38112 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38113 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38114 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38115
38116 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38117 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38118 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38120 [defined __arch64__ || defined __sparcv9]
38121 (__OFF_T_MATCHES_OFF64_T): New macro.
38122 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38123 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38125 (__OFF_T_MATCHES_OFF64_T): New macro.
38126
c5757acd
L
381272012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38128
38129 * stdlib/secure-getenv.c (__secure_getenv): Replace
38130 GLIBC_2_16 with GLIBC_2_17.
38131
3a31811e
L
381322012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38133
38134 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38135 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38136
faa2bccb
DM
381372012-08-03 David S. Miller <davem@davemloft.net>
38138
38139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38140
85fe1997
JM
381412012-08-03 Joseph Myers <joseph@codesourcery.com>
38142
38143 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38144 Remove.
38145 (__ASSUME_CORRECT_SI_PID): Likewise.
38146 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38147 (__ASSUME_TMPFS_NAME): Likewise.
38148 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38149 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38150 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38151 (HAVE_AUX_SECURE): Make definition unconditional.
38152 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38153 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38154
4f75b7a0
RM
381552012-08-03 Roland McGrath <roland@hack.frob.com>
38156
38157 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38158 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38159 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38160 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38161 __eloop_threshold instead of SYMLOOP_MAX.
38162
38163 * sysdeps/generic/eloop-threshold.h: New file.
38164 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38165 of MAXSYMLINKS.
38166 * elf/chroot_canon.c (chroot_canon): Likewise.
38167
7aab07e4
JM
381682012-08-03 Joseph Myers <joseph@codesourcery.com>
38169
38170 [BZ #13717]
38171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38172 Change to 2.6.0 everywhere.
38173 * sysdeps/unix/sysv/linux/configure: Regenerated.
38174 * sysdeps/unix/sysv/linux/kernel-features.h
38175 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38176 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38177 kernel versions.
38178 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38179 (__ASSUME_FUTEX_REQUEUE): Remove.
38180 (__ASSUME_STATFS64): Define unconditionally.
38181 (__ASSUME_AT_SECURE): Likewise.
38182 (__ASSUME_CORRECT_SI_PID): Likewise.
38183 (__ASSUME_TGKILL): Define without depending on kernel version for
38184 i386.
38185 (__ASSUME_UTIMES): Likewise.
38186 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38187 kernel version.
38188 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38189 (__ASSUME_TMPFS_NAME): Likewise.
38190 * README: Update reference to Linux kernel versions.
38191
b67e9372
MP
381922012-08-02 Marek Polacek <polacek@redhat.com>
38193
1f529f7d 38194 [BZ# 14150]
b67e9372
MP
38195 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38196 libc_cv_asm_type_prefix with %.
38197 * configure: Regenerated.
d2441631
RM
38198 * include/libc-symbols.h: Remove comment about
38199 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38200 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38201 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38202 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38203 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38204 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38205 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38206 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38207 * elf/tst-unique2mod1.c: Likewise.
38208 * elf/tst-unique1mod2.c: Likewise.
38209 * elf/tst-unique1mod1.c: Likewise.
38210 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38211 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38212 Replace ASM_TYPE_DIRECTIVE with .type.
38213 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38214 * sysdeps/i386/sysdep.h: Likewise.
38215 * sysdeps/x86_64/sysdep.h: Likewise.
38216 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38218 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38219 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38220 * sysdeps/powerpc/powerpc32/sysdep.h:
38221 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38222 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38223 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38224 * sysdeps/i386/fpu/e_powf.S: Likewise.
38225 * sysdeps/i386/fpu/e_expl.S: Likewise.
38226 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38227 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38228 * sysdeps/i386/fpu/e_pow.S: Likewise.
38229 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38230 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38231 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38232 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38233 * sysdeps/i386/fpu/e_log2.S: Likewise.
38234 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38235 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38236 * sysdeps/i386/fpu/e_powl.S: Likewise.
38237 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38238 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38239 * sysdeps/i386/fpu/e_logl.S: Likewise.
38240 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38241 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38242 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38243 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38244 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38245 * sysdeps/i386/fpu/e_log.S: Likewise.
38246 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38247 * sysdeps/i386/fpu/e_logf.S: Likewise.
38248 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38249 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38250 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38251 * sysdeps/i386/fpu/e_log10.S: Likewise.
38252 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38254 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38255 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38256 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38257 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38258 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38259 * sysdeps/i386/i686/strtok.S: Likewise.
38260 * sysdeps/i386/i386-mcount.S: Likewise.
38261 * sysdeps/i386/strtok.S: Likewise.
38262 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38263 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38264 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38265 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38266 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38267 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38268 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38269 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38270 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38271 * sysdeps/x86_64/_mcount.S: Likewise.
38272 * sysdeps/x86_64/strtok.S: Likewise.
38273 * sysdeps/sh/_mcount.S: Likewise.
38274
2747bf9a
RM
382752012-08-01 Roland McGrath <roland@hack.frob.com>
38276
38277 * libio/iofopen.c: Include <fcntl.h>.
38278 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38279 (_IO_fopen64, fopen64): Define as aliases.
38280 * libio/iofopen64.c: Include <fcntl.h>.
38281 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38282 Conditionalize body on this.
38283 * sysdeps/wordsize-64/iofopen.c: File removed.
38284 * sysdeps/wordsize-64/iofopen64.c: File removed.
38285
3fb791b8
MP
382862012-08-01 Marek Polacek <polacek@redhat.com>
38287
38288 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38289 Use dlfcn directly instead of a variable.
38290 (binfmt-subdir): Do not define.
38291 (dlfcn): Likewise.
38292
a9f1039f
JM
382932012-08-01 Joseph Myers <joseph@codesourcery.com>
38294
23bddc06
JM
38295 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38296 Remove all definitions.
38297 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38298 <kernel-features.h>.
38299 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38300 (miss_F_GETOWN_EX): Remove all definitions.
38301 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38302 macro definition.
38303 [!__ASSUME_FCNTL64]: Remove conditional code.
38304 [__ASSUME_FCNTL64]: Make code unconditional.
38305 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38306 <kernel-features.h>.
38307 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38308 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38309 (lockf64) [__NR_fcntl64]: Make code unconditional.
38310 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38311
a9f1039f
JM
38312 * sysdeps/unix/sysv/linux/kernel-features.h
38313 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38314 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38315 Make code unconditional.
38316 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38317 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38319 [__NR_vfork]: Make code unconditional.
38320 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38321 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38323 [__NR_vfork]: Make code unconditional.
38324 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38325 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38326
09c0ee5f
RM
383272012-08-01 Roland McGrath <roland@hack.frob.com>
38328
48aec5b9
RM
38329 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38330 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38331
cd97c966
RM
38332 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38333 Define mkstemp64 as an alias.
3f55550c
RM
38334 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38335 Define mkstemps64 as an alias.
cd97c966
RM
38336 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38337 Define mkostemp64 as an alias.
b8625cfc
RM
38338 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38339 Define mkostemps64 as an alias.
cd97c966
RM
38340 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38341 Conditionalize body on this.
38342 * misc/mkostemp64.c: Likewise.
b8625cfc 38343 * misc/mkostemps64.c: Likewise.
3f55550c 38344 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38345 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38346 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38347 * sysdeps/wordsize-64/mkostemp.c: File removed.
38348 * sysdeps/wordsize-64/mkstemp.c: File removed.
38349 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38350 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38351 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38352 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38353
09c0ee5f
RM
38354 [BZ #14138]
38355 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38356 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38357 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38358 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38359
38360 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38361 compat_symbol macros from <shlib-compat.h> rather than the underlying
38362 default_symbol_version and symbol_version macros, so that DEFAULT
38363 lines in shlib-versions are respected.
38364 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38365
7e66ee51
FW
383662012-08-01 Florian Weimer <fweimer@redhat.com>
38367
38368 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38369 Declare with warn_unused_result.
38370 (setgid, setregid, setegid, setresgid): Likewise.
38371 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38372 Likewise.
38373 * WUR-REPORT: Remove set*id functions.
38374
d2a54255
PT
383752012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38376
38377 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38378
7ecdb005
RM
383792012-07-31 Roland McGrath <roland@hack.frob.com>
38380
b4180a5e 38381 [BZ #10191]
789bd351
RM
38382 * include/sys/socket.h (__libc_accept, __libc_accept4):
38383 Add attribute_hidden.
38384 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38385
40ce302d
RM
38386 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38387 use of PTR_MANGLE.
38388 * inet/getnetgrent_r.c (setup): Likewise.
38389
7ecdb005
RM
38390 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38391
e2eabb2c
DM
383922012-07-31 David S. Miller <davem@davemloft.net>
38393
38394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38395
d0419dbf
JM
383962012-07-31 Joseph Myers <joseph@codesourcery.com>
38397
38398 [BZ #13629]
38399 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38400 value between 1.0 and 2.0 and smaller part has absolute value less
38401 than 1.0.
38402 * math/s_clog10.c (__clog10): Likewise.
38403 * math/s_clog10f.c (__clog10f): Likewise.
38404 * math/s_clog10l.c (__clog10l): Likewise.
38405 * math/s_clogf.c (__clogf): Likewise.
38406 * math/s_clogl.c (__clogl): Likewise.
38407 * math/libm-test.inc (clog_test): Add more tests.
38408 (clog10_test): Likewise.
38409 * sysdeps/i386/fpu/libm-test-ulps: Update.
38410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38411
2bc13872
FW
384122012-07-31 Florian Weimer <fweimer@redhat.com>
38413
38414 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38415 Exit with zero in case no suitable GID is found, and write a
38416 message to standard error.
38417
bea9b193
RM
384182012-07-30 Roland McGrath <roland@hack.frob.com>
38419
38420 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38421 rather than to 1.
38422 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38423 (MAXPATHLEN): Removed.
38424 (NOGROUP, NODEV): New macros.
38425 (setbit, clrbit, isset, isclr): New macros.
38426 (howmany, roundup, powerof2): New macros.
38427 (DEV_BSIZE): New macro.
38428
38429 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38430 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38431
38432 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38433 definition on [!__NO_LONG_DOUBLE_MATH].
38434
38435 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38436 PTR_MANGLE and PTR_DEMANGLE.
38437
38438 * socket/accept4.c (accept4): Rename to __libc_accept4.
38439 Define accept4 as a weak alias.
38440
38441 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38442 on [_DIRENT_HAVE_D_TYPE].
38443 * io/ftw.c (ftw_dir): Likewise.
38444
38445 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38446
38447 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38448
38449 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38450 Use the BSD numbers rather than the arbitrary ones we had.
38451 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38452 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38453 (SIGXCPU, SIGXFSZ): New macros.
38454 (_NSIG): Now 32.
38455
38456 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38457 initializer on [_LIBC_REENTRANT].
38458
38459 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38460 definitions inside [_POSIX_MAPPED_FILES].
38461
38462 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38463
38464 * dirent/opendir.c: Include <fcntl.h>.
38465
38466 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38467 (__libc_getspecific): Likewise.
38468 (__libc_key_create): Likewise.
38469
38470 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38471 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38472 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38473 (tmpfile64): Define as alias.
38474 * sysdeps/wordsize-64/tmpfile.c: File removed.
38475 * sysdeps/wordsize-64/tmpfile64.c: File removed.
38476 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38477 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38478
38479 * stdio-common/vfscanf.c: Include <stdbool.h>.
38480 * nss/makedb.c: Likewise.
38481 * stdio-common/_i18n_number.h: Likewise.
38482 * argp/argp-help.c: Likewise.
38483 * posix/wordexp.c: Likewise.
38484 * sysdeps/posix/spawni.c: Likewise.
38485 * nss/nss_files/files-initgroups.c: Likewise.
38486 * stdio-common/reg-modifier.c: Include <stdlib.h>.
38487 * nss/nss_files/files-initgroups.c: Likewise.
38488 * nss/nss_db/db-netgrp.c: Likewise.
38489 * nss/nss_db/db-initgroups.c: Likewise.
38490 * io/fchmodat.c: Include <sys/stat.h>.
38491
38492 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38493 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38494
38495 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38496 [HAVE_MMAP].
38497
38498 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38499 Add multiple inclusion protection.
38500
e5abc686
DM
385012012-07-27 David S. Miller <davem@davemloft.net>
38502
38503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38504
815e6fa3
GB
385052012-07-27 Gary Benson <gbenson@redhat.com>
38506
38507 [BZ #14298]
38508 * elf/rtld.c: Include <stap-probe.h>.
38509 (dl_main): Added static probes "init_start" and "init_complete".
38510 * elf/dl-load.c: Include <stap-probe.h>.
38511 (lose): Take new parameter "nsid".
38512 Added static probe "map_failed".
38513 (_dl_map_object_from_fd): Pass namespace id to lose.
38514 Added static probe "map_start".
38515 (open_verify): Pass namespace id to lose.
38516 * elf/dl-open.c: Include <stap-probe.h>.
38517 (dl_open_worker) Added static probes "map_complete", "reloc_start"
38518 and "reloc_complete".
38519 * elf/dl-close.c: Include <stap-probe.h>.
38520 (_dl_close_worker): Added static probes "unmap_start" and
38521 "unmap_complete".
38522 * elf/rtld-debugger-interface.txt: New file documenting the above.
38523
9f98c16c
RM
385242012-07-26 Roland McGrath <roland@hack.frob.com>
38525
38526 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38527 rather than a string variable.
38528 * sunrpc/rpc_main.c (h_output): Likewise.
38529 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38530
f3c22df3
PT
385312012-07-26 Pino Toscano <toscano.pino@tiscali.it>
38532
38533 * inet/check_native.c: New file.
38534
3129cfc6
JM
385352012-07-26 Joseph Myers <joseph@codesourcery.com>
38536
da865e95
JM
38537 [BZ #13629]
38538 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38539 if larger part has absolute value 1.0.
38540 * math/s_clog10.c (__clog10): Likewise.
38541 * math/s_clog10f.c (__clog10f): Likewise.
38542 * math/s_clog10l.c (__clog10l): Likewise.
38543 * math/s_clogf.c (__clogf): Likewise.
38544 * math/s_clogl.c (__clogl): Likewise.
38545 * math/libm-test.inc (clog_test): Add more tests.
38546 (clog10_test): Likewise.
38547 * sysdeps/i386/fpu/libm-test-ulps: Update.
38548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38549
3129cfc6
JM
38550 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38551 (pltexit): Likewise.
38552 (La_regs): Likewise.
38553 (La_retval): Likewise.
38554 (int_retval): Likewise.
38555 Update #error for removed macros to refer only to definitions in
38556 tst-audit.h.
38557 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38558 macro.
38559 (pltexit): Likewise.
38560 (La_regs): Likewise.
38561 (La_retval): Likewise.
38562 (int_retval): Likewise.
38563 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38564 macro.
38565 (pltexit): Likewise.
38566 (La_regs): Likewise.
38567 (La_retval): Likewise.
38568 (int_retval): Likewise.
38569 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38570 macro.
38571 (pltexit): Likewise.
38572 (La_regs): Likewise.
38573 (La_retval): Likewise.
38574 (int_retval): Likewise.
38575 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38576 macro.
38577 (pltexit): Likewise.
38578 (La_regs): Likewise.
38579 (La_retval): Likewise.
38580 (int_retval): Likewise.
38581 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38582 macro.
38583 (pltexit): Likewise.
38584 (La_regs): Likewise.
38585 (La_retval): Likewise.
38586 (int_retval): Likewise.
38587 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38588 macro.
38589 (pltexit): Likewise.
38590 (La_regs): Likewise.
38591 (La_retval): Likewise.
38592 (int_retval): Likewise.
38593 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38594 macro definitions in tst-audit.h.
38595 * sysdeps/i386/tst-audit.h: New file.
38596 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38597 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38598 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38599 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38600 * sysdeps/sh/tst-audit.h: Likewise.
38601 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38602 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38603 * sysdeps/x86_64/tst-audit.h: Likewise.
38604
bfc07087
AJ
386052012-07-26 Andreas Jaeger <aj@suse.de>
38606
b1b2aaf8
AJ
38607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38608 ptrace.
38609
38610 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38611 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38612 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38613 PTRACE_O_MASK.
38614 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38615 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38616 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38617
bfc07087
AJ
38618 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38619 value.
38620
38621 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38622 _sigsys.
38623 (si_call_addr, si_syscall, si_arch): Define new macro.
38624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38625 _sigsys.
38626 (si_call_addr, si_syscall, si_arch): Define new marcro.
38627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38628 _sigsys.
38629 (si_call_addr, si_syscall, si_arch): Define new macro.
38630 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38631 _sigsys.
38632 (si_call_addr, si_syscall, si_arch): Define new macro.
38633
89b4b02f
JM
386342012-07-25 Joseph Myers <joseph@codesourcery.com>
38635
38636 [BZ #13717]
38637 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38638 Change to 2.4.21 where previously 2.4.1.
38639 * sysdeps/unix/sysv/linux/configure: Regenerated.
38640 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38641 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38642 Linux kernel version.
38643 (__ASSUME_STD_AUXV): Remove.
38644 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38645 kernel version.
38646 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38647 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38648 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38649 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38650 (__ASSUME_NETLINK_SUPPORT): Likewise.
38651 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38652 (__no_netlink_support): Remove conditional definition.
38653 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38654 Remove.
38655 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38656 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38657 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38658 (if_nameindex_ioctl): Remove.
38659 (if_nameindex_netlink): Do not handle __no_netlink_support.
38660 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38661 code.
38662 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38663 Remove conditional code.
38664 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38665 code.
38666 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38667 unconditional.
38668 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38669 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38670 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38671 Remove.
38672 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38673 [!__ASSUME_STD_AUXV]: Remove conditional code.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38675 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38676 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38678 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38679 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38680 code.
38681 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38683 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38684 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38685 conditional code.
38686 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38688 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38689 code.
38690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38691 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38692 conditional code.
38693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38694 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38695 code unconditional.
38696 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38697 conditional code.
38698 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38699 unconditional.
38700 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38701 conditional code.
38702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38703 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38704 unconditional.
38705 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38706 conditional code.
38707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38708 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38709 code unconditional.
38710 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38711 conditional code.
38712 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38713 unconditional.
38714 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38715 conditional code.
38716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38717 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38718 code unconditional.
38719 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38720 conditional code.
38721 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38722 unconditional.
38723 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38724 conditional code.
38725
842a39cd
AS
387262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38727
38728 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38729 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38730 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38731 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38732 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38733 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38734 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38735 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38736 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38737 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38738 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38739 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38740 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38741 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38742 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38743 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38744 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38745 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38746 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38748 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38749 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38750 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38751
84b3fd84
FW
387522012-07-25 Florian Weimer <fweimer@redhat.com>
38753
38754 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
38755 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38756 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38757 Introduce __libc_secure_getenv.
0c7936d5
FW
38758 * stdlib/Versions (2.17): Add secure_getenv
38759 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38760 * stdlib/secure-getenv.c: Rename __secure_getenv to
38761 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38762 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
38763 * stdlib/tst-secure-getenv.c: New.
38764 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
38765 * manual/startup.texi (Environment Access): Document
38766 secure_getenv.
84b3fd84
FW
38767 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38768 __libc_secure_getenv.
38769 * inet/ruserpass.c (ruserpass): Likewise.
38770 * malloc/mtrace.c (mtrace): Likewise.
38771 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 38772 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
38773 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38774 * sysdeps/posix/tempname.c: Likewise. Evaluate
38775 HAVE_SECURE_GETENV.
38776 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 38777 __secure_getenv to __libc_secure_getenv.
84b3fd84 38778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
38779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38780 Likewise.
38781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38782 Likewise.
38783 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38784 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 38790
56e49b71
JM
387912012-07-25 Joseph Myers <joseph@codesourcery.com>
38792
38793 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38794 (struct La_i86_retval): Likewise.
38795 (struct La_x86_64_regs): Likewise.
38796 (struct La_x86_64_retval): Likewise.
38797 (struct La_x32_regs): Likewise.
38798 (struct La_x32_retval): Likewise.
38799 (struct La_ppc32_regs): Likewise.
38800 (struct La_ppc32_retval): Likewise.
38801 (struct La_ppc64_regs): Likewise.
38802 (struct La_ppc64_retval): Likewise.
38803 (struct La_sh_regs): Likewise.
38804 (struct La_sh_retval): Likewise.
38805 (struct La_s390_32_regs): Likewise.
38806 (struct La_s390_32_retval): Likewise.
38807 (struct La_s390_64_regs): Likewise.
38808 (struct La_s390_64_retval): Likewise.
38809 (struct La_sparc32_regs): Likewise.
38810 (struct La_sparc32_retval): Likewise.
38811 (struct La_sparc64_regs): Likewise.
38812 (struct La_sparc64_retval): Likewise.
38813 (struct audit_ifaces): Remove architecture-specific pltenter and
38814 pltexit members.
38815 * sysdeps/i386/ldsodefs.h: New file.
38816 * sysdeps/powerpc/ldsodefs.h: Likewise.
38817 * sysdeps/s390/ldsodefs.h: Likewise.
38818 * sysdeps/sh/ldsodefs.h: Likewise.
38819 * sysdeps/sparc/ldsodefs.h: Likewise.
38820 * sysdeps/x86_64/ldsodefs.h: Likewise.
38821
354691b7
MP
388222012-07-25 Marek Polacek <polacek@redhat.com>
38823
38824 [BZ #6808]
38825 * math/libm-test.inc (yn_test): Add another test.
38826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38827 to ERANGE when the result is +-Inf.
38828 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38829 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38830 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38831 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38832
bf9e2071
JM
388332012-07-24 Joseph Myers <joseph@codesourcery.com>
38834
38835 * conform/data/time.h-data (NULL): Use macro-constant. Require
38836 equal to 0.
38837 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38838 clock_t.
38839 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38840
57633811
TS
388412012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38842
38843 * configure.in <sysdeps resolving>: Correct printing
38844 Implies_before.
38845 * configure: Regenerate.
38846
c23c33b0
TS
388472012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38848
38849 * math/w_ilogb.c: Include <limits.h>.
38850 * math/w_ilogbl.c: Likewise.
38851
b5982523
JM
388522012-07-20 Joseph Myers <joseph@codesourcery.com>
38853
38854 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38855 va_copy. Document allowing for unavailable va_copy only as
38856 pre-C99 compatibility.
38857 * manual/string.texi (Copying and Concatenation): Use va_copy
38858 instead of __va_copy in concat example.
38859
ac4ea442
PT
388602012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38861
38862 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38863 (__sendto): Use create_address_port. Initialize APORT and deallocate
38864 it if not null.
38865
f98eafbd
PT
38866 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38867 with O_NOLINK passed to __file_name_lookup.
38868
898c7aab
PT
38869 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38870 with O_NOLINK passed to __file_name_lookup.
38871
0ced335a
PT
38872 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38873 negative N or less than NGIDS.
38874
b3404dbd
PT
38875 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38876 type to string_t. Set ERANGE as errno and return it if NAME is not big
38877 enough. Use memcpy instead of strncpy.
38878
0f48659e
JM
388792012-07-20 Joseph Myers <joseph@codesourcery.com>
38880
38881 * elf/Makefile (check-data): Remove.
38882 (localplt.data): New vpath directive.
38883 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38884 instead of $(check-data).
38885 * scripts/data/localplt-generic.data: Move to ...
38886 * sysdeps/generic/localplt.data: ... here.
38887 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38888 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38889 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38891 ... here.
38892 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38894 ... here.
38895 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38897 ... here.
38898 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38900 ... here.
38901 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38903 ... here.
38904 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38906 ... here.
38907
d37cbdaa
AZ
389082012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38909
38910 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38911 PPC32 and PPC64 files.
38912 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38913 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38914
46f85fc2
AK
389152012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38916
38917 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38918 __makecontext_ret to ...
38919 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38920 ... here and call exit if uc_link is NULL. New file.
38921 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38922 __makecontext_ret.S.
38923 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38924 __makecontext_ret to ...
38925 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38926 ... here and call exit if uc_link is NULL. New file.
38927 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38928 __makecontext_ret.S.
38929
08f43f9b
AK
389302012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38931
38932 * elf/elf.h (R_390_IRELATIVE): New definition.
38933 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38934 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38935 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38936 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38937 (elf_machine_lazy_rel): Likewise.
38938 * sysdeps/s390/dl-irel.h: New file.
38939 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38940 * sysdeps/s390/s390-64/memset.S: New asm code.
38941 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38942 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38943 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38944 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38945 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38946 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38947 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38948 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38949 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38950 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38951 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38952 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38953 * sysdeps/s390/s390-32/memset.S: New asm code.
38954 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38955
3b05db33
MP
389562012-07-17 Marek Polacek <polacek@redhat.com>
38957
38958 [BZ #14349]
38959 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38960 * sysdeps/s390/s390-64/configure.in: Likewise.
38961 * sysdeps/sparc/configure.in: Likewise.
38962 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38963 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38964 * sysdeps/i386/configure.in: Likewise.
38965 * sysdeps/x86_64/configure.in: Likewise.
38966 * sysdeps/sh/configure.in: Likewise.
38967 * sysdeps/s390/s390-32/configure: Regenerated.
38968 * sysdeps/s390/s390-64/configure: Likewise.
38969 * sysdeps/x86_64/configure: Likewise.
38970 * sysdeps/sh/configure: Likewise.
38971 * sysdeps/powerpc/powerpc64/configure: Likewise.
38972 * sysdeps/powerpc/powerpc32/configure: Likewise.
38973 * sysdeps/sparc/configure: Likwise.
38974 * sysdeps/i386/configure: Likewise.
38975
a66877c6
MP
38976 * elf/dl-open.c: Comment fixes.
38977
cfc82fd8
JM
389782012-07-17 Joseph Myers <joseph@codesourcery.com>
38979
bd29910a
JM
38980 * Makefile [CXX] (check-data): Remove.
38981 [CXX] (c++-types.data): New vpath directive.
38982 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38983 vpath. Do not allow for C++ type data being missing.
38984 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38985 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38986 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38987 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38988 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38989 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38990 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38992 ... here.
38993 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38995 ... here.
38996 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38998 ... here.
38999 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39001 ... here.
39002 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39004 ... here.
39005 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39007 ... here.
39008 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39010 ... here.
39011 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39013
cfc82fd8
JM
39014 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39015 definitions to architecture-specific files.
39016 (TLS_IE): Likewise.
39017 (TLS_LD): Likewise.
39018 (TLS_GD): Likewise.
39019 * sysdeps/i386/tls-macros.h: New file.
39020 * sysdeps/powerpc/tls-macros.h: Likewise.
39021 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39022 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39023 * sysdeps/sh/tls-macros.h: Likewise.
39024 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39025 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39026 * sysdeps/x86_64/tls-macros.h: Likewise.
39027
f7db3170
TS
390282012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39029
07cbfc23
TS
39030 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39031 zero value for regular exit case.
39032
f7db3170
TS
39033 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39034 (__start_context): Preserve zero value for regular exit case.
39035
dc97c227
TS
390362012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39037 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39038
39039 * manual/setjmp.texi (setcontext): Clarify normal process
39040 termination when uc_link is the null pointer.
39041 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39042 exit call.
39043
d0cd7d02
AS
390442012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39045
39046 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39047 preprocessor. Test for each exception mask separately.
39048
dd318934
AJ
390492012-07-16 Andreas Jaeger <aj@suse.de>
39050
39051 * po/ru.po: Update from translation team.
39052
8048311a
JM
390532012-07-15 Joseph Myers <joseph@codesourcery.com>
39054
39055 * conform/data/string.h-data (NULL): Use macro-constant. Require
39056 equal to 0.
39057 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39058 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39059 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39060 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39061 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39062
b637d46e
AJ
390632012-07-13 Andreas Jaeger <aj@suse.de>
39064
39065 * po/fr.po: Update from translation team.
39066
541428fe
MP
390672012-07-12 Marek Polacek <polacek@redhat.com>
39068
39069 [BZ #14173]
39070 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39071 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39072 loop condition.
39073
ec332e94
JM
390742012-07-12 Joseph Myers <joseph@codesourcery.com>
39075
39076 [BZ #13717]
39077 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39078 Change to 2.4.1 where previously 2.4.0.
39079 * sysdeps/unix/sysv/linux/configure: Regenerated.
39080 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39081 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39082 version.
39083 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39084 (__ASSUME_AT_CLKTCK): Remove.
39085 (__ASSUME_AT_PAGESIZE): Likewise.
39086 (__ASSUME_AT_XID): Likewise.
39087 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39088 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39089 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39090 unconditionally.
39091 (HAVE_AUX_PAGESIZE): Likewise.
39092 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39093 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39094 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39095
7b6e99be
JB
390962012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39097
39098 [BZ #14307]
39099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39100 the temporary buffer used to invoke __gethostbyname2_r,
39101 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39102 host_data / struct gaih_addrtuple.
39103 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39104 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39105 header file nss/nsswitch.h.
39106 * nss/nsswitch.h (global scope): Add definition of implementation
39107 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39108 resolv/nss_dns/dns-host.c).
39109
608404eb
AJ
391102012-07-11 Andreas Jaeger <aj@suse.de>
39111
39112 * po/fr.po: Update from translation team.
39113
71220aca
AJ
39114 * po/sv.po: Update from translation team
39115 * po/fr.po: Another update from translation team.
39116
28cfe843
AZ
391172012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39118
39119 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39120 for subnormals or multiply small sinh result by itself.
39121 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39123
6b90f981
DM
391242012-07-11 David S. Miller <davem@davemloft.net>
39125
39126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39127
c6825772
AS
391282012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39129
39130 [BZ #14347]
39131 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39132 (INTERNAL_MARK): Shift it here.
39133
7b8e0d49
MP
391342012-07-10 Marek Polacek <polacek@redhat.com>
39135
39136 [BZ #14151]
39137 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39138 libc_cv_asm_global_directive with .globl.
39139 * configure: Regenerated.
39140 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39141 with .globl.
39142 * sysdeps/i386/configure: Regenerated.
39143 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39144 with .globl.
39145 * sysdeps/x86_64/configure: Regenerated.
39146 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39147 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39148 * elf/tst-unique2mod2.c: Likewise.
39149 * elf/tst-unique2mod1.c: Likewise.
39150 * elf/tst-unique1mod2.c: Likewise.
39151 * elf/tst-unique1mod1.c: Likewise.
39152 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39153 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39155 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39156 * sysdeps/mach/sysdep.h: Likewise.
39157 * sysdeps/i386/sysdep.h: Likewise.
39158 * sysdeps/i386/i386-mcount.S: Likewise.
39159 * sysdeps/x86_64/_mcount.S: Likewise.
39160 * sysdeps/x86_64/sysdep.h: Likewise.
39161 * sysdeps/sh/_mcount.S: Likewise.
39162 * sysdeps/sh/sysdep.h: Likewise.
39163 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39164 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39165 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39166 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39167 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39168 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39169 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39170 * locale/localeinfo.h: Likewise.
39171 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39172 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39173
6c55cda3
RM
391742012-07-09 Roland McGrath <roland@hack.frob.com>
39175
39176 [BZ #14336]
39177 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39178 system".
39179 * manual/message.texi (The Uniforum approach): Likewise.
39180 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39181 (glibc iconv Implementation): Likewise.
39182
638a572e
JM
391832012-07-09 Joseph Myers <joseph@codesourcery.com>
39184
39185 [BZ #14337]
39186 * math/s_clog.c (__clog): Avoid scaling a value down where that
39187 could result in underflow.
39188 * math/s_clog10.c (__clog10): Likewise.
39189 * math/s_clog10f.c (__clog10f): Likewise.
39190 * math/s_clog10l.c (__clog10l): Likewise.
39191 * math/s_clogf.c (__clogf): Likewise.
39192 * math/s_clogl.c (__clogl): Likewise.
39193 * math/libm-test.inc (clog_test): Add more tests.
39194 (clog10_test): Likewise.
39195 * sysdeps/i386/fpu/libm-test-ulps: Update.
39196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39197
261f4859
AS
391982012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39199
0abaf3e4
AS
39200 [BZ #14283]
39201 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39202 by 7 not 8 to examine high bit of fractional part.
39203
261f4859
AS
39204 [BZ #14042]
39205 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39206 for call to __mcount_internal.
39207 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39208 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39209 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39210
f17ac40d
JM
392112012-07-06 Joseph Myers <joseph@codesourcery.com>
39212
9ad63c23
JM
39213 [BZ #14154]
39214 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39215 approximation for values within 0x1p-13f of an odd multiple of
39216 pi/4.
39217 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39218 exception. Add more tests.
39219 * sysdeps/i386/fpu/libm-test-ulps: Update.
39220
f17ac40d
JM
39221 [BZ #6778]
39222 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39223 inputs and return -1 for them. Do not check for +Inf in case not
39224 reachable for +Inf.
39225 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39226 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39227 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39228 and return -1 for them. Do not check for +Inf in case not
39229 reachable for +Inf.
39230 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39231 define.
39232 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39233 and return -1 for them. Do not check for +Inf in case not
39234 reachable for +Inf.
39235 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39236 spurious underflow.
39237 * sysdeps/i386/fpu/libm-test-ulps: Update.
39238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39239
fb21f89b
MF
392402012-07-06 Mike Frysinger <vapier@gentoo.org>
39241
39242 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39243
cdfe2c5e
JM
392442012-07-05 Joseph Myers <joseph@codesourcery.com>
39245
39246 [BZ #14157]
39247 [BZ #14331]
39248 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39249 could result in spurious underflow. Scale down values above
39250 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39251 * math/s_csqrtf.c (__csqrtf): Likewise.
39252 * math/s_csqrtl.c (__csqrtl): Likewise.
39253 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39254 spurious underflow.
39255 * sysdeps/i386/fpu/libm-test-ulps: Update.
39256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257
70d35b67
AS
392582012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39259
704bc459
AS
39260 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39261 xopen-msg.sed.
39262 * catgets/xopen-msg.awk: New file.
39263 * catgets/xopen-msg.sed: Removed.
39264
70d35b67
AS
39265 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39266 po2text.sed.
39267 * intl/po2test.awk: New file.
39268 * intl/po2test.sed: Removed.
39269
ca61cf32
JM
392702012-07-04 Joseph Myers <joseph@codesourcery.com>
39271
39272 [BZ #14328]
39273 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39274 or multiply small sinh result by itself.
39275 * math/s_ctanf.c (__ctanf): Likewise.
39276 * math/s_ctanh.c (__ctanh): Likewise.
39277 * math/s_ctanhf.c (__ctanhf): Likewise.
39278 * math/s_ctanhl.c (__ctanhl): Likewise.
39279 * math/s_ctanl.c (__ctanl): Likewise.
39280 * math/libm-test.inc (ctan_test_tonearest): New function.
39281 (ctan_test_towardzero): Likewise.
39282 (ctan_test_downward): Likewise.
39283 (ctan_test_upward): Likewise.
39284 (ctanh_test_tonearest): Likewise.
39285 (ctanh_test_towardzero): Likewise.
39286 (ctanh_test_downward): Likewise.
39287 (ctanh_test_upward): Likewise.
39288 (main): Call these new functions.
39289 * sysdeps/i386/fpu/libm-test-ulps: Update.
39290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39291
ca48a46a
MF
392922012-07-03 Mike Frysinger <vapier@gentoo.org>
39293
39294 * .gitignore: Delete /ports entry.
39295
9d63d37d
AJ
392962012-07-03 Andreas Jaeger <aj@suse.de>
39297
39298 * po/bg.po: Update from translation team.
39299 * po/cs.po: Likewise.
39300 * po/de.po: Likewise.
39301 * po/hr.po: Likewise.
39302 * po/nl.pl: Likewise.
39303 * po/pl.po: Likewise.
39304 * po/vi.po: Likewise.
39305
370ca3d2
JM
393062012-07-03 Joseph Myers <joseph@codesourcery.com>
39307
95f5a9a8
JM
39308 * Makeconfig [!+link] (+link-before-libc): New variable.
39309 [!+link] (+link-after-libc): Likewise.
39310 [!+link] (+link-tests): Likewise.
39311 [!+link] (+link): Define in terms of $(+link-before-libc) and
39312 $(+link-after-libc).
39313 [!+link-static] (+link-static-before-libc): New variable.
39314 [!+link-static] (+link-static-after-libc): Likewise.
39315 [!+link-static] (+link-static-tests): Likewise.
39316 [!+link-static] (+link-static): Define in terms of
39317 $(+link-static-before-libc) and $(+link-static-after-libc).
39318 [build-shared] (link-libc-before-gnulib): New variable.
39319 [build-shared] (link-libc-tests): Likewise.
39320 [build-shared] (link-libc): Define in terms of
39321 $(link-libc-before-gnulib).
39322 [!build-shared] (link-libc-tests): New variable.
39323 (link-libc-static-tests): New variable.
39324 [!gnulib] (gnulib-arch): New variable.
39325 [!gnulib] (gnulib-tests): Likewise.
39326 [!gnulib] (static-gnulib-arch): Likewise.
39327 [!gnulib] (static-gnulib-tests): Likewise.
39328 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39329 Define with "=" instead of ":=".
39330 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39331 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39332 * Rules (binaries-all-notests): New variable.
39333 (binaries-all-tests): Likewise.
39334 (binaries-static-notests): Likewise.
39335 (binaries-static-tests): Likewise.
39336 (binaries-all): Define using $(binaries-all-notests) and
39337 $(binaries-all-tests).
39338 (binaries-static): Define using $(binaries-static-notests) and
39339 $(binaries-static-tests).
39340 (binaries-shared-tests): New variable.
39341 (binaries-shared-notests): Likewise.
39342 (binaries-shared): Remove variable.
39343 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39344 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39345 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39346 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39347 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39348 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39349 * elf/Makefile (sln-modules): New variable.
39350 (extra-objs): Add $(sln-modules:=.o).
39351 (ldconfig-modules): Add static-stubs.
39352 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39353 * elf/static-stubs.c: New file.
39354
7a845b2c
JM
39355 [BZ #14283]
39356 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39357 by 7 not 8 to examine high bit of fractional part. Use volatile
39358 variables when splitting into final array of floats if
39359 __FLT_EVAL_METHOD__ != 0.
39360 * math/libm-test.inc (cos_test): Add another test.
39361 (sin_test): Likewise.
39362 * sysdeps/i386/fpu/libm-test-ulps: Update.
39363
e2283f38
JM
39364 [BZ #14273]
39365 * math/libm-test.inc (cosh_test): Add more tests.
39366
370ca3d2
JM
39367 * version.h (RELEASE): Set to "development".
39368 (VERSION): Set to "2.16.90".
39369
ee9247c3
CD
393702012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39371
39372 * NEWS: Update copyright. Remove last-updated date.
39373 Mention math library bug fixes and timezone data changes.
39374 * README: Mention GNU/Hurd, x32, and HPPA support status.
39375
4648c381
TS
393762012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39377
39378 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39379
aac78a43
AJ
393802012-06-27 Andreas Jaeger <aj@suse.de>
39381
39382 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39383
ed3dbfad
AJ
393842012-06-25 Andreas Jaeger <aj@suse.de>
39385
39386 * sysdeps/s390/fpu/libm-test-ulps: Update.
39387
4d0ee855
AS
393882012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39389 Thomas Schwinge <thomas@codesourcery.com>
39390
39391 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39392 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39393 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39394 fanotify_mark.
39395
af1bce34
TS
393962012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39397
a9fa33ba
TS
39398 * sysdeps/mach/start.c: Remove file.
39399 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39400 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39401 * sysdeps/sh/init-first.c: Likewise.
39402
58f902b8
TS
39403 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39404 registers for frame unwinding purposes, add CFI directives.
39405 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39407 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39408 Likewise.
39409
1518f58b
TS
39410 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39411 __fortify_fail returning.
39412 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39413
db9b5059
TS
39414 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39415 sysdeps/sh/____longjmp_chk.S.
39416 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39417 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39418 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39419 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39420
967705fe
TS
39421 * sysdeps/sh/abort-instr.h: New file.
39422 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39423 process in case exit returns.
39424
a9def8c4
TS
39425 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39426 initialize the GOT register before use.
39427
2a649725
TS
39428 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39429 calculation of ARGC > 4.
39430
af1bce34
TS
39431 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39432 meaningful names to some local labels.
39433
d230f50a
KK
394342012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39435 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39436
39437 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39438 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39439 (__arch_compare_and_exchange_val_16_acq): Likewise.
39440 (__arch_compare_and_exchange_val_32_acq): Likewise.
39441 (atomic_exchange_and_add): Fix gUSA sequence.
39442 (atomic_add): Likewise.
39443 (atomic_add_negative): Likewise.
39444 (atomic_add_zero): Likewise.
39445 (atomic_bit_test_set): Likewise.
39446
0479b305
AS
394472012-06-22 Andreas Schwab <schwab@redhat.com>
39448
39449 [BZ #13579]
39450 * include/link.h (struct link_map): Add l_free_initfini.
39451 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39452 l_initfini.
39453 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39454 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39455 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39456 set.
39457
0e3933b9
CD
394582012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39459
39460 * configure.in: Use AC_LANG_SOURCE.
39461 * configure: Regenerate.
39462
4248b1b1
RM
394632012-06-22 Roland McGrath <roland@hack.frob.com>
39464
39465 * configure.in (libc_cv_localstatedir): New substituted variable.
39466 * configure: Regenerated.
39467 * config.make.in (localstatedir): New variable, substituted from
39468 libc_cv_localstatedir.
39469 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39470 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39471 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39472 * sysdeps/gnu/configure: Regenerated.
39473
006dd861
JL
394742012-06-21 Jeff Law <law@redhat.com>
39475
39476 [BZ #14277]
39477 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39478 free. Simplify list management for _LIBC case.
39479
79662d42
JM
394802012-06-21 Joseph Myers <joseph@codesourcery.com>
39481
b7abb4bf
JM
39482 [BZ #14273]
39483 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39484 Clear sign bit of 64-bit integer value before comparing against
39485 overflow value.
39486
79662d42
JM
39487 * sysdeps/mach/configure: Regenerated.
39488
1f150908
L
394892012-06-21 H.J. Lu <hongjiu.lu@intel.com>
39490
39491 [BZ #14278]
39492 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39493
28363bbf
JL
394942012-06-21 Jeff Law <law@redhat.com>
39495
39496 [BZ #13882]
39497 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
39498 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 39499 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
39500 * elf/dl-open.c (dl_open_worker): Likewise.
39501
09615db4
CD
395022012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
39503
39504 * scripts/list-sources.sh: Scan PORTS for translations.
39505 * po/libc.pot: Regenerated.
39506
2174c6dd
AJ
395072012-06-21 Andreas Jaeger <aj@suse.de>
39508
39509 [BZ #12194]
39510 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39511 warning.
39512 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39513 * bits/byteswap-16.h (__bswap_16): Likewise.
39514 * bits/byteswap.h (__bswap_constant_16): Likewise.
39515
3ee947b1
L
395162012-06-18 H.J. Lu <hongjiu.lu@intel.com>
39517
39518 [BZ #14117]
a2f34833
L
39519 * sysdeps/i386/fpu_control.h: Removed.
39520 * sysdeps/x86_64/fpu_control.h: Moved to ...
39521 * sysdeps/x86/fpu_control.h: Here.
39522
3ee947b1
L
39523 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39524 (_FPU_SETCW): Likewise.
39525
ed1825f8
L
395262012-06-15 H.J. Lu <hongjiu.lu@intel.com>
39527
25f1282a
L
39528 [BZ #14117]
39529 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39530 * sysdeps/x86/fpu/bits/mathinline.h: This.
39531 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39532
ed1825f8
L
39533 [BZ #14050]
39534 [BZ #14117]
39535 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39536 functions if __x86_64__ is defined.
39537
36d54b74
CLT
395382012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
39539
39540 * string/endian.h: Add !__ASSEMBLER__ condition for including
39541 conversion interfaces.
39542
10285c21
JM
395432012-06-15 Joseph Myers <joseph@codesourcery.com>
39544
39545 [BZ #14241]
39546 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39547 of ABS(x) in calculating zero to negative powers other than odd
39548 integers.
39549 * math/libm-test.inc (pow_test): Add more tests.
39550
06c5abbd
AJ
395512012-06-15 Andreas Jaeger <aj@suse.de>
39552
39553 * manual/contrib.texi (Contributors): Update entry of Liubov
39554 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39555 Machado Filho.
39556
a3aeac40
CH
395572012-06-15 Cyril Hrubis <metan@ucw.cz>
39558
39559 * string/string.h: Add __wur to GNU version of strerror_r.
39560
49bdf4c1
L
395612012-06-14 H.J. Lu <hongjiu.lu@intel.com>
39562
39563 [BZ #14229]
39564 * string/Makefile (tests): Add tst-strtok_r.
39565 * string/tst-strtok_r.c: New file.
39566 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39567 RAX_LP/RDX_LP on SAVE_PTR.
39568
834f9b8d
RM
395692012-06-14 Roland McGrath <roland@hack.frob.com>
39570
39571 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39572
75fa1921
JM
395732012-06-14 Joseph Myers <joseph@codesourcery.com>
39574
39575 * libm_test.inc (csqrt_test): Allow more spurious underflow
39576 exceptions.
39577 (j0_test): Likewise.
39578 (j1_test): Likewise.
39579 (y0_test): Likewise.
39580 (y1_test): Likewise.
39581
771766df
CD
395822012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39583
39584 * po/Makefile (libc.pot): Use UTF-8 charset.
39585
ceb9e56b
PP
395862012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39587
39588 [BZ #14210]
39589 Suppress sign-conversion warning from FD_SET.
39590 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39591 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39592 not unsigned long int.
39593 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39594
ddb28975
L
395952012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39596
39597 [BZ #14050]
39598 [BZ #14117]
39599 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39600 __extern_always_inline instead of __extern_inline.
39601 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39602 (__signbit): Likewise.
39603 (__signbitl): Support C++ namespace.
39604 (lrintf): New inline function.
39605 (lrint): Likewise.
39606 (llrintf): Likewise.
39607 (llrint): Likewise.
39608 (fmaxf): Likewise.
39609 (fmax): Likewise.
39610 (fminf): Likewise.
39611 (fmin): Likewise.
39612 (rint): Likewise.
39613 (rintf): Likewise.
39614 (ceil): Likewise.
39615 (ceilf): Likewise.
39616 (floor): Likewise.
39617 (floorf): Likewise.
39618 (nearbyint): Likewise.
39619 (nearbyintf): Likewise.
39620
d7b4fb26
TS
396212012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39622
39623 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39624 non-default versions.
39625
eb55f5c2
RM
396262012-06-11 Roland McGrath <roland@hack.frob.com>
39627
39628 [BZ #14218]
39629 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39630
366af02c
TS
396312012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39632
99ff6e5c
TS
39633 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39634 (FE_UPWARD, FE_DOWNWARD): Don't define.
39635 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39636 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39637
366af02c
TS
39638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39639 reading it.
39640 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39641 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39642
793ea851
KK
396432012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39644
39645 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39646 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39647 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39648 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39649
a728a38f
L
396502012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39651
39652 [BZ #14117]
c08010c7
L
39653 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39654 * sysdeps/i386/fpu/Implies: New file.
39655 * sysdeps/x86_64/fpu/Implies: Likewise.
39656 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39657 * sysdeps/x86/fpu/bits/fenv.h: This.
39658
a728a38f
L
39659 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39660 __SSE_MATH__.
39661
6e230d11
SP
396622012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39663
39664 [BZ #14134]
39665 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39666 character 0xffff that matches the last element of the
39667 conversion table.
39668
1b671feb
AZ
396692012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39670
39671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39672 fmodl commit.
39673
6043738b
AZ
396742012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39675
39676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39677 values higher than 25.6283.
39678
34ae0b32
AZ
396792012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39680
39681 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39682 subnormal exponent extraction and add some __builtin_expect.
39683 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39684 Fix for subnormal mantissa calculation.
39685
1214ec8f
MF
396862012-06-04 Mike Frysinger <vapier@gentoo.org>
39687
39688 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39689 cpu2 is -1 and errno is not ENOSYS.
39690
f3d1f93c
L
396912012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39692
39693 [BZ #14117]
0e4a3cd7
L
39694 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39695 * sysdeps/x86/bits/string.h: This.
39696 * sysdeps/x86_64/bits/string.h: Removed.
39697
6704c645
L
39698 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39699 if not compiling for x86-64, but compiling for >= i486.
39700
48495318
L
39701 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39702 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39703
14adcbfc
L
39704 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39705 New macro from Linux kernel 3.4.0.
39706 (FP_XSTATE_MAGIC2): Likewise.
39707 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39708 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39709 (struct _fpx_sw_bytes): New struct.
39710 (struct _xsave_hdr): Likewise.
39711 (struct _ymmh_state): Likewise.
39712 (struct _xstate): Likewise.
39713
68e408ab
L
39714 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39715 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39717 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39718 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39719 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39720
f3d1f93c
L
39721 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39722 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39723 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39724 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39725 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39726 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39727
d9dc34cd
TMQMF
397282012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39729
39730 [BZ #13743]
39731 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39732 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39733 (sysdep_headers): Include sys/platform/ppc.h.
39734 * sysdeps/powerpc/test-gettimebase.c: Test for
39735 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39736 * manual/Makefile (appendices): Include platform.texi.
39737 * manual/contrib.texi (Contributors): Update @node pointers.
39738 * manual/maint.texi (Maintenance): Likewise.
39739 (Platform): New node.
39740 * manual/platform.texi: New file. Document the new features.
39741
4af3879c
SP
397422012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39743 Jakub Jelinek <jakub@redhat.com>
39744
39745 [BZ #14188]
39746 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39747 where __builtin_expect is unavailable.
39748
2fd6ff13
DM
397492012-06-03 David S. Miller <davem@davemloft.net>
39750
39751 * stdlib/longlong.h: Updated from GCC.
39752
173f7220
AS
397532012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39754
39755 [BZ #14042]
39756 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39757 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39758 __mcount_internal.
39759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39760 (GLIBC_2.16): Likewise.
39761
f34a1c6f
L
397622012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39763
39764 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39765
88a4576f
JM
397662012-06-01 Joseph Myers <joseph@codesourcery.com>
39767
ea32bcdd
JM
39768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39769 (default-abi): New variable.
39770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39771 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39772 variable.
39773 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39774 Likewise.
39775 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39776 Likewise.
39777 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39778 Likewise.
39779
88a4576f
JM
39780 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39781 definition. Document in comment.
39782
402fe938
DM
397832012-06-01 David S. Miller <davem@davemloft.net>
39784
39785 * stdlib/longlong.h: Updated from GCC.
39786
3553723f
L
397872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39788
39789 [BZ #14117]
3bd872c4
L
39790 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39791 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39792 sys/debugreg.h sys/io.h here.
39793 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39794 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39795 sys/io.h.
39796 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39797 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39798 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39799 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39800 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39801 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39802
3553723f
L
39803 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39804 Define only if __x86_64__ is defined.
39805
4842e4fe
JM
398062012-06-01 Joseph Myers <joseph@codesourcery.com>
39807
c5bfe3d5
JM
39808 [BZ #14048]
39809 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39810 Use int64_t for variable i.
39811 * math/libm-test.inc (fmod_test): Add more tests.
39812
4842e4fe
JM
39813 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39814 z computation is not scheduled after fetestexcept.
39815 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39816 Use math_force_eval instead of asm to ensure calculation scheduled
39817 before exception test.
39818 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39819 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39820
efb73488
AJ
398212012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39822
39823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39824 computation is not scheduled after fetestexcept.
39825
29bcce7c
L
398262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39827
39828 [BZ #14117]
39829 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39830 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39831
73a68f94
AZ
398322012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39833
39834 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39835 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39836
67b6df78
L
398372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39838
edf2933a 39839 [BZ #14117]
ebc64a18
L
39840 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39841 <bits/wordsize.h>.
39842 (__WCHAR_MIN): Support __WORDSIZE == 64.
39843 (__WCHAR_MAX): Likewise.
39844
edf2933a
L
39845 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39846 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39847
57c6cf40
L
39848 [BZ #14183]
39849 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39850 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39851
67b6df78 39852 [BZ #14117]
8eb6281e
L
39853 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39854 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39855
aac639f4
L
39856 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39857 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39858
67b6df78
L
39859 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39860 Defined to 1 if __x86_64__ isn't defined.
39861 (_STAT_VER_LINUX_OLD): New.
39862 (st_atime): Remove duplicate.
39863 (st_mtime): Likewise.
39864 (st_ctime): Likewise.
39865
1c2cfe81
DM
398662012-05-31 David S. Miller <davem@davemloft.net>
39867
39868 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39869 entries.
39870
5be8418c
AS
398712012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39872
e7725326
AS
39873 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39874 gen-libm-test.pl.
39875
5be8418c
AS
39876 [BZ #14132]
39877 * elf/dl-reloc.c: Include <_itoa.h>.
39878 (_dl_reloc_bad_type): Remove use of INTUSE.
39879 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39880 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39881 * stdio-common/psiginfo.c (psiginfo): Likewise.
39882 * stdio-common/psignal.c (psignal): Likewise.
39883 * string/strsignal.c (strsignal): Likewise.
39884 * include/signal.h (_sys_siglist): Declare hidden proto.
39885 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39886 INTVARDEF with libc_hidden_data_def.
39887 * stdio-common/itoa-udigits.c: Likewise.
39888 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39889 (_itoa_lower_digits_internal): Remove declaration.
39890 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39891 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39892 (_sys_sigabbrev_internal): Remove aliases.
39893 (_sys_siglist): Define hidden alias.
39894
507352f1
MT
398952012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39896
39897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39898 bits/sysctl.h.
39899
42bbb1c3
L
399002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39901
39902 [BZ #14117]
6bd784b6
L
39903 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39904 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39905
8bca20f0
L
39906 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39907 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39908 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39909 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39910 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39911 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39912
f9e890a9
L
39913 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39914 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39915 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39916
471101a1
L
39917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39918 with __addr.
39919 (insw): Likewise.
39920 (insl): Likewise.
39921 (outsb): Likewise.
39922 (outsw): Likewise.
39923 (outsl): Likewise.
39924
6451c862
L
39925 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39926 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39927 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39928
a254b8c9
L
39929 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39930 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39931 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39932 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39933 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39934 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39935
b8dfdd92
L
39936 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39937 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39938
578cd270
L
39939 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39940 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39941
de662f5f
L
39942 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39944 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39945
25653439
L
39946 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39947 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39948 to ...
39949 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39950
6bad24a0
L
39951 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39952 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39953 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39954
42bbb1c3
L
39955 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39956 for x86-64.
39957 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39958
2d10d547
JM
399592012-05-31 Joseph Myers <joseph@codesourcery.com>
39960
39961 * math/math.h (M_El): Use two more decimal places.
39962 (M_LOG2El): Likewise.
39963 (M_LOG10El): Likewise.
39964 (M_LN2l): Likewise.
39965 (M_LN10l): Likewise.
39966 (M_PIl): Likewise.
39967 (M_PI_2l): Likewise.
39968 (M_PI_4l): Likewise.
39969 (M_1_PIl): Likewise.
39970 (M_2_PIl): Likewise.
39971 (M_2_SQRTPIl): Likewise.
39972 (M_SQRT2l): Likewise.
39973 (M_SQRT1_2l): Likewise.
39974
f230c29b
DM
399752012-05-31 David S. Miller <davem@davemloft.net>
39976
39977 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39978 values between float registers.
39979 * sysdeps/sparc/sparc64/memset.S: Likewise.
39980 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39981
fed806c3
MF
399822012-05-31 Mike Frysinger <vapier@gentoo.org>
39983
39984 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39985 -D_FORTIFY_SOURCE=1.
39986 (CPPFLAGS-tst-longjmp_chk.c): Define.
39987 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39988 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39989 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39990 CFLAGS-tst-wchar-h.c.
39991
30917259
MP
399922012-05-31 Marek Polacek <polacek@redhat.com>
39993
39994 [BZ #14132]
39995 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39996 __endmntent_internal): Remove declaration.
39997 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39998 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39999 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40000
1c58d5dc
DM
400012012-05-30 David S. Miller <davem@davemloft.net>
40002
40003 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40004 (___Q_simulate_exceptions): Use real FP ops rather than writing
40005 into the %fsr.
40006 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40007 Likewise.
40008
7dc00e0d
L
400092012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40010
40011 [BZ #14117]
0bd53985
L
40012 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40013 * sysdeps/x86/bits/xtitypes.h: This.
40014
3a257e66
L
40015 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40016 * sysdeps/x86/bits/wordsize.h: This.
40017
62f62904
L
40018 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40019 * sysdeps/x86/bits/huge_vall.h: This.
40020
404fe9d9
L
40021 * sysdeps/i386/bits/select.h: Removed.
40022 * sysdeps/x86_64/bits/select.h: Renamed to ...
40023 * sysdeps/x86/bits/select.h: This.
40024
d48d0446
L
40025 * sysdeps/i386/bits/setjmp.h: Removed.
40026 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40027 * sysdeps/x86/bits/setjmp.h: This.
40028
7dc00e0d
L
40029 * sysdeps/i386/bits/mathdef.h: Removed.
40030 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40031 * sysdeps/x86/bits/mathdef.h: This.
40032
03277f8f
AS
400332012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40034
40035 [BZ #14132]
40036 * include/sys/socket.h (__connect_internal)
40037 (__libc_sa_len_internal): Remove declaration.
40038 (__connect, __libc_sa_len): Declare hidden_proto.
40039 (SA_LEN): Remove use of INTUSE.
40040 * socket/connect.c: Add libc_hidden_def.
40041 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40042 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40043 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40044 alias.
40045 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40046 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40047 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40048 of adding _internal alias.
40049
13764867
L
400502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40051
40052 [BZ #14117]
6bd97696
L
40053 * sysdeps/i386/bits/link.h: Removed.
40054 * sysdeps/i386/bits/linkmap.h: Likewise.
40055 * sysdeps/x86_64/bits/link.h: Renamed to ...
40056 * sysdeps/x86/bits/link.h: This.
40057 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40058 * sysdeps/x86/bits/linkmap.h: This.
40059
f726f0bb
L
40060 * sysdeps/i386/bits/endian.h: Removed.
40061 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40062 * sysdeps/x86/bits/endian.h: This.
40063
13764867
L
40064 * sysdeps/i386/bits/byteswap.h: Removed.
40065 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40066 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40067 * sysdeps/x86/bits/byteswap.h: This.
40068 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40069 * sysdeps/x86/bits/byteswap-16.h: This.
40070 * sysdeps/i386/Implies: Add x86.
40071 * sysdeps/x86_64/Implies: Likewise.
40072
ae251b0b
DM
400732012-05-30 David S. Miller <davem@davemloft.net>
40074
40075 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40076 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40077 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40078 (FP_TRAPPING_EXCEPTIONS): Define.
40079 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40080 (FP_TRAPPING_EXCEPTIONS): Define.
40081 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40082 subnormals only when inexact has been signalled or underflow
40083 exceptions are enabled.
40084 (_FP_PACK_CANONICAL): Likewise.
40085
d5c90867
L
400862012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40087
40088 [BZ #14183]
40089 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40090 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40091
63f1549e
RH
400922012-05-30 Richard Henderson <rth@twiddle.net>
40093
8d8f2279
RH
40094 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40095 with #ifndef NOT_IN_libc.
40096
63f1549e
RH
40097 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40098 marked to avoid plt entry.
40099
0ab0291b
L
401002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40101
40102 [BZ #14112]
40103 * Makeconfig (default-abi): New macro.
40104 (abi-includes): Likewise.
40105 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40106 $(abi-$(default-abi)-lib-soname) for soname if defined.
40107 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40108 abi-variants.
40109 * Makefile (installed-stubs): Likewise.
40110 * include/stubs-biarch.h: Removed.
40111 * scripts/lib-names.awk: Only handle one library at a time.
40112 * scripts/soversions.awk: Remove WORDSIZE support.
40113 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40114 entries.
40115 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40116 Removed.
40117 (syscall-list-default-condition): Likewise.
40118 (syscall-list-default-condition): Likewise.
40119 (syscall-list-includes): Likewise.
40120 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40121 syscall-list-* with abi-*. Handle undefined abi-variants.
40122 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40123 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40124 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40125 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40126 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40127 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40128 Removed.
40129 (syscall-list-32-options): Likewise.
40130 (syscall-list-32-condition): Likewise.
40131 (syscall-list-64-options): Likewise.
40132 (syscall-list-64-condition): Likewise.
40133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40134 macro.
40135 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40136 Renamed to ...
40137 (abi-*): This.
40138 (abi-64-ld-soname): New macro.
40139 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40140 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40141 Renamed to ...
40142 (abi-*): This.
40143 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40144 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40145
4da0431d
JM
401462012-05-30 Joseph Myers <joseph@codesourcery.com>
40147
3a85279c
JM
40148 * sysdeps/unix/sysv/linux/kernel-features.h
40149 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40150 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40151 include <kernel-features.h>.
40152 [!__NR_ftruncate64]: Remove conditional code.
40153 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40154 [__NR_ftruncate64]: Make code unconditional.
40155 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40156 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40157 include <kernel-features.h>.
40158 [!__NR_ftruncate64]: Remove conditional code.
40159 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40160 [__NR_ftruncate64]: Make code unconditional.
40161 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40163 include <kernel-features.h>.
40164 [!__NR_ftruncate64]: Remove conditional code.
40165 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40166 [__NR_ftruncate64]: Make code unconditional.
40167 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40169 include <kernel-features.h>.
40170 [!__NR_ftruncate64]: Remove conditional code.
40171 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40172 [__NR_ftruncate64]: Make code unconditional.
40173 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40174
4da0431d
JM
40175 * configure.in (libc_cv_fpie): Weaken to a compile test using
40176 LIBC_TRY_CC_OPTION.
40177 * configure: Regenerated.
40178
11ef492c
AK
401792012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40180
40181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40183 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40185 Refreshed.
40186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40192 Refreshed.
40193
d66ef399
DM
401942012-05-27 David S. Miller <davem@davemloft.net>
40195
40196 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40197 (___Q_zero): New.
40198 (__Q_simulate_exceptions): Return void. Change to simulate
40199 exceptions by writing into the %fsr.
40200 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40201 (__Qp_handle_exceptions): Likewise.
40202 (numbers): Delete.
40203 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40204 __Qp_handle_exceptions.
40205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40206 __Qp_handle_exceptions.
40207 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40208 as unused and give dummy FP_RND_NEAREST initializer.
40209 (FP_INHIBIT_RESULTS): Define.
40210 (___Q_simulate_exceptions): Update declaration.
40211 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40212 formatting.
40213 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40214 as unused and give dummy FP_RND_NEAREST initializer.
40215 (__Qp_handle_exceptions): Update declaration.
40216 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40217 formatting.
40218
04fb54b5
TS
402192012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40220
40221 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40222 the temporary FPU control word.
40223 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40224 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40226 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40227 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40228 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40229 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40230 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40231 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40232 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40233 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40234
3f99608f
KK
402352012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40236
40237 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40238 fields.
40239
65a4de4e
CLT
402402012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40241
40242 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40243 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40244 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40245 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40246 Likewise.
40247 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40248 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40249 Likewise.
40250
15749d40
UD
402512012-05-27 Ulrich Drepper <drepper@gmail.com>
40252
40253 * po/h.po: Update from translation team.
40254
25dbcb27
AS
402552012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40256
3d3f8e55
AS
40257 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40258
25dbcb27
AS
40259 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40260 handling of denormals.
40261 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40262 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40263 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40264 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40265 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40266 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40268 Likewise.
40269
7ad47a80 402702012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40271
40272 [BZ #14152]
40273 * math/libm-test.inc (fma_test): Don't always expect underflow
40274 exception.
40275
9c6ea9fa
SP
402762012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40277
40278 [BZ #12416]
40279 * elf/tst-execstack.c: Include stackinfo.h.
40280 (do_test): Adjust test case to ensure that pthread_getattr_np
40281 behaviour remains the same after marking stack executable.
40282
a8239222
JM
402832012-05-25 Joseph Myers <joseph@codesourcery.com>
40284
40285 * sysdeps/unix/sysv/linux/kernel-features.h
40286 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40287 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40288 kernel-features.h.
40289 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40290 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40291 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40292 kernel-features.h.
40293 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40294 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40295
918b5606
L
402962012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40297
40298 * configure.in: Define the default includes to being none.
40299 * configure: Regenerated.
40300
3a097cc7
RM
403012012-05-25 Roland McGrath <roland@hack.frob.com>
40302
8422c9a5
RM
40303 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40304 * sysdeps/x86_64/setjmp.S: Likewise.
40305 * sysdeps/i386/bsd-setjmp.S: Likewise.
40306 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40307 * sysdeps/i386/setjmp.S: Likewise.
40308 * sysdeps/i386/__longjmp.S: Likewise.
40309 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40310 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40311
3a097cc7
RM
40312 * include/stap-probe.h: New file.
40313 * configure.in: Handle --enable-systemtap.
40314 * configure: Regenerated.
40315 * config.h.in (USE_STAP_PROBE): New #undef.
40316 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40317 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40318 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40319
21708942
JM
403202012-05-25 Joseph Myers <joseph@codesourcery.com>
40321
40322 [BZ #13717]
40323 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40324 to 2.4.0 where earlier.
40325 * sysdeps/unix/sysv/linux/configure: Regenerated.
40326 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40327 <kernel-features.h>.
40328 [__ASSUME_32BITUIDS]: Make code unconditional.
40329 [!__ASSUME_32BITUIDS]: Remove conditional code.
40330 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40331 <kernel-features.h>.
40332 [__ASSUME_32BITUIDS]: Make code unconditional.
40333 [!__ASSUME_32BITUIDS]: Remove conditional code.
40334 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40335 [__ASSUME_32BITUIDS]: Make code unconditional.
40336 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40337 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40338 <kernel-features.h>.
40339 [__ASSUME_32BITUIDS]: Make code unconditional.
40340 [!__ASSUME_32BITUIDS]: Remove conditional code.
40341 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40342 <kernel-features.h>.
40343 [__ASSUME_32BITUIDS]: Make code unconditional.
40344 [!__ASSUME_32BITUIDS]: Remove conditional code.
40345 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40346 <kernel-features.h>.
40347 [__ASSUME_32BITUIDS]: Make code unconditional.
40348 [!__ASSUME_32BITUIDS]: Remove conditional code.
40349 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40350 <kernel-features.h>.
40351 [__ASSUME_32BITUIDS]: Make code unconditional.
40352 [!__ASSUME_32BITUIDS]: Remove conditional code.
40353 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40354 <kernel-features.h>.
40355 [__ASSUME_32BITUIDS]: Make code unconditional.
40356 [!__ASSUME_32BITUIDS]: Remove conditional code.
40357 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40358 <kernel-features.h>.
40359 [__ASSUME_32BITUIDS]: Make code unconditional.
40360 [!__ASSUME_32BITUIDS]: Remove conditional code.
40361 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40362 <kernel-features.h>.
40363 [__ASSUME_32BITUIDS]: Make code unconditional.
40364 [!__ASSUME_32BITUIDS]: Remove conditional code.
40365 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40366 <kernel-features.h>.
40367 [__ASSUME_32BITUIDS]: Make code unconditional.
40368 [!__ASSUME_32BITUIDS]: Remove conditional code.
40369 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40370 <kernel-features.h>.
40371 [__ASSUME_32BITUIDS]: Make code unconditional.
40372 [!__ASSUME_32BITUIDS]: Remove conditional code.
40373 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40374 <kernel-features.h>.
40375 [__ASSUME_32BITUIDS]: Make code unconditional.
40376 [!__ASSUME_32BITUIDS]: Remove conditional code.
40377 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40378 <kernel-features.h>.
40379 [__NR_setresgid] (__setresgid): Do not declare.
40380 [__ASSUME_32BITUIDS]: Make code unconditional.
40381 [!__ASSUME_32BITUIDS]: Remove conditional code.
40382 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40383 <kernel-features.h>.
40384 [__NR_setresuid] (__setresuid): Do not declare.
40385 [__ASSUME_32BITUIDS]: Make code unconditional.
40386 [!__ASSUME_32BITUIDS]: Remove conditional code.
40387 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40388 <kernel-features.h>.
40389 [__ASSUME_32BITUIDS]: Make code unconditional.
40390 [!__ASSUME_32BITUIDS]: Remove conditional code.
40391 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40392 <kernel-features.h>.
40393 [__ASSUME_32BITUIDS]: Make code unconditional.
40394 [!__ASSUME_32BITUIDS]: Remove conditional code.
40395 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40396 <kernel-features.h>.
40397 [__ASSUME_32BITUIDS]: Make code unconditional.
40398 [!__ASSUME_32BITUIDS]: Remove conditional code.
40399 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40400 <kernel-features.h>.
40401 [__ASSUME_32BITUIDS]: Make code unconditional.
40402 [!__ASSUME_32BITUIDS]: Remove conditional code.
40403 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40404 <kernel-features.h>.
40405 [__ASSUME_32BITUIDS]: Make code unconditional.
40406 [!__ASSUME_32BITUIDS]: Remove conditional code.
40407 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40408 <kernel-features.h>.
40409 [__ASSUME_32BITUIDS]: Make code unconditional.
40410 [!__ASSUME_32BITUIDS]: Remove conditional code.
40411 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40412 <kernel-features.h>.
40413 [__ASSUME_32BITUIDS]: Make code unconditional.
40414 [!__ASSUME_32BITUIDS]: Remove conditional code.
40415 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
40420 <kernel-features.h>.
40421 [__ASSUME_32BITUIDS]: Make code unconditional.
40422 [!__ASSUME_32BITUIDS]: Remove conditional code.
40423 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40424 <kernel-features.h>.
40425 [__ASSUME_32BITUIDS]: Make code unconditional.
40426 [!__ASSUME_32BITUIDS]: Remove conditional code.
40427 * sysdeps/unix/sysv/linux/kernel-features.h
40428 (__ASSUME_SETRESUID_SYSCALL): Remove.
40429 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40430 (__ASSUME_32BITUIDS): Likewise.
40431 (__ASSUME_LDT_WORKS): Likewise.
40432 (__ASSUME_O_DIRECTORY): Likewise.
40433 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40434 architecture but not kernel version.
40435 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40436 (__ASSUME_MMAP2_SYSCALL): Likewise.
40437 (__ASSUME_STAT64_SYSCALL): Likewise.
40438 (__ASSUME_IPC64): Likewise.
40439 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40440 <kernel-features.h>.
40441 [__ASSUME_32BITUIDS]: Make code unconditional.
40442 [!__ASSUME_32BITUIDS]: Remove conditional code.
40443 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40444 <kernel-features.h>.
40445 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40446 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40447 132096]: Remove conditional code.
40448 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40450 <kernel-features.h>.
40451 [__ASSUME_32BITUIDS]: Make code unconditional.
40452 [!__ASSUME_32BITUIDS]: Remove conditional code.
40453 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40454 <kernel-features.h>.
40455 [__ASSUME_32BITUIDS]: Make code unconditional.
40456 [!__ASSUME_32BITUIDS]: Remove conditional code.
40457 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40458 <kernel-features.h>.
40459 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40460 unconditional.
40461 (__setresgid): Do not declare.
40462 [__ASSUME_32BITUIDS]: Make code unconditional.
40463 [!__ASSUME_32BITUIDS]: Remove conditional code.
40464 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40465 <kernel-features.h>.
40466 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40467 unconditional.
40468 (__setresuid): Do not declare.
40469 [__ASSUME_32BITUIDS]: Make code unconditional.
40470 [!__ASSUME_32BITUIDS]: Remove conditional code.
40471 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40472 <kernel-features.h>.
40473 [__ASSUME_32BITUIDS]: Make code unconditional.
40474 [!__ASSUME_32BITUIDS]: Remove conditional code.
40475 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40476 <kernel-features.h>.
40477 [__ASSUME_32BITUIDS]: Make code unconditional.
40478 [!__ASSUME_32BITUIDS]: Remove conditional code.
40479
a386f1cc
RH
404802012-05-25 Richard Henderson <rth@twiddle.net>
40481
40482 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40483 dl_hwcap to ifunc resolver.
40484 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40485 elf_ifunc_invoke.
40486 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40487 dl_hwcap to ifunc resolver.
40488 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40489
b6550497
JM
404902012-05-24 Joseph Myers <joseph@codesourcery.com>
40491
40492 [BZ #14153]
40493 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40494 for |x| <= 2**-26, not 2**-57.
40495 * math/libm-test.inc (acos_test): Do not allow spurious underflow
40496 exception.
40497
b0bc23a1
JL
404982012-05-24 Jeff Law <law@redhat.com>
40499
40500 * stdio-common/Makefile (tests): Add bug25.
40501 * stdio-common/bug25.c: New test.
40502
347c92e9
L
405032012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40504
40505 [BZ #13576]
40506 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40507 multiple of MALLOC_ALIGNMENT in size.
40508 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40509
6bcc8b3f
JM
405102012-05-24 Joseph Myers <joseph@codesourcery.com>
40511
40512 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40513 Require >= 256.
40514 (FILENAME_MAX): Use macro-int-constant.
40515 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
40516 (_IOFBF): Use macro-int-constant.
40517 (_IOLBF): Likewise.
40518 (_IONBF): Likewise.
40519 (SEEK_CUR): Likewise.
40520 (SEEK_END): Likewise.
40521 (SEEK_SET): Likewise.
40522 (TMP_MAX): Likewise.
40523 (EOF): Use macro-int-constant. Require < 0.
40524 (NULL): Use macro-constant. Require == 0.
40525 (stdin): Require type to be FILE *.
40526 (stdout): Likewise.
40527 (stderr): Likewise.
40528 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40529 macro-int-constant.
40530 (EXIT_SUCCESS): Likewise.
40531 (NULL): Use macro-constant. Require == 0.
40532 (RAND_MAX): Use macro-int-constant.
40533 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40534 [C99-based standards] (strtof): Require function.
40535 [C99-based standards] (strtold): Likewise.
40536 [C99-based standards] (strtoll): Likewise.
40537 [C99-based standards] (strtoull): Likewise.
40538 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40539 [ISO || ISO99 || ISO11] (limits.h): Likewise.
40540 [ISO || ISO99 || ISO11] (math.h): Likewise.
40541 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40542 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40543 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40544
d18ea0c5
AS
405452012-05-24 Andreas Schwab <schwab@linux-m68k.org>
40546
40547 [BZ #14132]
56d25bb8
AS
40548 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40549 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40550 * intl/dgettext.c (DCGETTEXT): Likewise.
40551 * intl/gettext.c (DCGETTEXT): Likewise.
40552 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40553 * posix/regex_internal.h (gettext): Likewise.
40554 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40555 Remove declaration.
40556 * include/argz.h (__argz_count_internal)
40557 (__argz_stringify_internal): Remove declaration.
40558 (__argz_count, __argz_stringify): Declare hidden proto.
40559 * intl/dcgettext.c: Remove use of INTDEF.
40560 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40561 * string/argz-stringify.c: Likewise.
40562 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40563 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40564 Declare hidden proto.
d18ea0c5
AS
40565 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40566 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40567 Declare hidden proto.
40568 * include/stdio.h (__asprintf_internal): Don't declare.
40569 (__asprintf): Don't define as macro. Declare hidden proto.
40570 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40571 (__fsetlocking): Declare hidden proto.
40572 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40573 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40574 hidden proto.
40575 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40576 (_IO_setlinebuf): Remove use of INTUSE.
40577 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40578 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40579 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40580 Remove declaration.
40581 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40582 (_IO_do_flush): Remove use of INTUSE.
40583 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40584 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40585 (_IO_adjust_column, _IO_least_wmarker)
40586 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40587 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40588 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40589 (_IO_default_doallocate, _IO_wdefault_doallocate)
40590 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40591 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40592 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40593 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40594 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40595 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40596 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40597 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40598 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40599 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40600 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40601 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40602 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40603 proto.
40604 (_IO_flush_all_internal, _IO_adjust_column_internal)
40605 (_IO_default_uflow_internal, _IO_default_finish_internal)
40606 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40607 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40608 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40609 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40610 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40611 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40612 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40613 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40614 (_IO_file_close_internal, _IO_file_close_it_internal)
40615 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40616 (_IO_file_init_internal, _IO_file_attach_internal)
40617 (_IO_file_fopen_internal, _IO_file_read_internal)
40618 (_IO_file_sync_internal, _IO_file_seek_internal)
40619 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40620 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40621 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40622 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40623 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40624 (_IO_list_all_internal, _IO_link_in_internal)
40625 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40626 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40627 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40628 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40629 (_IO_do_write_internal, _IO_padn_internal)
40630 (_IO_getline_info_internal, _IO_getline_internal)
40631 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40632 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40633 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40634 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40635 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40636 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40637 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40638 with libc_hidden_ver, remove use of INTUSE.
40639 * libio/genops.c: Likewise.
40640 * libio/freopen.c: Likewise.
40641 * libio/freopen64.c: Likewise.
40642 * libio/iofclose.c: Likewise.
40643 * libio/iofdopen.c: Likewise.
40644 * libio/iofflush.c: Likewise.
40645 * libio/iofflush_u.c: Likewise.
40646 * libio/iofgets.c: Likewise.
40647 * libio/iofgets_u.c: Likewise.
40648 * libio/iofopen.c: Likewise.
40649 * libio/iofopncook.c: Likewise.
40650 * libio/iofread.c: Likewise.
40651 * libio/iofread_u.c: Likewise.
40652 * libio/ioftell.c: Likewise.
40653 * libio/iofwrite.c: Likewise.
40654 * libio/iogetline.c: Likewise.
40655 * libio/iogets.c: Likewise.
40656 * libio/iogetwline.c: Likewise.
40657 * libio/iopadn.c: Likewise.
40658 * libio/iopopen.c: Likewise.
40659 * libio/ioseekoff.c: Likewise.
40660 * libio/ioseekpos.c: Likewise.
40661 * libio/iosetbuffer.c: Likewise.
40662 * libio/iosetvbuf.c: Likewise.
40663 * libio/ioungetc.c: Likewise.
40664 * libio/ioungetwc.c: Likewise.
40665 * libio/iovdprintf.c: Likewise.
40666 * libio/iovsprintf.c: Likewise.
40667 * libio/iovsscanf.c: Likewise.
40668 * libio/memstream.c: Likewise.
40669 * libio/obprintf.c: Likewise.
40670 * libio/oldfileops.c: Likewise.
40671 * libio/oldiofclose.c: Likewise.
40672 * libio/oldiofdopen.c: Likewise.
40673 * libio/oldiofopen.c: Likewise.
40674 * libio/oldiopopen.c: Likewise.
40675 * libio/oldstdfiles.c: Likewise.
40676 * libio/putc.c: Likewise.
40677 * libio/setbuf.c: Likewise.
40678 * libio/setlinebuf.c: Likewise.
40679 * libio/stdfiles.c: Likewise.
40680 * libio/strops.c: Likewise.
40681 * libio/vasprintf.c: Likewise.
40682 * libio/vscanf.c: Likewise.
40683 * libio/vsnprintf.c: Likewise.
40684 * libio/vswprintf.c: Likewise.
40685 * libio/wfiledoalloc.c: Likewise.
40686 * libio/wfileops.c: Likewise.
40687 * libio/wgenops.c: Likewise.
40688 * libio/wmemstream.c: Likewise.
40689 * libio/wstrops.c: Likewise.
40690 * libio/__fpurge.c: Likewise.
40691 * libio/__fsetlocking.c: Likewise.
40692 * assert/assert.c: Likewise.
40693 * debug/fgets_chk.c: Likewise.
40694 * debug/fgets_u_chk.c: Likewise.
40695 * debug/fread_chk.c: Likewise.
40696 * debug/fread_u_chk.c: Likewise.
40697 * debug/gets_chk.c: Likewise.
40698 * debug/obprintf_chk.c: Likewise.
40699 * debug/vasprintf_chk.c: Likewise.
40700 * debug/vdprintf_chk.c: Likewise.
40701 * debug/vsnprintf_chk.c: Likewise.
40702 * debug/vsprintf_chk.c: Likewise.
40703 * malloc/mtrace.c: Likewise.
40704 * misc/error.c: Likewise.
40705 * misc/syslog.c: Likewise.
40706 * stdio-common/asprintf.c: Likewise.
40707 * stdio-common/fxprintf.c: Likewise.
40708 * stdio-common/getw.c: Likewise.
40709 * stdio-common/isoc99_fscanf.c: Likewise.
40710 * stdio-common/isoc99_scanf.c: Likewise.
40711 * stdio-common/isoc99_vfscanf.c: Likewise.
40712 * stdio-common/isoc99_vscanf.c: Likewise.
40713 * stdio-common/isoc99_vsscanf.c: Likewise.
40714 * stdio-common/printf-prs.c: Likewise.
40715 * stdio-common/printf_fp.c: Likewise.
40716 * stdio-common/printf_fphex.c: Likewise.
40717 * stdio-common/printf_size.c: Likewise.
40718 * stdio-common/putw.c: Likewise.
40719 * stdio-common/scanf.c: Likewise.
40720 * stdio-common/sprintf.c: Likewise.
40721 * stdio-common/tmpfile.c: Likewise.
40722 * stdio-common/vfprintf.c: Likewise.
40723 * stdio-common/vfscanf.c: Likewise.
40724 * stdlib/strfmon_l.c: Likewise.
40725 * sunrpc/openchild.c: Likewise.
40726 * sunrpc/xdr_stdio.c: Likewise.
40727 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40728 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40729
d6c33fda
RM
407302012-05-24 Roland McGrath <roland@hack.frob.com>
40731
c1487492
RM
40732 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40733
40734 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40735 in the third column, to generate for the shared library an IFUNC
40736 that uses _dl_vdso_vsym.
40737 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40738 * Makeconfig (object-suffixes-noshared): New variable.
40739
40740 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40741 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40742 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40743 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40744
d6c33fda
RM
40745 [BZ #14132]
40746 * include/sys/time.h (__gettimeofday): Remove macro.
40747 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40748 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40749 Remove INTDEF.
40750 (__gettimeofday): Add libc_hidden_def.
40751 (gettimeofday): Add libc_hidden_weak.
40752 * sysdeps/mach/gettimeofday.c: Likewise.
40753 * sysdeps/posix/gettimeofday.c: Likewise.
40754 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40755 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40757 (__gettimeofday_internal): Remove strong_alias.
40758 (__gettimeofday): Add libc_hidden_def.
40759 (gettimeofday): Add libc_hidden_weak.
40760 * sysdeps/unix/syscalls.list (gettimeofday):
40761 Remove __gettimeofday_internal alias.
40762
b5a2bbe6
L
407632012-05-24 Daniel Jacobowitz <drow@false.org>
40764 H.J. Lu <hongjiu.lu@intel.com>
40765
40766 [BZ #12495]
40767 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40768 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40769 (largebin_index_32_big): New.
40770 (largebin_index): Use it for 16-byte alignment.
40771 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40772 correction with front_misalign.
40773
cfba4fda
L
407742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40775
7f907421
L
40776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40777 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40778 Likewise.
40779 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40780 Likewise.
40781 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40782 Likewise.
40783 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40784 Likewise.
40785 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40786 Likewise.
40787 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40788 Likewise.
40789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40790 Likewise.
40791 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40792 Likewise.
40793 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40794 Likewise.
40795 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40796 Likewise.
40797 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40798 Likewise.
40799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40800 Likewise.
40801
cfba4fda
L
40802 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40803 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40804
80bad0cc
JM
408052012-05-24 Joseph Myers <joseph@codesourcery.com>
40806
7a25eb06
JM
40807 [BZ #10846]
40808 [BZ #14036]
40809 * math/libm-test.inc (exp_test): Add test from bug 14036.
40810 (pow_test): Add test from bug 10846.
40811
795405f9
JM
40812 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40813 and other flags.
40814 (special_function): Do not include flags in test name.
40815 (parse_args): Likewise.
40816 * sysdeps/i386/fpu/libm-test-ulps: Update.
40817 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40818 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40819 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40821
80bad0cc
JM
40822 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40823 exceptions.
40824 * math/libm-test.inc ("Philosophy"): Update comment about
40825 exception testing.
40826 (UNDERFLOW_EXCEPTION): New macro.
40827 (UNDERFLOW_EXCEPTION_OK): Likewise.
40828 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40829 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40830 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40831 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40832 (INVALID_EXCEPTION_OK): Update value.
40833 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40834 (OVERFLOW_EXCEPTION_OK): Likewise.
40835 (IGNORE_ZERO_INF_SIGN): Likewise.
40836 (test_exceptions): Handle underflow exceptions.
40837 (acos_test): Update for underflow exception expectations.
40838 (cexp_test): Likewise.
40839 (clog_test): Likewise.
40840 (clog10_test): Likewise.
40841 (csqrt_test): Likewise.
40842 (ctan_test): Likewise.
40843 (ctanh_test): Likewise.
40844 (exp_test): Likewise.
40845 (exp10_test): Likewise.
40846 (exp2_test): Likewise.
40847 (expm1_test): Likewise.
40848 (fma_test): Likewise.
40849 (j0_test): Likewise.
40850 (jn_test): Likewise.
40851 (nexttoward_test): Likewise.
40852 (pow_test): Likewise.
40853 (scalbn_test): Likewise.
40854 (scalbln_test): Likewise.
40855 (tan_test): Likewise.
40856 (y1_test): Likewise.
40857 * sysdeps/i386/fpu/libm-test-ulps: Update.
40858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40859
9e0e3d0b
DM
408602012-05-23 David S. Miller <davem@davemloft.net>
40861
40862 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40863 (__libc_sigaction): Remove unused local variables.
40864
ccd0a08f
L
408652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40866
40867 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40868
62bdf9a6
PE
408692012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40870
f8591f80
PE
40871 mktime: avoid signed integer overflow
40872 * time/mktime.c (__mktime_internal): Do not mishandle the case
40873 where diff == INT_MIN.
40874
94c7d826
PE
40875 mktime: simplify computation of average
40876 * time/mktime.c (ranged_convert): Use new time_t_avg function
40877 instead of rolling our own (probably-slower) code.
40878
ce73d683
PE
40879 mktime: do not assume signed right shift propagates sign bit
40880 * time/mktime.c (isdst_differ): New static function.
40881 (__mktime_internal): No need to normalize tm_isdst now.
40882 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40883 tm_isdst values.
40884
72a22e59
PE
40885 mktime: merge another wrapv change from gnulib
40886 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40887 from some compilers.
40888
68605433
PE
40889 mktime: remove incorrect attempt at unusual arithmetics
40890 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40891 The code didn't really work on such machines anyway.
40892 (TYPE_MINIMUM): Assume two's complement.
40893 (twos_complement_arithmetic): Verify that long_int and time_t
40894 are two's complement (or unsigned, in the latter case).
40895
03cf7fe3
PE
40896 mktime: check signed shifts on long_int and time_t, too
40897 * time/mktime.c (SHR): Check that shifts work as desired
40898 on the types long_int and time_t too, as SHR is used on
40899 such types.
40900
f04dfbc2
PE
40901 mktime: do not assume 'long' is wide enough
40902 * time/mktime.c (verify): Move decl up.
40903 (long_int): New type.
40904 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40905 to remove assumption in the code that 'long' is wide enough to
40906 store year values. This assumption is not true on x32 and on
40907 some non-glibc platforms.
40908
62bdf9a6
PE
40909 mktime: merge wrapv change from gnulib
40910 * time/mktime.c (WRAPV): New macro.
40911 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40912 (guess_time_tm, __mktime_internal): Do not assume that signed
40913 integer overflow wraps around; modern compilers generate code
40914 where this assumption is no longer valid.
40915
5e292e4f
L
409162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40917
40918 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40919 Replace "jmp L(pseudo_end)" with "ret".
40920 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40921 Likewise.
40922
8caf8c87
AJ
409232012-05-23 Andreas Jaeger <aj@suse.de>
40924
40925 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40926 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40927
1a09dc56
AJ
409282012-05-23 Andreas Jaeger <aj@suse.de>
40929 Maximilian Attems <max@stro.at>
40930
40931 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40932 New macros.
40933
1c87aba0
L
409342012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40935
40936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40937 code so that pseudo_end is just ret and the stack pointer is
40938 correct also for static library in error case.
40939
40e45bd5
JM
409402012-05-23 Joseph Myers <joseph@codesourcery.com>
40941
c2670533
JM
40942 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40943 move to syscalls.list.
40944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40948
40e45bd5
JM
40949 * manual/install.texi (Running make install): Do not mention Linux
40950 kernel version for which pt_chown is not needed.
40951 (Linux): Do not mention problems with nscd with 2.0 kernels.
40952 * INSTALL: Regenerated.
40953
be08eda5
AJ
409542012-05-23 Andreas Jaeger <aj@suse.de>
40955
40956 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40957 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40958 macro.
40959 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40960 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40961 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40962 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40963 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40964 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40965 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40966 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40967 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40968 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40969 * sysdeps/unix/sysv/linux/bits/in.h
40970 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40971
a6a056bb
RM
409722012-05-22 Roland McGrath <roland@hack.frob.com>
40973
40974 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40975 (PREPARE_VERSION): Just use assert instead, it will be elided
40976 under [NDEBUG] anyway.
40977
c9009328
L
409782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40979
40980 * sysdeps/unix/sysv/linux/Makefile: Include
40981 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 40982 (sysdep_routines): Remove sysctl.
c9009328
L
40983 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40984 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40985 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40986 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40987 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40988
73338355
AJ
409892012-05-22 Andreas Jaeger <aj@suse.de>
40990
40991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40992 that pseudo_end is just ret and the stack pointer is correct also
40993 for static library in error case.
40994
d44638b0
PP
409952012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40996
40997 [BZ #14122]
40998 * nss/nsswitch.c (defconfig_entries): New variable.
40999 (__nss_database_lookup): Don't leak defconfig entries.
41000 (nss_parse_service_list): Don't leak on error paths.
41001 (free_database_entries): New function.
41002 (free_defconfig): New function.
41003 (free_mem): Move common code to free_database_entries.
41004
31a39bd8
L
410052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41006
da0331a8
L
41007 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41008 Add arch_prctl.
41009 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41010
31a39bd8
L
41011 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41012 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41014 New macro.
41015 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41016 (INTERNAL_SYSCALL_TYPES): Likewise.
41017 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41018 (LOAD_REGS_TYPES_[1-6]): Likewise.
41019 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41020 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41021
45470df3
AZ
410222012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41023
41024 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41025 copysignl for GLIBC_2_0.
41026 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41027 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41028 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41029 logbl for GLIBC_2_0.
41030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41031 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41032
98a61bcb
L
410332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41034
a4f6e481
L
41035 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41036 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41037
f63d5db6
L
41038 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41039 Use "neg %eax".
41040
98a61bcb
L
41041 * time/mktime.c: Update copyright years.
41042
95770f14
PE
410432012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41044
6226efbd
PE
41045 mktime: merge comment-quoting-style change from gnulib
41046 * time/mktime.c: Quote 'like this' in comments.
41047 The GNU coding standards suggest that we no longer quote `like this',
41048 as "`" and "'" are typically rendered asymmetrically nowadays.
41049 The typical gnulib style is to quote 'like this' when quoting
41050 code, and "like this" when quoting English.
41051
b99e4f78
PE
41052 * time/mktime.c (compile-command): Add "-I.".
41053
643e01e6
PE
41054 mktime: merge mktime-internal.h change from gnulib
41055 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41056
2554247d
PE
41057 mktime: merge time_r change from gnulib
41058 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41059
826dd0ab
PE
41060 mktime: merge DEBUG change from gnulib
41061 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41062 case system <time.h> has a #define.
41063
bd83aabe
PE
41064 mktime: merge <sys/types.h> change from gnulib
41065 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41066 since <time.t> is now guaranteed to define time_t.
41067
95770f14
PE
41068 mktime: merge HAVE_CONFIG_H change from gnulib
41069 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41070
5e1a27a9
L
410712012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41072
0e44a77e
L
41073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41074 Use "neg %eax".
41075
5e1a27a9
L
41076 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41077 __rlim_t cast.
41078 (struct rusage): Use anonymous union to pad each field to
41079 __syscall_slong_t.
41080
46259bec
DM
410812012-05-21 David S. Miller <davem@davemloft.net>
41082
41083 * Makefules (o-iterator): Remove .s cases.
41084 (compile-command.s): Delete.
41085 (COMPILE.s): Delete.
41086 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41087
59f0c22e
JM
410882012-05-21 Joseph Myers <joseph@codesourcery.com>
41089
41090 * configure.in (libc_cv_predef_stack_protector): Only consider
41091 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41092 * configure: Regenerated.
41093
20c07380
L
410942012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41095
bbb3154b
L
41096 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41097 New macro. Use R*LP on int and pointer.
41098 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41099 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41100 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41101 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41102
20c07380
L
41103 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41104 [__WORDSIZE_TIME64_COMPAT32] instead of
41105 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41106 (struct utmp): Likewise.
41107 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41108 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41109 Renamed to ...
41110 (__WORDSIZE_TIME64_COMPAT32): This.
41111 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41112 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41113 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41114 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41115 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41116 (__WORDSIZE_TIME64_COMPAT32): New macro.
41117
d8d1017e
AJ
411182012-05-21 Andreas Jaeger <aj@suse.de>
41119
41120 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41121 only if [SHARED]. Add prototype for __wcschr_ia32.
41122
6c7fb145
RM
411232012-05-21 Roland McGrath <roland@hack.frob.com>
41124
41125 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41126 of %rbp unmolested in the jmp_buf while mangling the low bits.
41127 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41128 unmolested high bits of %rbp while demangling the low bits.
41129 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41130
66274218
AJ
411312012-05-21 Andreas Jaeger <aj@suse.de>
41132
07c58f8f
AJ
41133 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41134 * sunrpc/svc_simple.c: Use it for registerrpc.
41135 * sunrpc/xcrypt.c: Use it for passwd2des.
41136
66274218
AJ
41137 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41138
61f65140
L
411392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41140
41141 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41142 Don't define if [__SYSCALL_WORDSIZE != 32].
41143 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41144 New macro.
41145
5fefb436
AJ
411462012-05-21 Bruno Haible <bruno@clisp.org>
41147 Andreas Jaeger <aj@suse.de>
41148
41149 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41150 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41151 inptr and inend for must_buffer_ch.
41152 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41153 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41154 * stdio-common/Makefile (tests): Remove bug15.
41155 (bug15-ENV): Remove macro.
41156 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41157 anymore.
41158
d8e272ab
AJ
411592012-05-19 Andreas Jaeger <aj@suse.de>
41160 Roland McGrath <roland@hack.frob.com>
41161
41162 * manual/contrib.texi: Completely rewritten. It contains now an
41163 alphabetical list of contributors and their contributions.
41164
4a56a162
RH
411652012-05-21 Richard Henderson <rth@twiddle.net>
41166
41167 * misc/getauxval.c (__getauxval): Use unsigned long int.
41168 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41169 (getauxval): Use unsigned long int.
41170
d024d23c
L
411712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41172
41173 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41174
cbc00a03
RM
411752012-05-21 Roland McGrath <roland@hack.frob.com>
41176
41177 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41178 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41179 __alignof__ (long double).
41180
478143fa
AZ
411812012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41182
41183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41184
c7683a6d
RH
411852012-05-20 Richard Henderson <rth@twiddle.net>
41186
41187 * misc/getauxval.c: New file.
41188 * misc/sys/auxv.h: New file.
41189 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41190 (routines): Add getauxval.
41191 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41192 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41193 * elf/dl-sysdep.c (_dl_auxv): Remove.
41194 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41195 * elf/dl-support.c (_dl_auxv): New variable.
41196 (_dl_aux_init): Initialize it.
41197 * manual/startup.texi (Auxiliary Vector): New node.
41198 * sysdeps/generic/bits/hwcap.h: New file.
41199 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41200 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41201 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41202 * sysdeps/sparc/sysdep.h: ... here. Include it.
41203 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41204 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41206 Update.
c7683a6d
RH
41207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41213 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41215
a6f1845d
AZ
412162012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41217
41218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41219
cbcbe830
DM
412202012-05-19 David S. Miller <davem@davemloft.net>
41221
41222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41223
e0b16cc2
JM
412242012-05-19 Joseph Myers <joseph@codesourcery.com>
41225
41226 [BZ #14123]
41227 * math/s_ccosh.c: Include <float.h>
41228 (__ccosh): Avoid internal overflow calculating sinh and cosh
41229 values before multiplying by sin and cos values.
41230 * math/s_ccoshf.c: Likewise.
41231 * math/s_ccoshl.c: Likewise.
41232 * math/s_csin.c: Likewise.
41233 * math/s_csinf.c: Likewise.
41234 * math/s_csinl.c: Likewise.
41235 * math/s_csinh.c: Likewise.
41236 * math/s_csinhf.c: Likewise.
41237 * math/s_csinhl.c: Likewise.
41238 * math/libm-test.inc (ccos_test): Add more tests.
41239 (ccosh_test): Likewise.
41240 (csin_test): Likewise.
41241 (csinh_test): Likewise.
41242 * sysdeps/i386/fpu/libm-test-ulps: Update.
41243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41244
6ad13e08
L
412452012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41246
f66f0ce8
L
41247 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41248 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41249
6ad13e08
L
41250 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41251
b1d072a7
JM
412522012-05-19 Joseph Myers <joseph@codesourcery.com>
41253
41254 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41255 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41256 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41257 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41258 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41259 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41260 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41261 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41262 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41263 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41264 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41265 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41266 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41267 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41268 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41269 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41270 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41271 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41272 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41273 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41274 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41275 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41276 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41277 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41278 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41279 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41280 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41281 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41282 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41283 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41284 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41285
9eae47cb
AJ
412862012-05-18 Andreas Jaeger <aj@suse.de>
41287
41288 * csu/.gitignore: Delete.
41289
bb07f69f
L
412902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41291
41292 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41293 (timex): Use __syscall_slong_t.
41294
e6bdb741
AJ
412952012-05-18 Andreas Jaeger <aj@suse.de>
41296 Carlos O'Donell <carlos_odonell@mentor.com>
41297
41298 * manual/install.texi (Configuring and compiling): Update
41299 description about files modified in the source directory.
d6c33fda 41300 * INSTALL: Regenerated.
e6bdb741 41301
1b74487e
L
413022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41303
41304 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41305 value. Use "or" to set return value to -1.
41306 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41307 negate return value.
41308
a88b64b9
TMQMF
413092012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41310
57f41c40
AS
41311 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41312 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41313 failure if the compiler has Graphite support disabled.
41314 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41315 Likewise.
57f41c40
AS
41316 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41317 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41318 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41319 Likewise.
41320
3707636e
L
413212012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41322
610b8622
L
41323 * sysdeps/x86_64/x32/_itoa.h: New file.
41324
7cd195df
L
41325 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41326 getdents system call only if kernel and user dirents have the
41327 same d_ino and d_off.
41328
94b07d20
L
41329 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41330 LLONG_MAX != LONG_MAX.
41331 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41332 (_fitoa_word): Likewise.
41333
18298070
L
41334 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41335 years.
41336 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41337 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41338 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41339
553c7ea4
L
41340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41341 include <bits/wordsize.h>. Check __x86_64__ instead of
41342 __WORDSIZE.
41343 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41344 if __x86_64__ is defined. Use anonymous union on fpstate.
41345
3707636e
L
41346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41347 anonymous union.
41348
b53ef01a
AS
413492012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41350
37fb1dc0
AS
41351 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41352 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41353 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41354 Refer to _rtld_local_ro instead of _rtld_global_ro.
41355 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41356 Likewise.
41357 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41358 Likewise.
41359 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41360 Likewise.
41361 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41362 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41363 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41364
b53ef01a
AS
41365 * sysdeps/powerpc/powerpc32/dl-machine.c
41366 (__elf_machine_runtime_setup) [PROF]: Don't reference
41367 _dl_prof_resolve.
41368
7a185db2
AJ
413692012-05-18 Andreas Jaeger <aj@suse.de>
41370
41371 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41372 function only available for GCCs before 3.4 since GCC 3.4
41373 introduced a builtin.
41374 (lrint): Likewise.
41375 (llrintf): Likewise.
41376 (llrint): Likewise.
41377 (fmaxf): Likewise.
41378 (fmax): Likewise.
41379 (fminf): Likewise.
41380 (fmin): Likewise.
41381 (rint): Likewise.
41382 (rintf): Likewise.
41383 (nearbyint): Likewise.
41384 (nearbyintf): Likewise.
41385 (ceil): Likewise.
41386 (ceilf): Likewise.
41387 (floor): Likewise.
41388 (floorf): Likewise.
41389
3e5aef87
L
413902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41391
428bd707
L
41392 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41393 on both fields and cast pointer to __syscall_ulong_t.
41394
3e5aef87
L
41395 * bits/types.h (__fsword_t): New type.
41396 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41397 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41398 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41399 (__FSWORD_T_TYPE): Likewise.
41400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41401 (__FSWORD_T_TYPE): Likewise.
41402 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41403 (__FSWORD_T_TYPE): Likewise.
41404 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41405 (__FSWORD_T_TYPE): Likewise.
41406 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41407 __SWORD_TYPE with __fsword_t.
41408 (statfs64): Likewise.
41409
1ba7c3dc
DM
414102012-05-17 David S. Miller <davem@davemloft.net>
41411
41412 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41413
59910343
AJ
414142012-05-17 Andreas Jaeger <aj@suse.de>
41415
41416 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41417 warning.
41418
2e4c1e9e
L
414192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41420
41421 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41422
de7f5ce7
AJ
414232012-05-17 Andreas Jaeger <aj@suse.de>
41424
41425 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41426 when it is used.
41427
286abc3d
CM
414282012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41429
41430 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41431
477cc68e
L
414322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41433
41434 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41435 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41436
1a0994f5
CD
414372012-05-17 Andreas Jaeger <aj@suse.de>
41438 Carlos O'Donell <carlos_odonell@mentor.com>
41439
41440 [BZ #14059]
41441 * sysdeps/x86_64/multiarch/init-arch.h
41442 (bit_YMM_Usable): Rename to...
41443 (bit_AVX_Usable): ... this.
41444 (bit_FMA4_Usable): New macro.
41445 (bit_XMM_state): New macro.
41446 (bit_YMM_state): New macro.
41447 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41448 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41449 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41450 (CPUID_OSXSAVE): New macro.
41451 (CPUID_AVX): New macro.
41452 (CPUID_FMA4): New macro.
41453 (index_YMM_Usable): Rename to...
41454 (index_AVX_Usable): ... this.
41455 (HAS_AVX): Use HAS_ARCH_FEATURE.
41456 (HAS_FMA4): Likewise.
41457 (HAS_YMM_USABLE): Remove.
41458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41459 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41460 are present.
41461 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41462 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41463 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41464 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41465 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41466
0af797de
CM
414672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41468
41469 * math/libm-test.c: Support platforms without multiple rounding modes.
41470 * math/bug-nextafter.c: Support platforms without FP exceptions.
41471 * math/bug-nexttoward.c: Likewise.
41472 * math/test-fenv.c: Likewise.
41473 * math/test-misc.c: Likewise.
41474 * stdlib/bug-getcontext.c: Likewise.
41475
e39745ff
AJ
414762012-05-17 Andreas Jaeger <aj@suse.de>
41477
41478 * manual/examples/search.c (critter_cmp): Change signature to
41479 avoid warnings.
41480 * manual/string.texi (Collation Functions): Likewise.
41481
48970aba
L
414822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41483
41484 * bits/types.h: Fold copyright years.
41485 * bits/typesizes.h: Likewise.
41486 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41487 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41488 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41490 * time/time.h: Likewise.
41491
bedee953
PP
414922012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
41493
41494 [BZ #208]
41495 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41496 in instead of returning them. Return void.
41497 (__libc_mallinfo): Accumulate over all arenas.
41498 (__malloc_stats): Adjust for change in int_mallinfo interface.
41499
61653dfb
RM
415002012-05-16 Roland McGrath <roland@hack.frob.com>
41501
30b99d79
RM
41502 [BZ #10375]
41503 * configure.in (NM): Add AC_CHECK_TOOL for it.
41504 (libc_extra_cflags): New substituted variable.
41505 Check for -fstack-protector being used implicitly.
41506 * configure: Regenerated.
41507 * config.make.in (config-extra-cflags): New variable,
41508 gets @libc_extra_cflags@.
41509 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41510
61653dfb
RM
41511 [BZ #10375]
41512 * configure.in: Check for _FORTIFY_SOURCE being predefined.
41513 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41514 * configure: Regenerated.
41515 * config.make.in (CPPUNDEFS): New substituted variable.
41516 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41517 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41518 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41519
661768bb
L
415202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41521
41522 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41523 (mq_attr): Use __syscall_slong_t.
41524
d4261567
L
415252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41526
41527 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41528 Check __x86_64__ instead of __WORDSIZE.
41529 (_STAT_VER_LINUX): Likewise.
41530 (stat): Check __x86_64__ instead of __WORDSIZE. Use
41531 __syscall_ulong_t and __syscall_slong_t.
41532 (stat64): Likewise.
41533
cf3ff365
L
415342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41535
41536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41537
76cf3e4d
L
415382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41539
41540 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41541
a637753a
L
415422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41543
41544 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41545 __syscall_ulong_t.
41546
d5e05119
L
41547 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41548 include <bits/wordsize.h>. Check __x86_64__ instead of
41549 __WORDSIZE.
41550 (greg_t): Use "__extension__ long long int" if __x86_64__ is
41551 defined.
41552 (mcontext_t): Replace "unsigned long" with "unsigned long long".
41553
f62ee380
L
41554 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41555 include <bits/wordsize.h>. Check __x86_64__ instead of
41556 __WORDSIZE.
41557 (user_regs_struct): Use "__extension__ unsigned long long"
41558 instead of "unsigned long" if __x86_64__ is defined.
41559 (user): Likewise. Pad after pointer field if __ILP32__ is
41560 defined.
41561
4e124ced
JM
415622012-05-16 Joseph Myers <joseph@codesourcery.com>
41563
6a3951a0
JM
41564 * configure.in (makeinfo): Require version 4.5 or later. Allow
41565 versions 5 to 9.
41566 * configure: Regenerated.
41567 * manual/install.texi (texinfo): Increase version requirement to
41568 4.5 or later.
41569 * INSTALL: Regenerated.
41570
4e124ced
JM
41571 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41572
953ca31a
L
415732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
41574
41575 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41576
617aca05
L
41577 * sysdeps/x86_64/x32/ffs.c: New file.
41578
5762f7ae
L
41579 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41580 __syscall_ulong_t.
41581 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41582 defined. Use __syscall_ulong_t.
41583 (shminfo): Use __syscall_ulong_t.
41584 (shm_info): Likewise.
41585
a26b6856
L
41586 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41587 __syscall_ulong_t.
41588
cb2b9ef7
L
41589 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41590 <bits/wordsize.h>.
41591 (msgqnum_t): Use __syscall_ulong_t.
41592 (msglen_t): Likewise.
41593 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41594 __syscall_ulong_t.
41595
34683bb0
L
41596 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41598
84a68786
L
41599 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41600
48baa5f1
L
41601 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41602 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41603
180be88b
L
41604 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41605 __syscall_slong_t.
41606
5e90c8ad
L
41607 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41608 include <bits/wordsize.h>. Check __x86_64__ instead of
41609 __WORDSIZE.
41610
23dfb58b
L
41611 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41612 "unsigned long long int" if __x86_64__ is defined.
41613 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41614
ce5d54b0
L
41615 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41616 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41617 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41618
13dc9eac
L
41619 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41620 <stdint.h>.
41621 (GET_PC): Cast to uintptr_t first.
41622 (GET_FRAME): Likewise.
41623 (GET_STACK): Likewise.
41624
a7895d15
L
41625 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41626 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41627 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41628 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41629 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41630 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41631 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41632 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41633 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41634 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41635 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41636 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41638 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41639 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41641 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41642 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41643 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41644 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41645 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41650 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41651 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41652 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41653 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41654
656416c9
AS
416552012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41656
5bd66283
AS
41657 * Makerules (+depfiles): Also collect depfiles from .oS in
41658 $(extra-objs).
41659 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41660 .oS, $(libnldbl-routines)).
41661
656416c9
AS
41662 * Makerules (native-compile-mkdep-flags): Define.
41663 * sunrpc/Makefile (extra-objs): Add $(addprefix
41664 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41665 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41666 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41667 calling $(make-target-directory).
41668
a46f2169
L
416692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41670
41671 * bits/types.h (__snseconds_t): Removed.
41672 * time/time.h (struct timespec): Replace __snseconds_t with
41673 __syscall_slong_t.
41674 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41675 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41676 Likewise.
41677 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41678 (__SNSECONDS_T_TYPE): Likewise.
41679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41680 (__SNSECONDS_T_TYPE): Likewise.
41681 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41682 (__SNSECONDS_T_TYPE): Likewise.
41683
6af6528b
L
416842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41685
41686 * sysdeps/mach/hurd/bits/typesizes.h
41687 (__SYSCALL_SLONG_TYPE): New macro.
41688 (__SYSCALL_ULONG_TYPE): Likewise.
41689
de986b56
L
416902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41691
41692 * bits/types.h (__syscall_slong_t): New type.
41693 (__syscall_ulong_t): Likewise.
41694
41695 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41696 (__SYSCALL_ULONG_TYPE): Likewise.
41697 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41698 (__SYSCALL_SLONG_TYPE): Likewise.
41699 (__SYSCALL_ULONG_TYPE): Likewise.
41700 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41701 (__SYSCALL_SLONG_TYPE): Likewise.
41702 (__SYSCALL_ULONG_TYPE): Likewise.
41703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41704 (__SYSCALL_SLONG_TYPE): Likewise.
41705 (__SYSCALL_ULONG_TYPE): Likewise.
41706
85736dc7
L
417072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41708
41709 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41710 Add sigaltstack-offsets.sym.
41711 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41712 <sigaltstack-offsets.h>.
41713 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41714 longjmp_msg pointer.
41715 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41716 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41717 signal stack.
41718 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41719
cc03b296
JM
417202012-05-15 Joseph Myers <joseph@codesourcery.com>
41721
a9538892
JM
41722 * elf/stackguard-macros.h: Remove file.
41723 * sysdeps/generic/stackguard-macros.h: New file.
41724 * sysdeps/i386/stackguard-macros.h: Likewise.
41725 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41726 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41727 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41728 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41729 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41730 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41731 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41732 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41733 <elf/stackguard-macros.h>.
41734
cc03b296
JM
41735 [BZ #14109]
41736 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41737 __aligned__ in attribute.
41738 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41739 (gregset_t): Likewise.
41740
93171016
L
417412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41742
41743 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41744 * sysdeps/x86_64/64/Implies-after: Here. New file.
41745 * sysdeps/x86_64/x32/Implies-after: New file.
41746
d86813a0
L
417472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41748
41749 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41750 and access return value for _dl_profile_fixup. Use R10_LP to
41751 load frame size.
41752
2953ec75
L
417532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41754
41755 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41756
3b550e9e
L
417572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41758
41759 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41760 * sysdeps/x86_64/x32/sysdep.h: New file.
41761
eda41706
L
417622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41763
41764 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41765 * sysdeps/x86_64/setjmp.S: Likewise.
41766
9ea01d93
AZ
417672012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41768
41769 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41770 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41771 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41772 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41773 remove unused global constant.
41774
02a91938
CM
417752012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41776
41777 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41778 include of <not-cancel.h>.
41779
6540185f
RM
417802012-05-15 Roland McGrath <roland@hack.frob.com>
41781
41782 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41783
509072a0
AJ
417842012-05-15 Jeff Law <law@redhat.com>
41785 Andreas Jaeger <aj@suse.de>
41786
41787 [BZ #13594]
41788 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41789 out from...
41790 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41791 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41792 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41793 code changing __hst_map_handle.map.
41794
ba75122d
RM
417952012-05-15 Roland McGrath <roland@hack.frob.com>
41796
41797 * configure.in (sysnames): Look for Implies-before and Implies-after
41798 files.
41799 * configure: Regenerated.
41800
890d8bd8
L
418012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41802
41803 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41804 8-byte data alignment with LP_SIZE alignment.
41805
f6ee6623
L
418062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41807
41808 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41809 into R10_LP.
41810
ea2626f6
L
418112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41812
41813 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41814
085f715e
L
418152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41818 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41819 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41820 Likewise.
41821 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41822
be8498fc
L
418232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41824
41825 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41826 (stackinfo_sub_sp): Likewise.
41827
70bc83b9
L
418282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41829
41830 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41831 RAX_LP.
41832
9bc0b730
L
418332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41834
41835 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41836 into R*_LP.
41837
6d2850e7
L
418382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41839
41840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41841 sizes into R*_LP.
41842
3cb84561
L
418432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41844
41845 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41846
54e2ed81
L
418472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41848
41849 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41850 into R11_LP and load __x86_64_shared_cache_size_half into
41851 R8_LP.
41852
8a17f349
L
418532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41854
41855 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41856 R8_LP.
41857
777b1eea
AZ
418582012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41859
41860 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41861 logb for POWER7.
41862 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41863 logbf for POWER7.
41864 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41865 logbl for POWER7.
41866 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41867 powerpc32/power7/fpu/s_logb.c via #include.
41868 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41869 powerpc32/power7/fpu/s_logbf.c via #include.
41870 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41871 powerpc32/power7/fpu/s_logbl.c via #include.
41872
d20d4ac2
JM
418732012-05-15 Joseph Myers <joseph@codesourcery.com>
41874
41875 * README.libm: Remove file.
41876
6cdef1ab
L
418772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41878
41879 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41880 count for x32. Use R*_LP and omit operand-size suffix.
41881
0b254d8f
L
418822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41883
41884 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41885 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41886 * sysdeps/x86_64/x32/shlib-versions: New file.
41887
ceb809dc
RM
418882012-05-14 Roland McGrath <roland@hack.frob.com>
41889
41890 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41891 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41892 Use _dl_fatal_printf instead.
41893
37f1abd4
JM
418942012-05-14 Joseph Myers <joseph@codesourcery.com>
41895
41896 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41897 set if not set by the user. Do not allow for being unset.
41898 * sysdeps/unix/sysv/linux/configure: Regenerated.
41899
11de3a33
L
419002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41901
41902 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41903 the `q' suffix from lea and replace .quad with ASM_ADDR.
41904
e02f153a
L
419052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41906
41907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41908 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41909 instead of $17.
41910 (PTR_DEMANGLE): Likewise.
41911
520ae0fd
L
419122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41913
41914 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41915 (LP_OP): Likewise.
41916 (ASM_ADDR): Likewise.
41917 (RAX_LP): Likewise.
41918 (RBP_LP): Likewise.
41919 (RBX_LP): Likewise.
41920 (RCX_LP): Likewise.
41921 (RDI_LP): Likewise.
41922 (RSI_LP): Likewise.
41923 (RSP_LP): Likewise.
41924 (R8_LP): Likewise.
41925 (R9_LP): Likewise.
41926 (R10_LP): Likewise.
41927 (R10_LP): Likewise.
41928 (R11_LP): Likewise.
41929 (R12_LP): Likewise.
41930 (R13_LP): Likewise.
41931 (R14_LP): Likewise.
41932 (R15_LP): Likewise.
41933
b985be81
L
419342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41935
41936 * sysdeps/x86_64/x32/dl-machine.h: New file.
41937
6a4888ff
AJ
419382012-05-14 Andreas Jaeger <aj@suse.de>
41939
41940 * manual/Makefile (subdir): Remove export of subdir.
41941 (all): Remove target.
41942 (.PHONY): Remove all from list.
41943 (mkinstalldirs): Remove.
41944 (.PHONY): Remove installdirs from list.
41945 ($(inst_infodir)/libc.info): Use make-target-directory.
41946 (installdirs): Remove.
41947 (subdir_%): Remove.
41948 (glibc-targets): Remove.
41949 (lib): Remove.
41950 (stubs): Remove.
41951 ($(objpfx)stubs ../po/manual.pot): Remove.
41952 ($(objpfx)stamp%): Remove.
41953 (make-target-directory): Remove.
41954 (subdir_install): Remove.
41955 (routines): Remove.
41956 (aux): Remove.
41957 (sources): Remove.
41958 (objects): Remove.
41959 (headers): Remove.
41960
41961 [BZ #13750]
41962 * manual/.gitignore: Remove, it's not needed anymore.
41963 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41964 all files in it.
41965 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41966 directory.
41967 (texis): Renamed to $(objpfx)texis.
41968 (texis-path): New, contains path to generated files.
41969 (chapters.%): Use texis-path for complete path, add extra argument
41970 libc-texinfo.sh.
41971 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41972 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41973 (summary,texi, stamp-summary): Use complete path of
41974 files. Generate files in build dir.
41975 (dir-add.texi): Build in build dir.
41976 (libm-err.texi,stamp-libm-err): Likewise.
41977 (version.texi, stamp-version): Likewise.
41978 (.%c.texi): Likewise.
41979 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41980 (mostlyclean): Remove target.
41981 (realclean): Remove target.
41982 (generated): Add new variable with contents from mostlyclean and
41983 realclean, remove entries duplicated in common-mostlyclean, add
41984 stamp-libm-err and stamp-version.
41985 (generated-dirs): Add libc directory.
41986 ($(inst_infodir)/libc.info): Install files from build dir.
41987
41988 * manual/install.texi (Configuring and compiling): Adjust since
41989 the info files are not part of the tar ball anymore.
41990
7ac77294
AJ
419912012-05-14 Andreas Jaeger <aj@suse.de>
41992
41993 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41994 variable.
41995
ffb7875d
JM
419962012-05-14 Joseph Myers <joseph@codesourcery.com>
41997
41998 [BZ #13717]
41999 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42000 to 2.2.0 where earlier.
42001 * sysdeps/unix/sysv/linux/configure: Regenerated.
42002 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42003 Remove conditional code.
42004 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42005 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42006 Remove conditional code.
42007 [!__NR_lchown]: Likewise.
42008 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42009 [__NR_lchown]: Likewise.
42010 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42011 comment referencing __ASSUME_LCHOWN_SYSCALL.
42012 * sysdeps/unix/sysv/linux/i386/sigaction.c
42013 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42014 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42015 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42016 Remove conditional code.
42017 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42018 (__protocol_available): Remove #if 0 code.
42019 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42020 conditional code.
42021 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42022 * sysdeps/unix/sysv/linux/kernel-features.h
42023 (__ASSUME_GETCWD_SYSCALL): Don't define.
42024 (__ASSUME_REALTIME_SIGNALS): Likewise.
42025 (__ASSUME_PREAD_SYSCALL): Likewise.
42026 (__ASSUME_PWRITE_SYSCALL): Likewise.
42027 (__ASSUME_POLL_SYSCALL): Likewise.
42028 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42029 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42030 non-SPARC.
42031 (__ASSUME_SIOCGIFNAME): Don't define.
42032 (__ASSUME_MSG_NOSIGNAL): Likewise.
42033 (__ASSUME_SENDFILE): Define unconditionally.
42034 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42035 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42036 conditional code.
42037 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42038 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42039 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42040 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42041 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42042 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42043 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42045 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42048 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42051 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42057 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42058 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42060 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42061 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42063 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42066 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42067 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42068 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42069 Remove conditional code.
42070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42071 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42072 Remove conditional code.
42073 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42074 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42075 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42076 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42077 Remove conditional code.
42078 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42079 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42080 Remove conditional code.
42081 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42082 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42083 Remove conditional code.
42084 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42085 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42086 Remove conditional code.
42087 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42088 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42089 Remove conditional code.
42090 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42091 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42092 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42093 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42094 * sysdeps/unix/sysv/linux/sigaction.c
42095 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42096 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42097 * sysdeps/unix/sysv/linux/sigpending.c
42098 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42099 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42100 * sysdeps/unix/sysv/linux/sigprocmask.c
42101 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42102 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42103 * sysdeps/unix/sysv/linux/sigsuspend.c
42104 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42105 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42107 (__libc_missing_rt_sigs): Remove.
42108 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42109 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42110 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42111 Remove conditional code.
42112 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42113 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42114 return 1.
42115 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42116 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42117 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42118 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42119
1bfb7291
AJ
421202012-05-14 Andreas Jaeger <aj@suse.de>
42121
caae5a81
AJ
42122 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42123 it's not used in glibc.
42124 (__coshm1): Likewise.
42125 (__acosh1p): Likewise.
42126 (__sgn): Likewise.
42127
1bfb7291
AJ
42128 * manual/string.texi (Copying and Concatenation): Add missing
42129 variable in concat example.
42130 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42131
c044d724
L
421322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42133
144c5467 42134 [BZ #14103]
c044d724
L
42135 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42136 __builtin_clzl with __builtin_clzll.
42137
2523c62b
L
421382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 [BZ #14104]
42141 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42142 libc_freeres_ptr.
42143
d7bb4c42
LD
421442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42145
42146 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42147 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42148 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42149 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42150
9dc4e1fb
MF
421512012-05-14 Mike Frysinger <vapier@gentoo.org>
42152
42153 * NEWS: Update ia64 info.
42154
c7df0112
AS
421552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42156
42157 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42158 used as bcopy.
42159
dc70356c
TS
421602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42161
42162 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42163 * sysdeps/unix/syscalls.list (dup3): Likewise.
42164 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42165 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42166
9fb1a21f
L
421672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42168
42169 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42170 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42171
4822a2a5
L
421722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42173
42174 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42175 thread pointer.
42176 (TLS_IE): Use mov/add instead of movq/addq to load thread
42177 pointer.
42178 (TLS_GD_PREFIX): New.
42179 (TLS_GD): Use it.
42180
842b81d6
DM
421812012-05-11 David S. Miller <davem@davemloft.net>
42182
42183 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42184 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42185 (_FPU_SETCW): Likewise.
42186
1cf463cd
L
421872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42188
42189 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42190 is 32-byte aligned.
42191
60cc4a18
AS
421922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42193
42194 [BZ #11837]
42195 * iconvdata/gb18030.c: Update tables.
42196 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42197 characters specially.
42198 (BODY for TO_LOOP): Add encoding of missing ranges.
42199
febb44a4
TS
422002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42201
42202 [BZ #13673]
42203 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42204 * sysdeps/mach/hurd/dup3.c: Likewise.
42205 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42206 * sysdeps/powerpc/memmove.c:: Likewise.
42207
0a10fb9e
L
422082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42209
42210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42211 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42212
df8a552f
L
422132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42214
42215 * elf/elf.h (R_X86_64_RELATIVE64): New.
42216 (R_X86_64_NUM): Updated.
42217 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42218 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42219 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42220 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42221 tst-quad1pie tst-quad2pie
42222 (modules-names): Add tst-quadmod1 tst-quadmod2.
42223 ($(objpfx)tst-quad1): New dependency.
42224 ($(objpfx)tst-quad2): Likewise.
42225 ($(objpfx)tst-quad1pie): Likewise.
42226 ($(objpfx)tst-quad2pie): Likewise.
42227 * sysdeps/x86_64/tst-quad1.c: New file.
42228 * sysdeps/x86_64/tst-quad1pie.c: New file.
42229 * sysdeps/x86_64/tst-quad2.c: Likewise.
42230 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42231 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42232 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42233 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42234 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42235
f34d6f84
ST
422362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42237
f42d41d1
ST
42238 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42239 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42240 * streams/stropts.h (t_scalar_t): Define type.
42241
3c3571fc
ST
42242 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42243 (_PATH_PRESERVE): Set to "/var/lib".
42244 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42245
61f06bd3
ST
42246 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42247 instead of int.
42248
918d4d71
ST
42249 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42250 if __dir_mkfile succeeded.
42251
f34d6f84
ST
42252 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42253 checking for _hurd_dtablesize. Unlock it right after having
42254 finished _hurd_dtable allocation.
42255
10589b4a
TS
422562012-05-10 Thomas Schwinge <thomas@schwinge.name>
42257
674cdbc7
TS
42258 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42259 * sysdeps/mach/hurd/configure: Regenerated.
42260 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42261 special-casing to...
42262 * sysdeps/gnu/configure.in: ... this new file.
42263 * sysdeps/unix/sysv/linux/configure: Regenerated.
42264 * sysdeps/gnu/configure: New generated file.
42265
8e41b99f
TS
42266 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42267 for Linux: use nsec instead of usec, as well as:
42268 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42269 members of type struct timespec.
42270 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42271 New macros.
42272 (struct stat64): Likewise.
42273 (_STATBUF_ST_NSEC): New macro.
42274 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42275
10589b4a
TS
42276 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42277 __strtoul_internal rather than strtoul.
42278
63643c85
PT
422792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42280
42281 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42282 and reject them.
42283
3faebe6a
ST
422842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42285
42286 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42287 which preserves existing values.
42288 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42289
c6474b07
PT
422902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42291
42292 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42293 TIMEOUT values. Return EINVAL for NFDS values either negative or
42294 greater than FD_SETSIZE.
42295
1043890b
ST
422962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42297
42298 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42299 allocated, call __vm_protect to finish enabling the existing space, and
42300 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42301 allocate the remainder.
42302
37ed8b9b
PT
423032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42304
42305 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42306 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42307
db653660
ST
423082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42309
37ed8b9b
PT
42310 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42311 sysdeps/mach/hurd/readlink.c.
b29d4053 42312
db653660
ST
42313 * posix/tst-sysconf.c (posix_options): Only use
42314 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42315 _POSIX_SYNCHRONIZED_IO when they are defined
42316 * sysdeps/mach/hurd/bits/posix_opt.h:
42317 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42318 (_XOPEN_REALTIME): Undefine macro.
42319 (_XOPEN_REALTIME_THREADS): Undefine macro.
42320 (_XOPEN_SHM): Undefine macro.
42321 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42322 macro to -1.
42323 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42324 macro to -1.
42325 (_POSIX_ASYNC_IO): Undefine macro.
42326 (_POSIX_PRIORITIZED_IO): Undefine macro.
42327 (_POSIX_SPIN_LOCKS): Define macro to -1.
42328
ee16e894
ST
42329 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42330 SA_NODEFER, SA_RESETHAND.
42331 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42332 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42333 F_DUPFD_CLOEXEC.
42334
6103ae3b
TS
423352012-05-10 Thomas Schwinge <thomas@schwinge.name>
42336
42337 * elf/Makefile (pldd-modules): Define unconditionally.
42338
80b4e5f3
TS
423392012-05-10 Thomas Schwinge <thomas@schwinge.name>
42340
42341 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42342
edadcbd6
ST
423432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42344
42345 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42346 Return ENOENT when name is empty.
42347 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42348
80694780
TS
423492012-05-10 Thomas Schwinge <thomas@schwinge.name>
42350
1792c087
TS
42351 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42352
80694780
TS
42353 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42354
6b645f0d
ST
423552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42356
80694780
TS
42357 Fix mlock in all cases except non-readable pages.
42358 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42359 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42360
6b645f0d
ST
42361 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42362 (__mkdir): When path is `/', just fail with EEXIST.
42363 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42364
e468f8a3
TS
423652012-05-10 Thomas Schwinge <thomas@schwinge.name>
42366
42367 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42368 <sys/uio.h> (for writev).
42369 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42370 and <sys/param.h> (for MIN).
42371
a4186cff
PT
423722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42373
42374 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42375 REQUESTED_TIME. Properly set the remaining time and return EINTR
42376 if interrupted.
42377
510bbf14
TS
423782012-05-10 Thomas Schwinge <thomas@schwinge.name>
42379
42380 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42381 Depend on against $(link-rpcuserlibs).
42382
5d5722e8
ST
423832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42384
a4186cff
PT
42385 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42386 (__libc_stack_end): Do not use attribute_relro.
42387 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42388 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42389 to libthread-provided value.
a4186cff
PT
42390 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42391 attribute_relro.
5d5722e8 42392
37233df9
TS
423932012-05-10 Thomas Schwinge <thomas@schwinge.name>
42394
be971a2b
TS
42395 [BZ #3748]
42396 * bits/libc-lock.h (__libc_once_get): New macro.
42397 * sysdeps/mach/bits/libc-lock.h: Likewise.
42398 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42399 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42400 instead of using implementation details.
42401
37233df9
TS
42402 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42403 * libio/freopen.c: Likewise.
42404 * libio/freopen64.c: Likewise.
42405 * misc/syslog.c: Likewise.
42406 * nscd/connections.c: Likewise.
42407 * nscd/netgroupcache.c: Likewise.
42408 * sysdeps/posix/getcwd.c: Likewise.
42409
38de94a5
RM
424102012-05-10 Roland McGrath <roland@hack.frob.com>
42411
42412 * math/w_ilogbf.c: Add #include <limits.h>.
42413
67530489
ST
424142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42415
a4186cff 42416 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42417 path instead of returning without unlocking.
42418
67530489
ST
42419 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42420 immediate-write ioctls.
42421 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42422
5aa3a74a
TS
424232012-05-10 Thomas Schwinge <thomas@schwinge.name>
42424
18bad2ae
TS
42425 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42426 __builtin_frame_address instead of making assumptions about the
42427 location of the return address relative to DATA. Force early load of
42428 the return address.
42429 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42430 __builtin_frame_address.
42431
5aa3a74a
TS
42432 dup3 for GNU Hurd.
42433 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42434 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42435 implement dup3 and do some further code clean-ups.
42436 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42437 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42438
ecd0de9a
ST
424392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42440
cd9fa985
ST
42441 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42442
a4186cff
PT
42443 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42444 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42445 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42446 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42447 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42448 d->port.lock.
802ca5a5 42449
a4186cff
PT
42450 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42451 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42452 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42453
bcf55240
TS
424542012-05-10 Thomas Schwinge <thomas@schwinge.name>
42455
6960eb42
TS
42456 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42457 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42458 definitions.
42459
eb43375f
TS
42460 accept4 for GNU Hurd.
42461 * include/sys/socket.h (__libc_accept4): New prototype.
42462 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42463 to implement __libc_accept4.
42464 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42465 __libc_accept4.
42466 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42467
bcf55240
TS
42468 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42469 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42470 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42471 signal-defines.sym.
42472
6178c55b
ST
424732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42474
a4186cff 42475 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 42476
6f080c2f
TS
424772012-05-10 Thomas Schwinge <thomas@schwinge.name>
42478
42479 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42480 assertion on O_CLOEXEC flag.
42481 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42482 * hurd/intern-fd.c: Likewise.
42483 * hurd/port2fd.c: Likewise.
42484
bcfe3a54
ST
424852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42486
42487 [BZ #3906]
42488 * bits/in.h (IPV6_PKTINFO): Define new macro.
42489 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42490
89c9aa49
AZ
424912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42492
42493 [BZ #13954]
42494 [BZ #13955]
42495 [BZ #13956]
42496 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42497 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42498 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42499 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42500 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42501 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42502 * math/libm-test.inc (logb_test) : Additional logb tests.
42503
021db4be
AJ
425042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
42505 Andreas Jaeger <aj@suse.de>
42506
42507 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42508 * configure: Regenerated.
42509 * config.h.in (LINK_OBSOLETE_RPC): New macro.
42510 * config.make.in (link-obsolete-rpc): New substituted variable.
42511 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42512 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42513 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42514 (shared-only-routines): Don't set it under [link-obsolete-rpc],
42515 so that libc.a contains the symbols.
42516 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42517 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42518 * sunrpc/auth_none.c: Likewise.
42519 * sunrpc/auth_unix.c: Likewise.
42520 * sunrpc/authdes_prot.c: Likewise.
42521 * sunrpc/authuxprot.c: Likewise.
42522 * sunrpc/clnt_gen.c: Likewise.
42523 * sunrpc/clnt_perr.c: Likewise.
42524 * sunrpc/clnt_raw.c: Likewise.
42525 * sunrpc/clnt_simp.c: Likewise.
42526 * sunrpc/clnt_tcp.c: Likewise.
42527 * sunrpc/clnt_udp.c: Likewise.
42528 * sunrpc/clnt_unix.c: Likewise.
42529 * sunrpc/des_crypt.c: Likewise.
42530 * sunrpc/des_soft.c: Likewise.
42531 * sunrpc/get_myaddr.c: Likewise.
42532 * sunrpc/key_call.c: Likewise.
42533 * sunrpc/key_prot.c: Likewise.
42534 * sunrpc/netname.c: Likewise.
42535 * sunrpc/pm_getmaps.c: Likewise.
42536 * sunrpc/pm_getport.c: Likewise.
42537 * sunrpc/pmap_clnt.c: Likewise.
42538 * sunrpc/pmap_prot.c: Likewise.
42539 * sunrpc/pmap_prot2.c: Likewise.
42540 * sunrpc/pmap_rmt.c: Likewise.
42541 * sunrpc/publickey.c: Likewise.
42542 * sunrpc/rpc_cmsg.c: Likewise.
42543 * sunrpc/rpc_common.c: Likewise.
42544 * sunrpc/rpc_dtable.c: Likewise.
42545 * sunrpc/rpc_prot.c: Likewise.
42546 * sunrpc/rpc_thread.c: Likewise.
42547 * sunrpc/rtime.c: Likewise.
42548 * sunrpc/svc.c: Likewise.
42549 * sunrpc/svc_auth.c: Likewise.
42550 * sunrpc/svc_raw.c: Likewise.
42551 * sunrpc/svc_run.c: Likewise.
42552 * sunrpc/svc_tcp.c: Likewise.
42553 * sunrpc/svc_udp.c: Likewise.
42554 * sunrpc/svc_unix.c: Likewise.
42555 * sunrpc/svcauth_des.c: Likewise.
42556 * sunrpc/xcrypt.c: Likewise.
42557 * sunrpc/xdr.c: Likewise.
42558 * sunrpc/xdr_array.c: Likewise.
42559 * sunrpc/xdr_float.c: Likewise.
42560 * sunrpc/xdr_intXX_t.c: Likewise.
42561 * sunrpc/xdr_mem.c: Likewise.
42562 * sunrpc/xdr_rec.c: Likewise.
42563 * sunrpc/xdr_ref.c: Likewise.
42564 * sunrpc/xdr_sizeof.c: Likewise.
42565 * sunrpc/xdr_stdio.c: Likewise.
42566
b5c086a2
RM
425672012-05-10 Roland McGrath <roland@hack.frob.com>
42568
42569 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42570 change. Update copyright years.
42571
6d74dd09
JM
425722012-05-10 Joseph Myers <joseph@codesourcery.com>
42573
42574 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42575
28e72501
MK
425762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42577 Joseph Myers <joseph@codesourcery.com>
42578 Paul Pluzhnikov <ppluzhnikov@google.com>
42579
42580 [BZ #14012]
42581 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42582 requiring rpcgen.
42583 [cross-compiling] (extra-libs): Likewise.
42584 [cross-compiling] (extra-libs-others): Likewise.
42585 [cross-compiling] (librpcsvc-routines): Likewise.
42586 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42587 [cross-compiling] (omit-deps): Likewise.
42588 (sunrpc-CPPFLAGS): New variable.
42589 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42590 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42591 (cross-rpcgen-objs): New variable.
42592 (extra-objs): Append $(cross-rpcgen-objs).
42593 ($(cross-rpcgen-objs)): New rule.
42594 ($(objpfx)cross-rpcgen): Likewise.
42595 (rpcgen-cmd): Define to use $(built-program-file). Expand
42596 comment.
42597 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42598 ($(objpfx)x%.stmp): Likewise.
42599 * sunrpc/proto.h [IS_IN_build] (_): Define.
42600 [IS_IN_build] (_libc_intl_domainname): Likewise.
42601
c8c59454
L
426022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42603
42604 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42605 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42606 and R_X86_64_TPOFF64.
42607
6f27cd16
JM
426082012-05-10 Joseph Myers <joseph@codesourcery.com>
42609
42610 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42611 sysdeps/unix/sysv/syscalls.list.
42612 (stime): Likewise.
42613 (utime): Likewise.
42614 * sysdeps/unix/sysv/syscalls.list: Remove file.
42615
02467e1c
PE
426162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42617
42618 [BZ #3440]
42619 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42620 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42621 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42622 (__LC_IDENTIFICATION): Make these macros useful in #if
42623 expressions, as required by C99.
42624
da392631
AS
426252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42626
42627 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42628 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42629 after this.
42630
8115f29b
L
426312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42632
42633 * stdlib/longlong.h: Updated from GCC.
42634
bdd74070
AJ
426352012-05-09 Andreas Jaeger <aj@suse.de>
42636
edfe0dbe
AJ
42637 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42638 default is first entry.
42639 (run_mode): Set type.
42640 (main): Remove informal message about syslog.
42641 (options): Fix typo.
42642
bcfe3a54
ST
42643 [BZ #14053]
42644 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 42645 to asm.
bcfe3a54
ST
42646 (lrint): Likewise.
42647 (llrintf): Likewise.
42648 (llrint): Likewise.
42649 (rint): Likewise.
42650 (rintf): Likewise.
42651 (nearbyint): Likewise.
42652 (nearbyintf): Likewise.
bdd74070 42653
91d8d69e
AJ
426542012-05-09 Andreas Jaeger <aj@suse.de>
42655 Pedro Alves <palves@redhat.com>
42656
42657 * nscd/nscd.c (run_mode): Use enum.
42658 (main): Cleanup coding style issue.
42659
bb90b80b
AJ
426602012-05-09 Alexandre Oliva <aoliva@redhat.com>
42661 Andreas Jaeger <aj@suse.de>
42662
bcfe3a54
ST
42663 * nscd/nscd.c (go_background): Replaced with...
42664 (run_mode): ... this.
bb90b80b 42665 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
42666 (options): Add -F --foreground.
42667 (main): Implement it.
42668 (parse_opt): Parse it.
bb90b80b 42669
1a4b75a1
AJ
426702012-05-09 Andreas Jaeger <aj@suse.de>
42671
42672 [BZ #14083]
42673 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42674 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42675 -Wconversion warning.
42676 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42677 Likewise.
42678
b1cc2472
JM
426792012-05-09 Joseph Myers <joseph@codesourcery.com>
42680
42681 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42682 == 0.
42683 (LC_ALL): Use macro-int-constant.
42684 (LC_COLLATE): Likewise.
42685 (LC_CTYPE): Likewise.
42686 (LC_MESSAGES): Likewise.
42687 (LC_MONETARY): Likewise.
42688 (LC_NUMERIC): Likewise.
42689 (LC_TIME): Likewise.
42690 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42691 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42692 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42693 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42694 Specify type.
42695 [C99-based standards] (float_t): Expect type.
42696 [C99-based standards] (double_t): Expect type.
42697 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42698 type.
42699 [C99-based standards] (HUGE_VALL): Likewise.
42700 [C99-based standards] (INFINITY): Likewise.
42701 [C99-based standards] (NAN): Likewise.
42702 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42703 [C99-based standards] (FP_NAN): Likewise.
42704 [C99-based standards] (FP_NORMAL): Likewise.
42705 [C99-based standards] (FP_SUBNORMAL): Likewise.
42706 [C99-based standards] (FP_ZERO): Likewise.
42707 [C99-based standards] (FP_FAST_FMA): Use
42708 optional-macro-int-constant. Specify type. Require == 1.
42709 [C99-based standards] (FP_FAST_FMAF): Likewise.
42710 [C99-based standards] (FP_FAST_FMAL): Likewise.
42711 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42712 [C99-based standards] (FP_ILOGBNAN): Likewise.
42713 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42714 Specify type.
42715 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42716 [C99-based standards] (math_errhandling): Specify type.
42717 [ISO99 || ISO11] (signgam): Do not allow.
42718 [non-C99-based standards] (copysignf): Do not allow.
42719 [non-C99-based standards] (exp2f): Likewise.
42720 [non-C99-based standards] (log2f): Likewise.
42721 [non-C99-based standards] (modff): Allow.
42722 [non-C99-based standards] (erff): Do not allow.
42723 [non-C99-based standards] (erfcf): Likewise.
42724 [non-C99-based standards] (gammaf): Likewise.
42725 [non-C99-based standards] (hypotf): Likewise.
42726 [non-C99-based standards] (j0f): Likewise.
42727 [non-C99-based standards] (j1f): Likewise.
42728 [non-C99-based standards] (jnf): Likewise.
42729 [non-C99-based standards] (lgammaf): Likewise.
42730 [non-C99-based standards] (tgammaf): Likewise.
42731 [non-C99-based standards] (y0f): Likewise.
42732 [non-C99-based standards] (y1f): Likewise.
42733 [non-C99-based standards] (ynf): Likewise.
42734 [non-C99-based standards] (isnanf): Likewise.
42735 [non-C99-based standards] (acoshf): Likewise.
42736 [non-C99-based standards] (asinhf): Likewise.
42737 [non-C99-based standards] (atanhf): Likewise.
42738 [non-C99-based standards] (cbrtf): Likewise.
42739 [non-C99-based standards] (expm1f): Likewise.
42740 [non-C99-based standards] (ilogbf): Likewise.
42741 [non-C99-based standards] (log1pf): Likewise.
42742 [non-C99-based standards] (logbf): Likewise.
42743 [non-C99-based standards] (nextafterf): Likewise.
42744 [non-C99-based standards] (remainderf): Likewise.
42745 [non-C99-based standards] (rintf): Likewise.
42746 [non-C99-based standards] (scalbf): Likewise.
42747 [non-C99-based standards] (copysignl): Likewise.
42748 [non-C99-based standards] (exp2l): Likewise.
42749 [non-C99-based standards] (log2l): Likewise.
42750 [non-C99-based standards] (modfl): Allow.
42751 [non-C99-based standards] (erfl): Do not allow.
42752 [non-C99-based standards] (erfcl): Likewise.
42753 [non-C99-based standards] (gammal): Likewise.
42754 [non-C99-based standards] (hypotl): Likewise.
42755 [non-C99-based standards] (j0l): Likewise.
42756 [non-C99-based standards] (j1l): Likewise.
42757 [non-C99-based standards] (jnl): Likewise.
42758 [non-C99-based standards] (lgammal): Likewise.
42759 [non-C99-based standards] (tgammal): Likewise.
42760 [non-C99-based standards] (y0l): Likewise.
42761 [non-C99-based standards] (y1l): Likewise.
42762 [non-C99-based standards] (ynl): Likewise.
42763 [non-C99-based standards] (isnanl): Likewise.
42764 [non-C99-based standards] (acoshl): Likewise.
42765 [non-C99-based standards] (asinhl): Likewise.
42766 [non-C99-based standards] (atanhl): Likewise.
42767 [non-C99-based standards] (cbrtl): Likewise.
42768 [non-C99-based standards] (expm1l): Likewise.
42769 [non-C99-based standards] (ilogbl): Likewise.
42770 [non-C99-based standards] (log1pl): Likewise.
42771 [non-C99-based standards] (logbl): Likewise.
42772 [non-C99-based standards] (nextafterl): Likewise.
42773 [non-C99-based standards] (remainderl): Likewise.
42774 [non-C99-based standards] (rintl): Likewise.
42775 [non-C99-based standards] (scalbl): Likewise.
42776 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42777 [non-C99-based standards] (FP_*): Do not allow.
42778 [C99-based standards] (FP_*): Change to
42779 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42780 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42781 allow.
42782 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42783 (SIG_ERR): Likewise.
42784 [X/Open-based standards] (SIG_HOLD): Likewise.
42785 (SIG_IGN): Likewise.
42786 (SIGABRT): Use macro-int-constant. Specify type. Require
42787 positive value.
42788 (SIGFPE): Likewise.
42789 (SIGILL): Likewise.
42790 (SIGINT): Likewise.
42791 (SIGSEGV): Likewise.
42792 (SIGTER): Likewise.
42793 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42794 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42796 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42797 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42798 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42799 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42800 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42801 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42802 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42803 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42805 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42807 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42808 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42809 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42810 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42811 [X/Open-based standards] (SIGTRAP): Likewise.
42812 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42813 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42814 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42815 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42816 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42817 allow.
42818
b9f1922d
IW
428192012-05-08 Ian Wienand <ianw@vmware.com>
42820
42821 [BZ #14080]
42822 * time/tzset.c (__tzset_parse_tz): Update default rules for
42823 daylight time changes in the Energy Policy Act of 2005.
42824
1db86e88
AJ
428252012-05-09 Andreas Jaeger <aj@suse.de>
42826
42827 [BZ #13983]
42828 * elf/ldconfig.c (parse_conf): Change string to make clear that
42829 ldconfig only issued a warning if ld.so.conf does not exist.
42830
dee4a4e3
DM
428312012-05-08 David S. Miller <davem@davemloft.net>
42832
ee0db190
DM
42833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42834 movxtod instead of popping the value on the stack.
42835
dee4a4e3
DM
42836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42837
6a43ec98
CD
428382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42839
42840 * config.h.in: Add HAVE_ARM_PCS_VFP.
42841
05c2c961
RMG
428422012-05-08 Roland Mc Grath <roland@hack.frob.com>
42843
bcfe3a54
ST
42844 [BZ #13979]
42845 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42846 checking but the checks are disabled for any reason.
05c2c961 42847
4b30f61a
L
428482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42849
42850 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42851 and ELF64_R_TYPE with ELFW(R_TYPE).
42852
eee2bc67
JM
428532012-05-08 Joseph Myers <joseph@codesourcery.com>
42854
7ea5391a
JM
42855 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42856 (ulimit): Likewise.
42857
eee2bc67
JM
42858 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42859 (settimeofday): Likewise.
42860
abb66a67
MF
428612012-05-08 Mike Frysinger <vapier@gentoo.org>
42862
42863 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42864 a struct th_u2 inside the union, and move tu_block/tu_code into
42865 a new th_u3 union of tu_block/tu_code inside of that. Move
42866 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42867 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42868 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42869 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42870 (th_stuff): Change to th_u1.tu_stuff.
42871 (th_data): Define.
42872 (th_msg): Change to th_u1.th_u2.tu_data.
42873
7f18b530
DM
428742012-05-07 David S. Miller <davem@davemloft.net>
42875
05760585
DM
42876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42877
7f18b530
DM
42878 [BZ #14074]
42879 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42880 (SETUP_PIC_REG): Use it.
42881 (SETUP_PIC_REG_LEAF): Use it.
42882
495fd99f
JM
428832012-05-07 Joseph Myers <joseph@codesourcery.com>
42884
42885 [BZ #13885]
42886 [BZ #13923]
42887 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42888 USE_AS_EXPM1L.
42889 (EXPL_FINITE): Likewise.
42890 (FLDLOG): Likewise.
42891 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42892 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42893 e_expl.S.
42894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42895 USE_AS_EXPM1L.
42896 (EXPL_FINITE): Likewise.
42897 (FLDLOG): Likewise.
42898 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42899 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42900 e_expl.S.
42901 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42902 test of -max_value argument for long double.
42903 * sysdeps/i386/fpu/libm-test-ulps: Update.
42904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42905
6693d694
DM
429062012-05-06 David S. Miller <davem@davemloft.net>
42907
42908 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42909 quad soft-float symbols whose references which are compiler
42910 generated.
42911 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42912
6c23e11c
JM
429132012-05-06 Joseph Myers <joseph@codesourcery.com>
42914
d8b82cad
JM
42915 [BZ #13884]
42916 [BZ #13914]
42917 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42918 USE_AS_EXP10L.
42919 (EXPL_FINITE): Likewise.
42920 (FLDLOG): Likewise.
42921 (c0): Likewise.
42922 (c1): Likewise.
42923 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42924 Adjust comments for base varying.
42925 (__expl_finite): Change alias to EXPL_FINITE.
42926 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42927 e_expl.S.
42928 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42929 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42930 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42931 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42932 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42933 USE_AS_EXP10L.
42934 (EXPL_FINITE): Likewise.
42935 (FLDLOG): Likewise.
42936 (c0): Likewise.
42937 (c1): Likewise.
42938 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42939 Adjust comments for base varying.
42940 (__expl_finite): Change alias to EXPL_FINITE.
42941 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42942 tests for bugs.
42943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42944
6c23e11c
JM
42945 [BZ #14064]
42946 * math/libm-test.inc (check_float_internal): Correct ulp
42947 calculation for subnormal expected results.
42948
29ba805c
AJ
429492012-05-06 Andreas Jaeger <aj@suse.de>
42950
42951 * Makeconfig (+math-flags): New, set to -frounding-math.
42952 (+cflags): Add +math-flags so that all of glibc gets compiled with
42953 it.
42954
42955 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42956
7b17aeda
JM
429572012-05-05 Joseph Myers <joseph@codesourcery.com>
42958
5779f134
JM
42959 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42960 Disable one test.
42961
41498f4d
JM
42962 [BZ #13787]
42963 [BZ #13922]
42964 [BZ #14036]
42965 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42966 (__ieee754_expl): Allow for and saturate large arguments.
42967 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42968 (u_threshold): Likewise.
42969 (__exp): Call __ieee754_exp before checking for overflow and
42970 underflow.
42971 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42972 (u_threshold): Likewise.
42973 (__expf): Call __ieee754_expf before checking for overflow and
42974 underflow.
42975 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42976 (u_threshold): Likewise.
42977 (__expl): Call __ieee754_expl before checking for overflow and
42978 underflow.
42979 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42980 (__ieee754_expl): Allow for and saturate large arguments.
42981 * math/libm-test.inc (exp_test): Add another test. Do not allow
42982 missing overflow exception on overflow.
42983 (expm1_test): Do not allow missing overflow exception on overflow.
42984
6698b8bf
JM
42985 * sysdeps/i386/fpu/e_expl.c: Move to ...
42986 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42987 rather than using inline asm.
42988 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42989 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42990 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42991
7b17aeda
JM
42992 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42993 (nice): Likewise.
42994 (poll): Likewise.
42995 (signal): Likewise.
42996 (time): Likewise.
42997 (times): Likewise.
42998
f7c85819
JM
429992012-05-04 Joseph Myers <joseph@codesourcery.com>
43000
43001 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43002 sysdeps/unix/common/syscalls.list.
43003 (fchmod): Likewise.
43004 (fchown): Likewise.
43005 (ftruncate): Likewise.
43006 (getrusage): Likewise.
43007 (gettimeofday): Likewise.
43008 (setpgid): Likewise.
43009 (setregid): Likewise.
43010 (setreuid): Likewise.
43011 (sigaction): Likewise.
43012 (truncate): Likewise.
43013 (vhangup): Likewise.
43014 * sysdeps/unix/common/syscalls.list: Remove file.
43015 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43016 * sysdeps/unix/sysv/linux/Implies: Likewise.
43017
336270d0
L
430182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43019
43020 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43022 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43023 Moved to ...
43024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43025 Here.
43026 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43027 to ...
43028 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43029 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43030 to ...
43031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43032 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43033 to ...
43034 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43035 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43036 to ...
43037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43038 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43039 to ...
43040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43041 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43042 to ...
43043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43044 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43045 to ...
43046 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43047 Here.
43048 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43049 to ...
43050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43051 Here.
43052 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43053 to ...
43054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43055 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43056 Moved to ...
43057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43058 Here.
43059 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43060 to ...
43061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43062
d128e450
JM
430632012-05-04 Joseph Myers <joseph@codesourcery.com>
43064
fa8ee516
JM
43065 * sysdeps/unix/common/bits/dirent.h: Remove file.
43066 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43067
d128e450
JM
43068 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43069 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43070 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43071 * sysdeps/unix/bsd/isatty.c: Likewise.
43072 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43073 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43074 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43075
ff8faaf0 430762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43077
62881be4 43078 [BZ #13563]
31dc8730
AZ
43079 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43080 long double comparison inaccuracies.
43081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43082 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43083
6fef930c
AS
430842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43085
43086 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43087 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43088
8f203e6c
JM
430892012-05-04 Joseph Myers <joseph@codesourcery.com>
43090
43091 [BZ #14049]
43092 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43093 nonzero digits before rounding a hex value.
43094 * stdlib/tst-strtod.c (tests): Add another test.
43095
5197d9c2
AK
430962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43097
43098 * sysdeps/s390/fpu/libm-test-ulps: Update.
43099
f0c1dedf
AJ
431002012-05-03 Andreas Jaeger <aj@suse.de>
43101
43102 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43103 does not get optimized out.
43104 (malloc_opt_barrier): New.
43105
a65ef2ae 431062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43107 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43108
2b942cb7 43109 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43110 intermediate file deletion.
2b942cb7 43111 (generated): Add .symlist files.
a65ef2ae 43112
54b71e02
JM
431132012-05-03 Joseph Myers <joseph@codesourcery.com>
43114
43115 [BZ #13775]
43116 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43117 Redirect under this condition.
43118 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43119 [__USE_GNU] (__dprintf_chk): Not under this condition.
43120 [__USE_GNU] (__vdprintf_chk): Likewise.
43121 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43122 under this condition.
43123 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43124 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43125 [__USE_XOPEN2K8] (vdprintf): Likewise.
43126 [__USE_GNU] (__dprintf_chk): Not under this condition.
43127 [__USE_GNU] (__vdprintf_chk): Likewise.
43128 [__USE_GNU] (dprintf): Likewise.
43129 [__USE_GNU] (vdprintf): Likewise.
43130
d3dfcc41
RM
431312012-05-03 Roland McGrath <roland@hack.frob.com>
43132
43133 * elf/Makefile (common-generated): Set this instead of generated for
43134 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43135 $(all-built-dso)-derived lists.
43136
7ac30cc5
AJ
431372012-05-03 Andreas Jaeger <aj@suse.de>
43138
0c51e550
AJ
43139 * sysdeps/i386/fpu/libm-test-ulps: Update.
43140
7ac30cc5
AJ
43141 * FAQ: Removed.
43142 * FAQ.in: Likewise.
43143 * scripts/gen-FAQ.pl: Likewise.
43144 * manual/install.texi (Installation): Point to online location of
43145 FAQ.
43146 * Makefile (files-for-dist): Remove FAQ.
43147 (FAQ): Remove.
43148
d4c2917f
AM
431492012-05-02 Allan McRae <allan@archlinux.org>
43150
43151 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43152 (LDFLAGS-reldepmod5.so): Likewise.
43153 (LDFLAGS-reldep6mod1.so): Likewise.
43154 (LDFLAGS-reldep6mod4.so): Likewise.
43155 (LDFLAGS-reldep8mod3.so): Likewise.
43156 (LDFLAGS-unload4mod1.so): Likewise.
43157 (LDFLAGS-unload4mod2.so): Likewise.
43158 (LDFLAGS-tst-initorder): Likewise.
43159 (LDFLAGS-tst-initordera2.so): Likewise.
43160 (LDFLAGS-tst-initordera3.so): Likewise.
43161 (LDFLAGS-tst-initordera4.so): Likewise.
43162 (LDFLAGS-tst-initorderb2.so): Likewise.
43163 (LDFLAGS-noload): Likewise.
43164 (LDFLAGS-next): Likewise.
43165 (LDFLAGS-order2mod1.so): Likewise.
43166 (LDFLAGS-order2mod2.so): Likewise.
43167 (LDFLAGS-tst-initorder2): Likewise.
43168 (LDFLAGS-tst-initorder2a.so): Likewise.
43169 (LDFLAGS-tst-initorder2b.so): Likewise.
43170 (LDFLAGS-tst-initorder2c.so): Likewise.
43171 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43172
d77f993f
DM
431732012-05-02 David S. Miller <davem@davemloft.net>
43174
43175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43176
171a70b4
PP
431772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43178
43179 [BZ #14055]
43180 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43181
0be196ad
AJ
431822012-05-02 Andreas Jaeger <aj@suse.de>
43183
43184 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43185 since we manipulate rounding mode.
43186 (CPPFLAGS-test-idouble.c): Likewise.
43187 (CPPFLAGS-test-ifloat.c): Likewise.
43188 (CFLAGS-test-ldouble.c): Likewise.
43189 (CFLAGS-test-double.c): Likewise.
43190 (CFLAGS-test-float.c): Likewise.
43191 (CFLAGS-test-misc.c): Likewise.
43192 (CFLAGS-test-test-fenv.c): Likewise.
43193
4f9d04aa
AZ
431942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43195
2b942cb7
RM
43196 [BZ #2550]
43197 [BZ #2570]
43198 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43199 comparisons to determine direction to adjust input.
4f9d04aa 43200
82a79e7d
RM
432012012-05-01 Roland McGrath <roland@hack.frob.com>
43202
f5a01ca9
RM
43203 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43204 output to the target.
43205
90fe4186
RM
43206 * scripts/localplt.awk: New file.
43207 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43208 (check-localplt-CFLAGS): Variable removed.
43209 ($(all-built-dso:=.jmprel)): New static pattern rule.
43210 (generated): Add those targets.
43211 (localplt-built-dso): New variable.
43212 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43213
43214 * elf/check-localplt.c: File removed.
43215
82397ed6
RM
43216 * scripts/check-execstack.awk: New file.
43217 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43218 (check-execstack-CFLAGS): Variable removed.
43219 ($(objpfx)check-execstack.h): Target removed.
43220 ($(objpfx)execstack-default): New target.
43221 (generated): Add that instead of check-execstack.h.
43222 ($(all-built-dso:=.phdr)): New static pattern rule.
43223 (generated): Add those targets.
43224 * elf/check-execstack.c: File removed.
43225
82a79e7d
RM
43226 * scripts/check-textrel.awk: New file.
43227 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43228 (check-textrel-CFLAGS): Variable removed.
43229 (all-built-dso): Use := to define.o
43230 ($(all-built-dso:=.dyn)): New static pattern rule.
43231 (generated): Add those targets.
43232 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43233 * config.make.in (READELF): New substituted variable.
43234 * elf/check-textrel.c: File removed.
43235
62fde54f 432362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43237
615605c9
JM
43238 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43239 allow.
43240 * conform/data/ctype.h-data [C99-based standards] (isblank):
43241 Expect function.
43242 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43243 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43244 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43245 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43246 Specify type. Require positive value.
43247 (EILSEQ): Likewise.
43248 (ERANGE): Likewise.
43249 [ISO || POSIX] (EILSEQ): Do not expect.
43250 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43251 Specify type. Require positive value.
43252 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43253 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43254 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43255 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43256 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43257 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43258 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43259 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43260 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43261 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43262 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43263 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43264 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43265 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43266 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43267 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43268 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43269 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43270 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43271 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43272 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43273 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43274 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43275 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43276 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43277 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43278 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43279 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43280 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43281 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43282 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43283 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43284 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43285 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43286 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43287 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43288 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43289 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43290 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43291 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43292 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43293 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43294 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43295 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43296 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43297 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43298 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43299 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43300 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43301 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43302 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43303 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43304 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43305 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43306 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43307 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43308 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43309 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43310 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43311 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43312 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43313 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43314 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43315 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43316 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43317 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43318 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43319 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43320 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43321 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43322 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43323 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43324 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43325 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43326 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43327 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43328 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43329 Require >= 2.
43330 (FLT_ROUNDS): Expect as macro, not constant.
43331 (FLT_MANT_DIG): Use macro-int-constant.
43332 (DBL_MANT_DIG): Likewise.
43333 (LDBL_MANT_DIG): Likewise.
43334 (FLT_DIG): Likewise.
43335 (DBL_DIG): Likewise.
43336 (LDBL_DIG): Likewise.
43337 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43338 (DBL_MIN_EXP): Likewise.
43339 (LDBL_MIN_EXP): Likewise.
43340 (FLT_MAX_EXP): Use macro-int-constant.
43341 (DBL_MAX_EXP): Likewise.
43342 (LDBL_MAX_EXP): Likewise.
43343 (FLT_MAX_10_EXP): Likewise.
43344 (DBL_MAX_10_EXP): Likewise.
43345 (LDBL_MAX_10_EXP): Likewise.
43346 (FLT_MAX): Use macro-constant.
43347 (DBL_MAX): Likewise.
43348 (LDBL_MAX): Likewise.
43349 (FLT_EPSILON): Use macro-constant. Give upper bound.
43350 (DBL_EPSILON): Likewise.
43351 (LDBL_EPSILON): Likewise.
43352 (FLT_MIN): Likewise.
43353 (DBL_MIN): Likewise.
43354 (LDBL_MIN): Likewise.
43355 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43356 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43357 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43358 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43359 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43360 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43361 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43362 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43363 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43364 [ISO11] (FLT_TRUE_MIN): Likewise.
43365 [ISO11] (LDBL_TRUE_MIN): Likewise.
43366 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43367 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43368 (SCHAR_MIN): Use macro-int-constant. Specify type.
43369 (SCHAR_MAX): Likewise.
43370 (UCHAR_MAX): Likewise.
43371 (CHAR_MIN): Likewise.
43372 (CHAR_MAX): Likewise.
43373 (MB_LEN_MAX): Use macro-int-constant.
43374 (SHRT_MIN): Use macro-int-constant. Specify type.
43375 (SHRT_MAX): Likewise.
43376 (USHRT_MAX): Likewise.
43377 (INT_MAX): Likewise.
43378 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43379 bound negative.
43380 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43381 bound with "U".
43382 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43383 bound with "L".
43384 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43385 bound negative. Suffix upper bound with "L".
43386 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43387 bound with "UL".
43388 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43389 Specify type.
43390 [C99-based standards] (LLONG_MAX): Likewise.
43391 [C99-based standards] (ULLONG_MAX): Likewise.
43392 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43393 == 0.
43394 [ISO11] (max_align_t): Require type.
43395 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43396
c9140a62
JM
43397 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43398 from $CFLAGS, without defining away __attribute__ calls.
43399 (checknamespace): Use $CFLAGS_namespace.
43400
9af0bf29
JM
43401 * conform/conformtest.pl (@keywords): Only include C99 keywords
43402 for standards based on C99 or C11.
43403
343222a2
JM
43404 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43405 Disable tests.
43406 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43407 UNIX98]: Likewise.
43408
661f8cf0
JM
43409 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43410 usability of symbols in #if.
43411
ee74b9cb
JM
43412 * conform/conformtest.pl: If macro or constant types start
43413 "promoted:", expect the symbol to be of the following type
43414 promoted by the integer promotions.
62fde54f 43415
aafc49b3
JM
43416 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43417 in one place. Also handle "macro-constant".
43418
fefdf574
JM
43419 * conform/conformtest.pl: Only accept expected macro values with
43420 "==". Parse all "macro" lines in one place.
43421 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43422
f2d922fe
JM
43423 * conform/conformtest.pl: Handle braced types on "constant" lines
43424 instead of handling "typed-constant".
43425 * conform/data/signal.h-data: Use "constant" instead of
43426 "typed-constant".
43427
d22956c9
JM
43428 * conform/conformtest.pl: Handle "optional-" at start of lines in
43429 one place rather than duplicating several cases. Handle each
43430 format of "macro" line with initial "optional-".
43431
028e2e38
JM
43432 * conform/conformtest.pl: Only accept expected constant or
43433 optional-constant values with "==". Parse all "constant" lines in
43434 one place. Parse all "optional-constant" lines in one place.
43435 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43436 * conform/data/fmtmsg.h-data: Likewise.
43437 * conform/data/netinet/in.h-data: Likewise.
43438 * conform/data/tar.h-data: Likewise.
43439 * conform/data/limits.h-data: Use "==" form on "constant" and
43440 "optional-constant" lines.
43441
1b8f2850
JM
43442 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43443 Use -std=c99 for XOPEN2K.
43444 (@knownproblems): Remove.
43445 (newtoken): Don't check %isknown.
43446
a05a144b
JM
43447 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43448 Do not expect macro.
43449 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43450 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43451 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43452 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43453 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43454 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43455 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43456 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43457 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43458 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43459 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43460 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43461 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43462 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43463 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43464 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43465 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43466 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43467 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43468 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43469 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43470 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43471 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43472 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43473 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43474 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43475 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43476 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43477 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43478 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43479 [XPG3] (acosh): Likewise.
43480 [XPG3] (asinh): Likewise.
43481 [XPG3] (atanh): Likewise.
43482 [XPG3] (cbrt): Likewise.
43483 [XPG3] (expm1): Likewise.
43484 [XPG3] (ilogb): Likewise.
43485 [XPG3] (log1p): Likewise.
43486 [XPG3] (logb): Likewise.
43487 [XPG3] (nextafter): Likewise.
43488 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43489 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43490 [XPG3] (remainder): Likewise.
43491 [XPG3] (rint): Likewise.
43492 [XPG3 || XPG4 || UNIX98] (round): Likewise.
43493 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43494 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43495 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43496 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43497 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43498 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43499 [UNIX98 || XOPEN2K] (scalb): Expect.
43500 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43501 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43502 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43503 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43504 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43505 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43506 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43507 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43508 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43509 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43510 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43511 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43512 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43513 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43514 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43515 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43516 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43517 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43518 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43519 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43520 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43521 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43522 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43523 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43524 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43525 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43526 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43527 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43528 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43529 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43530 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43531 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43532 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43533 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43534 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43535 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43536 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43537 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43538 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43539 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43540 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43541 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43542 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43543 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43544 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43545 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43546 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43547 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43548 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43549 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43550 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43551 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43552 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43553 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43554 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43555 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43556 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43557 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43558 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43559 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43560 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43561 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43562 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43563 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43564 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43565 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43566 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43567 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43568 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43569 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43570 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43571 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43572 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43573 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43574 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43575 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43576 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43577 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43578 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43579 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43580 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43581 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43582 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43583 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43584 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43585 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43586 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43587 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43588 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43589 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43590 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43591 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43592 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43593 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43594 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43595 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43596 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43597 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43598 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43599 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43600 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43601 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43602 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43603 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43604 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43605 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43606 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43607 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43608 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43609 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43610 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43611 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43612 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43613 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43614 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43615 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43616 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43617 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43618 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43619 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43620 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43621 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43622 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43623 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43624 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43625 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43626 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43627 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43628 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43629 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43630 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43631 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43632 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43633 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43634 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43635 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43636 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43637
73c5ebe3
JM
43638 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43639 _XOPEN_SOURCE_EXTENDED for XPG4.
43640
39c33b6c
JM
43641 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43642
62fde54f
JM
43643 * Makeconfig (localtime): Remove variable.
43644 (inst_localtime-file): Likewise.
43645
0741d64c
AS
436462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43647
43648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43649 Update.
43650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43651 Update.
43652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43653 Update.
43654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43655 Update.
43656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43657 Update.
43658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43659 Update.
43660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43661 Update.
43662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43663 Update.
43664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43665 Update.
43666
7cb029ee
JM
436672012-05-01 Joseph Myers <joseph@codesourcery.com>
43668
43669 [BZ #2550]
43670 [BZ #2570]
43671 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43672 comparisons to determine direction to adjust input.
43673 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43674 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43675 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43676 Likewise.
43677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43678 Likewise.
43679 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43680 Likewise.
43681 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43682 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43683 Likewise.
43684 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43685 Likewise.
43686 * math/libm-test.inc (nexttoward_test): Add more tests.
43687
412bd966
AS
436882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43689
43690 [BZ #14040]
43691 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43692 in version GLIBC_2.1, not GLIBC_2.0.
43693 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43694 Likewise.
43695
9568c0c2
JM
436962012-04-30 Joseph Myers <joseph@codesourcery.com>
43697
adfbc8ac
JM
43698 [BZ #13942]
43699 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43700 (1 - x) * (1 + x).
43701 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43702 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43703 * math/libm-test.inc (acos_test): Add more tests.
43704 (asin_test): Likewise.
43705 * sysdeps/i386/fpu/libm-test-ulps: Update.
43706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43707
5ba3cc69
JM
43708 [BZ #14034]
43709 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43710 of square root.
43711 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43712 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43713 * math/libm-test.inc (acos_test_tonearest): New function.
43714 (acos_test_towardzero): Likewise.
43715 (acos_test_downward): Likewise.
43716 (acos_test_upward): Likewise.
43717 (asin_test_tonearest): Likewise.
43718 (asin_test_towardzero): Likewise.
43719 (asin_test_downward): Likewise.
43720 (asin_test_upward): Likewise.
43721 (main): Call the new functions.
43722 * sysdeps/i386/fpu/libm-test-ulps: Update.
43723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43724
9568c0c2
JM
43725 [BZ #13884]
43726 [BZ #13924]
43727 * math/e_exp10.c: Include <float.h>.
43728 (__ieee754_exp10): Handle underflow here rather than multiplying
43729 large negative argument by M_LN10.
43730 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43731 of __ieee754_expf.
43732 * math/e_exp10l.c: Include <float.h>.
43733 (__ieee754_exp10l): Handle underflow here rather than multiplying
43734 large negative argument by M_LN10l.
43735 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43736 spurious overflow exception on underflow.
43737
5ac3ea17
MP
437382012-04-29 Marek Polacek <polacek@redhat.com>
43739
43740 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43741 (__fortify_function): New macro.
43742 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43743 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43744 __extern_always_inline.
43745 * libio/bits/stdio2.h: Likewise.
43746 * libio/bits/stdio.h: Likewise.
43747 * string/string.h: Likewise.
43748 * string/bits/string3.h: Likewise.
43749 * include/stdio.h: Likewise.
43750 * stdlib/bits/stdlib.h: Likewise.
43751 * stdlib/stdlib.h: Likewise.
43752 * rt/bits/mqueue2.h: Likewise.
43753 * rt/mqueue.h: Likewise.
43754 * posix/bits/unistd.h: Likewise.
43755 * posix/unistd.h: Likewise.
43756 * io/bits/poll2.h: Likewise.
43757 * io/bits/fcntl2.h: Likewise.
43758 * io/fcntl.h: Likewise.
43759 * io/sys/poll.h: Likewise.
43760 * misc/bits/syslog.h: Likewise.
43761 * misc/bits/syslog-ldbl.h: Likewise.
43762 * misc/sys/syslog.h: Likewise.
43763 * socket/bits/socket2.h: Likewise.
43764 * socket/sys/socket.h: Likewise.
43765 * debug/tst-chk1.c: Likewise.
43766 * wcsmbs/bits/wchar2.h: Likewise.
43767 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43768 * wcsmbs/wchar.h: Likewise.
43769
ecf0ebfb
AJ
437702012-04-29 Andreas Jaeger <aj@suse.de>
43771
43772 * Makerules (tests): Remove enable-check-abi protection.
43773 (check-abi-warn): Remove.
43774 (check-abi-%): Remove check-abi-warn usage.
43775
43776 * configure.in: Remove check-abi configure option.
43777 * configure: Regenerated.
43778 * config.make.in (enable-check-abi): Remove.
43779
6d5c57fa
AS
437802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43781
24c5d07e 43782 [BZ #14033]
ded5180a
AS
43783 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43784 double functions to double *_finite functions.
43785
7e0d315d
AS
43786 [BZ #13941]
43787 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43788 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43789 LDBL_MIN_EXP.
43790 * stdio-common/Makefile (tests): Add tst-sprintf3.
43791 * stdio-common/tst-sprintf3.c: New file.
43792
6d5c57fa
AS
43793 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43794 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43795
0749ff8b
JM
437962012-04-28 Joseph Myers <joseph@codesourcery.com>
43797
43798 * conform/conformtest.pl: Remove duplicate typed-constant
43799 handling.
43800
8dbd5d7b
DM
438012012-04-28 David S. Miller <davem@davemloft.net>
43802
43803 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43804 (check-abi-%): Remove AWK script prerequisite and explicit
43805 abilist directory.
43806 (check-abi): Rewrite to just diff the symlist with the abilist.
43807 (config-tls, config-abi-config): Delete, no longer used.
43808 (update-abi-%): Remove AWK script and explicit abilist directory.
43809 (update-abi): Rewrite to simply compare and conditionally copy the
43810 symlist and the sysdep abilist file. Remove update-abi-config
43811 checks.
43812 * abilist/ld.abilist: Remove.
43813 * abilist/libBrokenLocale.abilist: Remove.
43814 * abilist/libanl.abilist: Remove.
43815 * abilist/libcrypt.abilist: Remove.
43816 * abilist/libdl.abilist: Remove.
43817 * abilist/librt.abilist: Remove.
43818 * abilist/libthread_db.abilist: Remove.
43819 * abilist/libutil.abilist: Remove.
43820 * scripts/extract-abilist.awk: Remove.
43821 * scripts/merge-abilist.awk: Remove.
43822 * sysdeps/generic/libcidn.abilist: New file.
43823 * sysdeps/generic/libnss_compat.abilist: New file.
43824 * sysdeps/generic/libnss_db.abilist: New file.
43825 * sysdeps/generic/libnss_dns.abilist: New file.
43826 * sysdeps/generic/libnss_files.abilist: New file.
43827 * sysdeps/generic/libnss_hesiod.abilist: New file.
43828 * sysdeps/generic/libnss_nis.abilist: New file.
43829 * sysdeps/generic/libnss_nisplus.abilist: New file.
43830 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43831 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43832 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43833 file.
43834 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43835 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43836 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43837 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43838 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43839 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43840 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43841 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43842 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43843 file.
43844 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43845 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43846 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43847 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43848 file.
43849 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43850 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43851 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43852 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43853 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43854 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43855 file.
43856 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43857 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43858 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43859 file.
43860 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43861 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43862 New file.
43863 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43864 New file.
43865 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43866 New file.
43867 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43868 New file.
43869 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43870 New file.
43871 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43872 New file.
43873 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43874 New file.
43875 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43876 New file.
43877 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43878 New file.
43879 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43880 New file.
43881 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43882 New file.
43883 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43884 New file.
43885 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43886 New file.
43887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43888 file.
43889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43890 New file.
43891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43892 New file.
43893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43894 file.
43895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43896 New file.
43897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43898 New file.
43899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43900 file.
43901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43902 New file.
43903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43904 New file.
43905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43906 New file.
43907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43908 New file.
43909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43910 New file.
43911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43912 New file.
43913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43915 file.
43916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43917 New file.
43918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43919 file.
43920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43921 file.
43922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43923 file.
43924 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43925 file.
43926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43927 file.
43928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43929 New file.
43930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43931 file.
43932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43933 file.
43934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43935 New file.
43936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43937 file.
43938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43940 file.
43941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43942 New file.
43943 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43944 file.
43945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43946 file.
43947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43948 file.
43949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43950 file.
43951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43952 file.
43953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43954 New file.
43955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43956 file.
43957 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43958 file.
43959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43960 New file.
43961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43962 file.
43963 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43964 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43965 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43966 file.
43967 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43968 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43969 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43970 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43971 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43972 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43973 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43974 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43975 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43976 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43978 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43979 file.
43980 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43981 New file.
43982 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43983 file.
43984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43985 file.
43986 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43987 file.
43988 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43989 file.
43990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43991 file.
43992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43993 New file.
43994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43995 New file.
43996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43997 file.
43998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43999 New file.
44000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44001 file.
44002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44003 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44004 file.
44005 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44006 New file.
44007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44008 file.
44009 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44010 file.
44011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44012 file.
44013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44014 file.
44015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44016 file.
44017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44018 New file.
44019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44020 New file.
44021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44022 file.
44023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44024 New file.
44025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44026 file.
44027
41d73a1b
JM
440282012-04-28 Joseph Myers <joseph@codesourcery.com>
44029
44030 * conform/conformtest.pl: Fix typo in handling typed-constant from
44031 allow-header.
44032
28aeeda4
JM
440332012-04-27 Joseph Myers <joseph@codesourcery.com>
44034
adae8f5e
JM
44035 * README: Cut down references to pre-2.6 Linux kernels and
44036 Linuxthreads. Update lists of configurations in libc and ports
44037 and sort alphabetically. Say "or newer" with Linux kernel version
44038 requirements.
44039
28aeeda4
JM
44040 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44041
a462cb63
RA
440422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44043
44044 [BZ #887]
44045 * math/libm-test.inc (logb_test_downward): New test to expose
44046 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44047 rounding mode.
44048
6ad3493e
JM
440492012-04-27 Joseph Myers <joseph@codesourcery.com>
44050
44051 [BZ #14027]
44052 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44053 to be done.
44054 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44055 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44056
2ce4f015
JM
440572012-04-26 Joseph Myers <joseph@codesourcery.com>
44058
5aeb141a
JM
44059 * sysdeps/unix/i386/brk.S: Remove file.
44060 * sysdeps/unix/i386/dl-brk.S: Likewise.
44061 * sysdeps/unix/i386/pipe.S: Likewise.
44062 * sysdeps/unix/i386/sigreturn.S: Likewise.
44063 * sysdeps/unix/i386/syscall.S: Likewise.
44064 * sysdeps/unix/i386/vfork.S: Likewise.
44065 * sysdeps/unix/i386/wait.S: Likewise.
44066
7143acae
JM
44067 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44068 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44069
2ce4f015
JM
44070 * configure.in (arm*-none*): Do not allow without
44071 --enable-hacker-mode.
44072 (netbsd*): Remove case setting base_os.
44073 (386bsd*): Likewise.
44074 (freebsd*): Likewise.
44075 (bsdi*): Likewise.
44076 (osf*): Likewise.
44077 (sunos*): Likewise.
44078 (ultrix*): Likewise.
44079 (newsos*): Likewise.
44080 (dynix*): Likewise.
44081 (*bsd*): Likewise.
44082 (sysv*): Likewise.
44083 (isc*): Likewise.
44084 (esix*): Likewise.
44085 (sco*): Likewise.
44086 (minix*): Likewise.
44087 (irix4*): Likewise.
44088 (irix6*): Likewise.
44089 (solaris[2-9]*): Likewise.
44090 (none): Likewise.
44091 * configure: Regenerated.
44092
0ac229c8
AZ
440932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44094
44095 [BZ #11521]
44096 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44097 overflow or cancellation in calculating denominator.
44098 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44099 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44100 down expression to avoid unexpected rounding in newer GCCs.
44101 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44102
33f244f4
DM
441032012-04-26 David S. Miller <davem@davemloft.net>
44104
44105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44106 long-double compat symbols.
44107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44120
cfa1f3e8
DM
441212012-04-25 David S. Miller <davem@davemloft.net>
44122
44123 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44124 HWCAP_* values only after the memory barriers have been defined.
44125 (atomic_full_barrier): Define.
44126 (atomic_read_barrier): Define.
44127 (atomic_write_barrier): Define.
44128
6e236b92
SP
441292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44130
44131 * shlib-versions: Add libgcc_s version information.
44132 * sysdeps/generic/libgcc_s.h: Remove.
44133 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44134 libgcc_s.h.
44135 * sysdeps/gnu/unwind-resume.c: Likewise.
44136 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44137
aab39a09
DM
441382012-04-25 David S. Miller <davem@davemloft.net>
44139
44140 * sysdeps/unix/sparc/brk.S: Delete.
44141 * sysdeps/unix/sparc/dl-brk.S: Delete.
44142 * sysdeps/unix/sparc/pipe.S: Delete.
44143 * sysdeps/unix/sparc/sysdep.S: Delete.
44144 * sysdeps/unix/sparc/sysdep.h: Delete.
44145 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44146 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44147 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44148 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44149 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44150 (JUMPTARGET): Remove.
44151 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44152 sysdeps/unix/sparc/sysdep.h
44153 (ENTRY, END): Remove.
44154 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44155
a3cc4f48
JM
441562012-04-25 Joseph Myers <joseph@codesourcery.com>
44157
2ed8cda2
JM
44158 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44159 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44160 -DIS_IN_build.
44161
35d76d59
JM
44162 * timezone/README: Update upstream location and email address for
44163 tzcode and tzdata.
44164 * timezone/zdump.c: Update from tzcode 2012b.
44165 * timezone/zic.c: Likewise.
44166
a3cc4f48
JM
44167 * configure.in (libc_cv_as_needed): Remove test.
44168 * configure: Regenerated.
44169 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44170 conditional definition.
44171 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44172 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44173 * config.make.in (have-as-needed): Remove variable.
44174
ceab42c3
SP
441752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44176 Paul Pluzhnikov <ppluzhnikov@google.com>
44177
44178 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44179 strings correctly.
44180
3ce2865f
CLT
441812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44182
44183 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44184 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44185 * sysdeps/sh/strlen.S: Likewise.
44186
f37e0d68
JM
441872012-04-24 Joseph Myers <joseph@codesourcery.com>
44188
ae186e9a
JM
44189 * sysdeps/unix/fork.S: Remove file.
44190 * sysdeps/unix/i386/fork.S: Likewise.
44191 * sysdeps/unix/sparc/fork.S: Likewise.
44192
b96914af
JM
44193 * sysdeps/unix/system.c: Remove file.
44194 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44195
f37e0d68
JM
44196 * sysdeps/unix/getegid.S: Remove file.
44197 * sysdeps/unix/geteuid.S: Likewise.
44198
87ef29ca
RM
441992012-04-24 Roland McGrath <roland@hack.frob.com>
44200
83bcd236
RM
44201 * scripts/check-localplt.awk: New file.
44202 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44203 of diff.
44204 * scripts/data/localplt-generic.data: Add a comment.
44205
87ef29ca
RM
44206 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44207 NODE when __dir_mkfile failed.
44208 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44209 Reported by Ludovic Courtès <ludo@gnu.org>.
44210
e5a6e567
AJ
442112012-04-24 Andreas Jaeger <aj@suse.de>
44212
44213 * Makerules (common-clean): Also remove gen-as-const-headers
44214 files.
44215
c1820385
JM
442162012-04-24 Joseph Myers <joseph@codesourcery.com>
44217
44218 * Makerules (native-compile): Do not change working directory for
44219 build. Use $(OUTPUT_OPTION) in command.
44220 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44221
94e02fc4
AZ
442222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44223
44224 [BZ #13886]
44225 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44226 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44227 * math/libm-test.inc (floor_test): Add more tests.
44228 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44229
3a533ca3
JM
442302012-04-24 Joseph Myers <joseph@codesourcery.com>
44231
940ab4b3
JM
44232 * sysdeps/unix/getdents.c: Remove file.
44233 * sysdeps/unix/sysv/getdents.c: Likewise.
44234 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44235
90e037bd
JM
44236 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44237 sysdeps/unix/mman/syscalls.list.
44238 (mmap): Likewise.
44239 (mprotect): Likewise.
44240 (msync): Likewise.
44241 (munmap): Likewise.
44242 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44243 * sysdeps/unix/mman/syscalls.list: Remove.
44244 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44245
3a533ca3
JM
44246 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44247 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44248 * configure: Regenerated.
44249 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44250 $(libgcc_s_suffix).
44251 * config.make.in (libgcc_s_suffix): Remove variable.
44252
1ad743de
JM
442532012-04-23 Joseph Myers <joseph@codesourcery.com>
44254
4ad451e2
JM
44255 * sysdeps/unix/sysv/gethostname.c: Move to ...
44256 * sysdeps/posix/gethostname.c: ... here.
44257
5e37ce39
JM
44258 * sysdeps/unix/execve.S: Remove file.
44259
1ad743de
JM
44260 * sysdeps/unix/_exit.S: Remove file.
44261
4e681b5b
AJ
442622012-04-23 Andreas Jaeger <aj@suse.de>
44263
44264 [BZ #13739]
44265 * manual/Makefile: Remove make dist support, there's no
44266 need for a stand-alone documentation tar ball.
44267 (TEXI2DVI): Define always, it's not in Makeconfig.
44268 (dist): Removed.
44269 (tar-it): Removed.
44270 (edition): Removed.
44271 (glibc-doc-$(edition).tar): Removed
44272 (%.Z): Removed.
44273 (%.gz): Removed.
44274 (%.uu): Removed.
44275 (ETAGS): Remove, it's in Makeconfig.
44276 (move-if-change): Remove, it's in Makeconfig.
44277
38686a03 442782012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44279
44280 [BZ #13970]
44281 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44282 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44283 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44284 (strtod_l, strtof_l, strtold_l): Remove __wur.
44285 It is not necessarily an error to ignore strtol's return value.
44286 One can reliably look at the stored endptr to decide whether
44287 the number had valid syntax.
44288
7c0616fa
AJ
442892012-04-21 Andreas Jaeger <aj@suse.de>
44290
803cb6b7 44291 [BZ #13739]
7c0616fa
AJ
44292 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44293
b0fe253f
JM
442942012-04-21 Joseph Myers <joseph@codesourcery.com>
44295
44296 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44297 * sysdeps/unix/sysv/Versions: Remove file.
44298
8280f22d
MT
442992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44300
44301 [BZ #13927]
44302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44303
75ce411f 443042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44305
44306 [BZ #7064]
44307 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44308 version from __vm86.
44309
097d59fa
JM
443102012-04-20 Joseph Myers <joseph@codesourcery.com>
44311
a90f3bcb
JM
44312 * sysdeps/unix/common/lxstat.c: Remove file.
44313 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44314
edc7ea78
JM
44315 * sysdeps/unix/sysv/Makefile: Remove file.
44316
cb78c221
JM
44317 * sysdeps/unix/sysv/direct.h: Remove file.
44318
efa6a45f
JM
44319 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44320 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44321 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44322 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44323 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44324 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44325 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44326
9c9f2d0c
JM
44327 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44328
4541c83b
JM
44329 * sysdeps/unix/xmknod.c: Remove file.
44330 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44331
f5d153a0
JM
44332 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44333
aa746595
JM
44334 * sysdeps/unix/sysv/i386/time.S: Remove file.
44335
cce5905e
JM
44336 * sysdeps/unix/fxstat.c: Remove file.
44337 * sysdeps/unix/xstat.c: Likewise.
44338 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44339
37fa3841
JM
44340 * sysdeps/unix/sysv/sigaction.c: Remove file.
44341
ff1962a3
JM
44342 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44343 (sysdep_headers): Remove variable.
44344 [termio.h not in sysdep_headers] (generated): Likewise.
44345 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44346 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44347 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44348 * sysdeps/unix/sysv/tcflow.c: Likewise.
44349 * sysdeps/unix/sysv/tcflush.c: Likewise.
44350 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44351 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44352 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44353 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44354 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44355
e7740d31
JM
44356 * sysdeps/unix/siglist.c: Remove file.
44357
ee06f18b
JM
44358 * sysdeps/unix/getppid.S: Remove file.
44359
097d59fa
JM
44360 * sysdeps/unix/mkdir.c: Remove file.
44361 * sysdeps/unix/rmdir.c: Likewise.
44362
ff3d51ec
AS
443632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44364
44365 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44366 ERR_MAX value.
44367 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44368 errlist-compat value.
44369
50f81fd7
DM
443702012-04-18 David S. Miller <davem@davemloft.net>
44371
44372 * sysdeps/generic/memcopy.h (reg_char): Delete.
44373 * debug/strcat_chk.c: Use char, not reg_char.
44374 * debug/strcpy_chk.c: Likewise.
44375 * debug/strncat_chk.c: Likewise.
44376 * debug/strncpy_chk.c: Likewise.
44377 * string/memchr.c: Likewise.
44378 * string/memrchr.c: Likewise.
44379 * string/rawmemchr.c: Likewise.
44380 * string/strcat.c: Likewise.
44381 * string/strchr.c: Likewise.
44382 * string/strchrnul.c: Likewise.
44383 * string/strcmp.c: Likewise.
44384 * string/strcpy.c: Likewise.
44385 * string/strncat.c: Likewise.
44386 * string/strncmp.c: Likewise.
44387 * string/strncpy.c: Likewise.
44388
8ff41c46
WS
443892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44390
44391 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44392 __builtin_memcopy is called when src and dest ranges are known to not
44393 overlap.
44394
6b652f46
WS
443952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44396
44397 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44398 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44399 fwd_align_merge macro call.
44400 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44401 bwd_align_merge macro call.
44402 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44403
b282631e
WS
444042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44405
44406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44407 bwd_align_merge macros.
44408 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44409 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44410 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44411
95aa737c
DM
444122012-04-18 David S. Miller <davem@davemloft.net>
44413
44414 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44415
7a99a614
AJ
444162012-04-18 Andreas Jaeger <aj@suse.de>
44417
44418 [BZ# 6794]
44419 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44420 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44421 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44422
44423 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44424 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44425 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44426
44427 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44428 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44429 Adjust for changed ldbl-128 files.
44430
44431 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44432 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44433 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44434
e5270c23
DM
444352012-04-17 David S. Miller <davem@davemloft.net>
44436
44437 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44438
fb5e92c9
AS
444392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44440
44441 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44442 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44443 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44444 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44445 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44446 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44447
76da7265
AZ
444482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44449
44450 [BZ #6794]
44451 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44452 * math/libm-test.inc: Add ilogb errno and exception tests.
44453 * math/w_ilogb.c: New file: ilogb wrapper.
44454 * math/w_ilogbf.c: New file: ilogbf wrapper.
44455 * math/w_ilogbl.c: New file: ilogbl wrapper.
44456 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44457 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44458 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44459 exception being thrown with 0.0 as argument.
44460 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44461 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44462 exception being thrown with 0.0 as argument.
44463 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44464 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44465 exception being thrown with 0.0 as argument.
44466 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44467 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44468 exception being thrown with 0.0 as argument.
44469 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44470 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 44471 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
44472 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44473 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44474 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44475 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44476 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44477 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44478
0396e69d
PB
444792012-04-17 Petr Baudis <pasky@ucw.cz>
44480
44481 * include/sys/uio.h: Change __vector to __iovec to avoid clash
44482 with altivec.
44483
750b5926
MP
444842012-04-16 Marek Polacek <polacek@redhat.com>
44485
44486 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44487
751728a1
MP
444882012-04-16 Marek Polacek <polacek@redhat.com>
44489
44490 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44491 operands of fdivp instruction.
44492
34a27407
L
444932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44494
44495 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44496 * elf/tst-auditmod3b.c: Likewise.
44497 * elf/tst-auditmod4b.c: Likewise.
44498 * elf/tst-auditmod5b.c: Likewise.
44499 * elf/tst-auditmod6b.c: Likewise.
44500 * elf/tst-auditmod6c.c: Likewise.
44501 * elf/tst-auditmod7b.c: Likewise.
44502 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44503 * sysdeps/x86_64/preconfigure.in: Likewise.
44504 * sysdeps/x86_64/preconfigure: Regenerated.
44505
7e73e17d
L
445062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
44507
44508 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44509 __ILP32__.
44510
c7a6ab72
AB
445112012-04-13 Antoine Balestrat <merkil33@gmail.com>
44512
44513 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44514 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44515
a9e8e0e0
CL
445162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
44517
44518 [BZ #13973]
44519 * locale/iso-639.def: Fix gl language name. Spotted by
44520 Yaron Shahrabani.
44521
ec98af7d
RM
445222012-04-12 Roland McGrath <roland@hack.frob.com>
44523
44524 [BZ #2074]
44525 * libio/libio.h (__io_write_fn): Update comment.
44526
247c3ede
PB
445272012-04-12 Petr Baudis <pasky@ucw.cz>
44528
44529 [BZ #2074]
44530 * stdio.texi (Hook Functions): The user provided writer function
44531 is not allowed to return -1.
44532
55939d6d
DM
445332012-04-11 David S. Miller <davem@davemloft.net>
44534
44535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44536
90020f5a
MF
445372012-04-11 Mike Frysinger <vapier@gentoo.org>
44538
44539 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44540 Add a leading slash to rtkaio.
44541
288f9098
JM
445422012-04-11 Jim Meyering <meyering@redhat.com>
44543
90020f5a
MF
44544 [BZ #11959]
44545 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44546 It is not necessarily an error to ignore fwrite's return
44547 value. One can reliably use ferror to test for errors after
44548 the fact.
288f9098 44549
4be2b570
L
445502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44551
44552 * bits/types.h (__snseconds_t): New type.
44553 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44554
44555 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44556 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44557 (__SNSECONDS_T_TYPE): Likewise.
44558 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44559 (__SNSECONDS_T_TYPE): Likewise.
44560 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44561 (__SNSECONDS_T_TYPE): Likewise.
44562
288f9098 445632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
44564
44565 [BZ #2636]
44566 * manual/time.texi (Processor Time): Return type of times is
44567 elapsed real time since an arbitrary point in the past.
44568 (CPU Time): Move CLK_TCK from here...
44569 (Processor Time): ...to here. Correct description.
44570 * manual/conf.texi (Constants for Sysconf): Correct description of
44571 _SC_CLK_TCK.
44572
d7dd4413
DM
445732012-04-10 David S. Miller <davem@davemloft.net>
44574
44575 [BZ #13967]
44576 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44577 where the is a gap between DT_REL(A) and DT_JMPREL.
44578
b46068fc
L
445792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44580
44581 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44582 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44583 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44584
73d65cc3
SP
445852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44586
44587 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44588 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44589 (dl_main): Handle --inhibit-cache.
44590 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44591 _dl_inhibit_cache.
44592 * elf/dl-load.c (_dl_map_object): Use it.
44593 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44594
bcc8d661
JM
445952012-04-09 Joseph Myers <joseph@codesourcery.com>
44596
8f9a2fae
JM
44597 [BZ #13872]
44598 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44599 (__ieee754_powl): Saturate large exponents rather than testing for
44600 overflow of y*log2(x).
44601 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44602 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44603 exceptions.
44604
bcc8d661
JM
44605 [BZ #11521]
44606 * math/s_ctan.c: Include <float.h>.
44607 (__ctan): Avoid internal overflow or cancellation in calculating
44608 denominator.
44609 * math/s_ctanf.c: Likewise.
44610 * math/s_ctanl.c: Likewise.
44611 * math/s_ctanh.c: Likewise.
44612 * math/s_ctanhf.c: Likewise.
44613 * math/s_ctanhl.c: Likewise.
44614 * math/libm-test.inc (ctan_test): Add more tests.
44615 (ctanh_test): Likewise.
44616 * sysdeps/i386/fpu/libm-test-ulps: Update.
44617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44618
823fbbb4
AJ
446192012-04-09 Andreas Jaeger <aj@suse.de>
44620
03879793
AJ
44621 [BZ #6894]
44622 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44623 is an optional BSD extension.
44624
823fbbb4
AJ
44625 [BZ #10254]
44626 * manual/stdio.texi (Opening Streams): Document additional fopen
44627 parameters.
44628
8de131cb
RM
446292012-04-09 Roland McGrath <roland@hack.frob.com>
44630
44631 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44632 %eax without telling the compiler.
44633
c0ed9d7d
CD
446342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44635
44636 [BZ # 13963]
44637 * manual/install.texi: Use sourceware.org.
44638
c483f6b4
JM
446392012-04-09 Joseph Myers <joseph@codesourcery.com>
44640
d7dd9453
JM
44641 [BZ #13873]
44642 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44643 (__ieee754_pow): Generate overflow and underflow using huge*huge
44644 and tiny*tiny rather than just returning constant infinity or zero
44645 for large exponents.
44646 * math/libm-test.inc (pow_test): Require overflow exceptions for
44647 applicable cases of large exponents.
44648
c483f6b4
JM
44649 [BZ #706]
44650 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44651 (__ieee754_pow): Use iterative multiplication algorithm only for
44652 integer exponents with absolute value below 1024. Check for odd
44653 integer exponents when using algorithm for real exponents.
44654 * math/libm-test.inc (pow_test): Add more tests.
44655 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44656
d2de7579
JM
446572012-04-08 Joseph Myers <joseph@codesourcery.com>
44658
44659 [BZ #13705]
44660 * math/libm-test.inc (exp_test): Do not allow overflow exception
44661 on underflow test.
44662
f77f1232
AJ
446632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44664
44665 [BZ #13705]
44666 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44667 instead of __kernel_standard_f.
44668
3884932b
MF
446692012-04-08 Mike Frysinger <vapier@gentoo.org>
44670
44671 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44672 * sysdeps/x86_64/memset_chk.S: Likewise.
44673
54472e9c
AJ
446742012-04-08 Andreas Jaeger <aj@suse.de>
44675
6ab0fbfc
AJ
44676 [BZ #10153]
44677 * manual/startup.texi (Environment Access): Describe return value
44678 for putenv and setenv.
44679
61efba8c
AJ
44680 [BZ #6895]
44681 * manual/filesys.texi (Directory Entries): Add description for
44682 DT_LNK.
44683
95c3f29a
AJ
44684 [BZ #6890]
44685 * manual/filesys.texi (Directory Entries): Clarify that it's file
44686 system not operating system in the description of DT_UNKNOWN.
44687
54472e9c
AJ
44688 [BZ #6578]
44689 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44690
624254b1
SC
446912012-04-08 Stephen Compall <s11@member.fsf.org>
44692
44693 [BZ #6649]
44694 * manual/llio.texi (Opening and Closing Files): Add cross
44695 reference to explain mode argument.
44696
1e4920e0
MF
446972012-04-07 Mike Frysinger <vapier@gentoo.org>
44698
44699 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44700 * sysdeps/x86_64/memset_chk.S: Likewise.
44701
5ed848f3
DM
447022012-04-07 David S. Miller <davem@davemloft.net>
44703
44704 * elf/elf.h (R_SPARC_WDISP10): Define.
44705 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44706 R_SPARC_SIZE32.
44707 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44708 R_SPARC_SIZE64 and R_SPARC_H34.
44709
96154cd8
CD
447102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44711
44712 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44713 conditions and remove no longer applicable assertion.
44714
9904dc47
L
447152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44716
44717 * bits/byteswap.h: Include <features.h>.
44718 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44719 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44720
f8887d0a
L
447212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44722
44723 * bits/byteswap.h (__bswap_16): Removed.
44724 Include <bits/byteswap-16.h> to get __bswap_16.
44725 * sysdeps/i386/bits/byteswap.h: Likewise.
44726 * sysdeps/s390/bits/byteswap.h: Likewise.
44727 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44728 * bits/byteswap-16.h: New file.
44729 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44730 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44731 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44732 * string/Makefile (headers): Add bits/byteswap-16.h.
44733
62470f60
PP
447342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44735
44736 [BZ #13895]
44737 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44738 extra indirection.
44739 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44740 * nss/tst-nss-static.c: New.
44741
4dad7bab
RM
447422012-04-06 Robert Millan <rmh@gnu.org>
44743
44744 [BZ #6486]
44745 * manual/llio.texi (File Position Primitive): lseek
44746 refers to WHENCE when it really means OFFSET.
44747
e9142a17
AJ
447482012-04-06 Andreas Jaeger <aj@suse.de>
44749
2c040eff
AJ
44750 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44751 strncmp declarations.
44752
e9142a17
AJ
44753 * abilist/libc.abilist: Add __poll and __ppoll.
44754
ff9f1c5f
DM
447552012-04-05 David S. Miller <davem@davemloft.net>
44756
dcd2ae90
DM
44757 * scripts/check-local-headers.sh: Accept a host triplet in the
44758 path matched by the exclude regexp.
44759
993eb054
DM
44760 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44761 definition.
44762 * sysdeps/powerpc/powerpc32/dl-machine.h
44763 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44764 * sysdeps/s390/s390-32/dl-machine.h
44765 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44766 * sysdeps/sparc/sparc32/dl-machine.h
44767 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44768 * sysdeps/sparc/sparc64/dl-machine.h
44769 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44770
ff9f1c5f
DM
44771 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44772 lazy binding.
48e2e132 44773 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
44774 undefined symbol errors.
44775
48e2e132 44776 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
44777 DT_NEEDED entries.
44778
e80d6f94
MM
447792012-04-05 Michael Matz <matz@suse.de>
44780
44781 [BZ #13592]
44782 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44783
349fa79f
AJ
447842012-04-05 Andreas Jaeger <aj@suse.de>
44785
44786 [BZ #13908]
44787 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44788 comment.
44789
f402708f
KK
447902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44791
44792 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44793 which ROUND is no valid rounding mode.
44794
2ecccfc9
KK
447952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44796
44797 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44798 read again.
44799 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44800
8a53f50f
KK
448012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44802
44803 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44804 an exception using FPU order intentionally.
44805
448062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44807
44808 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44809 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44810 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44811 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44812
d653abb7
SJ
448132012-04-05 Simon Josefsson <simon@josefsson.org>
44814
44815 [BZ #12340]
44816 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44817 EINVAL when BUFLEN is too smal.
44818
c3b1bf7d
TS
448192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44820
44821 [BZ #13553]
44822 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44823 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44824
b1aa60f3
AJ
448252012-04-03 Andreas Jaeger <aj@suse.de>
44826
c3b1bf7d 44827 [BZ #13938]
67f60a26
AJ
44828 * manual/setjmp.texi (System V contexts): Fix sentence.
44829
b1aa60f3
AJ
44830 [BZ #13926]
44831 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44832 New macro for this case.
44833 [!__GNUC__] (__bswap_64): New inline function for this case.
44834 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44835 * bits/byteswap.h: Likewise.
44836 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44837 ull, guard with __GLIBC_HAVE_LONG_LONG.
44838
44839 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44840 __GLIBC_HAVE_LONG_LONG.
44841
44842 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44843 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44844
39c59c35
TMQMF
448452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44846
44847 [BZ #13691]
44848 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44849 inptr and inend, rather than using last_ch.
44850
135ffda8
DM
448512012-04-02 David S. Miller <davem@davemloft.net>
44852
44853 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44854 * stdio-common/printf-parse.h (read_int): Change return type to
44855 'int', return -1 on INT_MAX overflow.
44856 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44857 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44858 overflows INT_MAX. Check for overflow of in-format-string precision
44859 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44860 SIZE_MAX not INT_MAX for integer overflow test.
44861 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44862 skip the construct in the format string but do not record anything.
44863 * stdio-common/bug22.c: Adjust to test both width/prevision
44864 INT_MAX overflow as well as total length INT_MAX overflow. Check
44865 explicitly for proper errno values.
44866
228c019e
TS
448672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44868
302cadd3
TS
44869 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44870 CHAR_MAX.
44871 * string/test-strcmp.c [! WIDE]: Likewise.
44872 * time/tst-mktime2.c: Likewise for INT_MAX.
44873 * string/test-string.h: #include <sys/param.h> for MIN.
44874
228c019e
TS
44875 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44876 * sysdeps/i386/init-first.c (init): Likewise.
44877 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44878 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44879 * sysdeps/sh/init-first.c (init): Likewise.
44880
cfa633f5
UD
448812012-04-01 Ulrich Drepper <drepper@gmail.com>
44882
44883 * po/ru.po: Update from translation team.
d1635ef8 44884 * po/vi.po: Likewise.
cfa633f5 44885
6cd0a5ea
SP
448862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44887
44888 * resolv/nss_dns/dns-host.c: Merge copyright years.
44889
4b43400f
LD
448902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44891
44892 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44893 Optimize memcpy with prefetch if
44894 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44895 src, dst pointers have unequal 16 byte alignments.
44896
48c41d04
SP
448972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44898
44899 [BZ #13928]
44900 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44901 from a CNAME entry and return the minimum ttl for the query.
44902 (gaih_getanswer_slice): Likewise.
44903
b8dc394d
JL
449042012-03-30 Jeff Law <law@redhat.com>
44905
44906 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44907 due to long keys.
44908 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44909 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44910
2f5a5ed0
JL
44911 * resolv/nss_dns/dns-host.c: Update copyright year.
44912
1d39e359
UD
449132012-03-30 Ulrich Drepper <drepper@gmail.com>
44914
c030f70c 44915 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 44916 requests to save a system call. Fix check that all bytes are sent.
c030f70c 44917
1d39e359
UD
44918 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44919 comments for sendmmsg.
44920
449212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
44922
44923 [BZ #13691]
44924 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44925 with only 1 character between 0x0041 and 0x01b0.
44926 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44927 * wcsmbs/tst-mbsnrtowcs.c: New file.
44928
20fde227
DM
449292012-03-29 David S. Miller <davem@davemloft.net>
44930
44931 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44932 small copies by hand.
44933
984a4237
JL
449342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44935
44936 [BZ #13761]
57f41c40
AS
44937 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44938 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44939 group memberships.
984a4237 44940
18c9d62b
DM
449412012-03-28 David S. Miller <davem@davemloft.net>
44942
88d85d4f
DM
44943 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44944 that branches into memcpy.
44945 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44946 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44947 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44948 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44949 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44950 bits.
44951 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44952 implementation too.
44953 * sysdeps/sparc/mempcpy.S: New file.
44954
e5aa83e1
DM
44955 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44956 the IFUNC routine in the libc case.
44957 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44958
88570753
DM
44959 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44960 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44961 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44962 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44963 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44964 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44965 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44966 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44967
249d7567
DM
44968 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44969 loop to 256 bytes instead of 64 bytes and fix test signedness.
44970
18c9d62b
DM
44971 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44972 * sysdeps/sparc/sparc32/Makefile: rather than here...
44973 * sysdeps/sparc/sparc64/Makefile: and here.
44974
05f3d1f6
UD
449752012-03-28 Ulrich Drepper <drepper@gmail.com>
44976
44977 * malloc/mallocbug.c: Avoid warnings about unused variables.
44978
86ae07a8
JL
449792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44980
44981 [BZ #13760]
44982 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44983 in the right place. Discard and retry query if response is
44984 larger than input buffer size.
44985
41bf21a1
JM
449862012-03-28 Joseph Myers <joseph@codesourcery.com>
44987
d6270972
JM
44988 [BZ #369]
44989 [BZ #2678]
44990 [BZ #3866]
44991 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44992 x for large integer exponent.
44993 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44994 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44995 sign of result as needed afterwards.
44996 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44997 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44998 result for underflowing pow the same as for overflow.
44999 (__kernel_standard_l): Handle powl overflow and underflow here
45000 rather than calling __kernel_standard.
45001 * math/libm-test.inc (pow_test): Add more tests.
45002
414fca03 45003 [BZ #3868]
41bf21a1
JM
45004 [BZ #13879]
45005 [BZ #13910]
45006 [BZ #13911]
45007 [BZ #13912]
45008 [BZ #13913]
45009 [BZ #13915]
45010 [BZ #13916]
45011 [BZ #13917]
45012 [BZ #13918]
45013 [BZ #13919]
45014 [BZ #13920]
45015 [BZ #13921]
45016 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45017 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45018 (__kernel_standard_l): New function.
45019 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45020 __kernel_standard.
45021 * math/w_acosl.c (__acosl): Likewise.
45022 * math/w_asinl.c (__asinl): Likewise.
45023 * math/w_atan2l.c (__atan2l): Likewise.
45024 * math/w_atanhl.c (__atanhl): Likewise.
45025 * math/w_coshl.c (__coshl): Likewise.
45026 * math/w_exp10l.c (__exp10l): Likewise.
45027 * math/w_exp2l.c (__exp2l): Likewise.
45028 * math/w_fmodl.c (__fmodl): Likewise.
45029 * math/w_hypotl.c (__hypotl): Likewise.
45030 * math/w_j0l.c (__j0l, __y0l): Likewise.
45031 * math/w_j1l.c (__j1l, __y1l): Likewise.
45032 * math/w_jnl.c (__jnl, __ynl): Likewise.
45033 * math/w_lgammal.c (__lgammal): Likewise.
45034 * math/w_log10l.c (__log10l): Likewise.
45035 * math/w_log2l.c (__log2l): Likewise.
45036 * math/w_logl.c (__logl): Likewise.
45037 * math/w_powl.c (__powl): Likewise.
45038 * math/w_remainderl.c (__remainderl): Likewise.
45039 * math/w_scalbl.c (sysv_scalbl): Likewise.
45040 * math/w_sinhl.c (__sinhl): Likewise.
45041 * math/w_sqrtl.c (__sqrtl): Likewise.
45042 * math/w_tgammal.c (__tgammal): Likewise.
45043 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45044 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45045 * math/libm-test.inc (acos_test): Add more tests.
45046 (acosh_test): Likewise.
45047 (asin_test): Likewise.
45048 (atanh_test): Likewise.
45049 (exp_test): Likewise.
45050 (exp10_test): Likewise.
45051 (exp2_test): Likewise.
45052 (expm1_test): Likewise.
45053 (lgamma_test): Likewise.
45054 (log_test): Likewise.
45055 (log10_test): Likewise.
45056 (log1p_test): Likewise.
45057 (log2_test): Likewise.
45058 (pow_test): Do not allow some spurious overflow exceptions.
45059 (sqrt_test): Add more tests.
45060 (tgamma_test): Likewise.
45061 (y0_test): Likewise.
45062 (y1_test): Likewise.
45063 (yn_test): Likewise.
45064
dd62fda6
AB
450652012-03-27 Anton Blanchard <anton@samba.org>
45066
45067 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45068 MAP_HUGETLB.
45069 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45070 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45072
1e3cdfda
AJ
450732012-03-27 David S. Miller <davem@davemloft.net>
45074
b855ab85
DM
45075 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45076
1e3cdfda
AJ
45077 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45078 have-as-vis3 check.
45079
450802012-03-27 Andreas Jaeger <aj@suse.de>
45081
45082 * sysdeps/x86_64/elf/configure.in: Moved to ...
45083 * sysdeps/x86_64/configure.in: ... here.
45084 * sysdeps/x86_64/elf/start.S: Moved to ...
45085 * sysdeps/x86_64/start.S: ... here.
45086 * sysdeps/x86_64/elf/configure: Delete.
45087
45088 * sysdeps/x86_64/configure.in: Merge contents from
45089 sysdeps/i386/configure.in (without i686 check).
45090
45091 * sysdeps/i386/elf/Versions: Merge into ...
45092 * sysdeps/i386/Versions: ... this.
45093 * sysdeps/i386/elf/Versions: Delete file.
45094 * sysdeps/i386/elf/start.S: Moved to ...
45095 * sysdeps/i386/start.S: ...here.
45096 * sysdeps/i386/elf/configure.in: Merge into...
45097 * sysdeps/i386/configure.in: ...here.
45098 * sysdeps/i386/elf/configure.in: Delete file.
45099 * sysdeps/i386/elf/configure: Delete file.
45100
45101 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45102 * debug/backtracesyms.c: ... here.
45103 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45104 * debug/backtracesymsfd.c: ... here.
45105 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45106 * sysdeps/generic/ifunc-sel.h: ... here.
45107
45108 * sysdeps/unix/i386/start.c: Delete file.
45109 * sysdeps/unix/sparc/start.c: Delete file.
45110 * sysdeps/unix/start.c: Delete file.
45111
45112 * sysdeps/sh/elf/configure.in: Moved to ...
45113 * sysdeps/sh/configure.in: ... here.
45114 * sysdeps/sh/elf/start.S: Moved to ...
45115 * sysdeps/sh/start.S: ... here.
45116 * sysdeps/sh/elf/configure: Delete file.
45117
45118 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45119 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45120 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45121 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45122 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45123 * sysdeps/powerpc/powerpc64/start.S: here.
45124 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45125 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45126 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45127 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45128 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45129
45130 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45131 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45132 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45133 * sysdeps/powerpc/powerpc32/start.S: ... here.
45134 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45135 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45136 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45137
45138 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45139 * sysdeps/powerpc/ifunc-sel.h: ... here.
45140 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45141 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45142
45143 * sysdeps/sparc/elf/configure.in: Moved to ...
45144 * sysdeps/sparc/configure.in: ... here.
45145 * sysdeps/sparc/elf/configure: Delete file.
45146 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45147 * sysdeps/sparc/sparc32/start.S: ... here.
45148 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45149 * sysdeps/sparc/sparc64/start.S: ... here.
45150 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45151 * sysdeps/sparc/sparc32/Makefile: ... this.
45152 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45153 * sysdeps/sparc/sparc64/Makefile: ... this.
45154
45155 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45156 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45157 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45158 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45159 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45160 * sysdeps/s390/s390-32/setjmp.S: ... here.
45161 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45162 * sysdeps/s390/s390-32/configure.in: ... here.
45163 * sysdeps/s390/s390-32/elf/configure: Delete file.
45164 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45165 * sysdeps/s390/s390-32/start.S: ... here.
45166
45167 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45168 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45169 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45170 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45171 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45172 * sysdeps/s390/s390-64/setjmp.S: ... here.
45173 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45174 * sysdeps/s390/s390-64/configure.in: ... here
45175 * sysdeps/s390/s390-64/elf/configure: Delete file.
45176 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45177 * sysdeps/s390/s390-64/start.S: ... here.
45178 * sysdeps/s390/s390-64/elf/configure: Delete.
45179
45180 * configure.in: Remove support for elf directories in sysdeps.
45181
45182 * configure: Regenerated.
45183 * sysdeps/i386/configure: Regenerated.
45184 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45185 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45186 * sysdeps/s390/s390-32/configure: Regenerated.
45187 * sysdeps/s390/s390-64/configure: Regenerated.
45188 * sysdeps/sh/configure: Regenerated.
45189 * sysdeps/sparc/configure: Regenerated.
45190 * sysdeps/x86_64/configure: Regenerated.
45191
a3f61311
AS
451922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45193
c876e002
AS
45194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45195
a3f61311
AS
45196 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45197 denormal result into account.
45198
ac4c54f0
RM
451992012-03-25 Roland McGrath <roland@hack.frob.com>
45200
45201 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45202 Reported by Allan McRae <allan@archlinux.org>.
45203
6a9b9c02
JL
452042012-03-23 Jeff Law <law@redhat.com>
45205
45206 * nss/getnssent.c (__nss_getent): Fix typo.
45207
4c42a0c1
DM
452082012-03-23 David S. Miller <davem@davemloft.net>
45209
45210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45211
1532c7ac
L
452122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45213
45214 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45215 to pad to uint64_t for each field.
45216 (dl_tls_index): Replace unsigned long with uint64_t.
45217
3ff42526
PP
452182012-03-23 Daniel Jacobowitz <dmj@google.com>
45219 Paul Pluzhnikov <ppluzhnikov@google.com>
45220
45221 [BZ #6528]
45222 * grp/Makefile (otherlibs): Don't set it.
45223 * inet/Makefile (otherlibs): Likewise.
45224 * login/Makefile (otherlibs): Likewise.
45225 * nscd/Makefile (otherlibs): Likewise.
45226 * posix/Makefile (otherlibs): Likewise.
45227 * pwd/Makefile (otherlibs): Likewise.
45228 * rt/Makefile (otherlibs): Likewise.
45229 * sunrpc/Makefile (otherlibs): Likewise.
45230 * nss/Makefile (otherlibs): Likewise.
45231 Add libnss_files to routines and static-only-routines.
45232 ($(objpfx)getent): Remove rule.
45233 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45234 static-only-routines.
45235
7c69cd14
JM
452362012-03-22 Joseph Myers <joseph@codesourcery.com>
45237
45238 [BZ #13892]
45239 * math/s_cexp.c: Include <float.h>.
45240 (__cexp): Handle exp result overflowing not necessarily
45241 overflowing both real and imaginary parts of result.
45242 * math/s_cexpf.c: Likewise.
45243 * math/s_cexpl.c: Likewise.
45244 * math/libm-test.inc (cexp_test): Add more tests.
45245 * sysdeps/i386/fpu/libm-test-ulps: Update.
45246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45247
81b035fe
L
452482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45249
45250 * include/link.h (ELFW): New macro.
45251 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45252 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45253
1da7940c
L
452542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45255
45256 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45257 with uint64_t.
45258
b749dbb9
L
452592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45260
45261 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45262 declaration.
45263 (struct La_x32_retval): Likewise.
45264
2ff87f3f
L
452652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45266
45267 * sysdeps/x86_64/preconfigure.in: New file.
45268 * sysdeps/x86_64/preconfigure: New generated file.
45269
c0df8e69
JM
452702012-03-22 Joseph Myers <joseph@codesourcery.com>
45271
48e44791
JM
45272 [BZ #13824]
45273 * math/e_exp2l.c: Include <float.h>.
45274 (__ieee754_exp2l): Handle overflow and underflow cases
45275 separately. Only pass fractional part of argument to
45276 __ieee754_expl.
45277 * math/libm-test.inc (exp2_test): Add more tests.
45278
c0df8e69
JM
45279 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45280 negating x to take absolute value.
45281 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45282 Likewise.
45283 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45284 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45285 Likewise.
45286 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45287 computing low part if x was negated.
45288 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45289
c8e43ba7
L
452902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45291
45292 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45293 la_x32_gnu_pltexit.
45294 (pltexit): Cast int_retval to ptrdiff_t.
45295 * elf/tst-auditmod3b.c: Likewise.
45296 * elf/tst-auditmod4b.c: Likewise.
45297 * elf/tst-auditmod5b.c: Likewise.
45298 * elf/tst-auditmod6b.c: Likewise.
45299 * elf/tst-auditmod6c.c: Likewise.
45300 * elf/tst-auditmod7b.c: Likewise.
45301
45302 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45303 and x32_gnu_pltexit.
45304
45305 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45306 __ELF_NATIVE_CLASS.
45307 (La_x32_regs): New macro.
45308 (La_x32_retval): Likewise.
45309 (la_x32_gnu_pltenter): New function prototype.
45310 (la_x32_gnu_pltexit): Likewise.
45311
7998fa78
AS
453122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45313
dcb33988
AS
45314 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45315 exponent.
45316
233fc563
AS
45317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45318
7998fa78
AS
45319 * configure.in (libc_cv_cc_nofma): Check for option to disable
45320 generation of FMA instructions.
45321 * configure: Regenerate.
45322 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45323 * sysdeps/ieee754/dbl-64/Makefile: New file.
45324 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45325 Remove brandred-fma4.
45326 (CFLAGS-brandred-fma4.c): Remove.
45327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45328 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45329 define.
45330 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45331 define.
45332
8e95c99a
L
453332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45334
45335 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45336 LLONG_MAX != LONG_MAX.
45337 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45338 (_fitoa_word): Likewise.
45339 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45340 LLONG_MAX != LONG_MAX.
45341 * stdio-common/_itowa.h: Include <_itoa.h>.
45342 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45343 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45344 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45345 only if not defined.
45346 (_ITOA_WORD_TYPE): Likewise.
45347 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45348 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45349
6f4db457
DM
453502012-03-21 David S. Miller <davem@davemloft.net>
45351
45352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45353
7785fe5a
L
453542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45355
45356 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45357 of x86_64 when setting libc_cv_slibdir, libdir and
45358 libc_cv_localedir.
45359 * sysdeps/unix/sysv/linux/configure: Regenerated.
45360
4535cd55
JM
453612012-03-21 Joseph Myers <joseph@codesourcery.com>
45362
45363 * manual/lang.texi (Old Varargs): Remove section.
45364 (How Variadic): Update menu.
45365 (va_start): Do not mention varargs.h.
45366
17228132
TS
453672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45368 Joseph Myers <joseph@codesourcery.com>
45369
45370 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45371 link test.
45372 * configure: Regenerated.
45373
8149f976
TS
453742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45375
05f3d1f6
UD
45376 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45377 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45378 conformtest.pl
8149f976 45379
1a4ac776
JM
453802012-03-21 Joseph Myers <joseph@codesourcery.com>
45381
be22ce65
JM
45382 * NOTES: Remove.
45383 * Makefile (files-for-dist): Remove NOTES.
45384 (NOTES): Remove rule.
45385 * README: Don't refer to NOTES.
45386 * manual/creature.texi: Don't include macros.texi.
45387 * manual/intro.texi (creature.texi): Remove comment referring to
45388 NOTES.
45389
40b601fb
JM
45390 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45391 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45392 * configure: Regenerated.
45393 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45394 LIBC_TRY_CC_OPTION.
45395 (libc_cv_as_i686): Likewise.
45396 (libc_cv_cc_avx): Likewise.
45397 (libc_cv_cc_sse2avx): Likewise.
45398 (libc_cv_cc_fma4): Likewise.
45399 (libc_cv_cc_novzeroupper): Likewise.
45400 * sysdeps/i386/configure: Regenerated.
45401
1a4ac776
JM
45402 [BZ #13883]
45403 * sysdeps/i386/fpu/s_cexp.S: Remove.
45404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45405 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45406 * math/libm-test.inc (cexp_test): Add more tests.
45407 * sysdeps/i386/fpu/libm-test-ulps: Update.
45408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45409
a458e7fe
AM
454102012-03-21 Allan McRae <allan@archlinux.org>
45411
45412 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45413
0cb7efc5
JM
454142012-03-21 Joseph Myers <joseph@codesourcery.com>
45415
45416 [BZ #13871]
45417 * math/w_exp2.c: Do not include <float.h>.
45418 (o_threshold, u_threshold): Remove.
45419 (__exp2): Calculate result before checking finiteness and calling
45420 __kernel_standard.
45421 * math/w_exp2f.c: Likewise.
45422 * math/w_exp2l.c: Likewise.
45423 * math/libm-test.inc (exp2_test): Require overflow exception for
45424 1e6 input.
2460d3aa
JM
45425
45426 [BZ #3866]
45427 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45428 range of signed 64-bit integers before using fistpll. Remove
45429 checks for whether integers fit in mantissa bits.
45430 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45431 the range of signed 32-bit integers before using fistpl. Remove
45432 checks for whether integers fit in mantissa bits.
45433 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45434 (__ieee754_powl): Test for y outside the range of signed 64-bit
45435 integers before using fistpll. Reduce 64-bit values to 63-bit
45436 ones as needed.
45437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45438 divide-by-zero is raised for zero to large negative powers.
45439 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45440 (__ieee754_powl): Test for y outside the range of signed 64-bit
45441 integers before using fistpll. Reduce 64-bit values to 63-bit
45442 ones as needed.
45443 * math/libm-test.inc (pow_test): Add more tests.
45444
eb96ffb0
L
454452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45446
45447 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45448 <stdio-common/_itoa.h>.
45449 * debug/segfault.c: Likewise.
45450 * elf/dl-cache.c: Likewise.
45451 * elf/dl-minimal.c: Likewise.
45452 * elf/dl-misc.c: Likewise.
45453 * elf/dl-sysdep.c: Likewise.
45454 * elf/dl-version.c: Likewise.
45455 * elf/rtld.c: Likewise.
45456 * hurd/hurdsock.c: Likewise.
45457 * hurd/lookup-retry.c: Likewise.
45458 * malloc/malloc.c: Likewise.
45459 * malloc/mtrace.c: Likewise.
45460 * nscd/nscd_getgr_r.c: Likewise.
45461 * nscd/nscd_getpw_r.c: Likewise.
45462 * nscd/nscd_getserv_r.c: Likewise.
45463 * posix/getopt_init.c: Likewise.
45464 * posix/wordexp.c: Likewise.
45465 * stdio-common/_itoa.c: Likewise.
45466 * stdio-common/printf_fphex.c: Likewise.
45467 * stdio-common/vfprintf.c: Likewise.
45468 * string/_strerror.c: Likewise.
45469 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45470 * sysdeps/i386/i686/hp-timing.h: Likewise.
45471 * sysdeps/mach/_strerror.c: Likewise.
45472 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45473 * sysdeps/mach/hurd/sethostid.c: Likewise.
45474 * sysdeps/mach/hurd/xmknodat.c: Likewise.
45475 * sysdeps/mach/xpg-strerror.c: Likewise.
45476 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45477 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45478 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45479 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45480 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45481 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45482 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45483 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45484 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45485 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45486 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45487 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45488 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45489 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45490 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45491 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45492 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45493 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45494 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45495 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45496 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45497
45498 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45499
45500 * stdio-common/_itoa.h: Moved to ...
45501 * sysdeps/generic/_itoa.h: Here.
45502
45503 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45504
45505 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45506 instead of "_itoa.h" and "_itowa.h".
45507 * stdio-common/vfprintf.: Likewise.
45508
d1af992d
L
455092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45510
45511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45512 <bits/wordsize.h>.
45513 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45514 (__signbit): Likwise.
45515 (llrintf): Likwise.
45516 (llrint): Likwise.
45517
114883e0
L
455182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45519
45520 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45521 __WORDSIZE != 64.
45522
c135cc1b
JM
455232012-03-20 Joseph Myers <joseph@codesourcery.com>
45524
45525 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45526 OVERFLOW_EXCEPTION_OK.
45527 * math/libm-test.inc ("Philosophy"): Update comment about
45528 exception testing.
45529 (OVERFLOW_EXCEPTION): Define.
45530 (OVERFLOW_EXCEPTION_OK): Likewise.
45531 (INVALID_EXCEPTION_OK): Renumber.
45532 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45533 (IGNORE_ZERO_INF_SIGN): Likewise.
45534 (test_exceptions): Handle FE_OVERFLOW.
45535 (exp10_test): Expect overflow exceptions.
45536 (exp2_test): Likewise.
45537 (expm1_test): Likewise.
45538 (nextafter_test): Likewise.
45539 (pow_test): Likewise.
45540 (scalbn_test): Likewise.
45541 (scalbln_test): Likewise.
45542
95443d88
L
455432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45544
45545 * sysdeps/x86_64/bits/atomic.h
45546 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45547 64bit integer.
45548 (atomic_exchange_acq): Likewise.
45549 (__arch_exchange_and_add_body): Likewise.
45550 (__arch_add_body): Likewise.
45551 (atomic_add_negative): Likewise.
45552 (atomic_add_zero): Likewise.
45553
490df6c4
L
455542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45555
c2722551 45556 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
45557 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45558
5e52b189
L
455592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45560
45561 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45562 Check __x86_64__ instead of __WORDSIZE.
45563
a9879d4c
L
455642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45565
45566 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45567
5df98260
DM
455682012-03-19 David S. Miller <davem@davemloft.net>
45569
e1497744
DM
45570 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45571
5df98260
DM
45572 * sysdeps/sparc/fpu/fenv_private.h: New file.
45573 * sysdeps/sparc/fpu/math_private.h: Use it.
45574 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45575 Remove.
57f41c40 45576 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
45577 (libc_feholdexcept_setroundl): Remove.
45578 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45579 Remove.
45580 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45581 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45582
b4c35121
L
455832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45584
45585 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45586 int64_t instead of long int.
45587 (INSERT_WORDS64): Likwise.
45588
56965fd7
L
455892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45590
45591 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45592 _Unwind_GetCFA return to _Unwind_Ptr first.
45593
83d1aec8
JM
455942012-03-19 Joseph Myers <joseph@codesourcery.com>
45595
1897ad44
JM
45596 [BZ #13629]
45597 * math/s_clog.c: Include <float.h>.
45598 (__clog): Scale large or subnormal inputs.
45599 * math/s_clogf.c: Likewise.
45600 * math/s_clogl.c: Likewise.
45601 * math/s_clog10.c: Include <float.h>.
45602 (M_LOG10_2): Define.
45603 (__clog10): Scale large or subnormal inputs.
45604 * math/s_clog10f.c: Likewise.
45605 * math/s_clog10l.c: Likewise.
45606 * math/libm-test.inc (clog_test): Add more tests.
45607 (clog10_test): Likewise.
45608 * sysdeps/i386/fpu/libm-test-ulps: Update.
45609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45610
7726d6a9
JM
45611 [BZ #11451]
45612 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45613 x and y.
45614 * math/libm-test.inc (atan2_test): Add another test.
45615
83d1aec8
JM
45616 * Makerules (common-objdir-compile): Remove.
45617 * sysdeps/unix/Makefile (config-generated): Do not add
45618 $(unix-generated) to variable.
45619 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45620 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45621 Remove rule.
45622 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45623 Likewise.
45624 [generic bits/local_lim.h] (before-compile): Do not append to
45625 variable.
45626 [generic bits/local_lim.h] (common-generated): Likewise.
45627 [generic sys/param.h] (before-compile): Do not append to variable.
45628 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45629 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45630 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45631 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45632 include.
45633 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45634 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45635 [generic sys/param.h] ($(addprefix
45636 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45637 [generic sys/param.h] (common-generated): Do not append to
45638 variable.
45639 [generic sys/param.h] (sysdep_headers): Likewise.
45640 [generic bits/errno.h] (before-compile): Do not append to
45641 variable.
45642 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45643 rule.
45644 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45645 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45646 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45647 [generic bits/errno.h] (common-generated): Do not append to
45648 variable.
45649 [generic bits/ioctls.h] (before-compile): Do not append to
45650 variable.
45651 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45652 rule.
45653 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45654 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45655 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45656 rule.
45657 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45658 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45659 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45660 [generic bits/ioctls.h] (common-generated): Do not append to
45661 variable.
45662 [generic sys/syscall.h] (syscall.h): Remove variable.
45663 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45664 rule.
45665 [generic sys/syscall.h] (before-compile): Do not append to
45666 variable.
45667 [generic sys/syscall.h] (common-generated): Likewise.
45668 * sysdeps/unix/errnos-tmpl.c: Remove file.
45669 * sysdeps/unix/errnos.awk: Likewise.
45670 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45671 * sysdeps/unix/ioctls.awk: Likewise.
45672 * sysdeps/unix/mk-local_lim.c: Likewise.
45673 * sysdeps/unix/snarf-ioctls: Likewise.
45674
4851a949
RH
456752012-03-19 Richard Henderson <rth@twiddle.net>
45676
bd37f2ee
RH
45677 * sysdeps/i386/fpu/fenv_private.h: New file.
45678 * sysdeps/i386/fpu/math_private.h: Use it.
45679 (math_opt_barrier, math_force_eval): Remove.
45680 (libc_feholdexcept_setround_53bit): Remove.
45681 (libc_feupdateenv_53bit): Remove.
45682 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45683 (math_opt_barrier, math_force_eval): Remove.
45684 (libc_feholdexcept): Remove.
45685 (libc_feholdexcept_setround): Remove.
45686 (libc_fetestexcept, libc_fesetenv): Remove.
45687 (libc_feupdateenv_test): Remove.
45688 (libc_feupdateenv, libc_feholdsetround): Remove.
45689 (libc_feresetround): Remove.
45690
d0adc922
RH
45691 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45692 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45693
0fe0f1f8
RH
45694 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45695 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45696 (libc_feupdateenv_testl): New.
45697 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45698 (libc_feupdateenv_testf): New.
45699 (libc_feupdateenv): Use libc_feupdateenv_test.
45700 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45701 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45702
eb92c487
RH
45703 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45704 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45705 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45706 (libc_feresetround_noex): New.
45707 (libc_feresetround_noexf): New.
45708 (libc_feresetround_noexl): New.
45709 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45710 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45711 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45712 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45713 SET_RESTORE_ROUND.
45714 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45715 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45716 (__cos): Likewise.
45717 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45719 SET_RESTORE_ROUND_NOEX.
45720 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45721 SET_RESTORE_ROUND_NOEXF.
45722 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45723 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45724 (libc_feholdsetroundf): New.
45725 (libc_feresetround, libc_feresetroundf): New.
45726
7d2e8012
RH
45727 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45728 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45729 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45730
b4dabbb4
RH
45731 * sysdeps/generic/math_private.h: Include <fenv.h>.
45732 (default_libc_feholdexcept): New.
45733 (default_libc_feholdexcept_setround): New.
45734 (default_libc_fesetenv, default_libc_feupdateenv): New.
45735 (libc_feholdexcept): Only define if undefined.
45736 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45737 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45738 (libc_feholdexcept_setroundl): Likewise.
45739 (libc_feholdexcept_setround_53bit): Likewise.
45740 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45741 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45742 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45743 (libc_feupdateenv_53bit): Likewise.
45744 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45745 (libc_feholdexcept): Convert from macro to inline function.
45746 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45747 (libc_fesetenv, libc_feupdateenv): Likewise.
45748
4851a949
RH
45749 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45750 not previously defined.
45751 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45752 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45753 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45754 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45755 * sysdeps/ieee754/flt-32/math_private.h: New file.
45756 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45757 math_private.h below SET_FLOAT_WORD.
45758 (__isnan, __isinf_ns, __finite): Remove.
45759 (__isnanf, __isinf_nsf, __finitef): Remove.
45760
e79d442e
AS
457612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45762
45763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45764
90b80344
DM
457652012-03-17 David S. Miller <davem@davemloft.net>
45766
45767 [BZ #6471]
45768 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45769 for 2.16.
45770
edc21804
DM
457712012-03-16 David S. Miller <davem@davemloft.net>
45772
77e927af
DM
45773 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45774 warnings.
45775
374976dd
DM
45776 [BZ #6471]
45777 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45778 properly.
45779 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45780 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45781 sysdep_routines when subdir is sysvipc.
45782 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45783 __getshmlba helper.
45784
edc21804
DM
45785 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45786
473c3ef3
L
457872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45788
45789 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45790 [__LP64__].
45791
eb0f39b6
L
457922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45793
45794 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45795 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45796 (__lround): Renamed to ...
45797 (__llround): This. Replace long int with long long int.
45798 Define lround functions as aliases of llround functions.
45799 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45800
6b6cd74b
L
458012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45802
45803 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45804 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45805 adresses to uintptr_t. Replace "long int" and "unsigned long
45806 int" with "greg_t" on va_arg.
45807
f1a77b01
L
458082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45809
45810 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45811 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45812
45813 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45814 Move e_machine check before EI_CLASS check. Handle x32
45815 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45816 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45817 SKIP_EM_IA_64 and include
45818 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45819
45820 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45821 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45822 (add_system_dir): New macro.
45823
45824 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45825 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45826
11b90b9f
JM
458272012-03-16 Joseph Myers <joseph@codesourcery.com>
45828
c36e1d23
JM
45829 [BZ #2551]
45830 [BZ #2552]
45831 [BZ #2553]
45832 [BZ #2554]
45833 [BZ #2562]
45834 [BZ #2563]
45835 [BZ #2565]
45836 [BZ #2566]
45837 [BZ #2576]
45838 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45839 (y0): Likewise.
45840 * math/w_j0f.c (j0f): Likewise.
45841 (y0f): Likewise.
45842 * math/w_j0l.c (__j0l): Likewise.
45843 (__y0l): Likewise.
45844 * math/w_j1.c (j1): Likewise.
45845 (y1): Likewise.
45846 * math/w_j1f.c (j1f): Likewise.
45847 (y1f): Likewise.
45848 * math/w_j1l.c (__j1l): Likewise.
45849 (__y1l): Likewise.
45850 * math/w_jn.c (jn): Likewise.
45851 (yn): Likewise.
45852 * math/w_jnf.c (jnf): Likewise.
45853 (ynf): Likewise.
45854 * math/w_jnl.c (__jnl): Likewise.
45855 (__ynl): Likewise.
45856 * math/libm-test.inc (j0_test): Add more tests.
45857 (j1_test): Likewise.
45858 (jn_test): Likewise. Add trailing semicolon to existing test.
45859 (y0_test): Likewise.
45860 (y1_test): Likewise.
45861 * sysdeps/i386/fpu/libm-test-ulps: Update.
45862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45863
11b90b9f
JM
45864 [BZ #13851]
45865 [BZ #13854]
45866 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45867 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45868 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45869 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45870 (__tanl): Set errno for infinite argument.
45871 * sysdeps/i386/fpu/mptan.c: Remove.
45872 * sysdeps/i386/fpu/s_tan.S: Likewise.
45873 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45874 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45875 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45876 * math/libm-test.inc (tan_test): Add more tests and enable more
45877 tests for double and long double.
45878 * sysdeps/i386/fpu/libm-test-ulps: Update.
45879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45880
6a1bd2a1
JK
458812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45882
45883 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45884 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45885
10a803e0
RM
458862012-03-16 Roland McGrath <roland@hack.frob.com>
45887
45888 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45889 * configure.in: Use it for both main tree and add-ons.
45890 * configure: Regenerated.
45891
f196c7f7
L
458922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45893
45894 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45895
8848d99d
JM
458962012-03-16 Joseph Myers <joseph@codesourcery.com>
45897
96cbe7f4
JM
45898 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45899 in comment.
45900
8848d99d
JM
45901 [BZ #13851]
45902 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45903 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45904 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45905 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45906 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45907 infinite argument.
45908 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45909 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45910 != 0 for prec == 2.
45911 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45912 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45913 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45914 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45915 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45916 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45917 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45918 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45919 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45920 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45921 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45922 * math/libm-test.inc (cos_test): Add more tests and enable more
45923 tests for long double.
45924 (sin_test): Likewise.
45925 (sincos_test): Likewise.
45926 * sysdeps/i386/fpu/libm-test-ulps: Update.
45927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45928
dd7f4703
DM
459292012-03-16 David S. Miller <davem@davemloft.net>
45930
45931 * sysdeps/sparc/fpu/math_private.h: New file.
45932
006f1daa
DM
459332012-03-15 David S. Miller <davem@davemloft.net>
45934
c0c83bc8
DM
45935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45936 file.
e6a62e18 45937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
45938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45939 file.
e6a62e18
DM
45940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45941 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45942 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45945 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45946 sysdep routines.
45947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45948
88cb87d9
DM
45949 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45950 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45951
006f1daa 45952 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
45953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45954 sparc-ifunc.h
006f1daa 45955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
45956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45957 Likewise.
45958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45959 Likewise.
006f1daa
DM
45960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
45963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45964 Likewise.
006f1daa
DM
45965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
45969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45970 Likewise.
45971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45972 Likewise.
006f1daa
DM
45973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45977 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45978 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45979 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45980 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45981 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45982 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45983 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45984 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45985 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45986 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45988 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45989 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45990 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45992 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45995 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45996 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45997
11e0098e
AS
459982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45999
46000 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46001 scaling.
46002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46003
e85b09d0
AJ
460042012-03-15 Andreas Jaeger <aj@suse.de>
46005
46006 [BZ #13852]
46007 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46008 ieee754/flt-32 implementation for sin, cos and sincos.
46009 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46010 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46011 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46012 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46013 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46014 ieee754/flt-32 implementation for tan.
46015
46016 * math/libm-test.inc (cos_test): Enable some large input tests for
46017 float as well
46018 (sin_test): Likewise.
46019 (sincos_test): Likewise.
46020 (tan_test): Add tests for large input.
46021
46022 * sysdeps/i386/fpu/libm-test-ulps: Update.
46023
81c64153
AJ
460242012-03-15 Andreas Jaeger <aj@suse.de>
46025
46026 [BZ #13658]
46027 * math/libm-test.inc (cos_test): Add more test cases.
46028 (sin_test): Likewise.
46029 (sincos_test): Likewise.
46030
7bbfa5c6
AJ
460312012-03-15 Andreas Jaeger <aj@suse.de>
46032
46033 [BZ #13837]
46034 * math/libm-test.inc (cos_test): Add a test case for large input
46035 value.
46036 (sin_test): Likewise.
46037 (sincos_test): Likewise.
46038
57f41c40
AS
460392012-03-15 Andreas Jaeger <aj@suse.de>
46040 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46041
46042 [BZ #13658]
0671f479 46043 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46044 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46045 * sysdeps/i386/fpu/branred.c: Likewise.
46046 * sysdeps/i386/fpu/dosincos.c: Likewise.
46047 * sysdeps/i386/fpu/mpa.c: Likewise.
46048 * sysdeps/i386/fpu/s_cos.S: Likewise.
46049 * sysdeps/i386/fpu/s_sin.S: Likewise.
46050 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46051 * sysdeps/i386/fpu/sincos32.c: Likewise.
46052
46053 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46054 Define.
46055 (libc_feupdateenv_53bit): Define.
46056 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46057 Define.
46058 (libc_feupdateenv_53bit): Define.
46059
46060 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46061 53 bit (without extend i386 double precision).
46062
46063 * math/libm-test.inc (sincos_test): Add tests for large input.
46064 (sin): Likewise.
46065 (cos): Likewise.
46066
46067 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46068
9cad04ea
AS
460692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46070
46071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46072
f7062b9a
DM
460732012-03-15 David S. Miller <davem@davemloft.net>
46074
46075 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46076 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46077 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46078 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46082 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46088 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46091 file.
f7062b9a 46092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46094 file.
f7062b9a 46095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46097 file.
f7062b9a 46098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46100 file.
f7062b9a
DM
46101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46102 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46103 fmin/fmax sysdep routines.
46104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46105
7bd951ff
DM
461062012-03-14 David S. Miller <davem@davemloft.net>
46107
559398ab
DM
46108 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46111 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46113 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46114 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46115 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46116 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46117 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46123 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46130 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46131 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46132 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46133 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46134 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46135 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46137 routines.
46138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46139 file.
559398ab 46140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46142 file.
559398ab 46143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46145 file.
559398ab 46146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46148 file.
559398ab 46149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46151 file.
559398ab 46152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46154 file.
46155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46156 file.
46157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46158 file.
46159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46160 file.
46161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46162 New file.
46163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46164 file.
46165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46166 file.
559398ab 46167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46169 file.
559398ab 46170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46172 file.
559398ab 46173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46175 file.
559398ab 46176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46178 VIS3 routines.
559398ab
DM
46179
46180 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46181 New file.
46182
5a1c1e32
DM
46183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46184
eae47a36
DM
46185 * sysdeps/sparc/configure.in: New file.
46186 * sysdeps/sparc/configure: Generate.
46187 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46188 * configure: Regenerate.
46189 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46190 * config.make.in (have-as-vis3): New.
46191 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46192 available use -Av9d instead of -Av9a.
46193 * sysdeps/sparc/sparc64/Makefile: Likewise.
46194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46196 New file.
46197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46198 file.
46199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46200 New file.
46201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46202 file.
eae47a36
DM
46203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46204 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46205 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46206 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46207 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46208
c0c83bc8
DM
46209 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46210 fzeros/fnegs to load 0x80000000 into a float register instead of
46211 using the stack.
7bd951ff
DM
46212 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46213
bd951ccb
JM
462142012-03-14 Joseph Myers <joseph@codesourcery.com>
46215
46216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46217 bits/syscall.h.
46218 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46219 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46220 ($(inst_includedir)/bits/syscall.h): Remove rule.
46221 ($(objpfx)bits/syscall.d): Include instead of
46222 $(objpfx)syscall-list.d.
46223 (generated): Change syscall-list.h and syscall-list.d to
46224 bits/syscall.h and bits/syscall.d.
46225
bb4e6db2
RM
462262012-03-14 Roland McGrath <roland@hack.frob.com>
46227
46228 [BZ #13846]
46229 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46230
aa4a2ae1
JM
462312012-03-14 Joseph Myers <joseph@codesourcery.com>
46232
e456826d
JM
46233 [BZ #13841]
46234 * math/s_csqrt.c: Include <float.h>.
46235 (__csqrt): Scale large or subnormal inputs.
46236 * math/s_csqrtf.c: Likewise.
46237 * math/s_csqrtl.c: Likewise.
46238 * math/libm-test.inc (csqrt_test): Add more tests.
46239 * sysdeps/i386/fpu/libm-test-ulps: Update.
46240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46241
aa4a2ae1
JM
46242 [BZ #13840]
46243 * math/libm-test.inc (hypot_test): Add more tests.
46244
7c10fd35
DM
462452012-03-13 David S. Miller <davem@davemloft.net>
46246
46247 [BZ #13840]
46248 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46249 double-precision for the calculation instead of scaling.
46250
f453b98b
JM
462512012-03-13 Joseph Myers <joseph@codesourcery.com>
46252
46253 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46254 manipulate bits before adding and subtracting TWO52[sx].
46255 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46256 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46257 Likewise.
46258 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46259
09a3453f
DM
462602012-03-13 David S. Miller <davem@davemloft.net>
46261
8e59da90
DM
46262 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46263 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46264 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46265 rtld-global-offsets.h
46266 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46267
2a8ab7f2
DM
46268 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46269 large parameters.
46270
10f62770
DM
46271 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46272
5f0bdb18
DM
46273 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46274 'err' in the ifdef scope in which it is actually used.
46275
09a3453f
DM
46276 * nss/nss_db/db-init.c: Include string.h
46277
b4b2eb5e
DM
462782012-03-12 David S. Miller <davem@davemloft.net>
46279
98bb2f1c
DM
46280 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46281 masking out of the most significant byte of random value used.
46282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46283 Fix coding style in previous change.
46284
b4b2eb5e
DM
46285 * sysdeps/unix/sysv/linux/kernel-features.h
46286 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46287 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46288 expression.
46289 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46290 later.
46291
6e226b09
DM
462922012-03-11 David S. Miller <davem@davemloft.net>
46293
a1bcbd40
DM
46294 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46295 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46296 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46297 for 'resultvar' otherwise things get truncated on 64-bit.
46298
cb9d6174
DM
46299 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46300 Fix masking out of the most significant byte of random value used.
46301
6e226b09
DM
46302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46303
058c132d
AS
463042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46305
46306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46307
2d2cd515
DM
463082012-03-09 David S. Miller <davem@davemloft.net>
46309
46310 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46311 variables with appropriate CPP guards.
57f41c40
AS
46312 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46313 from the frame pointer, not the stack pointer. Correct layout
46314 comments. Fix test on resulting framesize and the management of
46315 the outregs buffer for pltexit. Preserve floating point return
46316 values across _dl_call_pltexit call.
2d2cd515
DM
46317 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46318 framesize and the management of the outregs buffer for pltexit.
46319 Preserve floating point return values across _dl_call_pltexit
46320 call.
57f41c40
AS
46321 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46322 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46323 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46324 (print_exit): Fix format string for return register value.
46325
9a07f9d0
JM
463262012-03-10 Joseph Myers <joseph@codesourcery.com>
46327
46328 * sunrpc/Makefile (others): Add rpcgen.
46329 ($(objpfx)rpcgen): Remove special build rule and dependency on
46330 libc.
46331 * sunrpc/rpcgen.c: New file.
46332
547b5e30
PE
463332012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46334
c524201a
PE
46335 [BZ #13673]
46336 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46337 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46338 * sysdeps/i386/crti.S: Likewise.
46339 * sysdeps/i386/crtn.S: Likewise.
46340 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46341 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46342 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46343 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46344 * sysdeps/sh/crti.S: Likewise.
46345 * sysdeps/sh/crtn.S: Likewise.
46346 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46347
7b6235f2
PE
46348 [BZ #13673]
46349 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46350 with URL.
46351 * locale/programs/locfile-kw.gperf: Likewise.
46352 * locale/programs/charmap-kw.h: Regenerated.
46353 * locale/programs/locfile-kw.h: Likewise.
46354
547b5e30
PE
46355 [BZ #13673]
46356 * intl/plural.y: Replace FSF snail mail address with URL.
46357 * intl/plural.c: Regenerated.
46358
5f0a5dae
RH
463592012-03-09 Richard Henderson <rth@twiddle.net>
46360
46361 * include/math_private.h: Remove file.
46362 * math/math_private.h: Move file ...
46363 * sysdeps/generic/math_private.h: ... here.
46364
b8c03620
RH
46365 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46366 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46367 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46368
4e234f5d 46369 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46370 and <math_private.h>.
46371 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46372 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46373 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46374 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46375 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46376 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46379 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46380 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46381 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46382 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46383 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46384 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46385 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46386 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46387 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46388 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46389 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46390 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46391 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46392 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46393 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46395 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46396 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46397 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46398 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46399 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46400 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46401 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46403 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46404 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46405 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46406 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46407 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46408 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46409 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46410 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46411 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46412 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46414 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46415 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46416 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46417 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46418 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46419 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46420 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46421 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46422 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46423 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46424 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46425 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46426 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46427 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46428 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46429 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46430 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46431 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46432 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46433 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46434 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46435 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46439 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46440 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46441 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46442 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46443 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46444 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46445 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46446 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46448 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46449 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46450 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46451 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46452 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46453 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46454 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46456 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46458 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46459 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46460 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46461 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46462 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46464 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46465 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46466 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46467 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46468 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46469 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46470 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46471 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46472 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46473 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46474 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46475 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46476 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46477 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46478 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46479 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46480 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46481 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46482 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46483 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46484 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46485 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46486 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46487 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46488 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46489 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46490 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46491 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46492 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46493 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46494 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46495 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46496 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46497 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46498 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46499 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46500 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46501 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46502 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46503 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46504 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46505 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46506 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46507 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46508 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46509 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46510 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46512 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46513 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46514 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46515 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46516 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46517 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46518 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46519 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46520 * sysdeps/ieee754/k_standard.c: Likewise.
46521 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46522 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46524 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46525 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46526 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46527 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46528 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46529 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46530 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46531 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46532 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46533 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46534 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46535 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46536 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46537 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46538 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46539 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46540 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46541 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46542 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46543 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46544 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46545 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46546 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46547 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46548 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46549 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46550 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46551 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46552 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46553 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46554 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46555 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46556 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46557 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46558 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46559 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46560 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46561 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46562 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46563 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46564 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46565 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46566 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46567 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46568 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46569 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46570 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46571 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46572 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46573 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46574 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46575 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46576 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46577 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46578 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46579 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46580 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46581 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46582 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46583 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46584 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46587 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46588 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46589 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46590 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46591 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46592 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46593 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46594 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46595 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46597 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46598 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46599 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46600 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46601 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46602 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46603 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46604 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46605 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46606 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46607 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46608 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46609 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46610 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46611 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46612 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46613 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46614 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46615 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46617 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46618 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46619 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46620 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46621 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46624 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46625 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46626 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46627 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46628 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46629 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46630 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46631 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46632 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46633 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46634 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46635 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46636 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46637 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46638 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46639 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46640 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46641 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46642 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46643 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46644 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46645 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46646 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46647 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46648 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46649 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46650 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46651 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46652 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46653 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46654 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46655 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46656 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46657 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46658 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46659 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46660 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46661 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46662 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46663 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46664 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46665 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46666 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46667 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46668 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46669 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46670 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46671 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46672 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46673 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46674 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46675 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46676 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46677 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46678 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46679 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46680 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46681 * sysdeps/ieee754/s_lib_version.c: Likewise.
46682 * sysdeps/ieee754/s_matherr.c: Likewise.
46683 * sysdeps/ieee754/s_signgam.c: Likewise.
46684 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46685 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46686 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46687 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46688 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46689 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46690 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46691 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46692 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46693 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46694 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46695 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46696 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46697 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46698 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46699 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46700 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46701 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46702 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46703 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46704 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 46705
1991fa03
JM
467062012-03-09 Joseph Myers <joseph@codesourcery.com>
46707
46708 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46709 * sunrpc/rpc_main.c: Likewise.
46710 * sunrpc/rpc_svcout.c: Likewise.
46711
60d6f5a6
DM
467122012-03-09 David S. Miller <davem@davemloft.net>
46713
46714 * include/math_private.h: New file.
46715
4962050e
JM
467162012-03-09 Joseph Myers <joseph@codesourcery.com>
46717
02a6f887
JM
46718 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46719 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46720 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46721 from <bits/socket_type.h>.
46722 (enum __socket_type): Don't define here.
46723 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46725 bits/socket_type.h.
46726
c6e013c1
JM
46727 [BZ #13566]
46728 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46729 checking __USE_GNU.
46730
4962050e
JM
46731 * Makerules ($(inst_includedir)/%.h): New rule.
46732 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46733 (install-others): Remove variable setting.
46734 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46735
38842f45
RH
467362012-03-08 Richard Henderson <rth@twiddle.net>
46737
67bb6da6
RH
46738 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46739 from macro to inline function; merge with the
46740 !__LIBC_INTERNAL_MATH_INLINES version.
46741 (__ieee754_sqrtf): Likewise.
46742
15194b4b
RH
46743 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46744 to inline function.
46745 (__rintf, __floor, __floorf): Likewise.
46746
64e21ede
RH
46747 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46748 macro to inline function.
46749 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46750
38842f45
RH
46751 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46752 not <math/math_private.h>.
46753
c64bf5fe
DM
467542012-03-08 David S. Miller <davem@davemloft.net>
46755
46756 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46757 copyright year.
46758 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46759
82d86f28
TS
467602012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46761
46762 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46763 normalization.
46764 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46765 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46766
aea5d727
UD
467672012-03-08 Ulrich Drepper <drepper@gmail.com>
46768
46769 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46770 be defined individually, they must be defined as a block. Define
46771 S for printing a string instead of hidint the different by using a
46772 macro for adding the 'l'.
46773 * stdio-common/tst-fphex-wide.c: Adjust.
46774
70bca0a3
MP
467752012-03-07 Marek Polacek <polacek@redhat.com>
46776
46777 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46778
65b81130
MP
467792012-03-08 Marek Polacek <polacek@redhat.com>
46780
46781 [BZ #13806]
46782 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46783 * stdio-common/tst-fphex.c: Define a few macros to make the
46784 test reusable. Use them.
46785 * stdio-common/tst-fphex-wide.c: New file.
46786
07037eeb
JM
467872012-03-08 Joseph Myers <joseph@codesourcery.com>
46788
a7a93d50
JM
46789 [BZ #6911]
46790 * manual/macros.texi (gnusystems): New macro.
46791 (nongnusystems): Likewise.
46792 (gnulinuxhurdsystems): Likewise.
46793 (gnuhurdsystems): Likewise..
46794 (gnulinuxsystems): Likewise.
46795 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46796 variants of the GNU system, not "GNU system".
46797 * manual/conf.texi: Likewise.
46798 * manual/errno.texi: Likewise. Update example of errno macro
46799 expansion.
46800 * manual/filesys.texi: Likewise.
46801 (getumask): Document as specific to GNU/Hurd.
46802 * manual/install.texi: Likewise. Reword some references to
46803 GNU/Linux.
46804 * manual/intro.texi: Likewise.
46805 * manual/io.texi: Likewise.
46806 (File Name Portability): Detail which constraints are inapplicable
46807 to all GNU systems and which are only inapplicable to GNU/Hurd.
46808 * manual/job.texi: Likewise.
46809 * manual/llio.texi: Likewise.
46810 (O_NOCTTY): Document as present on GNU/Linux.
46811 * manual/maint.texi: Likewise.
46812 * manual/memory.texi: Likewise.
46813 * manual/pattern.texi: Likewise.
46814 * manual/pipe.texi: Likewise.
46815 * manual/process.texi: Likewise.
46816 * manual/resource.texi: Likewise.
46817 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46818 child on GNU/Hurd.
46819 * manual/setjmp.texi: Likewise.
46820 * manual/signal.texi: Likewise.
46821 * manual/startup.texi: Likewise.
46822 * manual/stdio.texi: Likewise.
46823 * manual/terminal.texi: Likewise.
46824 (ONLCR): Document as POSIX.
46825 (OXTABS): Document availability on GNU/Linux as XTABS.
46826 (ONOEOT): Document availability separately from other bits.
46827 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46828 * manual/time.texi: Likewise.
46829 * manual/users.texi: Likewise.
46830 * INSTALL: Regenerated.
46831 * sysdeps/gnu/errlist.c: Regenerated.
46832
07037eeb
JM
46833 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46834 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46835 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46836 puts.
46837 * configure: Regenerated.
46838
d1d3431a
JM
468392012-03-07 Joseph Myers <joseph@codesourcery.com>
46840
af6a1e37
JM
46841 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46842 default includes instead of AC_HEADER_CHECK.
46843 * sysdeps/i386/configure: Regenerated.
46844
d1d3431a
JM
46845 [BZ #10716]
46846 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46847 * math/s_cacoshf.c (__cacoshf): Likewise.
46848 * math/s_cacoshl.c (__cacoshl): Likewise.
46849 * math/s_casinh.c (__casinh): Set signs of result from argument.
46850 * math/s_casinhf.c (__casinhf): Likewise.
46851 * math/s_casinhl.c (__casinhl): Likewise.
46852 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46853 (casinh_test): Add more tests.
46854 * sysdeps/i386/fpu/libm-test-ulps: Update.
46855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46856
482ff4da
UD
468572012-03-07 Ulrich Drepper <drepper@gmail.com>
46858
872fda05
UD
46859 * po/zh_TW.po: Update from translation team.
46860
a4300c7a
UD
46861 * login/Makefile (distribute): Remove variable.
46862 * catgets/Makefile: Likewise.
46863 * mach/Makefile: Likewise.
46864 * malloc/Makefile: Likewise.
46865 * misc/Makefile: Likewise.
46866 * iconv/Makefile: Likewise.
46867 * nscd/Makefile: Likewise.
46868 * hurd/Makefile: Likewise.
46869 * manual/Makefile: Likewise.
46870 * locale/Makefile: Likewise.
46871 * intl/Makefile: Likewise.
46872 * conform/Makefile: Likewise.
46873 * nss/Makefile: Likewise.
46874 * time/Makefile: Likewise.
46875 * soft-fp/Makefile: Likewise.
46876 * dirent/Makefile: Likewise.
46877 * gmon/Makefile: Likewise.
46878 * po/Makefile: Likewise.
46879 * rt/Makefile: Likewise.
46880 * socket/Makefile: Likewise.
46881 * math/Makefile: Likewise.
46882 * signal/Makefile: Likewise.
46883 * debug/Makefile: Likewise.
46884 * elf/Makefile: Likewise.
46885 * timezone/Makefile: Likewise.
46886 * stdlib/Makefile: Likewise.
46887 * iconvdata/Makefile: Likewise.
46888 * sunrpc/Makefile: Likewise.
46889 * io/Makefile: Likewise.
46890 * argp/Makefile: Likewise.
46891 * inet/Makefile: Likewise.
46892 * hesiod/Makefile: Likewise.
46893 * grp/Makefile: Likewise.
46894 * csu/Makefile: Likewise.
46895 * wctype/Makefile: Likewise.
46896 * crypt/Makefile: Likewise.
46897 * libio/Makefile: Likewise.
46898 * string/Makefile: Likewise.
46899 * nis/Makefile: Likewise.
46900 * resolv/Makefile: Likewise.
46901 * stdio-common/Makefile: Likewise.
46902 * wcsmbs/Makefile: Likewise.
46903 * dlfcn/Makefile: Likewise.
46904 * posix/Makefile: Likewise.
46905
3b7c4e74 46906 [BZ #6959]
482ff4da
UD
46907 * timezone/Makefile: Don't install timezone files, just the programs
46908 and scripts.
46909
f72ed77d
UD
469102012-03-06 Ulrich Drepper <drepper@gmail.com>
46911
a000466f
UD
46912 * nss/databases.def: Add missing gshadow entry.
46913
f72ed77d
UD
46914 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46915
a53b7a4e
MP
469162012-03-06 Marek Polacek <polacek@redhat.com>
46917
46918 [BZ #13726]
46919 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46920 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46921 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46922 * stdio-common/tst-long-dbl-fphex.c: New file.
46923
e9258400
DM
469242012-03-06 David S. Miller <davem@davemloft.net>
46925
46926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46927 (set_obp_int): New function.
46928 (get_obp_int): New function.
46929 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
46930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46931 Avoid unused variable warnings on 'val' and use builtin_expect.
46932 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46933 __builtin_expect.
e9258400
DM
46934 (INLINE_CLONE_SYSCALL): Likewise.
46935
3bd2c723
DM
469362012-03-05 David S. Miller <davem@davemloft.net>
46937
46938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46939
bbb78d03
AS
469402012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46941
884c5db4
AS
46942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46943
bbb78d03
AS
46944 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46945 only for |x| >= 40.
46946 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46947
1c9f702a 469482012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
46949
46950 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46951 Replace gettimeofday with __vdso_gettimeofday.
46952
7be16f82
RM
46953 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46954 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46955 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
46956
46957 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46958 time with __vdso_time.
46959
ed58a00f
JM
469602012-03-05 Joseph Myers <joseph@codesourcery.com>
46961
46962 * manual/lang.texi (size_t): Note types to which size_t may be
46963 equivalent with the GNU C Library, but do not describe when
46964 differences between them are significant.
46965
30ee4ced
AJ
469662012-03-05 Andreas Jaeger <aj@suse.de>
46967
46968 * sysdeps/i386/fpu/libm-test-ulps: Update.
46969
b7cd39e8
JM
469702012-03-05 Joseph Myers <joseph@codesourcery.com>
46971
46972 [BZ #3976]
46973 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46974 (__ieee754_pow): Save and restore rounding mode and use
46975 round-to-nearest for main computations.
46976 * math/libm-test.inc (pow_test_tonearest): New function.
46977 (pow_test_towardzero): Likewise.
46978 (pow_test_downward): Likewise.
46979 (pow_test_upward): Likewise.
46980 (main): Call the new functions.
46981 * sysdeps/i386/fpu/libm-test-ulps: Update.
46982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
46983
46984 [BZ #3976]
46985 * math/libm-test.inc (cosh_test_tonearest): New function.
46986 (cosh_test_towardzero): Likewise.
46987 (cosh_test_downward): Likewise.
46988 (cosh_test_upward): Likewise.
46989 (sinh_test_tonearest): Likewise.
46990 (sinh_test_towardzero): Likewise.
46991 (sinh_test_downward): Likewise.
46992 (sinh_test_upward): Likewise.
46993 (main): Call the new functions.
46994 * sysdeps/i386/fpu/libm-test-ulps: Update.
46995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46996
6c6a98c9
TV
469972012-03-05 Tom de Vries <tom@codesourcery.com>
46998
46999 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47000 default stack guard is set in last bytes.
47001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47002
21bb2d2e 470032012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47004
21bb2d2e 47005 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47006
21bb2d2e
AJ
47007 [BZ #13656]
47008 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47009 possibly allocate from heap instead of stack.
47010 * stdio-common/bug-vfprintf-nargs.c: New file.
47011 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47012
c6922934
AS
470132012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47014
47015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47016
bc957d53
MP
470172012-03-03 Marek Polacek <polacek@redhat.com>
47018
47019 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47020 * math/math_private.h: Likewise.
47021 * stdlib/tst-strtod.c: Likewise.
47022 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47023 * sysdeps/x86_64/bits/atomic.h: Likewise.
47024
6358490d
DM
470252012-03-02 David S. Miller <davem@davemloft.net>
47026
47027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47031 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47032 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47033 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47034 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47035
01ae168d
RM
470362012-03-02 Roland McGrath <roland@hack.frob.com>
47037
d9a17c07
RM
47038 [BZ #13792]
47039 * manual/examples/README: New file, says the example source files
47040 can be used under GPL>=2.
47041 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47042 line containing just "*/".
47043 * manual/examples/add.c: Add copyright header (GPL>=2).
47044 * manual/examples/argp-ex1.c: Likewise.
47045 * manual/examples/argp-ex2.c: Likewise.
47046 * manual/examples/argp-ex3.c: Likewise.
47047 * manual/examples/argp-ex4.c: Likewise.
47048 * manual/examples/atexit.c: Likewise.
47049 * manual/examples/db.c: Likewise.
47050 * manual/examples/dir.c: Likewise.
47051 * manual/examples/dir2.c: Likewise.
47052 * manual/examples/execinfo.c: Likewise.
47053 * manual/examples/filecli.c: Likewise.
47054 * manual/examples/filesrv.c: Likewise.
47055 * manual/examples/fmtmsgexpl.c: Likewise.
47056 * manual/examples/genpass.c: Likewise.
47057 * manual/examples/inetcli.c: Likewise.
47058 * manual/examples/inetsrv.c: Likewise.
47059 * manual/examples/isockad.c: Likewise.
47060 * manual/examples/longopt.c: Likewise.
47061 * manual/examples/memopen.c: Likewise.
47062 * manual/examples/memstrm.c: Likewise.
47063 * manual/examples/mkfsock.c: Likewise.
47064 * manual/examples/mkisock.c: Likewise.
47065 * manual/examples/mygetpass.c: Likewise.
47066 * manual/examples/pipe.c: Likewise.
47067 * manual/examples/popen.c: Likewise.
47068 * manual/examples/rprintf.c: Likewise.
47069 * manual/examples/search.c: Likewise.
47070 * manual/examples/select.c: Likewise.
47071 * manual/examples/setjmp.c: Likewise.
47072 * manual/examples/sigh1.c: Likewise.
47073 * manual/examples/sigusr.c: Likewise.
47074 * manual/examples/stpcpy.c: Likewise.
47075 * manual/examples/strdupa.c: Likewise.
47076 * manual/examples/strftim.c: Likewise.
47077 * manual/examples/strncat.c: Likewise.
47078 * manual/examples/subopt.c: Likewise.
47079 * manual/examples/swapcontext.c: Likewise.
47080 * manual/examples/termios.c: Likewise.
47081 * manual/examples/testopt.c: Likewise.
47082 * manual/examples/testpass.c: Likewise.
47083 * manual/examples/timeval_subtract.c: Likewise.
47084
01ae168d
RM
47085 [BZ #13792]
47086 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47087 function to ...
47088 * manual/timeval_subtract.c.texi: ... here, new file.
47089
49efa33d
DM
470902012-03-02 David S. Miller <davem@davemloft.net>
47091
47092 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47093
28afd92d
JM
470942012-03-02 Joseph Myers <joseph@codesourcery.com>
47095
804360ed
JM
47096 [BZ #3976]
47097 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47098 (__sin): Save and restore rounding mode and use round-to-nearest
47099 for all computations.
47100 (__cos): Save and restore rounding mode and use round-to-nearest
47101 for all computations.
47102 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47103 <fenv.h>.
47104 (tan): Save and restore rounding mode and use round-to-nearest for
47105 all computations.
47106 * math/libm-test.inc (cos_test_tonearest): New function.
47107 (cos_test_towardzero): Likewise.
47108 (cos_test_downward): Likewise.
47109 (cos_test_upward): Likewise.
47110 (sin_test_tonearest): Likewise.
47111 (sin_test_towardzero): Likewise.
47112 (sin_test_downward): Likewise.
47113 (sin_test_upward): Likewise.
47114 (tan_test_tonearest): Likewise.
47115 (tan_test_towardzero): Likewise.
47116 (tan_test_downward): Likewise.
47117 (tan_test_upward): Likewise.
47118 (main): Call the new functions.
47119 * sysdeps/i386/fpu/libm-test-ulps: Update.
47120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47121
a6d06d7b
JM
47122 [BZ #10135]
47123 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47124 small n, then large n, before computing and testing k+n.
47125 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47126 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47127 Likewise.
47128 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47129 Likewise.
47130 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47131 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47136 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47137 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47138 * math/libm-test.inc (scalbn_test): Add more tests.
47139 (scalbln_test): Likewise.
47140
07e12bb3
JM
47141 * manual/filesys.texi (mode_t): Describe constraints on size and
47142 signedness, not exact equivalence to a particular type.
47143 (ino_t): Likewise.
47144 (ino64_t): Likewise.
47145 (dev_t): Likewise.
47146 (nlink_t): Likewise.
47147 (blkcnt_t): Likewise.
47148 (blkcnt64_t): Likewise.
47149 * manual/llio.texi (off_t): Likewise.
47150
28afd92d
JM
47151 [BZ #3976]
47152 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47153 (__ieee754_exp): Save and restore rounding mode and use
47154 round-to-nearest for all computations.
47155 * math/libm-test.inc (exp_test_tonearest): New function.
47156 (exp_test_towardzero): Likewise.
47157 (exp_test_downward): Likewise.
47158 (exp_test_upward): Likewise.
47159 (main): Call the new functions.
47160 * sysdeps/i386/fpu/libm-test-ulps: Update.
47161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47162
b1eeb65d
CD
471632012-03-01 Chris Demetriou <cgd@google.com>
47164
47165 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47166 have predictable order.
47167
53362a4b
DM
471682012-03-01 David S. Miller <davem@davemloft.net>
47169
3c969083
DM
47170 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47171
759707de
DM
47172 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47173 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47174 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47175 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47176
dfdb8ff2
DM
47177 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47178 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47179 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47181 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47182 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47183 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47184 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47185 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47186
ead89f96
DM
47187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47188
7f66bd07
DM
47189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47190 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47191 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47192
53362a4b
DM
47193 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47194 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47195 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47196 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47197 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47198 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47199 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47200 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47201 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47202 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47203 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47204 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47206 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47207 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47208 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47209 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47210 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47211 * sysdeps/sparc/elf/configure: Regenerated.
47212
7b1902cb
JM
472132012-03-01 Joseph Myers <joseph@codesourcery.com>
47214
bec039bc
JM
47215 * configure.in (AS, LD): Require binutils 2.20 or later.
47216 * configure: Regenerated.
47217 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47218 as required minimum version.
47219 * INSTALL: Regenerated.
47220
7b1902cb
JM
47221 [BZ #2541]
47222 [BZ #4108]
47223 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47224 before squaring exponent.
47225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47226 bottom long double and 27 bits of top long double before squaring
47227 exponent.
47228 * math/libm-test.inc (erfc_test): Add more tests.
47229 * sysdeps/i386/fpu/libm-test-ulps: Update.
47230 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47232
f775c276
KT
472332012-03-01 Kai Tietz <ktietz@redhat.com>
47234
47235 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47236 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47237 containing bit-fields.
47238 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47239 * soft-fp/single.h (_FP_UNION_S): Likewise.
47240 * soft-fp/double.h (_FP_UNION_D): Likewise.
47241
5b8a4d4a
JM
472422012-02-29 Joseph Myers <joseph@codesourcery.com>
47243
0bab47b6
JM
47244 [BZ #13786]
47245 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47246 not include ../strcmp.S.
47247 [USE_AS_STRNCASECMP_L]: Likewise.
47248 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47249 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47250 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47251 (__strncasecmp_l_ia32): Define as alias to
47252 __strncasecmp_l_nonascii.
47253
0fcad3e2
JM
47254 [BZ #5794]
47255 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47256 * sysdeps/i386/fpu/libm-test-ulps: Update.
47257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47258
5b8a4d4a
JM
47259 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47261
8fdceb2e
JL
472622012-02-29 Jeff Law <law@redhat.com>
47263
47264 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47265 out of bounds read.
47266
1f393a11
MP
472672012-02-29 Marek Polacek <polacek@redhat.com>
47268
47269 [BZ #13706]
47270 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47271 * elf/Makefile: Add rules to run tst-unused-dep.out.
47272
8847f037
DM
472732012-02-28 David S. Miller <davem@davemloft.net>
47274
47275 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47276 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47277 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47279 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47280 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47281
169d7f11
JM
472822012-02-29 Joseph Myers <joseph@codesourcery.com>
47283
47284 * math/libm-test.inc (llround_test): Move one test from
47285 lround_test. Use TEST_f_L in moved test.
47286 (lround_test): Move misplaced test to llround_test. Add testcase
47287 from bug 2561.
47288
39adf059
UD
472892012-02-28 Ulrich Drepper <drepper@gmail.com>
47290
47291 * sysdeps/x86_64/fpu/e_expf.S: New file.
47292 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47293
71b5d1c5
SB
472942012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47295
47296 [BZ #13637]
47297 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47298 of remain_len that may cause incomplete multi-byte character and
47299 false match.
47300 * posix/bug-regex33.c: New file.
47301 * posix/Makefile (tests): Add bug-regex33.
47302
1f77f049
JM
473032012-02-28 Joseph Myers <joseph@codesourcery.com>
47304
47305 * manual/macros.texi: New file.
47306 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47307 * manual/libc.texinfo: Include macros.texi.
47308 * manual/creatute.texi: Likewise.
47309 * manual/install.texi: Likewise.
47310 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47311 @glibcadj{} in references to the GNU C Library.
47312 * manual/charset.texi: Likewise.
47313 * manual/conf.texi: Likewise.
47314 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47315 when not using those macros.
47316 * manual/creature.texi: Likewise.
47317 * manual/crypt.texi: Likewise.
47318 * manual/errno.texi: Likewise.
47319 * manual/filesys.texi: Likewise.
47320 * manual/header.texi: Likewise.
47321 * manual/install.texi: Likewise.
47322 * manual/intro.texi: Likewise.
47323 * manual/io.texi: Likewise.
47324 * manual/job.texi: Likewise.
47325 * manual/lang.texi: Likewise.
47326 * manual/libc.texiinfo: Likewise.
47327 * manual/llio.texi: Likewise.
47328 * manual/locale.texi: Likewise.
47329 * manual/maint.texi: Likewise.
47330 * manual/math.texi: Likewise.
47331 * manual/memory.texi: Likewise.
47332 * manual/message.texi: Likewise.
47333 * manual/nss.texi: Likewise.
47334 * manual/pattern.texi: Likewise.
47335 * manual/process.texi: Likewise.
47336 * manual/resource.texi: Likewise.
47337 * manual/search.texi: Likewise.
47338 * manual/setjmp.texi: Likewise.
47339 * manual/signal.texi: Likewise.
47340 * manual/socket.texi: Likewise.
47341 * manual/startup.texi: Likewise.
47342 * manual/stdio.texi: Likewise.
47343 * manual/string.texi: Likewise.
47344 * manual/sysinfo.texi: Likewise.
47345 * manual/syslog.texi: Likewise.
47346 * manual/terminal.texi: Likewise.
47347 * manual/time.texi: Likewise.
47348 * manual/users.texi: Likewise.
47349 * INSTALL: Regenerated.
47350 * NOTES: Regenerated.
d40c5d54 47351 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47352
450bf206
AS
473532012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47354
47355 * include/dirent.h: Include <dirstream.h> before
47356 <dirent/dirent.h>.
47357
741a235b
DM
473582012-02-28 David S. Miller <davem@davemloft.net>
47359
47360 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47361 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47362 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47363 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47364
d6b5aa58
DM
473652012-02-27 David S. Miller <davem@davemloft.net>
47366
1aff59a3
DM
47367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47369 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47370 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47371
d6b5aa58
DM
47372 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47373 frame pointer instead of stack pointer relative arg slot.
47374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47375 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47376 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47377
433f48bf
CD
473782012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47379
47380 [BZ #3992]
47381 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47382
d674b76d
DM
473832012-02-27 David S. Miller <davem@davemloft.net>
47384
47385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47389 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47390 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47391 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47392 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47393
0e7727f7
JM
473942012-02-27 Joseph Myers <joseph@codesourcery.com>
47395
47396 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47397 later. Allow versions 5-9.
43be4ca2 47398 * configure: Regenerated.
0e7727f7
JM
47399 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47400 required minimum version and 4.6 as recommended version. Do not
47401 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47402 * INSTALL: Regenerated.
0e7727f7 47403
a78bc654
DM
474042012-02-27 David S. Miller <davem@davemloft.net>
47405
428d5830
DM
47406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47410 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47411 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47412 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47413 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47414
a78bc654
DM
47415 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47416 manipulate bits before adding and subtracting TWO112[sx].
47417 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47418
4579f81c
RM
474192012-02-27 Roland McGrath <roland@hack.frob.com>
47420
36c8acb4
RM
47421 [BZ #13775]
47422 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47423 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47424 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47425 being in POSIX, because they are in 1003.1-2008.
47426
84ad622b
RM
47427 * rt/tst-aio.c: Include <fcntl.h>.
47428 * rt/tst-aio7.c: Likewise.
47429 * rt/tst-aio64.c: Likewise.
47430
4579f81c
RM
47431 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47432
abd923db
JM
474332012-02-27 Joseph Myers <joseph@codesourcery.com>
47434
47435 * manual/install.texi (--with-headers): Describe headers as
47436 interface headers, not private headers.
47437 (Specific advice for GNU/Linux systems): Describe use of headers
47438 from "make headers_install", not private headers from older
47439 kernels.
43be4ca2 47440 * INSTALL: Regenerated.
abd923db
JM
47441 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47442 Change to 2.6.19.
47443 * sysdeps/unix/sysv/linux/configure: Regenerated.
47444
6664049b
JM
47445 * manual/llio.texi (fclean): Remove documentation.
47446
bb8b6697
JM
47447 * manual/Makefile (libc-texi-generated): New variable. Include
47448 version.texi.
47449 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47450 $(libc-texi-generated), not duplicated list of files.
47451 (version.texi, stamp-version): New rules.
47452 (realclean): Remove $(libc-texi-generated), not individual files
47453 from that list. Do not remove dir-add.texinfo.
47454 * manual/libc.texinfo: Comment out uses of edition numbers and
47455 references to printed manual. Remove last-updated dates.
47456 (EDITION): Comment out.
47457 (ISBN): Likewise.
47458 (VERSION, UPDATED): Remove.
47459 (version.texi): Include.
47460
12e5c3b9
AS
474612012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47462
47463 * sysdeps/posix/spawni.c: Include <signal.h>.
47464 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47465 * sysdeps/pthread/aio_fsync.c: Likewise.
47466
4efeffc1 474672012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 47468
ba63ba08
UD
47469 * conform/Makefile (tests): Run only when not cross-compiling and
47470 when fast-check is not defined.
47471
d94a4670
UD
47472 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47473 * conform/data/limits.h-data: Fixes for POSIX2008.
47474 * conform/run-conformtest.sh: Run all tests.
47475 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47476 headers.
47477 * include/bits/dlfcn.h: Likewise.
47478 * include/langinfo.h: Likewise.
47479 * include/monetary.h: Likewise.
47480 * include/sys/poll.h: Likewise.
47481
47482 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47483 for __USE_GNU.
47484 * posix/spawn.h: Define __need_sigset_t.
47485 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47486 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47487 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
47488 to get sigevent_t only.
47489 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47490 only for __USE_GNU.
47491 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47492 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47493 process_vm_writev only for __USE_GNU.
47494 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
47495
47496 * conform/Makefile: For now ignore errors from run-conformtest.
47497 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
47498 POSIX to avoid namespace pollution. Don't prepend headers.
47499 * conform/data/aio.h-data: Fixes for POSIX testing.
47500 * conform/data/fcntl.h-data: Likewise.
47501 * conform/data/glob.h-data: Likewise.
47502 * conform/data/grp.h-data: Likewise.
47503 * conform/data/pthread.h-data: Likewise.
47504 * conform/data/pwd.h-data: Likewise.
47505 * conform/data/signal.h-data: Likewise.
47506 * conform/data/spawn.h-data: Likewise.
47507 * conform/data/stdio.h-data: Likewise.
47508 * conform/data/stdlib.h-data: Likewise.
47509 * conform/data/stropts.h-data: Likewise.
47510 * conform/data/sys/mman.h-data: Likewise.
47511 * conform/data/sys/stat.h-data: Likewise.
47512 * conform/data/sys/types.h-data: Likewise.
47513 * conform/data/sys/wait.h-data: Likewise.
47514 * conform/data/time.h-data: Likewise.
47515 * conform/data/unistd.h-data: Likewise.
47516 * conform/data/utime.h-data: Likewise.
47517
47518 * io/sys/stat.h: fchmod was always in POSIX.
47519 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47520 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47521 * rt/aio.h: Define __need_timespec before including <time.h>.
47522 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47523 struct. Add forward declaration of pthread_attr_t and use it in
47524 sigevent.
47525 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47526 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47527 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47528 always remove CLK_TCK definition.
47529
c20105c3
AS
475302012-02-26 Andreas Schwab <schwab@linux-m68k.org>
47531
47532 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47533
7a270350
UD
475342012-02-25 Ulrich Drepper <drepper@gmail.com>
47535
31341567
UD
47536 * conform/run-conformtest.sh: New file.
47537 * conform/Makefile: Run run-conformtest for tests.
47538 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
47539 support.
47540
47541 * conform/data/uchar.h-data: New file.
47542 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47543 * conform/data/arpa/inet.h-data: Likewise.
47544 * conform/data/assert.h-data: Likewise.
47545 * conform/data/complex.h-data: Likewise.
47546 * conform/data/cpio.h-data: Likewise.
47547 * conform/data/ctype.h-data: Likewise.
47548 * conform/data/dirent.h-data: Likewise.
47549 * conform/data/dlfcn.h-data: Likewise.
47550 * conform/data/errno.h-data: Likewise.
47551 * conform/data/fcntl.h-data: Likewise.
47552 * conform/data/float.h-data: Likewise.
47553 * conform/data/fmtmsg.h-data: Likewise.
47554 * conform/data/fnmatch.h-data: Likewise.
47555 * conform/data/ftw.h-data: Likewise.
47556 * conform/data/glob.h-data: Likewise.
47557 * conform/data/grp.h-data: Likewise.
47558 * conform/data/iconv.h-data: Likewise.
47559 * conform/data/inttypes.h-data: Likewise.
47560 * conform/data/langinfo.h-data: Likewise.
47561 * conform/data/libgen.h-data: Likewise.
47562 * conform/data/limits.h-data: Likewise.
47563 * conform/data/locale.h-data: Likewise.
47564 * conform/data/math.h-data: Likewise.
47565 * conform/data/monetary.h-data: Likewise.
47566 * conform/data/mqueue.h-data: Likewise.
47567 * conform/data/ndbm.h-data: Likewise.
47568 * conform/data/net/if.h-data: Likewise.
47569 * conform/data/netdb.h-data: Likewise.
47570 * conform/data/netinet/in.h-data: Likewise.
47571 * conform/data/nl_types.h-data: Likewise.
47572 * conform/data/poll.h-data: Likewise.
47573 * conform/data/pthread.h-data: Likewise.
47574 * conform/data/pwd.h-data: Likewise.
47575 * conform/data/regex.h-data: Likewise.
47576 * conform/data/sched.h-data: Likewise.
47577 * conform/data/search.h-data: Likewise.
47578 * conform/data/semaphore.h-data: Likewise.
47579 * conform/data/setjmp.h-data: Likewise.
47580 * conform/data/signal.h-data: Likewise.
47581 * conform/data/spawn.h-data: Likewise.
47582 * conform/data/stdarg.h-data: Likewise.
47583 * conform/data/stdio.h-data: Likewise.
47584 * conform/data/stdlib.h-data: Likewise.
47585 * conform/data/string.h-data: Likewise.
47586 * conform/data/strings.h-data: Likewise.
47587 * conform/data/stropts.h-data: Likewise.
47588 * conform/data/sys/ipc.h-data: Likewise.
47589 * conform/data/sys/mman.h-data: Likewise.
47590 * conform/data/sys/msg.h-data: Likewise.
47591 * conform/data/sys/resource.h-data: Likewise.
47592 * conform/data/sys/select.h-data: Likewise.
47593 * conform/data/sys/sem.h-data: Likewise.
47594 * conform/data/sys/shm.h-data: Likewise.
47595 * conform/data/sys/socket.h-data: Likewise.
47596 * conform/data/sys/stat.h-data: Likewise.
47597 * conform/data/sys/statvfs.h-data: Likewise.
47598 * conform/data/sys/time.h-data: Likewise.
47599 * conform/data/sys/timeb.h-data: Likewise.
47600 * conform/data/sys/times.h-data: Likewise.
47601 * conform/data/sys/types.h-data: Likewise.
47602 * conform/data/sys/uio.h-data: Likewise.
47603 * conform/data/sys/un.h-data: Likewise.
47604 * conform/data/sys/utsname.h-data: Likewise.
47605 * conform/data/sys/wait.h-data: Likewise.
47606 * conform/data/syslog.h-data: Likewise.
47607 * conform/data/tar.h-data: Likewise.
47608 * conform/data/termios.h-data: Likewise.
47609 * conform/data/utime.h-data: Likewise.
47610 * conform/data/utmpx.h-data: Likewise.
47611 * conform/data/varargs.h-data: Likewise.
47612 * conform/data/wchar.h-data: Likewise.
47613 * conform/data/wctype.h-data: Likewise.
47614 * conform/data/wordexp.h-data: Likewise.
47615
47616 * include/stropts.h: New file.
47617 * include/uchar.h: New file.
47618 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47619 * include/assert.h: Likewise.
47620 * include/ctype.h: Likewise.
47621 * include/dirent.h: Likewise.
47622 * include/dlfcn.h: Likewise.
47623 * include/fcntl.h: Likewise.
47624 * include/fnmatch.h: Likewise.
47625 * include/glob.h: Likewise.
47626 * include/grp.h: Likewise.
47627 * include/libio.h: Likewise.
47628 * include/locale.h: Likewise.
47629 * include/math.h: Likewise.
47630 * include/net/if.h: Likewise.
47631 * include/netdb.h: Likewise.
47632 * include/netinet/in.h: Likewise.
47633 * include/pthread.h: Likewise.
47634 * include/pwd.h: Likewise.
47635 * include/regex.h: Likewise.
47636 * include/sched.h: Likewise.
47637 * include/search.h: Likewise.
47638 * include/setjmp.h: Likewise.
47639 * include/signal.h: Likewise.
47640 * include/stdio.h: Likewise.
47641 * include/stdlib.h: Likewise.
47642 * include/string.h: Likewise.
47643 * include/sys/cdefs.h: Likewise.
47644 * include/sys/mman.h: Likewise.
47645 * include/sys/msg.h: Likewise.
47646 * include/sys/resource.h: Likewise.
47647 * include/sys/select.h: Likewise.
47648 * include/sys/socket.h: Likewise.
47649 * include/sys/stat.h: Likewise.
47650 * include/sys/statvfs.h: Likewise.
47651 * include/sys/time.h: Likewise.
47652 * include/sys/times.h: Likewise.
47653 * include/sys/uio.h: Likewise.
47654 * include/sys/utsname.h: Likewise.
47655 * include/sys/wait.h: Likewise.
47656 * include/termios.h: Likewise.
47657 * include/time.h: Likewise.
47658 * include/ulimit.h: Likewise.
47659 * include/unistd.h: Likewise.
47660 * include/utime.h: Likewise.
47661 * include/wchar.h: Likewise.
47662 * include/wctype.h: Likewise.
47663 * include/wordexp.h: Likewise.
47664
47665 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47666
7a270350
UD
47667 * time/time.h: TIME_UTC must be a macro.
47668 Make timespec_get available for ISO C11 only as well.
47669
7724defc
UD
476702012-02-24 Ulrich Drepper <drepper@gmail.com>
47671
47672 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47673 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47674
6b1d1d46
JM
476752012-02-24 Joseph Myers <joseph@codesourcery.com>
47676
47677 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 47678
0f8bbd69
JM
476792012-02-24 Joseph Myers <joseph@codesourcery.com>
47680
47681 * manual/texinfo.tex: Update to version 2012-01-19.16.
47682
66ab80bc
JM
476832012-02-24 Joseph Myers <joseph@codesourcery.com>
47684
47685 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47686
74981cc5
RM
476872012-02-24 Roland McGrath <roland@hack.frob.com>
47688
ee968201
RM
47689 [BZ #13738]
47690 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47691 * manual/fdl-1.3.texi: New file.
47692 * manual/fdl-1.1.texi: File removed.
47693
74981cc5
RM
47694 [BZ #13738]
47695 * manual/libc.texinfo (FDL_VERSION): New @set.
47696 Use it for mention of FDL in cover text.
47697 (Documentation License): Use it in @include file name.
47698
7bb764bc
JM
476992012-02-22 Joseph Myers <joseph@codesourcery.com>
47700 Roland McGrath <roland@hack.frob.com>
47701
47702 [BZ #5461]
57f41c40
AS
47703 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47704 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
47705 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47706 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47707 name.
47708 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47709
6cbeae47
JM
477102012-02-22 Joseph Myers <joseph@codesourcery.com>
47711
47712 [BZ #2547]
47713 [BZ #11365]
47714 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47715 manipulate bits before adding and subtracting TWO23[sx].
47716 * math/libm-test.inc (nearbyint_test): Add more tests.
47717
fe45ce09
JM
477182012-02-22 Joseph Myers <joseph@codesourcery.com>
47719
47720 [BZ #2548]
47721 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47722 bits before adding and subtracting TWO23[sx].
47723 * math/libm-test.inc (rint_test): Add more tests.
47724 (rint_test_tonearest): Likewise.
47725 (rint_test_towardzero): Likewise.
47726 (rint_test_downward): Likewise.
47727 (rint_test_upward: Likewise.
47728
ff3b3d82
JM
477292012-02-22 Joseph Myers <joseph@codesourcery.com>
47730
47731 [BZ #10110]
47732 * include/stdc-predef.h: New file. Extracted from features.h.
47733 * include/features.h: Include stdc-predef.h.
47734 * Makefile (headers): Add stdc-predef.h.
47735 * CONFORMANCE (Compiler limitations): Update.
47736
ef0aab35
JM
477372012-02-22 Joseph Myers <joseph@codesourcery.com>
47738
47739 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47740
58639409
DM
477412012-02-21 David S. Miller <davem@davemloft.net>
47742
47743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47744 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47745
c0e70b25
DM
477462012-02-20 David S. Miller <davem@davemloft.net>
47747
47748 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47749 using a normal save/restore sequence, rather than allocating a
47750 dummy stack frame just to store a frame pointer and restore.
47751 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47752
fb06851d
JM
477532012-02-21 Joseph Myers <joseph@codesourcery.com>
47754
47755 * manual/install.texi: Fix stray word in line-wrapped comment.
47756
7a8b71c3
DM
477572012-02-20 David S. Miller <davem@davemloft.net>
47758
d510c123
DM
47759 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47760 both binutils and gcc support GOTDATA.
47761
0722d7c2
DM
47762 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47763 "rd %pc" in the PIC register setup sequences.
47764
3d2b3019
DM
47765 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47766 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47767 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47768 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47769 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47771 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47772 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47773 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47774 (SYSCALL_ERROR_HANDLER): Likewise.
47775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47778 (SYSCALL_ERROR_HANDLER): Likewise.
47779
c80098a9
DM
47780 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47781 (HAVE_GCC_GOTDATA): New.
47782 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47783 relocation support in both binutils and gcc.
47784 * sysdeps/sparc/elf/configure: Regenerate.
47785
3a2545a0
DM
47786 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47787 * sysdeps/sparc/sparc32/elf/configure: Delete.
47788 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47789 * sysdeps/sparc/sparc64/elf/configure: Delete.
47790 * sysdeps/sparc/elf/configure.in: New file.
47791 * sysdeps/sparc/elf/configure: Generate.
47792
7a8b71c3
DM
47793 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47794 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47795 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47796 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47797 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47798
f1e86fca
JM
477992012-02-21 Joseph Myers <joseph@codesourcery.com>
47800
47801 * manual/install.texi: Do not mention specific glibc version
47802 numbers.
47803 * manual/libc.texinfo (VERSION, UPDATED): Update.
47804 (@copying): Use @copyright{} and range of years.
47805
0e7dfaef
JM
478062012-02-21 Joseph Myers <joseph@codesourcery.com>
47807
47808 [BZ #13695]
47809 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47810 [crti.S not in sysdirs] (generated): Do not append.
47811 [crti.S not in sysdirs] (omit-deps): Likewise.
47812 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47813 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47814 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47815 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47816 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47817 Likewise.
47818 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47819 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47820 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47821 * csu/defs.awk: Remove file.
47822 * sysdeps/generic/initfini.c: Likewise.
47823 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47824 variable.
47825 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47826 Likewise.
47827
599af3ca
JM
478282012-02-20 Joseph Myers <joseph@codesourcery.com>
47829
47830 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47831 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47832 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47833 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47834 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47835 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47836 <bits/epoll.h>.
47837 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47838 (__EPOLL_PACKED): Define to empty if not defined by
47839 <bits/epoll.h>.
47840 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47842 bits/epoll.h.
47843
0e499750
JM
478442012-02-20 Joseph Myers <joseph@codesourcery.com>
47845
47846 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47847 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47848 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47849 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47850 <bits/timerfd.h>.
47851 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47853 bits/timerfd.h.
47854
5ad91f6e
JM
478552012-02-20 Joseph Myers <joseph@codesourcery.com>
47856
47857 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47858 in C locale.
47859 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47860 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47863
06b99b02
AJ
478642012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47865
47866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47868
7638c0fd
AS
478692012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47870
47871 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47872 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47873 defined.
47874 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47875 Likewise.
47876 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47877 entry for 2.16.
47878
92221550
AJ
478792012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47880
47881 * math/w_acos.c: Use non-signaling floating-point comparisons.
47882 * math/w_acosf.c: Likewise.
47883 * math/w_acosh.c: Likewise.
47884 * math/w_acoshf.c: Likewise.
47885 * math/w_acoshl.c: Likewise.
47886 * math/w_acosl.c: Likewise.
47887 * math/w_asin.c: Likewise.
47888 * math/w_asinf.c: Likewise.
47889 * math/w_asinl.c: Likewise.
47890 * math/w_atanh.c: Likewise.
47891 * math/w_atanhf.c: Likewise.
47892 * math/w_atanhl.c: Likewise.
47893 * math/w_exp2.c: Likewise.
47894 * math/w_exp2f.c: Likewise.
47895 * math/w_exp2l.c: Likewise.
47896 * math/w_j0.c: Likewise.
47897 * math/w_j0f.c: Likewise.
47898 * math/w_j0l.c: Likewise.
47899 * math/w_j1.c: Likewise.
47900 * math/w_j1f.c: Likewise.
47901 * math/w_j1l.c: Likewise.
47902 * math/w_jn.c: Likewise.
47903 * math/w_jnf.c: Likewise.
47904 * math/w_log.c: Likewise.
47905 * math/w_log10.c: Likewise.
47906 * math/w_log10f.c: Likewise.
47907 * math/w_log10l.c: Likewise.
47908 * math/w_log2.c: Likewise.
47909 * math/w_log2f.c: Likewise.
47910 * math/w_log2l.c: Likewise.
47911 * math/w_logf.c: Likewise.
47912 * math/w_logl.c: Likewise.
47913 * math/w_sqrt.c: Likewise.
47914 * math/w_sqrtf.c: Likewise.
47915 * math/w_sqrtl.c: Likewise.
47916 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47917 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47919 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47920 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47921
ebaf36eb
JM
479222012-02-19 Joseph Myers <joseph@codesourcery.com>
47923
47924 [BZ #9739]
47925 * manual/string.texi (strnlen): Use correct parameter name in
47926 equivalent expression.
47927
71c254a6
JM
479282012-02-19 Joseph Myers <joseph@codesourcery.com>
47929
47930 [BZ #11174]
47931 * manual/users.texi (seteuid): Consistently use neweuid for
47932 argument name.
47933
16d2c631
JM
479342012-02-19 Joseph Myers <joseph@codesourcery.com>
47935
47936 [BZ #13704]
47937 * manual/nss.texi (Services in the NSS configuration): Correct
47938 list of services in example configuration file.
47939
cd837b09
NB
479402012-02-19 Nick Bowler <nbowler@draconx.ca>
47941
47942 [BZ #11322]
47943 * manual/arith.texi: Remove statements about negative zero
47944 behaving identically to zero.
47945
02c4bbad
JM
479462012-02-18 Joseph Myers <joseph@codesourcery.com>
47947
47948 [BZ #5993]
47949 * manual/install.texi: Do not document upgrading from libc5.
47950
366842e7
JM
479512012-02-18 Joseph Myers <joseph@codesourcery.com>
47952
47953 [BZ #4596]
47954 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47955
dd54084d
DM
479562012-02-18 David S. Miller <davem@davemloft.net>
47957
47958 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47959 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47960 %o7 across the call.
47961 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47962 instead.
47963 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47964 SETUP_PIC_REG_LEAF.
47965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47966 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47967 * sysdeps/sparc/crtn.S: Likewise.
47968
2bcc53a3
UD
479692012-02-17 Ulrich Drepper <drepper@gmail.com>
47970
47971 * aout/Makefile: Remove.
47972
09c093b5
RK
479732012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47974
47975 [BZ #13058]
47976 * manual/examples/argp-ex1.c (main): Format definition in GNU
47977 style.
47978 * manual/examples/argp-ex2.c (main): Likewise.
47979 * manual/examples/argp-ex3.c (main): Likewise.
47980 * manual/examples/argp-ex4.c (main): Likewise.
47981 * manual/examples/longopt.c (main): Use new-style prototype
47982 definition.
47983 * manual/examples/strncat.c (main): Specify return type and use
47984 (void) for arguments.
47985 * manual/examples/subopt.c (main): Use char **argv argument.
47986
2ee633a2
JM
479872012-02-17 Joseph Myers <joseph@codesourcery.com>
47988
47989 [BZ #5077]
47990 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47991 rounding modes.
47992
0520adde
FB
479932012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47994
47995 [BZ #6907]
47996 * manual/string.texi (strchr): Change when strchrnul is
47997 recommended.
47998
3f4081cd
DGM
479992012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48000
48001 [BZ #174]
48002 * manual/locale.texi (setlocale): Document LOCPATH.
48003
d1b10e78
JM
480042012-02-17 Joseph Myers <joseph@codesourcery.com>
48005
48006 [BZ #10210]
48007 * manual/process.texi (execle): Move @dots{} before last argument.
48008
79c6869c
PB
480092012-02-17 Paul Bolle <pebolle@tiscali.nl>
48010
48011 [BZ #12047]
48012 * manual/charset.texi (Generic Charset Conversion): Fix typo
48013 (LC_TYPE -> LC_CTYPE).
48014
cc6e48bc
NB
480152012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48016
48017 [BZ #5805]
48018 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48019 (scalbnf): Likewise.
48020 (scalbnl): Likewise.
48021 (scalbln): Likewise.
48022 (scalblnf): Likewise.
48023 (scalblnl): Likewise.
48024 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48025 (vwarnx): Likewise.
48026 (verr): Likewise.
48027 (verrx): Likewise.
48028 * manual/filesys.texi (telldir): Use braces around return type.
48029 * manual/llio.texi (mmap): Add space after comma.
48030 (mmap64): Likewise.
48031 * manual/math.texi (jn): Use @var{} on parameter names.
48032 (jnf): Likewise.
48033 (jnl): Likewise.
48034 (yn): Likewise.
48035 (ynf): Likewise.
48036 (ynl): Likewise.
48037 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48038 line.
48039 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48040 "...".
48041 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48042 (sched_get_priority_max): Likewise.
48043 * manual/signal.texi (sigvec): Add space after comma.
48044 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48045 names.
48046 (if_indextoname): Likewise.
48047 (if_freenameindex): Likewise.
48048 (sendto): Use ',' instead of '.' in prototype.
48049 * manual/startup.texi (syscall): Use @dots{} instead of literal
48050 "...".
48051 * manual/stdio.texi (__fpending): Separate initial words of
48052 paragraph from @deftypefun line.
48053 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48054 "...".
48055 (vsyslog): Use @var{} on parameter names.
48056 * manual/terminal.texi (stty): Use @var{} on parameter names.
48057 * manual/users.texi (getutmp): Use @var{} on parameter names.
48058 (getutmpx): Likewise.
48059
5b23062f
JM
480602012-02-17 Joseph Myers <joseph@codesourcery.com>
48061
48062 [BZ #6884]
48063 * manual/stdio.texi (fopen): Fix typos in description of
48064 ",ccs=STRING".
48065
8dee4833
AJ
480662012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48067
48068 [BZ #4026]
48069 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48070 get clock_id definition.
48071
9078ce93
TS
480722012-02-17 Thomas Schwinge <thomas@schwinge.name>
48073
48074 [BZ #4822]
48075 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48076 (madvise): Cast every argument to void on its own.
48077
3835c55f
JM
480782012-02-17 Joseph Myers <joseph@codesourcery.com>
48079
48080 [BZ #9902]
48081 * manual/startup.texi (Exit Status): Fix typo.
48082
35c47e37
JM
480832012-02-17 Joseph Myers <joseph@codesourcery.com>
48084
48085 [BZ #10140]
48086 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48087 * manual/examples/argp-ex2.c: Likewise.
48088 * manual/examples/argp-ex3.c: Likewise.
48089
e3b69ca7
RH
480902012-02-16 Richard Henderson <rth@redhat.com>
48091
48092 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48093 * sysdeps/s390/s390-32/initfini.c: Remove.
48094 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48095 * sysdeps/s390/s390-64/initfini.c: Remove.
48096
df83af67
KK
480972012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48098
48099 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48100 compiler output for sysdeps/generic/initfini.c.
48101 * sysdeps/sh/elf/initfini.c: Remove file.
48102
f63f3380
DM
481032012-02-16 David S. Miller <davem@davemloft.net>
48104
fb59b3a4
DM
48105 [BZ #11494]
48106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48107
f63f3380
DM
48108 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48109 * sysdeps/sparc/crti.S: New file.
48110 * sysdeps/sparc/crtn.S: New file.
48111 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48112 * sysdeps/sparc/sparc64/Makefile: Likewise.
48113
df6a4a4a
MF
481142012-02-15 Mike Frysinger <vapier@gentoo.org>
48115
6dd8f3dc 48116 [BZ #3335]
df6a4a4a
MF
48117 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48118
1cac7236
RM
481192012-02-15 Roland McGrath <roland@hack.frob.com>
48120
d2c736f8
RM
48121 [BZ #4822]
48122 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48123
1cac7236
RM
48124 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48125 (write, read, close): Likewise.
48126 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48127
8e475601
JM
481282012-02-15 Joseph Myers <joseph@codesourcery.com>
48129
48130 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48131 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48132 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48133 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48134 <bits/signalfd.h>.
48135 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48137 bits/signalfd.h.
48138
ed656b40
MP
481392012-02-14 Marek Polacek <polacek@redhat.com>
48140
48141 * sysdeps/x86_64/crti.S: New file.
48142 * sysdeps/x86_64/crtn.S: New file.
48143 * sysdeps/x86_64/elf/initfini.c: Remove file.
48144
2a979d3a
JM
481452012-02-13 Joseph Myers <joseph@codesourcery.com>
48146
48147 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48148 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48149 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48150 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48151 <bits/inotify.h>.
48152 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48154 bits/inotify.h.
48155
2a418ac3
JM
481562012-02-13 Joseph Myers <joseph@codesourcery.com>
48157
48158 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48159 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48160 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48161 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48162 <bits/eventfd.h>.
48163 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48165 bits/eventfd.h.
48166
fb779be7
TS
481672012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48168
e19e83c5
RM
48169 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48170 __feraiseexcept instead of feraiseexcept.
7c35ffed 48171
fb779be7
TS
48172 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48173 nanosleep invocations.
48174 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48175 strings, and add error checking for a nanosleep invocations.
48176
59ba27a6
PE
481772012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48178
48179 Replace FSF snail mail address with URLs, as per GNU coding standards.
48180 Most of the snail mail addresses were wrong anyway, and omitting
48181 them makes the source code easier to maintain. Almost all of the
48182 changes are to license notices and to locale LC_IDENTIFICATION
48183 addresses, except for this one:
48184 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48185 not its snail mail address.
48186
57b957eb
RH
481872012-02-09 Richard Henderson <rth@twiddle.net>
48188
af850b1c
RH
48189 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48190 of kernel-features.h.
48191
57b957eb
RH
48192 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48193
6b73181a
MP
481942012-02-08 Marek Polacek <polacek@redhat.com>
48195
48196 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48197 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48198 * sysdeps/gnu/_G_config.h: Likewise.
48199 * sysdeps/generic/_G_config.h: Likewise.
48200
26ecc33a
AS
482012012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48202
6c6dbc63
AS
48203 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48204 tests.
48205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48206
e216c012
AS
48207 * sysdeps/powerpc/powerpc32/crti.S: New file.
48208 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48209 * sysdeps/powerpc/powerpc64/crti.S: New file.
48210 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48211
26ecc33a
AS
48212 * Makeconfig (have-initfini): Don't set.
48213 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48214 * configure.in (nopic_initfini): Don't substitute.
48215 * config.h.in (HAVE_INITFINI): Don't #undef.
48216 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48217 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48218
3add8e13
JM
482192012-02-08 Joseph Myers <joseph@codesourcery.com>
48220
48221 Support crti.S and crtn.S provided directly by architectures.
48222 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48223 [crti.S in sysdirs] (omit-deps): Likewise.
48224 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48225 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48226 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48227 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48228 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48229 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48230 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48231 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48232 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48233 compiler output for sysdeps/generic/initfini.c.
48234 * sysdeps/i386/elf/Makefile: Remove file.
48235 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48236
a22f12b4
MP
482372012-02-07 Marek Polacek <polacek@redhat.com>
48238
48239 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48240 * sysdeps/gnu/_G_config.h: Likewise.
48241 * sysdeps/mach/hurd/_G_config.h: Likewise.
48242
148cf100
MP
482432012-02-07 Marek Polacek <polacek@redhat.com>
48244
48245 * math/Makefile (tests): Add tst-CMPLX2.
48246 * math/tst-CMPLX2.c: New file.
48247
cfdc0dd7
AS
482482012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48249
84ba42c4
AS
48250 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48251
cfdc0dd7
AS
48252 * math/libm-test.inc (jn_test): Add missing L suffix.
48253
622c86f4
MP
482542012-02-06 Marek Polacek <polacek@redhat.com>
48255
48256 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48257 * sysdeps/i386/fpu/e_powf.S: Likewise.
48258 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48259 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48260 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48261 * sysdeps/i386/fpu/e_pow.S: Likewise.
48262 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48263 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48264 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48265 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48266 * sysdeps/i386/fpu/e_log2.S: Likewise.
48267 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48268 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48269 * sysdeps/i386/fpu/e_powl.S: Likewise.
48270 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48271 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48272 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48273 * sysdeps/i386/fpu/e_logl.S: Likewise.
48274 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48275 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48276 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48277 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48278 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48279 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48280 * sysdeps/i386/fpu/e_log.S: Likewise.
48281 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48282 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48283 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48284 * sysdeps/i386/fpu/e_logf.S: Likewise.
48285 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48286 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48287 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48288 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48289 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48290 * sysdeps/i386/fpu/e_log10.S: Likewise.
48291 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48292 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48293 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48294 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48295 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48296 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48297 * sysdeps/i386/asm-syntax.h: Likewise.
48298 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48299 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48300 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48301 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48302 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48303 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48304 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48305 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48306 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48307 * sysdeps/powerpc/sysdep.h: Likewise.
48308 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48309 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48310
d4a54ac6
JM
483112012-02-06 Joseph Myers <joseph@codesourcery.com>
48312
48313 [BZ #411]
48314 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48315
314054ea
JM
483162012-02-06 Joseph Myers <joseph@codesourcery.com>
48317
48318 * sysdeps/i386/sysdep.h: Include <features.h>.
48319 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48320 version.
48321
d8e0ca50
JM
483222012-02-05 Joseph Myers <joseph@codesourcery.com>
48323
48324 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48325 Define.
48326 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48327 LOAD_PIC_REG_STR.
48328
b1da7dd9
JM
483292012-02-03 Joseph Myers <joseph@codesourcery.com>
48330
48331 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48332 (SETUP_PIC_REG): Use GET_PC_THUNK.
48333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48334 macro.
48335
9a1d9254
JM
483362012-02-03 Joseph Myers <joseph@codesourcery.com>
48337
48338 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48339 for non-PIC compilation.
48340 (SETUP_PIC_REG): Add .p2align directive.
48341 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48342 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48343 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48344 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48345 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48346 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48347 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48349 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48350 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48351 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48352 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48353 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48354 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48355 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48356 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48357 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48358 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48359 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48360 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48361 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48362 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48363 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48364 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48365 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48366 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48367 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48368 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48369 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48370 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48371 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48372 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48373 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48376 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48377 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48378 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48379 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48380 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48381 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48382
65dc3b75
JM
483832012-02-03 Joseph Myers <joseph@codesourcery.com>
48384
48385 * math/tst-CMPLX.c: Include <stdio.h>.
48386
d55bf177
JM
483872012-01-31 Joseph Myers <joseph@codesourcery.com>
48388
48389 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48390 float.
48391 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48392 * sysdeps/sparc/bits/mathdef.h: Likewise.
48393
69db4f8f
MP
483942012-01-31 Marek Polacek <polacek@redhat.com>
48395
48396 * libio/libio.h: Don't define _PARAMS.
48397 * locale/programs/config.h: Don't define PARAMS.
48398 * stdlib/strtol_l.c: Likewise.
48399 (__strtol_l): Remove PARAMS from the prototype.
48400
41b81892
UD
484012012-01-31 Ulrich Drepper <drepper@gmail.com>
48402
3b49edc0
UD
48403 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48404 names. Just use the correct names. Remove unnecessary wrapper
48405 functions.
48406 * malloc/arena.c: Likewise.
48407 * malloc/hooks.c: Likewise.
48408
41b81892
UD
48409 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48410 ARENA_TEST says not to. Simplify test for creation of a new arena.
48411 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48412
27a25b6e
UD
484132012-01-30 Ulrich Drepper <drepper@gmail.com>
48414
48415 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48416 into tail calls.
48417 (update_get_addr): New function.
48418 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48419 GET_ADDR_MODULE parameter.
48420
c8a89e7d
JM
484212012-01-30 Joseph Myers <joseph@codesourcery.com>
48422
48423 * crypt/cert.c: Remove __STDC__ conditionals.
48424 * crypt/crypt-entry.c: Likewise.
48425 * crypt/crypt_util.c: Likewise.
48426 * libio/filedoalloc.c: Likewise.
48427 * libio/fileops.c: Likewise.
48428 * libio/genops.c: Likewise.
48429 * libio/iofclose.c: Likewise.
48430 * libio/iofdopen.c: Likewise.
48431 * libio/iofopen.c: Likewise.
48432 * libio/iofopen64.c: Likewise.
48433 * libio/iogetdelim.c: Likewise.
48434 * libio/iopopen.c: Likewise.
48435 * libio/obprintf.c: Likewise.
48436 * libio/oldfileops.c: Likewise.
48437 * libio/oldiofclose.c: Likewise.
48438 * libio/oldiofdopen.c: Likewise.
48439 * libio/oldiofopen.c: Likewise.
48440 * libio/oldiopopen.c: Likewise.
48441 * libio/wfiledoalloc.c: Likewise.
48442 * libio/wgenops.c: Likewise.
48443 * locale/programs/xmalloc.c: Likewise.
48444 * misc/syslog.c: Likewise.
48445 * stdio-common/xbug.c: Likewise.
48446 * string/memchr.c: Likewise.
48447 * string/memcmp.c: Likewise.
48448 * string/memrchr.c: Likewise.
48449 * string/rawmemchr.c: Likewise.
48450 * sysdeps/posix/getcwd.c: Likewise.
48451 * time/strftime_l.c: Likewise.
48452
3b100462
JM
484532012-01-30 Joseph Myers <joseph@codesourcery.com>
48454
48455 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48456 * config.make.in (config-cflags-sse2avx): Define.
48457 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48458 Fix typo.
48459
607998af
CM
484602012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48461
48462 * scripts/config.guess: Update from upstream config git repository.
48463 * scripts/config.sub: Likewise.
48464
3601428f
CM
484652012-01-28 Chris Metcalf <cmetcalf@tilera.com>
48466
3ac8b282
CM
48467 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48468 (EM_NUM): Update.
48469 (R_TILEPRO_*, R_TILEGX_*): New macros.
48470
e034841e
CM
48471 * scripts/firstversions.awk: Fix bug in version range handling.
48472
540d7568
CM
48473 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48474
3601428f
CM
48475 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48476
463de862
CM
48477 * include/sys/epoll.h: New file.
48478 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48479 libc_hidden_def.
48480
73139a76
UD
484812012-01-28 Ulrich Drepper <drepper@gmail.com>
48482
96bc5b45
UD
48483 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48484 Avoid unnecessary __WORDSIZE == 64 test.
48485 (fmaxf): Use VEX format if possible.
48486 (fmax): Likewise.
48487 (fminf): Likewise.
48488 (fmin): Likewise.
48489
56f6f6a2
UD
48490 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48491 * math/math_private.h: Remove libc_fegetround* and
48492 libc_fesetround*.
48493 * sysdeps/i386/configure.in: Check for -msse2avx.
48494 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48495 also if SSE2AVX is defined.
48496 Remove libc_fegetround* and libc_fesetround*.
48497 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48498 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
48499 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48500 of HAS_YMM_USABLE.
48501 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48502 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48503 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48504 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48505 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48506
73139a76
UD
48507 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48508
d73f93a4
AZ
485092012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48510
48511 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48512 size is not set.
48513 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48514
6ee65ed6
UD
485152012-01-27 Ulrich Drepper <drepper@gmail.com>
48516
48517 [BZ #13618]
48518 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48519 relocation.
48520 * Makeconfig (libm): Define.
48521 * elf/Makefile: Add rules to build and run tst-relsort1.
48522 * elf/tst-relsort1.c: New file.
48523 * elf/tst-relsort1mod1.c: New file.
48524 * elf/tst-relsort1mod2.c: New file.
48525
8db21882
JM
485262012-01-27 Joseph Myers <joseph@codesourcery.com>
48527
48528 * math/s_ldexp.c: Remove __STDC__ conditionals.
48529 * math/s_ldexpf.c: Likewise.
48530 * math/s_ldexpl.c: Likewise.
48531 * math/s_nextafter.c: Likewise.
48532 * math/s_nexttowardf.c: Likewise.
48533 * math/s_significand.c: Likewise.
48534 * math/s_significandf.c: Likewise.
48535 * math/s_significandl.c: Likewise.
48536 * math/w_jnl.c: Likewise.
48537 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48538 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48539 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48540 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48541 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48542 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48543 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48544 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48545 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48546 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48547 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48548 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48549 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48550 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48551 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48552 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48553 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48554 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48555 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48556 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48557 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48558 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48559 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48560 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48561 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48562 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48563 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48564 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48565 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48566 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48567 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48568 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48569 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48570 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48571 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48572 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48573 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48574 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48575 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48576 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48577 * sysdeps/ieee754/k_standard.c: Likewise.
48578 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48579 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48580 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48581 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48582 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48583 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48584 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48585 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48586 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48587 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48588 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48589 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48590 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48591 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48592 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48593 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48594 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48595 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48596 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48597 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48598 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48599 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48600 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48601 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48602 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48603 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48604 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48605 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48606 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48607 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48608 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48609 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48610 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48611 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48612 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48613 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48614 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48615 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48616 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48617 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48618 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48620 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48621 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48622 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48623 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48624 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48625 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48627 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48628 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48629 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48630 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48631 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48632 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48633 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48634 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48636 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48637 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48638 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48639 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48640 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48641 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48642 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48643 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48644 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48645 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48646 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48647 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48648 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48649 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48650 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48651 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48652 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48653 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48654 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48655 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48657 * sysdeps/ieee754/s_matherr.c: Likewise.
48658 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48659 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48660 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48661 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48662
965a54a4
JM
486632012-01-26 Joseph Myers <joseph@codesourcery.com>
48664
48665 * crypt/md5.h: Remove __STDC__ conditionals.
48666 * libio/libioP.h: Likewise.
48667 * locale/programs/config.h: Likewise.
48668 * sysdeps/generic/sysdep.h: Likewise.
48669 * sysdeps/i386/asm-syntax.h: Likewise.
48670 * sysdeps/s390/asm-syntax.h: Likewise.
48671 * sysdeps/unix/sysdep.h: Likewise.
48672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48674
7071ad79
JM
486752012-01-26 Joseph Myers <joseph@codesourcery.com>
48676
48677 * libio/libio.h: Remove __STDC__ conditionals.
48678 * malloc/obstack.h: Likewise.
48679 * math/complex.h: Likewise.
48680 * math/math.h: Likewise.
48681 * sysdeps/generic/_G_config.h: Likewise.
48682 * sysdeps/gnu/_G_config.h: Likewise.
48683 * sysdeps/mach/hurd/_G_config.h: Likewise.
48684 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48685 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48686 * sysdeps/sparc/bits/mathdef.h: Likewise.
48687
afc5ed09
UD
486882012-01-26 Ulrich Drepper <drepper@gmail.com>
48689
48690 [BZ #13583]
48691 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 48692 Clean up HAS_* macros.
afc5ed09 48693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
48694 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48695 possible.
48696 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48697 HAS_AVX.
48698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 48703
bdb6de1d
JM
487042012-01-25 Joseph Myers <joseph@codesourcery.com>
48705
48706 * elf/tst-unique3.cc (gets): Remove declaration.
48707 * elf/tst-unique3lib.cc (gets): Likewise.
48708 * elf/tst-unique3lib2.cc (gets): Likewise.
48709 * elf/tst-unique4.cc (gets): Likewise.
48710
b15549e6
UD
487112012-01-24 Ulrich Drepper <drepper@gmail.com>
48712
48713 * include/stdio.h: Add C++ protection. Add gets declarations and
48714 definitions.
48715 * debug/tst-chk1.c: Don't declare gets here.
48716 * stdio-common/tst-gets.c: Likewise.
48717
a037381f
JM
487182012-01-24 Joseph Myers <joseph@codesourcery.com>
48719
48720 * posix/glob: Remove directory.
48721
f1d4aa75
JM
487222012-01-24 Joseph Myers <joseph@codesourcery.com>
48723
48724 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48725
81c0c964
PT
487262012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48727
48728 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48729 of the non-standard EPFNOSUPPORT.
48730
0ea698ae
ST
487312011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48732
48733 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48734 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48735 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48736
d220b117
UD
487372012-01-21 Ulrich Drepper <drepper@gmail.com>
48738
48739 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48740
3e1aa84e
UD
487412012-01-20 Ulrich Drepper <drepper@gmail.com>
48742
48743 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48744 transient errors.
48745 * nscd/grpcache.c (cache_addgr): Likewise.
48746 * nscd/hstcache.c (cache_addhst): Likewise.
48747 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48748 * nscd/pwdcache.c (cache_addpw): Likewise.
48749 * nscd/servicescache.c (cache_addserv): Likewise.
48750
400aa020
UD
487512012-01-16 Ulrich Drepper <drepper@gmail.com>
48752
d77e7869
UD
48753 * malloc/malloc.c: Various cleanups.
48754 * malloc/hooks.c: Likewise.
48755
400aa020
UD
48756 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48757 * stdlib/bug-fmtmsg1.c: New file.
48758
48759 * stdlib/fmtmsg.c (init): Add missing unlock.
48760 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48761
e0a309cf
MP
487622012-01-12 Marek Polacek <polacek@redhat.com>
48763
48764 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48765 and _GNU_SOURCE.
48766
929d11c7
WS
487672012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48768
48769 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48770 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48771 macro to ensure uniqueness of label name.
48772 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48773 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48774
41d0e869
UD
487752012-01-11 Ulrich Drepper <drepper@gmail.com>
48776
0cc5ed3b
UD
48777 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48778
41d0e869
UD
48779 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48780 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48781 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48782 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48783
a47a831a
UD
487842012-01-10 Ulrich Drepper <drepper@gmail.com>
48785
daa891c0
UD
48786 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48787
48788 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48789 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48790 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48791
e58ef0f2
UD
48792 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48793
a47a831a 48794 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
48795 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48796 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 48797 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
48798
48799 * math/bits/math-finite.h: Add ldexp support.
48800
a0bfc9c7
MP
488012012-01-10 Marek Polacek <polacek@redhat.com>
48802
48803 * locale/programs/localedef.h (show_archive_content): Add noreturn
48804 attribute.
48805
d6e97a1d
UD
488062012-01-09 Ulrich Drepper <drepper@gmail.com>
48807
48808 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48809
d5835c26
UD
488102012-01-08 Ulrich Drepper <drepper@gmail.com>
48811
e5f484c6
UD
48812 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48813
d5835c26
UD
48814 * io/Makefile (headers): Add bits/poll2.h.
48815
d1f741e9
WS
488162011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48817
48818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48819 typo #include statement.
48820
ec09c1c4
UD
488212012-01-08 Ulrich Drepper <drepper@gmail.com>
48822
48823 * include/sys/cdefs.h: Define __attribute_alloc_size.
48824 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48825 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48826 * elf/pldd.c: Likewise.
48827 * iconv/iconv_charmap.c: Likewise.
48828 * iconv/iconvconfig.c: Likewise.
48829 * iconv/strtab.c: Likewise.
48830 * locale/programs/locale.c: Likewise.
48831 * locale/programs/localedef.h: Likewise.
48832 * locale/programs/simple-hash.c: Likewise.
48833 * nscd/nscd.h: Likewise.
48834 * nss/makedb.c: Likewise.
48835 * sysdeps/generic/ldconfig.h: Likewise.
48836 * locale/programs/localedef.c: Remove xmalloc prototype.
48837 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48838
20b38e03
PP
488392012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48840
48841 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48842 appropriate.
48843
a0da5fe1
UD
488442012-01-08 Ulrich Drepper <drepper@gmail.com>
48845
1d5a644a 48846 * math/Makefile (tests): Add tst-CMPLX.
669704fd 48847 * math/tst-CMPLX.c: New file.
1d5a644a 48848
8784a6db
UD
48849 * math/complex.h (CMPLXL): Fix typo.
48850
d9a216c0
UD
48851 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48852 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48853 GLIBC_2.16.
48854 * debug/tst-chk1.c: Add poll and ppoll tests.
48855 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48856 * include/sys/poll.h: Add hidden proto for ppoll.
48857 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48858 * sysdeps/mach/hurd/ppoll.c: Likewise.
48859 * io/ppoll.c: Likewise.
48860 * debug/poll_chk.c: New file.
48861 * debug/ppoll_chk.c: New file.
48862 * include/bits/poll2.h: New file.
48863 * io/bits/poll2.h: New file.
48864
ac097f5c
UD
48865 [BZ #1350]
48866 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48867
2119dcfa
UD
48868 * configure.in: static is always set to yes. Remove.
48869 * config.make.in: Don't set build-static.
48870 * Makeconfig: Remove use of build-static.
48871 * dlfcn/Makefile: Likewise.
48872 * elf/Makefile: Likewise.
48873 * math/Makefile: Likewise.
48874 * misc/Makefile: Likewise.
48875 * nptl/Makefile: Likewise.
48876 * sysdeps/mach/hurd/Makefile: Likewise.
48877
121766a9
UD
48878 * configure.in: PWD_P is not used anymore.
48879 * config.make.in: Remove PWD_P entry.
48880
51a1d39c 48881 * configure.in: Remove last remnants of RANLIB.
8720d066 48882 No need to check for signed size_t anymore.
215f4bdc
UD
48883 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48884 and IA-64.
3857022a 48885 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
48886 * aclocal.m4: Likewise.
48887
d3ed7225
UD
48888 * wcsmbs/mbrtoc16.c: Implement using towc function.
48889 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48890 * wcsmbs/wcsmbsload.c: Likewise.
48891 * iconv/gconv_simple.c: Likewise.
48892 * iconv/gconv_int.h: Likewise.
48893 * iconv/gconv_builtin.h: Likewise.
48894 * iconv/iconv_prog.c: Remove CHAR16 handling.
48895
48896 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48897
48898 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48899
a0da5fe1
UD
48900 * configure.in: Remove --with-elf and --enable-bounded options.
48901 Dont set base_machine for ia64. More non-ELF conditions removed.
48902 Remove testing and setting of leading underscore information.
48903 * config.make.in (build-bounded): Set to no.
48904 * config.h.in: Remove NO_UNDERSCORES entry.
48905 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48906 them.
48907 * csu/start.c: Remove !NO_UNDERSCORE code.
48908 * locale/localeinfo.h: Likewise.
48909 * sysdeps/generic/machine-gmon.h: Likewise.
48910 * sysdeps/generic/sysdep.h: Likewise.
48911 * sysdeps/i386/sysdep.h: Likewise.
48912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48913 * sysdeps/mach/sysdep.h: Likewise.
48914 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48915 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48916 * sysdeps/sh/sysdep.h: Likewise.
48917 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48918 * sysdeps/unix/i386/sysdep.S: Likewise.
48919 * sysdeps/unix/sparc/start.c: Likewise.
48920 * sysdeps/unix/sparc/sysdep.S: Likewise.
48921 * sysdeps/unix/sparc/sysdep.h: Likewise.
48922 * sysdeps/unix/start.c: Likewise.
48923 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48924 * sysdeps/x86_64/sysdep.h: Likewise.
48925
df78418a
UD
489262012-01-07 Ulrich Drepper <drepper@gmail.com>
48927
a784e502
UD
48928 [BZ #13553]
48929 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48930 for non-gcc.
48931 * argp/argp-fmtstream.h: Use const instead __const.
48932 * argp/argp.h: Likewise.
48933 * assert/assert.h: Likewise.
48934 * bits/fenv.h: Likewise.
48935 * bits/sched.h: Likewise.
48936 * bits/sigset.h: Likewise.
48937 * bits/sigthread.h: Likewise.
48938 * catgets/nl_types.h: Likewise.
48939 * conform/data/pthread.h-data: Likewise.
48940 * crypt/crypt-private.h: Likewise.
48941 * crypt/crypt.h: Likewise.
48942 * crypt/crypt_util.c: Likewise.
48943 * ctype/ctype.h: Likewise.
48944 * debug/execinfo.h: Likewise.
48945 * debug/mbsnrtowcs_chk.c: Likewise.
48946 * debug/mbsrtowcs_chk.c: Likewise.
48947 * debug/wcsnrtombs_chk.c: Likewise.
48948 * debug/wcsrtombs_chk.c: Likewise.
48949 * debug/wcstombs_chk.c: Likewise.
48950 * dirent/dirent.h: Likewise.
48951 * dlfcn/dlfcn.h: Likewise.
48952 * elf/neededtest4.c: Likewise.
48953 * grp/grp.h: Likewise.
48954 * gshadow/gshadow.h: Likewise.
48955 * iconv/gconv.h: Likewise.
48956 * iconv/gconv_int.h: Likewise.
48957 * iconv/gconv_simple.c: Likewise.
48958 * iconv/iconv.h: Likewise.
48959 * iconv/loop.c: Likewise.
48960 * iconv/skeleton.c: Likewise.
48961 * include/aio.h: Likewise.
48962 * include/aliases.h: Likewise.
48963 * include/argz.h: Likewise.
48964 * include/arpa/inet.h: Likewise.
48965 * include/assert.h: Likewise.
48966 * include/dirent.h: Likewise.
48967 * include/dlfcn.h: Likewise.
48968 * include/execinfo.h: Likewise.
48969 * include/fcntl.h: Likewise.
48970 * include/fenv.h: Likewise.
48971 * include/glob.h: Likewise.
48972 * include/grp.h: Likewise.
48973 * include/libintl.h: Likewise.
48974 * include/mntent.h: Likewise.
48975 * include/netdb.h: Likewise.
48976 * include/pwd.h: Likewise.
48977 * include/rpc/netdb.h: Likewise.
48978 * include/sched.h: Likewise.
48979 * include/search.h: Likewise.
48980 * include/shadow.h: Likewise.
48981 * include/signal.h: Likewise.
48982 * include/stdio.h: Likewise.
48983 * include/stdlib.h: Likewise.
48984 * include/string.h: Likewise.
48985 * include/sys/socket.h: Likewise.
48986 * include/sys/stat.h: Likewise.
48987 * include/sys/statfs.h: Likewise.
48988 * include/sys/statvfs.h: Likewise.
48989 * include/sys/syslog.h: Likewise.
48990 * include/sys/time.h: Likewise.
48991 * include/sys/uio.h: Likewise.
48992 * include/time.h: Likewise.
48993 * include/unistd.h: Likewise.
48994 * include/utmp.h: Likewise.
48995 * include/wchar.h: Likewise.
48996 * include/wctype.h: Likewise.
48997 * inet/aliases.h: Likewise.
48998 * inet/arpa/inet.h: Likewise.
48999 * inet/netinet/ether.h: Likewise.
49000 * inet/netinet/in.h: Likewise.
49001 * intl/libintl.h: Likewise.
49002 * io/bits/fcntl2.h: Likewise.
49003 * io/fcntl.h: Likewise.
49004 * io/ftw.h: Likewise.
49005 * io/sys/poll.h: Likewise.
49006 * io/sys/stat.h: Likewise.
49007 * io/sys/statfs.h: Likewise.
49008 * io/sys/statvfs.h: Likewise.
49009 * io/utime.h: Likewise.
49010 * libio/bits/stdio.h: Likewise.
49011 * libio/bits/stdio2.h: Likewise.
49012 * libio/libio.h: Likewise.
49013 * libio/libioP.h: Likewise.
49014 * libio/stdio.h: Likewise.
49015 * locale/lc-ctype.c: Likewise.
49016 * locale/locale.h: Likewise.
49017 * login/utmp.h: Likewise.
49018 * malloc/arena.c: Likewise.
49019 * malloc/malloc.c: Likewise.
49020 * malloc/malloc.h: Likewise.
49021 * malloc/mcheck.c: Likewise.
49022 * malloc/mtrace.c: Likewise.
49023 * math/bits/mathcalls.h: Likewise.
49024 * math/fenv.h: Likewise.
49025 * math/math_private.h: Likewise.
49026 * misc/bits/error.h: Likewise.
49027 * misc/bits/syslog.h: Likewise.
49028 * misc/err.h: Likewise.
49029 * misc/error.h: Likewise.
49030 * misc/fstab.h: Likewise.
49031 * misc/mntent.h: Likewise.
49032 * misc/regexp.h: Likewise.
49033 * misc/search.h: Likewise.
49034 * misc/sgtty.h: Likewise.
49035 * misc/sys/mman.h: Likewise.
49036 * misc/sys/syslog.h: Likewise.
49037 * misc/sys/uio.h: Likewise.
49038 * misc/sys/xattr.h: Likewise.
49039 * misc/ttyent.h: Likewise.
49040 * nis/rpcsvc/ypclnt.h: Likewise.
49041 * nss/nss.h: Likewise.
49042 * posix/bits/unistd.h: Likewise.
49043 * posix/fnmatch.h: Likewise.
49044 * posix/glob.h: Likewise.
49045 * posix/sched.h: Likewise.
49046 * posix/spawn.h: Likewise.
49047 * posix/sys/wait.h: Likewise.
49048 * posix/unistd.h: Likewise.
49049 * posix/wordexp.h: Likewise.
49050 * pwd/pwd.h: Likewise.
49051 * resolv/netdb.h: Likewise.
49052 * resource/sys/resource.h: Likewise.
49053 * rt/aio.h: Likewise.
49054 * rt/bits/mqueue2.h: Likewise.
49055 * rt/mqueue.h: Likewise.
49056 * shadow/shadow.h: Likewise.
49057 * signal/signal.h: Likewise.
49058 * socket/send.c: Likewise.
49059 * socket/sendto.c: Likewise.
49060 * socket/sys/socket.h: Likewise.
49061 * stdio-common/printf.h: Likewise.
49062 * stdlib/bits/stdlib.h: Likewise.
49063 * stdlib/fmtmsg.h: Likewise.
49064 * stdlib/monetary.h: Likewise.
49065 * stdlib/stdlib.h: Likewise.
49066 * stdlib/ucontext.h: Likewise.
49067 * streams/stropts.h: Likewise.
49068 * string/argz.h: Likewise.
49069 * string/bits/string2.h: Likewise.
49070 * string/string.h: Likewise.
49071 * string/strings.h: Likewise.
49072 * sunrpc/rpc/auth.h: Likewise.
49073 * sunrpc/rpc/auth_des.h: Likewise.
49074 * sunrpc/rpc/clnt.h: Likewise.
49075 * sunrpc/rpc/netdb.h: Likewise.
49076 * sunrpc/rpc/pmap_clnt.h: Likewise.
49077 * sunrpc/rpc/xdr.h: Likewise.
49078 * sysdeps/generic/inttypes.h: Likewise.
49079 * sysdeps/generic/net/if.h: Likewise.
49080 * sysdeps/generic/sys/swap.h: Likewise.
49081 * sysdeps/gnu/net/if.h: Likewise.
49082 * sysdeps/gnu/utmpx.h: Likewise.
49083 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49084 * sysdeps/i386/i486/bits/string.h: Likewise.
49085 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49086 * sysdeps/s390/bits/string.h: Likewise.
49087 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49088 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49089 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49090 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49091 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49092 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49093 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49094 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49095 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49096 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49097 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49098 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49099 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49100 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49101 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49102 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49103 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49104 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49105 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49108 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49109 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49110 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49111 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49112 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49113 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49114 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49115 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49116 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49117 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49118 * sysvipc/sys/ipc.h: Likewise.
49119 * sysvipc/sys/msg.h: Likewise.
49120 * sysvipc/sys/sem.h: Likewise.
49121 * sysvipc/sys/shm.h: Likewise.
49122 * termios/termios.h: Likewise.
49123 * time/sys/time.h: Likewise.
49124 * time/time.h: Likewise.
49125 * wcsmbs/bits/wchar2.h: Likewise.
49126 * wcsmbs/uchar.h: Likewise.
49127 * wcsmbs/wchar.h: Likewise.
49128 * wctype/wctype.h: Likewise.
49129
0269750c
UD
49130 [BZ #13551]
49131 * Makeconfig: Remove all but ELF support including AIX support.
49132 * Makerules: Likewise.
49133 * config.h.in: Likewise.
49134 * config.make.in: Likewise.
49135 * configure: Likewise.
49136 * configure.in: Likewise.
49137 * csu/Makefile: Likewise.
49138 * csu/version.c: Likewise.
49139 * debug/Makefile: Likewise.
49140 * dlfcn/Makefile: Likewise.
49141 * elf/Makefile: Likewise.
49142 * extra-lib.mk: Likewise.
49143 * iconv/Makefile: Likewise.
49144 * include/libc-symbols.h: Likewise.
49145 * include/shlib-compat.h: Likewise.
49146 * resolv/Makefile: Likewise.
49147 * resolv/res_libc.c: Likewise.
49148 * rt/Makefile: Likewise.
49149 * sysdeps/i386/asm-syntax.h: Likewise.
49150 * sysdeps/i386/sysdep.h: Likewise.
49151 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49152 * sysdeps/mach/sysdep.h: Likewise.
49153 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49154 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49155 * sysdeps/s390/asm-syntax.h: Likewise.
49156 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49157 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49158 * sysdeps/sh/sysdep.h: Likewise.
49159 * sysdeps/unix/sparc/sysdep.h: Likewise.
49160 * sysdeps/wordsize-32/divdi3.c: Likewise.
49161 * sysdeps/x86_64/sysdep.h: Likewise.
49162
00bbd29b
UD
49163 * argp/Versions: Remove _argp_unlock_xxx.
49164
49165 [BZ #13559]
49166 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49167 * abilist/libBrokenLocale.abilist: Likewise.
49168 * abilist/libanl.abilist: Likewise.
49169 * abilist/libc.abilist: Likewise.
49170 * abilist/libcrypt.abilist: Likewise.
49171 * abilist/libdl.abilist: Likewise.
49172 * abilist/libm.abilist: Likewise.
49173 * abilist/libnsl.abilist: Likewise.
49174 * abilist/libpthread.abilist: Likewise.
49175 * abilist/libresolv.abilist: Likewise.
49176 * abilist/librt.abilist: Likewise.
49177 * abilist/libthread_db.abilist: Likewise.
49178 * abilist/libutil.abilist: Likewise.
49179 * abilist/libnss_db.abilist: New file.
49180
49181 * scripts/abilist.awk: Add support for indirect functions.
49182
a2693a0e
UD
49183 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49184
3f05895f
UD
49185 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49186
ecb6fb48
UD
49187 * shlib-versions: Remove entries for ports architectures.
49188
664f8cb9
UD
49189 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49190 files in ports.
49191 * elf/stackguard-macros.h: Remove support for IA-64.
49192 * elf/tst-auditmod1.c: Likewise.
49193 * sysdeps/generic/ldsodefs.h: Likewise.
49194
7ae81d88
UD
49195 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49196 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49197 configure files.
49198
bdeba135
UD
49199 [BZ #13552]
49200 * configure.in: Remove --enable-omitfp support.
49201 * FAQ.in: Adjust.
49202 * config.make.in: Likewise.
49203 * Makeconfig: Likewise.
49204 * manual/install.texi: Likewise.
49205
d75a0a62
UD
49206 In case anyone cares, the IA-64 architecture could move to ports.
49207 * sysdeps/ia64/*: Removed.
49208 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49209 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49210
dcc9756b
UD
49211 [BZ #13555]
49212 * configure.in: Remove entries for unsupported architectures.
49213
d3761ebc 49214 [BZ #13533]
9954432e
UD
49215 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49216 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49217 routines.
49218 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49219 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49220 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49221 fall back to using wcrtomb.
49222 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49223 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49224 renaming.
49225 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49226 * wcsmbs/tst-c16c32-1.c: New file.
49227
49228 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49229 local variable.
49230
c3a87236
UD
49231 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49232
28926a1b
UD
49233 * elf/tst-unique3.cc: Add explicit declaration of gets.
49234 * elf/tst-unique3lib.cc: Likewise.
49235 * elf/tst-unique3lib2.cc: Likewise.
49236 * elf/tst-unique4.cc: Likewise.
49237
df78418a
UD
49238 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49239
8ecd6b2a
JM
492402012-01-06 Joseph Myers <joseph@codesourcery.com>
49241
49242 [BZ #13566]
49243 * assert/assert.h (static_assert): Don't define for C++.
49244 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49245 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49246
9f115170
UD
492472012-01-03 Ulrich Drepper <drepper@gmail.com>
49248
5e0d0300
UD
49249 * iconv/loop.c (single loop): Fix assertion in storing of
49250 remaining bytes.
49251
9f115170
UD
49252 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49253
81fb02b0
UD
492542012-01-01 Ulrich Drepper <drepper@gmail.com>
49255
49256 * posix/getconf.c: Update copyright year.
49257 * nss/getent.c: Likewise.
a316c1f6 49258 * nss/makedb.c: Likewise.
81fb02b0
UD
49259 * iconv/iconvconfig.c: Likewise.
49260 * iconv/iconv_prog.c: Likewise.
49261 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49262 * elf/pldd.c: Likewise.
49263 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49264 * catgets/gencat.c: Likewise.
49265 * csu/version.c: Likewise.
49266 * elf/ldd.bash.in: Likewise.
49267 * elf/sprof.c (print_version): Likewise.
49268 * locale/programs/locale.c: Likewise.
49269 * locale/programs/localedef.c: Likewise.
a316c1f6 49270 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49271 * nscd/nscd.c (print_version): Likewise.
49272 * debug/xtrace.sh: Likewise.
49273 * malloc/memusage.sh: Likewise.
49274 * malloc/mtrace.pl: Likewise.
49275 * debug/catchsegv.sh: Likewise.
49276
2ba92745
JJ
492772011-12-30 Jakub Jelinek <jakub@redhat.com>
49278
49279 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49280 pure attribute.
49281
dadebdae
UD
492822011-12-24 Ulrich Drepper <drepper@gmail.com>
49283
d3761ebc 49284 [BZ #13533]
db6af3eb
UD
49285 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49286 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49287 transformations.
49288 * iconv/gconv_int.h: Likewise.
49289 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49290 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49291 from libc for GLIBC_2.16.
49292 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49293 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49294 * wcsmbs/uchar.h: Really define mbstate_t.
49295 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49296 * wcsmbs/c16rtomb.c: New file.
49297 * wcsmbs/mbrtoc16.c: New file.
49298 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49299 for C/POSIX locale.
49300 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49301 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49302
dadebdae
UD
49303 * wcsmbs/wchar.h: Add missing __restrict.
49304
67371b56
UD
493052011-12-23 Ulrich Drepper <drepper@gmail.com>
49306
74033a25
UD
49307 [BZ #13532]
49308 * time/Makefile (routines): Add timespec_get.
49309 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49310 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49311 timespec for ISO C11.
49312 * time/timespec_get.c: New file.
49313 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49314 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49315
380d7e87
UD
49316 [BZ #13531]
49317 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49318 * stdlib/stdlib.h: Declare aligned_alloc.
49319 * Versions.def: Add GLIBC_2.16 for libc.
49320 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49321
4e9e7a35
UD
49322 [BZ 13527]
49323 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49324 ISO C11.
49325
380d7e87 49326 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49327 code.
49328
03a71829
UD
49329 [BZ #13528]
49330 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49331
839e283e
UD
49332 [BZ #13529]
49333 * assert/assert.h (static_assert): Define.
49334
ce5294e2 49335 * version.h: Update for 2.16 development version.
90fa7312 49336
8d44e150 49337 [BZ #13526]
d7809905
UD
49338 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49339 _ISOC11_SOURCE.
49340
c0da14cd
UD
49341 * version.h (RELEASE): Bump for 2.15 release.
49342 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49343
530a3249
MP
49344 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49345 Patch by Marek Polacek <mpolacek@redhat.com>.
49346
67371b56
UD
49347 * bits/byteswap.h: Protect long long constants with __extension__.
49348 * sysdeps/i386/bits/byteswap.h: Likewise.
49349 * sysdeps/ia64/bits/byteswap.h: Likewise.
49350 * sysdeps/s390/bits/byteswap.h: Likewise.
49351 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49352
15db4de1
LD
493532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49354
49355 [BZ #13540]
bbe315ea
LD
49356 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49357 destination buffer.
15db4de1
LD
49358 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49359
2b2596b1
MP
493602011-12-23 Marek Polacek <polacek@redhat.com>
49361
49362 * elf/dl-addr.c (determine_info): Add inline keyword.
49363 * elf/tst-auditmod4b.c (check_avx): Likewise.
49364 * elf/tst-auditmod6b.c (check_avx): Likewise.
49365 * elf/tst-auditmod6c.c (check_avx): Likewise.
49366 * elf/tst-auditmod7b.c (check_avx): Likewise.
49367
70c6c246
UD
493682011-12-23 Ulrich Drepper <drepper@gmail.com>
49369
49370 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49371 !__SSE_MATH__.
49372
c044cf14
LD
493732011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49374
15db4de1 49375 [BZ #13540]
c044cf14
LD
49376 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49377 processing for last bytes.
49378
6b13d9d9
BH
493792011-08-06 Bruno Haible <bruno@clisp.org>
49380
d455f537
BH
49381 [BZ #13061]
49382 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49383 U+0385, not to U+1FEE.
49384
6b13d9d9
BH
49385 [BZ #13062]
49386 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49387 entry for U+00A5 U+0301.
49388
db910efd
UD
493892011-12-22 Ulrich Drepper <drepper@gmail.com>
49390
27deeafc
UD
49391 [BZ #13166]
49392 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49393 buffer for the output is too small.
49394
aed9d171
UD
49395 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49396 optimization.
49397
db910efd
UD
49398 [BZ #13185]
49399 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49400 SSE flags if possible.
49401
2bd779ae
LD
494022011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49403
e7f9dac3 49404 [BZ #13540]
2bd779ae
LD
49405 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49406 processing for last bytes.
49407
154bfc16
JM
494082011-12-22 Joseph Myers <joseph@codesourcery.com>
49409
49410 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49411 (syscall-list-default-options, syscall-list-default-condition)
49412 (syscall-list-includes): Define.
49413 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49414 list of ABIs and options and #if conditions for each ABI. Do not
49415 handle common syscalls between ABIs specially.
49416 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49417 Remove.
49418 (syscall-list-variants, syscall-list-32bit-options)
49419 (syscall-list-32bit-condition, syscall-list-64bit-options)
49420 (syscall-list-64bit-condition): Define.
49421 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49422 (syscall-list-variants, syscall-list-32bit-options)
49423 (syscall-list-32bit-condition, syscall-list-64bit-options)
49424 (syscall-list-64bit-condition): Define.
49425 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49426 Remove.
49427 (syscall-list-variants, syscall-list-32bit-options)
49428 (syscall-list-32bit-condition, syscall-list-64bit-options)
49429 (syscall-list-64bit-condition): Define.
49430 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49431 Remove.
49432 (syscall-list-variants, syscall-list-32bit-options)
49433 (syscall-list-32bit-condition, syscall-list-64bit-options)
49434 (syscall-list-64bit-condition): Define.
49435
21eaf3a5
UD
494362011-12-22 Ulrich Drepper <drepper@gmail.com>
49437
16c6f992
UD
49438 * locale/iso-639.def: Add brx entry.
49439
41043168
UD
49440 [BZ #13328]
49441 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49442 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49443
21eaf3a5
UD
49444 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49445 __feraiseexcept_renamed.
49446
e3a851a2
UD
494472011-12-21 Ulrich Drepper <drepper@gmail.com>
49448
4920765e
UD
49449 [BZ #13538]
49450 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49451 EPOLLET with unsigned values.
49452 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49453 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49454
e3a851a2
UD
49455 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49456 to large cancellation.
49457 * math/s_cacoshf.c: Likewise.
49458 * math/s_cacoshl.c: Likewise.
49459
b27e24b8
RK
494602011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49461
49462 [BZ #13305]
aebefeee 49463 [BZ #12786]
b27e24b8
RK
49464 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49465 * math/s_cacoshf.c: Likewise.
49466 * math/s_cacoshl.c: Likewise.
49467
ee190f67
UD
494682011-12-21 Ulrich Drepper <drepper@gmail.com>
49469
49470 [BZ #13439]
49471 * iconv/gconv.h: Define __GCONV_SWAP.
49472 * iconvdata/unicode.c: The swap bit must be stored in __flags.
49473 * iconvdata/utf-16.c: Likewise.
49474 * iconvdata/utf-32.c: Likewise.
49475
707f25df
AS
494762011-12-21 Andreas Schwab <schwab@linux-m68k.org>
49477
49478 [BZ #13524]
49479 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49480 numerator after shifting it by one limb.
49481
d2daaa1e
RÁE
494822011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
49483
49484 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49485 under [__USE_EXTERN_INLINES].
49486
a4647e72
UD
494872011-12-17 Ulrich Drepper <drepper@gmail.com>
49488
49489 [BZ #13446]
49490 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49491
f0b264f1
AZ
494922011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49493
49494 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49495 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49496 optimized code.
49497 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49498 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49499 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49500 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49501 for strncasecmp/strncasecmp_l compilation.
49502 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49503 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49504
8ef4f244
MP
495052011-12-08 Marek Polacek <mpolacek@redhat.com>
49506
49507 [BZ #13484]
49508 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49509 of __asm__.
49510
97ac2654
UD
495112011-12-17 Ulrich Drepper <drepper@gmail.com>
49512
49513 [BZ #13506]
49514 * time/tzfile.c (__tzfile_read): Check values from file header.
49515
91d2a845
WS
495162011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
49517
49518 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49519 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49520 * powerpc/powerpc32/dl-start.S: Likewise.
49521 * powerpc/powerpc32/elf/start.S: Likewise.
49522 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49523 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49524 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49525 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49526 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49527 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49528 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49529 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49530 * powerpc/powerpc32/fpu/s_round.S: Likewise.
49531 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49532 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49533 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49534 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49535 * powerpc/powerpc32/memset.S: Likewise.
49536 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49537 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49538 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49539 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49540 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49541 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49542 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49543 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49544 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49545 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49546 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49547 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49548 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49549
a1267ba1
AZ
495502011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49551
49552 * math/libm-test.inc: Added more nearbyint tests.
49553 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49554 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49555 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49557
ad8ac1bd
RL
495582011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
49559
49560 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49561 FD_CLOEXEC.
49562
1d3e4b61
UD
495632011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49564
49565 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49566 Add wcscpy-ssse3 wcscpy-c.
49567 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49568 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49569 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49570 * sysdeps/x86_64/wcschr.S: New file.
49571 * sysdeps/x86_64/wcsrchr.S: New file.
49572 * string/test-strcmp.c: Remove checking of wcscmp function for
49573 wrong alignments.
49574 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49575 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49576 wcsrchr-sse2 wcsrchr-c.
49577 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49578 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49579 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49580 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49581 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49582 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49583 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49584 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49585 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49586 * wcsmbc/wcschr.c (WCSCHR): New macro.
49587
5b330a2d
UD
495882011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49589
49590 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49591 * wcsmbs/test-wcsrchr.c: New file.
49592 * string/test-strrchr.c: Add wcsrchr support.
49593 (WIDE): New macro.
49594 * wcsmbs/test-wcscpy.c: New file.
49595 * string/test-strcpy.c: Add wcscpy support.
49596 (WIDE): New macro.
26428b7c 49597
f039c043
UD
495982011-12-10 Ulrich Drepper <drepper@gmail.com>
49599
49600 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49601 the inner loop.
49602
850fb039
AS
496032011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49604
49605 [BZ #13472]
49606 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49607
4efbd5cb
UD
496082011-12-04 Ulrich Drepper <drepper@gmail.com>
49609
52ff5dd0 49610 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 49611 Minor optimizations.
52ff5dd0 49612
4efbd5cb
UD
49613 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49614 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49615 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49616
8a426e12
UD
496172011-12-03 Ulrich Drepper <drepper@gmail.com>
49618
aff2453d
UD
49619 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49620 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49621 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49622 for gcc to avoid warnings.
49623 * inet/Makefile (tests): Add tst-checks.
49624 * inet/tst-checks.c: New file.
49625
49626 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49627 warning.
49628
49629 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49630 __wmemcmp_sse2.
49631
49632 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49633 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49634
8a426e12
UD
49635 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49636
9bea3473
UD
496372011-12-02 Ulrich Drepper <drepper@gmail.com>
49638
3a965496
UD
49639 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49640 problem.
49641
9bea3473
UD
49642 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49643
f101631b
UD
496442011-11-29 Joseph Myers <joseph@codesourcery.com>
49645
49646 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49647 conditional on GCC version.
49648 (__arch_compare_and_exchange_val_8_acq)
49649 (__arch_compare_and_exchange_val_16_acq)
49650 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49651 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49652 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49653
a98275aa
UD
496542011-12-02 Joseph Myers <joseph@codesourcery.com>
49655
49656 * sysdeps/sh/backtrace.c: New file.
49657
d4cc29a2
AS
496582011-12-02 Andreas Schwab <schwab@redhat.com>
49659
49660 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49661 parenthesis.
49662
6257af2d
AS
496632011-12-01 Andreas Schwab <schwab@redhat.com>
49664
49665 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49666 falling back to utime.
49667
b5f44c1a
AS
496682011-11-30 Andreas Schwab <schwab@redhat.com>
49669
49670 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49671 expectations for float.
49672
f3a6cc0a
AS
496732011-11-29 Andreas Schwab <schwab@redhat.com>
49674
49675 * locale/weight.h (findidx): Add parameter len.
49676 * locale/weightwc.h (findidx): Likewise.
49677 * posix/fnmatch_loop.c (FCT): Adjust caller.
49678 * posix/regcomp.c (build_equiv_class): Likewise.
49679 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49680 * posix/regexec.c (check_node_accept_bytes): Likewise.
49681 * string/strcoll_l.c (STRCOLL): Likewise.
49682 * string/strxfrm_l.c (STRXFRM): Likewise.
49683
9d65ea3a
UD
496842011-11-17 Ulrich Drepper <drepper@gmail.com>
49685
49686 * Makefile.in: Remove CVSOPT handling.
49687 * configure.in: Remove use of AC_REVISION.
49688 * iconvdata/Makefile (distribute): No need to filter out CVS.
49689 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49690 handling.
49691
5583a086
AS
496922011-11-16 Andreas Schwab <schwab@redhat.com>
49693
49694 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49695 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49696 [USE_AS_STRNCASECMP_L]: Likewise.
49697 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49698 NO_TLS_DIRECT_SEG_REFS.
49699 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49700 Fix argument offsets for non-PIC.
49701 [USE_AS_STRNCASECMP_L]: Likewise.
49702 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49703 NO_TLS_DIRECT_SEG_REFS.
49704
d62a8200
UD
497052011-11-15 Ulrich Drepper <drepper@gmail.com>
49706
9d65ea3a 49707 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
49708 O_CLOEXEC.
49709 * locale/loadlocale.c (_nl_load_locale): Likewise.
49710
09f93bd3
AS
497112011-11-15 Andreas Schwab <schwab@redhat.com>
49712
446514f9
AS
49713 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49714 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49715 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49716 (SYSCALL_GETTIME): Set errno on error.
49717
09f93bd3
AS
49718 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49719 count references to noai6ai_cached.
49720
312be3f9
UD
497212011-11-15 Ulrich Drepper <drepper@gmail.com>
49722
49723 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49724
49725 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49726 FD_CLOEXEC for /proc/self/maps.
49727
49728 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49729 FD_CLOEXEC for /proc/meminfo.
49730
49731 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49732 gai.conf.
49733
49734 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49735 FD_CLOEXEC for given file.
49736
49737 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49738
49739 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49740 FD_CLOEXEC for /etc/hosts.
49741 (_gethtent): Likewise.
49742
49743 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49744
49745 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49746 cancellation and set FD_CLOEXEC for /etc/netgroup.
49747
49748 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49749 reading /etc/publickey.
49750
49751 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49752 allow cancellation when reading /etc/group.
49753
49754 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49755 cancellation.
49756 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49757
49758 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49759 when using data file.
49760
49761 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49762
49763 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49764 (write_nis_obj): Use "c" and "e" in fopen.
49765
49766 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49767
49768 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49769
49770 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49771
49772 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49773
49774 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49775 locale.alias.
49776
49777 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49778
49779 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49780
49781 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49782
49783 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49784 file parsing and set FD_CLOEXEC.
49785
82af0fa8
UD
497862011-11-14 Ulrich Drepper <drepper@gmail.com>
49787
49788 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49789
a5fb313c
AS
497902011-11-14 Andreas Schwab <schwab@redhat.com>
49791
49792 * malloc/arena.c (arena_get2): Don't call reused_arena when
49793 _int_new_arena failed.
49794
6abf3465
UD
497952011-11-14 Ulrich Drepper <drepper@gmail.com>
49796
49797 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49798 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49799 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49800 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49802 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49803 to compile strcasecmp and strncasecmp.
49804 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49805 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49806
49807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49808
76e3966e
UD
498092011-11-13 Ulrich Drepper <drepper@gmail.com>
49810
49811 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49812 locale-defines.sym to gen-as-const-headers.
49813 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49814 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49815 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49816 to compile strcasecmp and strncasecmp.
49817 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49818 strcasecmp_l and strncasecmp_l.
49819 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49820 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49821 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49822 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49823 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49824 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49825 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49826 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49827 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49828 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49829 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49830
ab26144e
UD
498312011-11-12 Ulrich Drepper <drepper@gmail.com>
49832
7edb22ef
UD
49833 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49834 result of SYSDEP_GETTIME_CPU to retval.
49835 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49836 parameter list to macro. Remove trailing semicolon. Adjust users.
49837
9694fc44
UD
49838 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49839 variable.
49840
8ad89ef8
UD
49841 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49842 mantissa words.
49843 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49844
0c822ef9
UD
49845 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49846 from unused variable.
49847
874e0564
UD
49848 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49849 DWARF definitions.
49850 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49851 for assembling.
49852
3a2edc79
UD
49853 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49854 over namespaces.
49855
f3c2577f
UD
49856 * sunrpc/rpc_prot.c (rejected): Fix case value.
49857
294ce126
UD
49858 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49859 unsigned long long int to avoid warnings in shift.
49860
5e2b63c6
UD
49861 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49862 of use of trans.
49863 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49864 variable tmp.
49865
e7f4b08e
UD
49866 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49867 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49868 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49869
ab26144e
UD
49870 * nis/nis_table.c (nis_list): Use variable of correct type for
49871 result of __follow_path call.
49872
8a6d5255
AZ
498732011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49874
49875 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49876 of math functions ceil, trunc, floor, round, and sqrt, when
49877 avaliable on the platform.
49878 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49879 name clash.
49880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49881 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49882 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49883
aaddc98c
MP
498842011-10-30 Marek Polacek <mpolacek@redhat.com>
49885
49886 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49887 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49888
95b7042b
RM
498892011-11-11 Roland McGrath <roland@hack.frob.com>
49890
49891 * include/unistd.h: Fix __readlink return type.
49892 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49893
57769839
UD
498942011-11-11 Ulrich Drepper <drepper@gmail.com>
49895
49896 * stdlib/ucontext.h: Undo last change for makecontext.
49897
edc5984d
AS
498982011-11-11 Andreas Schwab <schwab@redhat.com>
49899
98591e58
AS
49900 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49901
edc5984d
AS
49902 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49903 * setjmp/setjmp.h: Mark functions as non-leaf.
49904 * setjmp/bits/setjmp2.h: Likewise.
49905 * stdlib/ucontext.h: Likewise.
49906
77cdc054
AS
499072011-11-10 Andreas Schwab <schwab@redhat.com>
49908
49909 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49910 (reused_arena): Don't check arena limit.
49911 (arena_get2): Atomically check arena limit.
49912
fe72eebd
UD
499132011-11-08 Ulrich Drepper <drepper@gmail.com>
49914
5f078c32
UD
49915 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49916 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49917
fe72eebd
UD
49918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49919 instructions.
49920
ae1bc2fa
AS
499212011-11-07 Andreas Schwab <schwab@redhat.com>
49922
7583a88d
AS
49923 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49924 handler when locking.
49925
ae1bc2fa
AS
49926 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49927 Fix size of allocated buffer.
49928
10fb0bfa
AS
499292011-11-04 Andreas Schwab <schwab@redhat.com>
49930
998832a4
AS
49931 [BZ #10103]
49932 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49933 declarations for long double functions.
49934 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49935
10fb0bfa
AS
49936 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49937
3d7ba52b
AS
499382011-11-03 Andreas Schwab <schwab@redhat.com>
49939
a9ae54a1
AS
49940 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49941 installed.
49942
3d7ba52b
AS
49943 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49944 is disabled.
49945
bc8db248
ST
499462011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49947
49948 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49949
45b96dd6
AS
499502011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49951
647776f6
AS
49952 * include/alloca.h (stackinfo_alloca_round): Define.
49953 (extend_alloca): Use it.
49954 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49955 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49956 here.
49957
d91a8b93
AS
49958 * scripts/check-local-headers.sh: Ignore libaudit.h.
49959
45b96dd6
AS
49960 * nscd/Makefile (extra-objs): Make recursively expanded.
49961
432d41ce
UD
499622011-11-01 Ulrich Drepper <drepper@gmail.com>
49963
34372fc6
UD
49964 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49965 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49966
fadb59f8
UD
49967 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49968 * posix/tst-rfc3484-2.c: Likewise.
49969 * posix/tst-rfc3484-3.c: Likewise.
49970
78239589
UD
49971 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49972 process_vm_writev.
49973 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49974 process_vm_writev.
49975 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49976 process_vm_writev from libc using GLIBC_2.15 version.
49977
432d41ce
UD
49978 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49979
02f9c6cf
PP
499802011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49981
49982 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49983 stack usage.
49984
3a2c0242
UD
499852011-10-31 Ulrich Drepper <drepper@gmail.com>
49986
f4ec4833
UD
49987 [BZ #13367]
49988 * nss/getent.c (initgroups_keys): Show error message in case no group
49989 names are given.
49990
3a2c0242
UD
49991 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49992 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49993 __bump_nl_timestamp.
49994 * nscd/connections (nscd_init): When host database is served open
49995 netlink socket and request notification about configuration changes.
49996 (main_loop_poll): Track netlink file descriptor and bump timestamp
49997 in case data becomes available.
49998 (main_loop_epoll): Likewise.
49999 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50000 (database_pers_head): Add extra_data fileds.
50001 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50002 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50003 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50004 Adjust caller.
50005 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50006 in6ai data, call __free_in6ai.
50007 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50008 Add -DHAVE_NETLINK.
50009 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50010 interface information. Reuse previous data if netlink timestamp
50011 is not changed.
50012 (__bump_nl_timestamp): New function.
50013 (__free_in6ai): New function.
50014
636064eb
UD
500152011-10-30 Ulrich Drepper <drepper@gmail.com>
50016
50017 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50018 close_not_cancel_no_status here.
50019 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50020
9beb2334
UD
500212011-10-29 Ulrich Drepper <drepper@gmail.com>
50022
6ef76f3b
UD
50023 [BZ #13276]
50024 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50025 return value.
50026
0ffc4f3e 50027 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50028 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50029 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50030
cb95113e
UD
500312011-07-03 Andreas Jaeger <aj@suse.de>
50032
50033 [BZ #10709]
50034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50035 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50036 * math/libm-test.inc (sin_test): Add test case.
50037
a1b560ff
UD
500382011-10-29 Ulrich Drepper <drepper@gmail.com>
50039
c9aaface
UD
50040 [BZ #13337]
50041 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50042 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50043
d272e7f1
UD
50044 * elf/chroot_canon.c (chroot_canon): Cleanups.
50045
1bc33071
UD
50046 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50047
1760874d
TJ
50048 [BZ #13335]
50049 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50050 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50051
51d91b18
UD
50052 * string/test-strchr.c: Make usable for strchrnul testing.
50053 * string/test-strchrnul.c: New file.
50054 * string/Makefile (strop-tests): Add strchrnul.
50055
a1b560ff 50056 * po/it.po: Update from translation team.
b611fb81 50057 * po/es.po: Likewise.
a1b560ff 50058
a5b81e1f
UD
500592011-10-28 Ulrich Drepper <drepper@gmail.com>
50060
fd52bc6d
UD
50061 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50062 the three constants needed as parameters. Drop the others.
50063 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50064 __m128i_strloadu_tolower.
52e4b9eb
UD
50065 Create and initialize variable zero and use it in all the places
50066 where _mm_setzero_si128 was used.
fd52bc6d 50067
a5b81e1f
UD
50068 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50069 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50070 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50071 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50072 anymore.
50073 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50074 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50075 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50076 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50077 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50078 __mpranred, __mptan.
50079 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50080 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50081 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50082 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50083 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50084 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50085 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50086 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50087 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50088
b4343346
AS
500892011-10-28 Andreas Schwab <schwab@redhat.com>
50090
0c92d8a8
AS
50091 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50092 redefine if SHARED.
50093 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50094
b4343346
AS
50095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50096 wide char related routines to wcsmbs subdir.
50097
3871f58f
AS
500982011-10-27 Andreas Schwab <schwab@redhat.com>
50099
50100 [BZ #13344]
50101 * misc/sys/cdefs.h (__THROWNL): Define.
50102 * posix/unistd.h: Use __THREADNL instead of __THREAD
50103 for memory synchronization functions.
50104
94d44d9f
RM
501052011-10-26 Roland McGrath <roland@hack.frob.com>
50106
21b64b15 50107 [BZ #13349]
94d44d9f
RM
50108 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50109 doesn't exist.
50110 * manual/stdio.texi (Obstack Streams): Node removed.
50111
f6ce9294
AS
501122011-10-26 Andreas Schwab <schwab@redhat.com>
50113
80479147
AS
50114 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50115 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50116 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50117
f6ce9294
AS
50118 * math/math_private.h (math_force_eval): Allow non-addressable
50119 arguments.
50120 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50121
618280a1
UD
501222011-10-25 Ulrich Drepper <drepper@gmail.com>
50123
e0016b11
UD
50124 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50125 file is not needed.
50126
50127 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50128 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50134 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50135 Add AVX variants.
50136 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50137 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50138 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50139 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50140 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50141 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50142 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50143 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50144 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50145 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50146 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50147 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50149 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50150 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50151 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50152 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50153 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50154 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50155
50156 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50157 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50158
618280a1
UD
50159 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50160 place. Use VEX encoding when compiling for AVX.
50161
37822576
AS
501622011-10-25 Andreas Schwab <schwab@redhat.com>
50163
1f1e1947
AS
50164 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50165 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50166
37822576
AS
50167 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50168
31ea014d
UD
501692011-10-25 Ulrich Drepper <drepper@gmail.com>
50170
d7826aa1 50171 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50172 useless if() expression.
d7826aa1
UD
50173 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50174 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50175 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50177 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50179 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50182 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50183 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50185 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50186 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50187 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50188 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50189 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50190 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50191 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50192
31ea014d
UD
50193 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50194
16437fec
AS
501952011-10-25 Andreas Schwab <schwab@redhat.com>
50196
50197 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50198 condition.
50199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50200
31d3cc00
UD
502012011-10-25 Ulrich Drepper <drepper@gmail.com>
50202
50203 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50204 .text section. Avoid duplicate constants.
50205 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50206 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50207 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50208 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
50213 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50214 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50215 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50216 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50217 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50218 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50219 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50221 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50222 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50223 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50224 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50225 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50226 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50227 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50228 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50229 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50230 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50231 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50232 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50233 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50234 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50235 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50236 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50237 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50238 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50239 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50240 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50241 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50243 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50244 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50245 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50246 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50247 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50248 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50249 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50250
58985aa9
UD
502512011-10-24 Ulrich Drepper <drepper@gmail.com>
50252
202c9deb
UD
50253 * sysdeps/x86_64/dla.h: Move to ...
50254 * sysdeps/x86_64/fpu/dla.h: ...here.
50255 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50256 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50257
af968f62
UD
50258 * config.make.in: Add have-mfma4 entry.
50259 * configure.in: Substitute libc_cv_cc_fma4.
50260 * math/Makefile (dbl-only-routines): Add sincostab.
50261 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50262 Use __sincostab not sincos.
50263 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50264 name is a macro.
50265 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50266 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50269 using __copysign.
50270 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50271 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50272 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50273 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50274 and __inv.
50275 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50276 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50277 __copysign.
50278 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50279 define aliases when function name is a macro.
50280 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50281 sysdeps/ieee754/dbl-64/sincos.tbl.
50282 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50283 fma4-enabled routines.
50284 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50285 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50286 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50287 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50289 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50291 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50293 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50294 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50295 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50296 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50297 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50299 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50300 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50301 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50302 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50303 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50304 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50305 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50306 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50307 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50308 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50310 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50311 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50312 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50313 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50314
58985aa9
UD
50315 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50316 rename.
50317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50318 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50320 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50321 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50322 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50323 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50324 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50325
a201fbcf
AS
503262011-10-24 Andreas Schwab <schwab@redhat.com>
50327
50328 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50329
fc2ee42a
LD
503302011-10-23 Ulrich Drepper <drepper@gmail.com>
50331
bb3129bd
UD
50332 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50333
0275fff8
UD
50334 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50335 prediction.
50336 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50337
2fa2ae85
UD
50338 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50339 Remove unused variable magic_bits.
50340 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50341
fc2ee42a
LD
50342 * string/strnlen.c: Define and use STRNLEN macro.
50343 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50344 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50345 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50346 * wcsmbs/wcslen.c: Define and use WCSLEN.
50347 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50348 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50349 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50350 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50351 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50352 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50353 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50354
ce7dd29f
LD
503552011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50356
50357 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50358 strnlen-sse2-no-bsf.
50359 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50360 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50361 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50362 Add strnlen support.
50363 (USE_AS_STRNLEN): New macro.
50364 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50366 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50367 * sysdeps/x86_64/wcslen.S: New file.
50368
979c70a3
MZ
503692011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50370
50371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50372 XMM-moves are used for copying on small sizes.
50373
2d09f82f
LD
503742011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50375
50376 * wcsmbs/Makefile (strop-tests): Add wcschr.
50377 * wcsmbs/test-wcschr.c: New file.
50378 * string/test-strchr.c: Update.
50379 Add wcschr support.
50380 (WIDE): New macro.
50381
619fccca
LD
503822011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50383
2d09f82f 50384 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50385 * wcsmbs/test-wcslen.c: New file.
50386 * string/test-strlen.c: Update.
50387 Add wcslen support.
50388 (WIDE): New macro.
50389
09f699ea
UD
503902011-10-23 Ulrich Drepper <drepper@gmail.com>
50391
50392 * po/it.po: Update from translation team.
50393
95584d3b
LD
503942011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50395
50396 * sysdeps/x86_64/wcscmp.S: Update.
50397 Fix wrong comparison semantics.
50398 wcscmp shall use signed comparison not unsigned.
50399 Don't use substraction to avoid overflow bug.
50400 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50401 * wcsmbc/wcscmp.c: Likewise.
50402 * string/test-strcmp.c: Likewise.
50403 Add new tests to check cases with negative values.
50404
c8b3296b
UD
504052011-10-23 Ulrich Drepper <drepper@gmail.com>
50406
50407 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50408 * sysdeps/x86_64/dla.h: ...here. New file.
50409 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50411 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50413 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50414 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50415 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50418
246ad57a
AS
504192011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50420
50421 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50422 __ynl_finite aliases.
50423
a1a87169
UD
504242011-10-22 Ulrich Drepper <drepper@gmail.com>
50425
0d355eb7
UD
50426 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50427
a1a87169
UD
50428 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50429 define DLA_FMA.
50430 [DLA_FMA] (EMULV): Use DLA_FMA.
50431 [DLA_FMA] (MUL12): Use EMULV.
50432 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50433 that are not needed.
50434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50435 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50436 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50437 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50439 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50440 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50441
ee2aafe0
AS
504422011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50443
50444 * math/s_nan.c: Undef __nan.
50445 * math/s_nanf.c: Undef __nanf.
50446 * math/s_nanl.c: Undef __nanl.
50447 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50448 "math_private.h".
50449
bc62c2fb
UD
504502011-10-22 Ulrich Drepper <drepper@gmail.com>
50451
77425c63
UD
50452 * math/s_catan.c: Add branch predictions.
50453 * math/s_catanf.c: Likewise.
50454 * math/s_catanh.c: Likewise.
50455 * math/s_catanhf.c: Likewise.
50456 * math/s_catanhl.c: Likewise.
50457 * math/s_catanl.c: Likewise.
50458 * math/s_cexp.c: Likewise.
50459 * math/s_cexpf.c: Likewise.
50460 * math/s_cexpl.c: Likewise.
50461 * math/s_clog.c: Likewise.
50462 * math/s_clog10.c: Likewise.
50463 * math/s_clog10f.c: Likewise.
50464 * math/s_clog10l.c: Likewise.
50465 * math/s_clogf.c: Likewise.
50466 * math/s_clogl.c: Likewise.
50467 * math/s_csqrt.c: Likewise.
50468 * math/s_csqrtf.c: Likewise.
50469 * math/s_csqrtl.c: Likewise.
50470 * math/s_ctanf.c: Likewise.
50471 * math/s_ctanh.c: Likewise.
50472 * math/s_ctanhf.c: Likewise.
50473 * math/s_ctanhl.c: Likewise.
50474 * math/s_ctanl.c: Likewise.
50475
bc62c2fb
UD
50476 * math/math_private.h: Define __nan, __nanf, __nanl.
50477 * math/s_cacosh.c: Include <math_private.h>.
50478 * math/s_cacoshl.c: Likewise.
50479 * math/s_casinh.c: Likewise.
50480 * math/s_casinhf.c: Likewise.
50481 * math/s_casinhl.c: Likewise.
50482 * math/s_ccos.c: Rely entire on ccosh.
50483 * math/s_ccosf.c: Rely entire on ccoshf.
50484 * math/s_ccosl.c: Rely entirely on ccoshl.
50485 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
50486 Remove tests for FE_INVALID.
50487 * math/s_ccoshf.c: Likewise.
50488 * math/s_ccoshl.c: Likewise.
50489 * math/s_csin.c: Likewise.
50490 * math/s_csinf.c: Likewise.
50491 * math/s_csinh.c Likewise.
50492 * math/s_csinhf.c: Likewise.
50493 * math/s_csinhl.c: Likewise.
50494 * math/s_csinl.c: Likewise.
50495 * math/s_ctan.c: Likewise.
50496 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50497 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50498 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50499
8ec250a4
UD
505002011-10-21 Ulrich Drepper <drepper@gmail.com>
50501
c196fed8
UD
50502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50503 compilation problems.
50504
8ec250a4
UD
50505 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50506 __builtin_expect.
50507
8d4f46c6
UD
505082011-10-20 Ulrich Drepper <drepper@gmail.com>
50509
ed72b654
UD
50510 * sysdeps/i386/configure.in: Test for -mfma4 option.
50511 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50512 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50513 COMMON_CPUID_INDEX_80000001.
50514 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50515 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50516 use it if FMA3 is not supported.
50517 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50518
8d4f46c6
UD
50519 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50520 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50521
d45c60c2
AS
505222011-10-20 Andreas Schwab <schwab@redhat.com>
50523
50524 [BZ #12892]
50525 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50526 it would create a cycle with a link time dependency.
50527
d9a4d2ab
UD
505282011-10-19 Ulrich Drepper <drepper@gmail.com>
50529
855d1560
UD
50530 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50531 instruction.
50532 * string/Makefile (strop-tests): Add rawmemchr.
50533 * string/test-rawmemchr.c: New file.
50534
d9a4d2ab
UD
50535 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50536 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
50537 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
50538 when compiling str{,n}casecmp and when AVX is available. Hook up
50539 new optimized code in initializers.
50540
8f3b1ffe
AS
505412011-10-19 Andreas Schwab <schwab@redhat.com>
50542
50543 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50544 __feraiseexcept instead of feraiseexcept.
50545
d38f1dba
UD
505462011-10-18 Ulrich Drepper <drepper@gmail.com>
50547
d9a8d0ab
UD
50548 * math/math_private.h: Define defaults for libc_fetestexcept and
50549 libc_feupdateenv.
50550 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50551 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50552 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50553 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50554 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50555 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50556 libc_fetestexcept and libc_feupdateenv.
50557
4855e3dd
UD
50558 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50559 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50560 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50561 * sysdeps/x86_64/fpu/math_private.h: Define special version of
50562 libc_feholdexcept_setround.
50563
581d30e3
UD
50564 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50565 Add s_nearbyint-c and s_nearbyintf-c.
50566 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50567 nearbyintf inlines.
50568 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50569 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50570 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50571 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50572
d38f1dba
UD
50573 * math/math_private.h: Define defaults for libc_fegetround,
50574 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50575 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50576 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50577 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50578 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50579 standard functions.
50580 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50581 Remove comments and hacks for old compiler versions.
50582 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50583 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50584 libc_feholdexceptl.
50585
caa6c9d8
AS
505862011-10-18 Andreas Schwab <schwab@redhat.com>
50587
50588 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
50589 (__feraiseexcept_renamed): Add __NTH.
50590 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
50591 namespace violations.
50592
97c066e6
UD
505932011-10-17 Ulrich Drepper <drepper@gmail.com>
50594
99ce7b04
UD
50595 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50596
1004d182
UD
50597 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50598
228a984d
UD
50599 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50600 recently added interfaces.
50601 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50602
c8553a6a
UD
50603 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50604 about macro parameter expansion.
50605
ed22dcf6
UD
50606 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50607 __NO_MATH_INLINES is defined. Cleanups.
50608
50609 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50610 and __floorf is target has SSE4.1.
50611 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50612 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50613 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50614 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50615
b171c137
UD
50616 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50617 name.
50618 (floorf): Likewise.
50619
97c066e6
UD
50620 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50621
629f62ef
AS
506222011-10-17 Andreas Schwab <schwab@redhat.com>
50623
49a43d80
AS
50624 * misc/sys/cdefs.h: Fix last change.
50625
629f62ef
AS
50626 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50627 database lookup.
50628
e453f6cd
UD
506292011-10-16 Ulrich Drepper <drepper@gmail.com>
50630
aa78043a
UD
50631 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50632
ad0f5cad
UD
50633 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50635 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50636 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50638 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50639 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50640 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50641 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50642 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50643 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50644 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50645 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50646 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50647 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50648 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50649 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50650 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50651 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50652 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50653 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50654 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50655
50656 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50657 ceil, ceilf, floor, floorf.
50658
50659 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50660 Perform IRELATIVE relocations last.
50661
e453f6cd
UD
50662 * elf/do-rel.h: Add another parameter nrelative, replacing the
50663 local variable with the same name. Change name of the function
50664 to end in Rel or Rela (uppercase).
50665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50666 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50667 elf_dynamic_do_##reloc function.
50668
fd5bdc09
UD
506692011-10-15 Ulrich Drepper <drepper@gmail.com>
50670
79b195b5
UD
50671 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50672 is sufficient, at least on modern CPUs.
50673
d4a28569
UD
50674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50675
b61099b5
UD
50676 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50677 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50678
bcf01e6d
UD
50679 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50680 __expl_finite.
50681 * math/bits/math-finite.h: Add entries for exp.
50682 * math/e_expl.c: Add __*_finite alias.
50683 * sysdeps/i386/fpu/e_exp.S: Likewise.
50684 * sysdeps/i386/fpu/e_expf.S: Likewise.
50685 * sysdeps/i386/fpu/e_expl.c: Likewise.
50686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50687 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50688 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50689 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50690 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50691 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50692 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50693
ba1a0d59
UD
50694 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50695 is sufficient, at least on modern CPUs.
50696
fd5bdc09
UD
50697 * ctype/ctype-info.c (__ctype_init): Define.
50698 * include/ctype.h (__ctype_init): Declare.
50699 (__ctype_b_loc): The variable is always initialized.
50700 (__ctype_toupper_loc): Likewise.
50701 (__ctype_tolower_loc): Likewise.
50702 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50703 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50704
7872cfb0
AS
507052011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50706
b468825a
AS
50707 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50708
7872cfb0
AS
50709 * configure.in: Also look in $cxxmachine/include for C++ system
50710 headers.
50711
be13f7bf
LD
507122011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50713
50714 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50715 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50716 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50717 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50718 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50719 (USE_AS_WMEMCMP): New macro.
50720 Fixing indents.
50721 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50722 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50723 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50724 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50726 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50727 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50728 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50729 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50730 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50731 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50732 (USE_AS_WMEMCMP): New macro.
50733 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50734 * sysdeps/string/test-memcmp.c: Update.
50735 Fix simple_wmemcmp.
50736 Add new tests.
50737 * wcsmbs/wmemcmp.c: Update.
50738 (WMEMCMP): New macro.
50739 Fix overflow bug.
50740
556a2007
AJ
507412011-10-12 Andreas Jaeger <aj@suse.de>
50742
50743 [BZ #13268]
50744 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50745
538faaa7
UD
507462011-10-15 Ulrich Drepper <drepper@gmail.com>
50747
ab6737ff
UD
50748 * libio/iofwide.c (do_length): Avoid warning.
50749
538faaa7
UD
50750 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50751
396a21b1
UD
507522011-10-14 Ulrich Drepper <drepper@gmail.com>
50753
cdf2901f
UD
50754 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50755
38ad40ce
UD
50756 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50757 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50758 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50759 * sysdeps/i386/i686/fpu/e_log.S: New file.
50760 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50761 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50762
396a21b1
UD
50763 * ctype/ctype.h: Add support for inlined isXXX functions when
50764 compiling C++ code.
50765
6b1f68c9
AS
507662011-10-14 Andreas Schwab <schwab@redhat.com>
50767
349290c0
AS
50768 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50769
6b1f68c9
AS
50770 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50771
f2282d42
RM
507722011-10-13 Roland McGrath <roland@hack.frob.com>
50773
50774 [BZ #13291]
50775 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50776
5298ffa8
AS
507772011-10-13 Andreas Schwab <schwab@redhat.com>
50778
714fad23
AS
50779 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50780 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50781 feraiseexcept.
50782
81dcc7fb
AS
50783 * sysdeps/x86_64/memrchr.S: Check for zero size.
50784
5298ffa8
AS
50785 * string/stratcliff.c: Add memrchr tests.
50786
951fbcec
LD
507872011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50788
50789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50790 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50791 rawmemchr-sse2 rawmemchr-sse2-bsf.
50792 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50793 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50794 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50795 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50796 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50797 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50798 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50799 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50800 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50801 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50802 * string/memrchr.c (MEMRCHR): New macro.
50803
0ac5ae23
UD
508042011-10-12 Ulrich Drepper <drepper@gmail.com>
50805
50806 Add integration with gcc's -ffinite-math-only and optimize wrapper
50807 functions in libm.
50808 * Versions.def: Define GLIBC_2.15 version for libm.
50809 * math/Makefile (headers): Add bits/math-finite.h.
50810 * math/bits/math-finite.h: New file.
50811 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50812 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50813 * math/e_acoshl.c: Add __*_finite alias.
50814 * math/e_acosl.c: Likewise.
50815 * math/e_asinl.c: Likewise.
50816 * math/e_atan2l.c: Likewise.
50817 * math/e_atanhl.c: Likewise.
50818 * math/e_coshl.c: Likewise.
50819 * math/e_exp10.c: Likewise.
50820 * math/e_exp10f.c: Likewise.
50821 * math/e_exp10l.c: Likewise.
50822 * math/e_exp2l.c: Likewise.
50823 * math/e_fmodl.c: Likewise.
50824 * math/e_gammal_r.c: Likewise.
50825 * math/e_hypotl.c: Likewise.
50826 * math/e_j0l.c: Likewise.
50827 * math/e_j1l.c: Likewise.
50828 * math/e_jnl.c: Likewise.
50829 * math/e_lgammal_r.c: Likewise.
50830 * math/e_log10l.c: Likewise.
50831 * math/e_log2l.c: Likewise.
50832 * math/e_logl.c: Likewise.
50833 * math/e_powl.c: Likewise.
50834 * math/e_sinhl.c: Likewise.
50835 * math/e_sqrtl.c: Likewise.
50836 * math/e_scalb.c: Completely rewritten and optimized.
50837 * math/e_scalbf.c: Likewise.
50838 * math/e_scalbl.c: Likewise.
50839 * math/w_acos.c: Likewise.
50840 * math/w_acosf.c: Likewise.
50841 * math/w_acosl.c: Likewise.
50842 * math/w_acosh.c: Likewise.
50843 * math/w_acoshf.c: Likewise.
50844 * math/w_acoshl.c: Likewise.
50845 * math/w_asin.c: Likewise.
50846 * math/w_asinf.c: Likewise.
50847 * math/w_asinl.c: Likewise.
50848 * math/w_atan2.c: Likewise.
50849 * math/w_atan2f.c: Likewise.
50850 * math/w_atan2l.c: Likewise.
50851 * math/w_atanh.c: Likewise.
50852 * math/w_atanhf.c: Likewise.
50853 * math/w_atanhl.c: Likewise.
50854 * math/w_exp10.c: Likewise.
50855 * math/w_exp10f.c: Likewise.
50856 * math/w_exp10l.c: Likewise.
50857 * math/w_fmod.c: Likewise.
50858 * math/w_fmodf.c: Likewise.
50859 * math/w_fmodl.c: Likewise.
50860 * math/w_j0.c: Likewise.
50861 * math/w_j0f.c: Likewise.
50862 * math/w_j0l.c: Likewise.
50863 * math/w_j1.c: Likewise.
50864 * math/w_j1f.c: Likewise.
50865 * math/w_j1l.c: Likewise.
50866 * math/w_jn.c: Likewise.
50867 * math/w_jnf.c: Likewise.
50868 * math/w_log.c: Likewise.
50869 * math/w_logf.c: Likewise.
50870 * math/w_logl.c: Likewise.
50871 * math/w_log10.c: Likewise.
50872 * math/w_log10f.c: Likewise.
50873 * math/w_log10l.c: Likewise.
50874 * math/w_log2.c: Likewise.
50875 * math/w_log2f.c: Likewise.
50876 * math/w_log2l.c: Likewise.
50877 * math/w_pow.c: Likewise.
50878 * math/w_powf.c: Likewise.
50879 * math/w_powl.c: Likewise.
50880 * math/w_remainder.c: Likewise.
50881 * math/w_remainderf.c: Likewise.
50882 * math/w_remainderl.c: Likewise.
50883 * math/w_scalb.c: Likewise.
50884 * math/w_scalbf.c: Likewise.
50885 * math/w_scalbl.c: Likewise.
50886 * math/w_sqrt.c: Likewise.
50887 * math/w_sqrtf.c: Likewise.
50888 * math/w_sqrtl.c: Likewise.
50889 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50890 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50891 used.
50892 * math/math_private.h: Declare __kernel_standard_f.
50893 * math/w_cosh.c: Remove cruft and optimize a bit.
50894 * math/w_coshf.c: Likewise.
50895 * math/w_coshl.c: Likewise.
50896 * math/w_exp2.c: Likewise.
50897 * math/w_exp2f.c: Likewise.
50898 * math/w_exp2l.c: Likewise.
50899 * math/w_hypot.c: Likewise.
50900 * math/w_hypotf.c: Likewise.
50901 * math/w_hypotl.c: Likewise.
50902 * math/w_lgamma.c: Likewise.
50903 * math/w_lgamma_r.c: Likewise.
50904 * math/w_lgammaf.c: Likewise.
50905 * math/w_lgammaf_r.c: Likewise.
50906 * math/w_lgammal.c: Likewise.
50907 * math/w_lgammal_r.c: Likewise.
50908 * math/w_sinh.c: Likewise.
50909 * math/w_sinhf.c: Likewise.
50910 * math/w_sinhl.c: Likewise.
50911 * math/w_tgamma.c: Likewise.
50912 * math/w_tgammaf.c: Likewise.
50913 * math/w_tgammal.c: Likewise.
50914 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50915 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50916 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50917 Minor optimizations. Pretty printing. Remove cruft.
50918 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50919 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50921 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50922 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50923 * sysdeps/i386/fpu/e_asin.S: Likewise.
50924 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50925 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50926 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50927 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50928 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50929 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50930 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50931 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50932 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50933 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50934 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50935 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50936 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50937 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50938 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50939 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50940 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50941 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50942 * sysdeps/i386/fpu/e_log.S: Likewise.
50943 * sysdeps/i386/fpu/e_log10.S: Likewise.
50944 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50946 * sysdeps/i386/fpu/e_log2.S: Likewise.
50947 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50949 * sysdeps/i386/fpu/e_logf.S: Likewise.
50950 * sysdeps/i386/fpu/e_logl.S: Likewise.
50951 * sysdeps/i386/fpu/e_pow.S: Likewise.
50952 * sysdeps/i386/fpu/e_powf.S: Likewise.
50953 * sysdeps/i386/fpu/e_powl.S: Likewise.
50954 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50955 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50956 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50957 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50958 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50959 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50960 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50961 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50962 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50967 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50968 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50969 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50970 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50971 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50972 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50973 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50974 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50975 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50976 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50977 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50979 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50980 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50981 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50983 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50984 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50985 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50986 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50987 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50988 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50989 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50990 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50991 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50992 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50993 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50994 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50995 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50996 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50997 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50998 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50999 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51000 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51001 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51002 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51003 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51004 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51005 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51006 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51007 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51008 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51009 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51010 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51011 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51012 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51013 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51014 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51015 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51016 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51017 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51018 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51019 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51020 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51021 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51022 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51023 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51024 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51025 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51026 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51027 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51028 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51029 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51030 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51031 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51032 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51033 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51034 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51035 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51036 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51037 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51038 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51039 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51040 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51041 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51042 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51043 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51044 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51045 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51046 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51047 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51048 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51049 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51050 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51051 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51052 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51053 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51054 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51055 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51056 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51057 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51058 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51059 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51060 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51061 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51062 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51063 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51064 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51065 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51066 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51067 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51068 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51069 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51070 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51071 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51072 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51073 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51074 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51075 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51076 (__isnanf): Likewise.
51077 (__isinf_ns): Likewise.
51078 (__isinf_nsf): Likewise.
51079 (__finite): Likewise.
51080 (__finitef): Likewise.
51081 (__ieee754_sqrt): Define as macro.
51082 (__ieee754_sqrtf): Define as macro.
51083 (__ieee754_sqrtl): Define as macro.
51084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51085 inlined copy.
51086 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51087 __FINITE_MATH_ONLY__ consistent.
51088 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51089
12cc2fcd
AS
510902011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51091
a843a204
AS
51092 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51093 of rawmemchr.
51094
12cc2fcd
AS
51095 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51096
c853acd5
UD
510972011-10-09 Ulrich Drepper <drepper@gmail.com>
51098
51099 * po/ja.po: Update from translation team.
51100
c658d255
RM
511012011-10-08 Roland McGrath <roland@hack.frob.com>
51102
110946e4
RM
51103 * locale/programs/locarchive.c (prepare_address_space): New function.
51104 (create_archive, enlarge_archive, open_archive): Use it.
51105
50604220
RM
51106 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51107 inside [SHARED], where it is used.
51108
c658d255
RM
51109 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51110
51111 * nss/getent.c (netgroup_keys): Remove unused variable.
51112 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51113
6a621eb7
UD
511142011-10-08 Ulrich Drepper <drepper@gmail.com>
51115
7edb55ce
UD
51116 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51117 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51118 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51119 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51120 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51121 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51122 * math/Makefile (libm-calls): Add s_isinf_ns.
51123 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51124 * math/multc3.c: Likewise.
51125 * math/s_casin.c: Likewise.
51126 * math/s_casinf.c: Likewise.
51127 * math/s_casinl.c: Likewise.
51128 * math/s_ccos.c: Likewise.
51129 * math/s_ccosf.c: Likewise.
51130 * math/s_ccosl.c: Likewise.
51131 * math/s_ctan.c: Likewise.
51132 * math/s_ctanf.c: Likewise.
51133 * math/s_ctanh.c: Likewise.
51134 * math/s_ctanhf.c: Likewise.
51135 * math/s_ctanhl.c: Likewise.
51136 * math/s_ctanl.c: Likewise.
51137 * math/w_fmod.c: Likewise.
51138 * math/w_fmodf.c: Likewise.
51139 * math/w_fmodl.c: Likewise.
51140 * math/w_remainder.c: Likewise.
51141 * math/w_remainderf.c: Likewise.
51142 * math/w_remainderl.c: Likewise.
51143 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51144 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51145 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51147 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51148 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51149 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51150 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51151
187da0ae
UD
51152 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51153 of the number.
51154 * stdio-common/printf_fphex.c: Likewise.
51155 * stdio-common/printf_size.c: Likewise.
51156
9277c064
UD
51157 * math/e_exp10.c: Include math_private.h using <...> not "...".
51158 * math/e_exp10f.c: Likewise.
51159 * math/e_exp10l.c: Likewise.
51160 * math/e_exp2l.c: Likewise.
51161 * math/e_j0l.c: Likewise.
51162 * math/e_j1l.c: Likewise.
51163 * math/e_jnl.c: Likewise.
51164 * math/e_lgammal_r.c: Likewise.
51165 * math/e_rem_pio2l.c: Likewise.
51166 * math/e_scalb.c: Likewise.
51167 * math/e_scalbf.c: Likewise.
51168 * math/e_scalbl.c: Likewise.
51169 * math/k_cosl.c: Likewise.
51170 * math/k_sinl.c: Likewise.
51171 * math/k_tanl.c: Likewise.
51172 * math/s_cacoshf.c: Likewise.
51173 * math/s_catan.c: Likewise.
51174 * math/s_catanf.c: Likewise.
51175 * math/s_catanh.c: Likewise.
51176 * math/s_catanhf.c: Likewise.
51177 * math/s_catanhl.c: Likewise.
51178 * math/s_catanl.c: Likewise.
51179 * math/s_ccosh.c: Likewise.
51180 * math/s_ccoshf.c: Likewise.
51181 * math/s_ccoshl.c: Likewise.
51182 * math/s_cexp.c: Likewise.
51183 * math/s_cexpf.c: Likewise.
51184 * math/s_cexpl.c: Likewise.
51185 * math/s_clog.c: Likewise.
51186 * math/s_clog10.c: Likewise.
51187 * math/s_clog10f.c: Likewise.
51188 * math/s_clog10l.c: Likewise.
51189 * math/s_clogf.c: Likewise.
51190 * math/s_clogl.c: Likewise.
51191 * math/s_csin.c: Likewise.
51192 * math/s_csinf.c: Likewise.
51193 * math/s_csinh.c: Likewise.
51194 * math/s_csinhf.c: Likewise.
51195 * math/s_csinhl.c: Likewise.
51196 * math/s_csinl.c: Likewise.
51197 * math/s_csqrt.c: Likewise.
51198 * math/s_csqrtf.c: Likewise.
51199 * math/s_csqrtl.c: Likewise.
51200 * math/s_ctan.c: Likewise.
51201 * math/s_ctanf.c: Likewise.
51202 * math/s_ctanh.c: Likewise.
51203 * math/s_ctanhf.c: Likewise.
51204 * math/s_ctanhl.c: Likewise.
51205 * math/s_ctanl.c: Likewise.
51206 * math/s_ldexp.c: Likewise.
51207 * math/s_ldexpf.c: Likewise.
51208 * math/s_ldexpl.c: Likewise.
51209 * math/s_significand.c: Likewise.
51210 * math/s_significandf.c: Likewise.
51211 * math/s_significandl.c: Likewise.
51212 * math/w_acos.c: Likewise.
51213 * math/w_acosf.c: Likewise.
51214 * math/w_acosh.c: Likewise.
51215 * math/w_acoshf.c: Likewise.
51216 * math/w_acoshl.c: Likewise.
51217 * math/w_acosl.c: Likewise.
51218 * math/w_asin.c: Likewise.
51219 * math/w_asinf.c: Likewise.
51220 * math/w_asinl.c: Likewise.
51221 * math/w_atan2.c: Likewise.
51222 * math/w_atan2f.c: Likewise.
51223 * math/w_atan2l.c: Likewise.
51224 * math/w_atanh.c: Likewise.
51225 * math/w_atanhf.c: Likewise.
51226 * math/w_atanhl.c: Likewise.
51227 * math/w_cosh.c: Likewise.
51228 * math/w_coshf.c: Likewise.
51229 * math/w_coshl.c: Likewise.
51230 * math/w_dremf.c: Likewise.
51231 * math/w_exp10.c: Likewise.
51232 * math/w_exp10f.c: Likewise.
51233 * math/w_exp10l.c: Likewise.
51234 * math/w_exp2.c: Likewise.
51235 * math/w_exp2f.c: Likewise.
51236 * math/w_fmod.c: Likewise.
51237 * math/w_fmodf.c: Likewise.
51238 * math/w_fmodl.c: Likewise.
51239 * math/w_hypot.c: Likewise.
51240 * math/w_hypotf.c: Likewise.
51241 * math/w_hypotl.c: Likewise.
51242 * math/w_j0.c: Likewise.
51243 * math/w_j0f.c: Likewise.
51244 * math/w_j0l.c: Likewise.
51245 * math/w_j1.c: Likewise.
51246 * math/w_j1f.c: Likewise.
51247 * math/w_j1l.c: Likewise.
51248 * math/w_jn.c: Likewise.
51249 * math/w_jnf.c: Likewise.
51250 * math/w_jnl.c: Likewise.
51251 * math/w_lgamma.c: Likewise.
51252 * math/w_lgamma_r.c: Likewise.
51253 * math/w_lgammaf.c: Likewise.
51254 * math/w_lgammaf_r.c: Likewise.
51255 * math/w_lgammal.c: Likewise.
51256 * math/w_lgammal_r.c: Likewise.
51257 * math/w_log.c: Likewise.
51258 * math/w_log10.c: Likewise.
51259 * math/w_log10f.c: Likewise.
51260 * math/w_log10l.c: Likewise.
51261 * math/w_log2.c: Likewise.
51262 * math/w_log2f.c: Likewise.
51263 * math/w_log2l.c: Likewise.
51264 * math/w_logf.c: Likewise.
51265 * math/w_logl.c: Likewise.
51266 * math/w_pow.c: Likewise.
51267 * math/w_powf.c: Likewise.
51268 * math/w_powl.c: Likewise.
51269 * math/w_remainder.c: Likewise.
51270 * math/w_remainderf.c: Likewise.
51271 * math/w_remainderl.c: Likewise.
51272 * math/w_scalb.c: Likewise.
51273 * math/w_scalbf.c: Likewise.
51274 * math/w_scalbl.c: Likewise.
51275 * math/w_sinh.c: Likewise.
51276 * math/w_sinhf.c: Likewise.
51277 * math/w_sinhl.c: Likewise.
51278 * math/w_sqrt.c: Likewise.
51279 * math/w_sqrtf.c: Likewise.
51280 * math/w_sqrtl.c: Likewise.
51281 * math/w_tgamma.c: Likewise.
51282 * math/w_tgammaf.c: Likewise.
51283 * math/w_tgammal.c: Likewise.
51284
6a621eb7
UD
51285 * po/ja.po: Update from translation team.
51286
bf582445
AJ
512872011-09-29 Andreas Jaeger <aj@suse.de>
51288
f9efbf3a
AJ
51289 [BZ #13179]
51290 * sunrpc/netname.c (netname2host): Fix logic.
51291
bf582445
AJ
51292 [BZ #6779]
51293 [BZ #6783]
51294 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51295 correctly.
51296 * math/w_remainder.c (__remainder): Likewise.
51297 * math/w_remainderf.c (__remainderf): Likewise.
51298 * math/libm-test.inc (remainder_test): Add test cases.
51299
48693bea
AK
513002011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51301
51302 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51303 sdiv_qrnnd.
51304
42622229
LD
513052011-10-07 Ulrich Drepper <drepper@gmail.com>
51306
51307 * string/test-memcmp.c: Avoid unncessary #defines.
51308 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51309
093ecf92
LD
513102011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51311
51312 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51313 Use new sse2 version for core i3 - i7 as it's faster
51314 than sse42 version.
51315 (bit_Prefer_PMINUB_for_stringop): New.
51316 * sysdeps/x86_64/rawmemchr.S: Update.
51317 Replace with faster SSE2 version.
51318 * sysdeps/x86_64/memrchr.S: New file.
51319 * sysdeps/x86_64/memchr.S: Update.
51320 Replace with faster SSE2 version.
51321
fde56e5c
MP
513222011-09-12 Marek Polacek <mpolacek@redhat.com>
51323
51324 * elf/dl-load.c (lose): Add cast to avoid warning.
51325
21fd49a9
UD
513262011-10-07 Ulrich Drepper <drepper@gmail.com>
51327
5a06e643
UD
51328 * po/ca.po: Update from translation team.
51329
684ae515
UD
51330 * inet/getnetgrent_r.c: Hook up nscd.
51331 * nscd/Makefile (routines): Add nscd_netgroup.
51332 (nscd-modules): Add netgroupcache.
51333 (CFLAGS-netgroupcache.c): Define.
51334 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51335 (cache_search): Add const to second parameter.
51336 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51337 INNETGR.
51338 (dbs): Add netgrdb entry.
51339 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51340 (verify_persistent_db): Handle netgrdb.
51341 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51342 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51343 GETFDNETGR.
51344 (netgroup_response_header): Define.
51345 (innetgroup_response_header): Define.
51346 (datahead): Add netgroup_response_header and innetgroup_response_header
51347 elements.
51348 * nscd/nscd.conf: Add entries for netgroup cache.
51349 * nscd/nscd.h (dbtype): Add netgrdb.
51350 (_PATH_NSCD_NETGROUP_DB): Define.
51351 (netgroup_iov_disabled): Declare.
51352 (xmalloc, xcalloc, xrealloc): Move declarations here.
51353 (cache_search): Adjust prototype.
51354 Add netgroup-related prototypes.
51355 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51356 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51357 (__nscd_innetgr): Declare.
51358 * nscd/selinux.c (perms): Use access_vector_t as element type and
51359 add netgroup-related initializers.
51360 * nscd/netgroupcache.c: New file.
51361 * nscd/nscd_netgroup.c: New file.
51362 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51363 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51364 For four parameters use innetgr.
51365 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51366 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51367 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51368 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51369
21fd49a9
UD
51370 * nscd/connections.c (register_traced_file): Don't register file
51371 for disabled databases.
51372
054c0457
UD
513732011-10-06 Ulrich Drepper <drepper@gmail.com>
51374
32b63198
UD
51375 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51376
054c0457
UD
51377 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51378 from tree and freeing node.
51379
64031225
JO
513802011-09-25 Jiri Olsa <jolsa@redhat.com>
51381
51382 * nss/nsswitch.c (__nss_database_lookup): Handle
51383 nss_parse_service_list out of memory case.
51384
0490345c
JO
513852011-09-15 Jiri Olsa <jolsa@redhat.com>
51386
51387 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51388 out of memory case.
51389
3a62d00d
AS
513902011-10-04 Andreas Schwab <schwab@redhat.com>
51391
51392 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51393 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51394 pass it down.
51395 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51396 elf_machine_rela, elf_machine_lazy_rel.
51397 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51398 (ELF_DYNAMIC_DO_REL): Likewise.
51399 (ELF_DYNAMIC_DO_RELA): Likewise.
51400 (ELF_DYNAMIC_RELOCATE): Likewise.
51401 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51402 to ELF_DYNAMIC_DO_REL.
51403 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51404 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51405 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51406 elf_machine_rela.
51407 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51408 skip_ifunc, don't call ifunc function if non-zero.
51409 (elf_machine_rela): Likewise.
51410 (elf_machine_lazy_rel): Likewise.
51411 (elf_machine_lazy_rela): Likewise.
51412 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51413 (elf_machine_lazy_rel): Likewise.
51414 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51415 Likewise.
51416 (elf_machine_lazy_rel): Likewise.
51417 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51418 Likewise.
51419 (elf_machine_lazy_rel): Likewise.
51420 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51421 (elf_machine_lazy_rel): Likewise.
51422 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51423 (elf_machine_lazy_rel): Likewise.
51424 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51425 (elf_machine_lazy_rel): Likewise.
51426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51427 (elf_machine_lazy_rel): Likewise.
51428 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51429 (elf_machine_lazy_rel): Likewise.
51430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51431 (elf_machine_lazy_rel): Likewise.
51432
68577918
UD
514332011-09-28 Ulrich Drepper <drepper@gmail.com>
51434
51435 * nss/nss_files/files-init.c (_nss_files_init): Use static
51436 initialization for all the *_traced_file variables.
51437
68822d74
AS
514382011-09-28 Andreas Schwab <schwab@redhat.com>
51439
51440 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51441
2056100b
RM
514422011-09-27 Roland McGrath <roland@hack.frob.com>
51443
51444 [BZ #13226]
51445 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51446
32c76b63
AS
514472011-09-27 Andreas Schwab <schwab@redhat.com>
51448
51449 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51450 Reread the line before reparsing it.
51451
bf972c9d
AS
514522011-09-26 Andreas Schwab <schwab@redhat.com>
51453
51454 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51455
e057a1b5
JM
514562011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51457 Maxim Kuvyrkov <maxim@codesourcery.com>
51458 Joseph Myers <joseph@codesourcery.com>
51459
51460 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51461 if needed for __stack_chk_guard.
51462
bc7e1c36
RM
514632011-09-19 Roland McGrath <roland@hack.frob.com>
51464
ecb1482f
RM
51465 * sysdeps/posix/spawni.c (script_execute): Always define it.
51466 It will be optimized away if unused.
51467 (maybe_script_execute): New function.
51468 (__spawni): Call it.
51469
bc7e1c36
RM
51470 * Makerules: Don't include tls.make.
51471 (config-tls): Always set to thread.
51472 * tls.make.c: File removed.
51473
1c3b002b
MF
514742011-09-19 Mike Frysinger <vapier@gentoo.org>
51475
51476 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51477 * config.make.in (CPPFLAGS-config): New substituted variable.
51478
2840865d
UD
514792011-09-15 Ulrich Drepper <drepper@gmail.com>
51480
88738eb6
UD
51481 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51482
cbf645a6 51483 [BZ #13192]
2840865d
UD
51484 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51485 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51486
b402e91a
RM
514872011-09-15 Roland McGrath <roland@hack.frob.com>
51488
51489 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51490 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51492 (CALL_FAIL): Likewise.
51493 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51494 (CALL_FAIL): Macro removed.
51495 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51496
4c1a1f71
UD
514972011-09-15 Ulrich Drepper <drepper@gmail.com>
51498
51499 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51500 for __FINITE_MATH_ONLY__ == 1.
51501
edc121be
AS
515022011-09-15 Andreas Schwab <schwab@redhat.com>
51503
51504 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51505 __ieee754_sqrt instead of sqrt.
51506 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51507 __ieee754_sqrtf instead of sqrtf.
51508 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51509 __floorf instead of floorf.
51510 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51511 __floorf, __truncf instead of floorf, truncf.
51512
cd205654
UD
515132011-09-14 Ulrich Drepper <drepper@gmail.com>
51514
ee4d0315
UD
51515 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51516
cd205654
UD
51517 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51518 __extern_always_inline.
51519 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51520 32-bit.
51521
48b67d71
AS
515222011-09-14 Andreas Schwab <schwab@redhat.com>
51523
51524 * elf/rtld.c (dl_main): Also relocate in dependency order when
51525 doing symbol dependency testing.
51526
1ae12c75
AS
515272011-09-13 Andreas Schwab <schwab@linux-m68k.org>
51528
51529 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51530 Always define `refsym'.
51531
995a80df
AS
515322011-09-13 Andreas Schwab <schwab@redhat.com>
51533
e529793b
AS
51534 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51535 (__FD_ELT): Renamed from __FDELT.
51536 * misc/bits/select2.h (__FD_ELT): Likewise.
51537 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51538 __FD_MASK instead of __FDELT, __FDMASK.
51539 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51540 Likewise.
51541 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51542 Likewise.
51543
52d4fef8
AS
51544 * elf/Makefile (gen-ldd): Fix pattern.
51545
995a80df
AS
51546 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51547 (init_tls): Likewise.
51548
8682f8b0
UD
515492011-09-12 Ulrich Drepper <drepper@gmail.com>
51550
51551 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51552
de82006d
AS
515532011-09-12 Andreas Schwab <schwab@redhat.com>
51554
a7c8e6a1
AS
51555 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51556 `struct cmsghdr *' instead of `void *'.
51557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51558 Likewise.
51559
0f31fe77
AS
515602011-09-11 Andreas Schwab <schwab@linux-m68k.org>
51561
51562 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51563 if non-absolute.
51564 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51565 ldd_rewrite_script.
0f31fe77 51566
32b4c839
UD
515672011-09-11 Ulrich Drepper <drepper@gmail.com>
51568
83cd1420
UD
51569 * configure.in: Remove --with-tls option.
51570 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51571 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51572 out in case it is missing.
51573 * sysdeps/ia64/elf/configure.in: Likewise.
51574 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51575 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51576 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51577 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51578 * sysdeps/sh/elf/configure.in: Likewise.
51579 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51581 * sysdeps/x86_64/elf/configure.in: Likewise.
51582 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51583 * sysdeps/mach/hurd/tls.h: Likewise.
51584
633f745d
UD
51585 [BZ #13067]
51586 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51587
f318beb8
UD
51588 [BZ #13090]
51589 * configure.in: Fix use of AC_INIT.
51590
32b4c839
UD
51591 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51592
3ce1f295
UD
515932011-09-10 Ulrich Drepper <drepper@gmail.com>
51594
bb016596
UD
51595 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51596 __set_errno.
8e58439c
UD
51597 * malloc/hooks.c: Likewise.
51598
aebae053 51599 [BZ #11929]
02d46fc4
UD
51600 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51601 variables statically.
51602 (narenas): Initialize.
51603 (list_lock): Initialize.
bb016596
UD
51604 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51605 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
51606 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51607 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51608 Add initializers to main_arena and mp_.
51609 (malloc_state): Remove pagesize member. Change all users to use
51610 GLRO(dl_pagesize).
51611
51612 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51613 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51614 is always initialized.
51615
22a89187
UD
51616 * malloc/malloc.c: Removed unused configurations and dead code.
51617 * malloc/arena.c: Likewise.
51618 * malloc/hooks.c: Likewise.
02d46fc4 51619 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 51620
d063d164
UD
51621 * include/tls.h: Removed. USE___THREAD must always be defined.
51622 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51623 * elf/dl-libc.c: Likewise.
51624 * elf/dl-tsd.c: Likewise.
51625 * include/errno.h: Likewise.
51626 * include/netdb.h: Likewise.
51627 * include/resolv.h: Likewise.
51628 * inet/herrno-loc.c: Likewise.
51629 * inet/herrno.c: Likewise.
51630 * malloc/arena.c: Likewise.
51631 * malloc/hooks.c: Likewise.
51632 * malloc/malloc.c: Likewise.
51633 * resolv/res-state.c: Likewise.
51634 * resolv/res_libc.c: Likewise.
51635 * sysdeps/i386/dl-machine.h: Likewise.
51636 * sysdeps/ia64/dl-machine.h: Likewise.
51637 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51638 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51639 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51640 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51641 * sysdeps/sh/dl-machine.h: Likewise.
51642 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51643 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51644 * sysdeps/unix/i386/sysdep.S: Likewise.
51645 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51646 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51651 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51653 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51654 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51655 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51656 * sysdeps/x86_64/dl-machine.h: Likewise.
51657 * tls.make.c: Likewise.
51658
3ce1f295
UD
51659 * configure.in: Remove --with-__thread option. Make tests for
51660 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51661 tls_model attribute fail if no support is available. Remove
51662 USE_IN_LIBIO.
51663 * Makeconfig: Adjust for dropped configure option. All features are
51664 now mandatory.
51665 * Makerules: Likewise.
51666 * Versions.def: Likewise.
51667 * argp/argp-fmtstream.c: Likewise.
51668 * argp/argp-fmtstream.h: Likewise.
51669 * argp/argp-help.c: Likewise.
51670 * assert/assert.c: Likewise.
51671 * config.h.in: Likewise.
51672 * config.make.in: Likewise.
51673 * configure: Likewise.
51674 * configure.in: Likewise.
51675 * csu/Versions: Likewise.
51676 * csu/init.c: Likewise.
51677 * elf/tst-audit2.c: Likewise.
51678 * elf/tst-tls10.c: Likewise.
51679 * elf/tst-tls10.h: Likewise.
51680 * elf/tst-tls11.c: Likewise.
51681 * elf/tst-tls12.c: Likewise.
51682 * elf/tst-tls14.c: Likewise.
51683 * elf/tst-tlsmod11.c: Likewise.
51684 * elf/tst-tlsmod12.c: Likewise.
51685 * elf/tst-tlsmod13.c: Likewise.
51686 * elf/tst-tlsmod13a.c: Likewise.
51687 * elf/tst-tlsmod14a.c: Likewise.
51688 * elf/tst-tlsmod15b.c: Likewise.
51689 * elf/tst-tlsmod16a.c: Likewise.
51690 * elf/tst-tlsmod16b.c: Likewise.
51691 * elf/tst-tlsmod7.c: Likewise.
51692 * elf/tst-tlsmod8.c: Likewise.
51693 * elf/tst-tlsmod9.c: Likewise.
51694 * gmon/gmon.c: Likewise.
51695 * grp/fgetgrent_r.c: Likewise.
51696 * grp/putgrent.c: Likewise.
51697 * hurd/fopenport.c: Likewise.
51698 * include/libc-symbols.h: Likewise.
51699 * include/tls.h: Likewise.
51700 * intl/gettextP.h: Likewise.
51701 * intl/loadinfo.h: Likewise.
51702 * locale/global-locale.c: Likewise.
51703 * locale/localeinfo.h: Likewise.
51704 * mach/devstream.c: Likewise.
51705 * malloc/arena.c: Likewise.
51706 * malloc/set-freeres.c: Likewise.
51707 * misc/err.c: Likewise.
51708 * misc/getttyent.c: Likewise.
51709 * misc/mntent_r.c: Likewise.
51710 * posix/getopt.c: Likewise.
51711 * posix/wordexp.c: Likewise.
51712 * pwd/fgetpwent_r.c: Likewise.
51713 * resolv/Versions: Likewise.
51714 * resolv/res_hconf.c: Likewise.
51715 * shadow/fgetspent_r.c: Likewise.
51716 * shadow/putspent.c: Likewise.
51717 * stdio-common/printf_fphex.c: Likewise.
51718 * stdio-common/tmpfile.c: Likewise.
51719 * stdlib/abort.c: Likewise.
51720 * stdlib/fmtmsg.c: Likewise.
51721 * sunrpc/auth_unix.c: Likewise.
51722 * sunrpc/clnt_perr.c: Likewise.
51723 * sunrpc/clnt_tcp.c: Likewise.
51724 * sunrpc/clnt_udp.c: Likewise.
51725 * sunrpc/clnt_unix.c: Likewise.
51726 * sunrpc/openchild.c: Likewise.
51727 * sunrpc/svc_simple.c: Likewise.
51728 * sunrpc/svc_tcp.c: Likewise.
51729 * sunrpc/svc_udp.c: Likewise.
51730 * sunrpc/svc_unix.c: Likewise.
51731 * sunrpc/xdr.c: Likewise.
51732 * sunrpc/xdr_array.c: Likewise.
51733 * sunrpc/xdr_rec.c: Likewise.
51734 * sunrpc/xdr_ref.c: Likewise.
51735 * sunrpc/xdr_stdio.c: Likewise.
51736
1248c1c4
PB
517372011-09-09 Ulrich Drepper <drepper@gmail.com>
51738
51739 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51740
517412011-07-03 Andreas Jaeger <aj@suse.de>
51742
51743 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51744 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51745 regenerate with gen-libm-tests.pl.
51746
517472010-05-12 Petr Baudis <pasky@suse.cz>
51748
51749 [BZ #11589]
51750 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51751 around j0() zero points by switching to j1().
51752 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51753 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51756
f22e1074
UD
517572011-09-09 Ulrich Drepper <drepper@gmail.com>
51758
f19009c1
UD
51759 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51760 instead of 0.
51761 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 51762 instead of 0.
f19009c1
UD
51763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51764 Patch in part by Pavel Roskin <proski@gnu.org>.
51765
3f8cc204
UD
51766 [BZ #13138]
51767 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51768 realloc.
51769 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51770 Free memory block if necessary.
51771
f22e1074
UD
51772 [BZ #12847]
51773 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51774 be NULL. Don't lock in this case.
51775
0a2349f9
RM
517762011-09-09 Roland McGrath <roland@hack.frob.com>
51777
51778 * elf/elf.h (ELFOSABI_GNU): New macro.
51779 (ELFOSABI_LINUX): Define to that.
51780
f3cdd467
DZ
517812011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51782
51783 * string/strncat.c (strncat): Undef the symbol in case it has been
51784 defined in bits/string.h.
51785
74718d13
UD
517862011-09-09 Ulrich Drepper <drepper@gmail.com>
51787
633e9e0f
UD
51788 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51789
0a2349f9 51790 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
51791 link map.
51792
f9924780
AJ
517932011-08-17 Andreas Jaeger <aj@suse.de>
51794
51795 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51796
7f5517aa
PP
517972011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51798 Ian Lance Taylor <iant@google.com>
51799
51800 * math/libm-test.inc (lround_test): New testcase.
51801 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51802
762011fe
UD
518032011-09-08 Ulrich Drepper <drepper@gmail.com>
51804
92963737
UD
51805 * Makefile: Remove support for automatic cvs check-ins.
51806 * Makerules: Likewise.
51807 * config.make.in: Likewise.
51808 * configure.in: Likewise.
51809 * intl/Makefile: Likewise.
51810 * locale/Makefile: Likewise.
51811 * po/Makefile: Likewise.
51812 * posix/Makefile: Likewise.
51813 * sysdeps/gnu/Makefile: Likewise.
51814 * sysdeps/mach/hurd/Makefile: Likewise.
51815 * sysdeps/sparc/sparc32/Makefile: Likewise.
51816
b0727fd8
JS
51817 [BZ #13118]
51818 * posix/Makefile (bug-regex32-ENV): Define.
51819 Patch by John Stanley <jpsinthemix@verizon.net>.
51820
a0f33f99
UD
51821 * misc/Makefile (headers): Add bits/select2.h.
51822 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51823 * misc/bits/select2.h: New file.
51824 * include/bits/select2.h: New file.
51825 * debug/Makefile (routines): Add fdelt_chk.
51826 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51827 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51828 FD_ISSET.
51829 * debug/fdelt_chk.c: New file.
51830
762011fe
UD
51831 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51832 * wcsmbs/test-wmemcmp.c: Likewise.
51833 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 51834 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
51835
518362011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51837
51838 * string/Makefile (strop-tests): Add memcmp.
51839 * string/test-wmemcmp.c: New file.
51840 * string/test-memcmp.c: Add wmemcmp support.
51841
7f513ec8
RM
518422011-09-08 Roland McGrath <roland@hack.frob.com>
51843
0442afb4
RM
51844 [BZ #13153]
51845 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51846 2011-07-19 change.
51847
7f513ec8
RM
51848 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51849 garbage value in a __mach_port_mod_refs call in the cases of the
51850 task-self and thread-self ports.
51851
a12b2239
ST
518522011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51853
51854 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51855
610f9ab4
AS
518562011-09-08 Andreas Schwab <schwab@redhat.com>
51857
7f513ec8 51858 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 51859
48882a1a
LD
518602011-09-07 Ulrich Drepper <drepper@gmail.com>
51861
b49865be
UD
51862 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51863
fdc86bc9
UD
51864 * elf/dl-libc.c (dlerror_run): Pass back error code from
51865 dl_catch_error.
51866
c966526a
UD
51867 [BZ #13123]
51868 * elf/dl-load.c (lose): Free l_origin if it is valid.
51869
48882a1a
LD
51870 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51871 names.
51872 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51873 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51874 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51875 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51877 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51878
77a2a8b4
AZ
518792011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51880
51881 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51882 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51883 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51884 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51885 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51886 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51887 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51888 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51889 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51890 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51891
24f579d8
AM
518922011-08-15 Alan Modra <amodra@gmail.com>
51893
51894 [BZ #13092]
51895 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51896 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51897 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51898 ppc_mcount to static-only-routines.
51899 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51900 __mcount_internal.
51901 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51902 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51903
3d4837df
UD
519042011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51905
51906 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51907 for finite and infinity parameters.
51908
22700377
WS
519092011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51910
51911 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51912 and add nop instructions for throughput optimization.
51913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51914
5025581e
WS
519152011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51916
51917 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51918 aligned copy for power7 with vector-scalar instructions.
51919 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51920
08a300c9
L
519212011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51922
51923 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51924 AVX check.
51925
59178ef9
AS
519262011-09-07 Andreas Schwab <schwab@redhat.com>
51927
51928 [BZ #13144]
51929 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51930 last change.
51931
e38ba7ab
UD
519322011-09-07 Ulrich Drepper <drepper@gmail.com>
51933
51934 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51935 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51936 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51937 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51938 clock_gettime.
51939
d53a73ac
UD
519402011-09-06 Ulrich Drepper <drepper@gmail.com>
51941
fc8bffcc
UD
51942 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51943 Forgot to demangle the pointer.
51944
ceaa0c5d
UD
51945 * sysdeps/i386/sysdep.h: Define atom_text_section.
51946 * sysdeps/x86_64/sysdep.h: Likewise.
51947 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51948 section with atom_text_section.
51949 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51950 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51951 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51953 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51954
a77d3c17
UD
51955 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51956 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51957 already be defined. Change to take two parameters and don't assign
51958 result to variable. Adjust all users.
51959 Define INTERNAL_GETTIME if not already defined.
51960 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51961 call.
51962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51963 HAVE_CLOCK_GETTIME_VSYSCALL.
51964 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51965
d53a73ac
UD
51966 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51967 gettimeofday vsyscall, just use time.
51968
a8f84144
AS
519692011-09-06 Andreas Schwab <schwab@redhat.com>
51970
51971 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51972 <errno.h>.
51973
ef606249
UD
519742011-09-06 Ulrich Drepper <drepper@gmail.com>
51975
51976 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51977 syscall on x86-64.
51978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51979 syscall.
51980 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51981 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51982 syscall if possible.
51983
6585cb60
UD
519842011-09-05 Ulrich Drepper <drepper@gmail.com>
51985
51986 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51987 e_ident. Don't pass to find_mapsXX.
51988 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51989
a5f524e4
LD
519902011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51991
51992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51993 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51994 * sysdeps/x86_64/multiarch/strchr.S: Update.
51995 Check bit_slow_BSF bit.
51996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51997 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51998 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51999
554881ef
UD
520002011-09-05 Ulrich Drepper <drepper@gmail.com>
52001
d96de963
UD
52002 [BZ #13134]
52003 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52004 before glibc 2.15.
52005 (tryshell): Define.
52006 (__spawni): Change last parameter to be flag. Test
52007 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52008 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52009 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52010 * posix/spawni.c: Likewise.
52011 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52012 * posix/spawnp.c: Likewise. Change normal version to use
52013 SPAWN_XFLAGS_USE_PATH.
52014 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52015 SPAWN_XFLAGS_TRY_SHELL.
52016
d48e5868
UD
52017 [BZ #13150]
52018 * posix/glob.h: Remove gcc 1.x support.
52019
554881ef
UD
52020 [BZ #13068]
52021 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52022
693fb948
LD
520232011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52024
52025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52026 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52027 strrchr-sse2-bsf
52028 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52029 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52030 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52032 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52033 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52034
1b48c537
UD
520352011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52036
49d42c37
UD
52037 * sysdeps/x86_64/wcscmp.S: New file.
52038
1b48c537
UD
52039 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52040 wcscmp-c wcscmp-sse2
52041 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52042 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52043 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52044 * wcsmbs/wcscmp.c: Allow renaming.
52045
15c95c5d
DM
520462011-09-05 David S. Miller <davem@davemloft.net>
52047
52048 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52049 stack slot, rather than the struct return pointer slot.
52050 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52051 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52053 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52054
2f0ad8f3
UD
520552011-09-05 Ulrich Drepper <drepper@gmail.com>
52056
d88ae418
UD
52057 * po/ja.po: Update from translation team.
52058
2f0ad8f3
UD
52059 [BZ #13144]
52060 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52061 kernel in 64-bit binaries.
52062
5f4318d1
DM
520632011-09-01 David S. Miller <davem@davemloft.net>
52064
52065 * elf/elf.h (HWCAP_SPARC_*): Move to..
52066 * sysdeps/sparc/sysdep.h: this new file and add new values.
52067 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52068 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52069 _DL_HWCAP_COUNT to 24.
52070 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52071 entries.
52072 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52073 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52074 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52076 instead of magic constants.
52077 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52078
3ba57516
DM
520792011-08-31 David S. Miller <davem@davemloft.net>
52080
52081 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52083 Reimplement to do errno handling inline.
52084 (SYSCALL_ERROR_HANDLER): New macro.
52085 (__SYSCALL_STRING): Do not do errno handling in asm.
52086 (__CLONE_SYSCALL_STRING): Delete.
52087 (__INTERNAL_SYSCALL_STRING): Delete.
52088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52089 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52090 (PSEUDO): Reimplement to do errno handling inline.
52091 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52092 (SYSCALL_ERROR_HANDLER): New macro.
52093 (__SYSCALL_STRING): Do not do errno handling in asm.
52094 (__CLONE_SYSCALL_STRING): Delete.
52095 (__INTERNAL_SYSCALL_STRING): Delete.
52096 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52097 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52098 i386.
52099 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52100 (inline_syscall*): Add 'err' argument.
52101 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52102 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52103 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52104 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52105
52106 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52107 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52108
2bc17433
AS
521092011-08-30 Andreas Schwab <schwab@redhat.com>
52110
52111 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52112
fbeb5f4d
JO
521132011-08-29 Jiri Olsa <jolsa@redhat.com>
52114
52115 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52116 directive.
52117
ad69cc26
DM
521182011-08-24 David S. Miller <davem@davemloft.net>
52119
52120 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52121
39dd69df
AS
521222011-08-24 Andreas Schwab <schwab@redhat.com>
52123
52124 * elf/Makefile: Add rules to build and run unload8 test.
52125 * elf/unload8.c: New file.
52126 * elf/unload8mod1.c: New file.
52127 * elf/unload8mod1x.c: New file.
52128 * elf/unload8mod2.c: New file.
52129 * elf/unload8mod3.c: New file.
52130
52131 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52132 it wasn't used.
52133
2c0b250a
DM
521342011-08-23 David S. Miller <davem@davemloft.net>
52135
52136 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52137 subtract stack bias.
52138 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52139 %sp not %fp in calculations.
52140 (_JMPBUF_UNWINDS_ADJ): Likewise.
52141
22044b48
DM
52142 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52143 (aio_suspend): Call it to force an exception region around the
52144 AIO_MISC_WAIT() invocation.
52145
2cae4995
AS
521462011-08-23 Andreas Schwab <schwab@redhat.com>
52147
52148 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52149 backslash.
52150
873a772e
AJ
521512011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52152
52153 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52154 protection macro.
52155 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52156 and <dl-machine.h>.
52157 (Elf64_FuncDesc): Remove.
52158
25ad0df1
DM
521592011-08-22 David S. Miller <davem@davemloft.net>
52160
52161 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52162 sigaltstack check, add missing cfi directives.
52163 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52164 missing cfi directives, and sigaltstack handling.
52165
e888bcbe
AS
521662011-08-16 Andreas Schwab <schwab@redhat.com>
52167
52168 [BZ #11724]
52169 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52170 object is seen twice.
52171 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52172
52173 * elf/Makefile (distribute): Add tst-initorder2.c.
52174 (tests): Add tst-initorder2.
52175 (modules-names): Add tst-initorder2a tst-initorder2b
52176 tst-initorder2c tst-initorder2d. Add rules to build them.
52177 ($(objpfx)tst-initorder2.out): New rule.
52178 * elf/tst-initorder2.c: New file.
52179 * elf/tst-initorder2.exp: New file.
52180
87162f46
AS
521812011-08-22 Andreas Schwab <schwab@redhat.com>
52182
70538b7f
AS
52183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52184
f55ffe58
AS
52185 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52186 dependencies back to end of function.
52187
87162f46
AS
52188 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52189 $(elfobjdir)/ld.so.
52190
91b392a4
UD
521912011-08-21 Ulrich Drepper <drepper@gmail.com>
52192
52193 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52194 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52195 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52196 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52197 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52198 of __vdso_gettimeofday.
52199 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52200 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52201 attribute_hidden.
52202 (_libc_vdso_platform_setup): Remove initialization of
52203 __vdso_gettimeofday and __vdso_time.
52204
5c43483f
UD
522052011-08-20 Ulrich Drepper <drepper@gmail.com>
52206
775a77e7
UD
52207 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52208 and fgetc_unlocked.
52209 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52210 getc_unlocked.
89f447ed 52211
49c74ba9
UD
52212 * elf/dl-open.c (add_to_global): Report additions to the global scope
52213 for LD_DEBUG=scopes.
52214 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52215 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52216
5c43483f
UD
52217 [BZ #13114]
52218 * stdio-common/Makefile (tests): Add bug24.
52219 * stdio-common/bug24.c: New file.
52220
a101b025
AJ
522212011-08-19 Andreas Jaeger <aj@suse.de>
52222
52223 [BZ #13114]
52224 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52225 non-existant file when using close-on-exec mode.
52226
c88f1766
UD
522272011-08-20 Ulrich Drepper <drepper@gmail.com>
52228
0276a718
UD
52229 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52230 the very first instruction.
52231
c88f1766
UD
52232 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52233 the CFI state in the end.
52234 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52235 inclusion of dl-trampoline.h.
52236 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52237
51ccffa0
AS
522382011-08-19 Andreas Schwab <schwab@redhat.com>
52239
94d7165f
AS
52240 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52241 expectations for long double.
52242
51ccffa0
AS
52243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52244 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52245
fd708658 522462011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52247
52248 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52249 artificual limit depends upon the system page size.
52250
44f0a71e
UD
522512011-08-17 Ulrich Drepper <drepper@gmail.com>
52252
52253 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52254 * resolv/Makefile: Define CFLAGS-libresolv.
52255
8de79a24
AS
522562011-08-17 Andreas Schwab <schwab@redhat.com>
52257
52258 * nss/makedb.c (compute_tables): Make variables used in nested
52259 function static.
52260
27724598
UD
522612011-08-17 Ulrich Drepper <drepper@gmail.com>
52262
c5305d88
UD
52263 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52264 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52265 if buffer was too small.
52266
27724598
UD
52267 * elf/pldd.c (main): Attach to all threads in the process.
52268 Rewrite /proc handling to use *at functions.
52269
076fe015
UD
522702011-08-16 Ulrich Drepper <drepper@gmail.com>
52271
174baab3
UD
52272 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52273 specifies first scope to show.
52274 (dl_open_worker): Update callers. Move printing scope of new
52275 object to before the relocation.
44f0a71e 52276 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52277 * sysdeps/generic/ldsodefs.h: Update declaration.
52278
076fe015
UD
52279 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52280 string for the scope number.
52281
a60df2c3
UD
522822011-08-14 Ulrich Drepper <drepper@gmail.com>
52283
52284 * nscd/servicescache.c (cache_addserv): Make sure written is always
52285 initialized.
52286
5e4287d1
RM
522872011-08-14 Roland McGrath <roland@hack.frob.com>
52288
85ae0589
RM
52289 * sysdeps/i386/i486/bits/atomic.h
52290 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52291 statement expression, so as to suppress "set but not used" warning.
52292 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52293
69f63097
RM
52294 * string/strncat.c (STRNCAT): Use prototype definition.
52295
675456ef
RM
52296 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52297 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52298 -Iprograms here.
52299 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52300 (localedef-modules): Add localedef.
52301 (locale-modules): Add locale.
52302
5e4287d1
RM
52303 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52304 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52305 to avoid a warning.
52306
9c96ff23
DM
523072011-08-14 David S. Miller <davem@davemloft.net>
52308
52309 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52310 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52311
f9ddf089
UD
523122011-08-13 Ulrich Drepper <drepper@gmail.com>
52313
44f0a71e 52314 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52315 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52316 * elf/rtld.c (dl_main): Set l_name of vDSO.
52317 Call _dl_show_scope when DL_DEBUG_SCOPES.
52318 (process_dl_debug): Recognize scopes flag and also set it for all.
52319 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52320 Declare _dl_show_scope.
52321
1dc27704
UD
52322 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52323 (do_dlopen): Pass caller_dlopen to dl_open.
52324 (__libc_dlopen_mode): Initialize caller_dlopen.
52325
f9ddf089
UD
52326 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52327 of libc. Make tolower call locale-independent. Optimize a bit by
52328 using isdigit instead of isalnum.
52329 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52330
9ac533d3
UD
523312011-08-12 Ulrich Drepper <drepper@gmail.com>
52332
52333 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52334 was a dependency or dynamically loaded.
52335
89edf2e9
UD
523362011-08-11 Ulrich Drepper <drepper@gmail.com>
52337
8e999d29
UD
52338 * intl/l10nflist.c: Allow architecture-specific pop function.
52339 * sysdeps/x86_64/l10nflist.c: New file.
52340
89edf2e9
UD
52341 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52342 classification.
52343
14d96785
AS
523442011-08-10 Andreas Schwab <schwab@redhat.com>
52345
52346 * include/dirent.h: Add libc_hidden_proto for scandirat and
52347 scandirat64. Don't declare __scandirat64.
52348 * dirent/scandirat.c: Add libc_hidden_def.
52349 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52350 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52351
6761ac04
DM
523522011-08-10 David S. Miller <davem@davemloft.net>
52353
52354 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52355 enum.
52356 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52357 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52358 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52359
c55fbd1e
UD
523602011-08-09 Ulrich Drepper <drepper@gmail.com>
52361
52362 * Versions.def [libc]: Add GLIBC_2.15.
52363 * dirent/Makefile (routines): Add scandirat and scandirat64.
52364 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52365 GLIBC_2.15.
52366 * dirent/dirent.h: Declare scandirat and scandirat64.
52367 * dirent/scandirat.c: New file.
52368 * dirent/scandirat64.c: New file.
52369 * sysdeps/wordsize-64/scandirat.c: New file.
52370 * sysdeps/wordsize-64/scandirat64.c: New file.
52371 * dirent/opendir.c: Define opendirat.
52372 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52373 using scandirat.
52374 * dirent/scandir64.c: Adjust for scandir.c change.
52375 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52376 __scandirat64, and __scandir_cancel_handler.
52377 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52378 additional parameter and use openat instead of open (outside of ld.so).
52379 Add new __opendir as wrapper around __opendirat.
52380 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52381 here without requiring old scandirat implementation.
52382
879165f2
UD
523832011-08-08 Ulrich Drepper <drepper@gmail.com>
52384
52385 * dirent/scandir.c (cancel_handler): Renamed to
52386 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52387 defined. Adjust users.
52388 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52389 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52390
cb7e923b
UD
523912011-08-04 Ulrich Drepper <drepper@gmail.com>
52392
16292edd
UD
52393 * string/test-string.h (IMPL): Use __STRING to expand name and then
52394 stringify it.
52395
cb7e923b
UD
52396 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52397 of cleanups.
52398
cff82933
LD
523992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52400
52401 * string/Makefile: Update.
52402 (strop-tests): Append strncat.
52403 * string/test-wcscmp.c: New file.
52404 New comprehensive test for wcscmp.
52405 * string/test-strcmp.c: Update.
52406 (WIDE): New define.
52407
9be9bfcc
AS
524082011-07-22 Andreas Schwab <schwab@redhat.com>
52409
52410 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52411 line.
52412
2e96f1c7
AS
524132011-07-26 Andreas Schwab <schwab@redhat.com>
52414
52415 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52416 encoding to ACE if AI_IDN.
52417
85188888
JJ
524182011-08-01 Jakub Jelinek <jakub@redhat.com>
52419
52420 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52421 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52422
5fa16e9b
LD
524232011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52424
52425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52426 Fix overflow bug in strncat.
52427 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52428
52429 * string/test-strncat.c: Update.
52430 Add new tests for checking overflow bugs.
52431
524322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52433
52434 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52435 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52436 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52437 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52438 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52439 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52440 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52441 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52442 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52443
52444 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52445 (USE_AS_STRCAT): Define.
52446 Add strcat and strncat support.
52447 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52448
8c1a459f
AS
524492011-07-25 Andreas Schwab <schwab@redhat.com>
52450
52451 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52452 __n bigger than INT_MAX+1.
52453 (__strncmp_g): Likewise.
52454
bba33c28
UD
524552011-07-23 Ulrich Drepper <drepper@gmail.com>
52456
798be72d
UD
52457 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52458 * libio/stido.h: Likewise.
52459
8accd4dc
UD
52460 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52461 (AF_NFC): Define.
52462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52463 (AF_NFC): Define.
52464
cbff0d96
UD
52465 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52466 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52467 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52468 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52469 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52470
9191c04a
UD
52471 [BZ #13021]
52472 * scripts/test-installation.pl: Don't expect libnss_test1 to be
52473 installed.
52474
bba33c28
UD
52475 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52476 typo.
52477 (_dl_x86_64_save_sse): Likewise.
52478
90f139dd
UD
524792011-07-22 Ulrich Drepper <drepper@gmail.com>
52480
1aae088a
UD
52481 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52482 OSXSAVE.
52483 (_dl_x86_64_save_sse): Likewise.
52484
8e2045f5
UD
52485 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52486
90f139dd
UD
52487 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52488
1d002f25
AS
524892011-07-21 Andreas Schwab <schwab@redhat.com>
52490
52491 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52492 change.
52493 (_dl_x86_64_save_sse): Use correct AVX check.
52494
21137f89
UD
524952011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52496
52497 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52498 bug in strncpy/strncat.
52499 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52500
a65c0b7a
UD
525012011-07-21 Ulrich Drepper <drepper@gmail.com>
52502
52503 * string/tester.c (test_strcat): Add tests for different alignments
52504 of source and destination.
52505 (test_strncat): Likewise.
52506
6986b98a
UD
525072011-07-20 Ulrich Drepper <drepper@gmail.com>
52508
90bb2039
UD
52509 [BZ #12852]
52510 * posix/glob.c (glob): Check passed in values before using them in
52511 expressions to avoid some overflows.
52512 (glob_in_dir): Likewise.
52513
5644ef54
UD
52514 [BZ #13007]
52515 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52516 check for AVX enablement so that we don't crash with old kernels and
52517 new hardware.
52518 * elf/tst-audit4.c: Add same checks here.
52519 * elf/tst-audit6.c: Likewise.
52520
52521 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 52522
bfc9dc9b
AS
525232011-07-09 Andreas Schwab <schwab@linux-m68k.org>
52524
52525 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52526
702e64bb
UD
525272011-07-20 Ulrich Drepper <drepper@gmail.com>
52528
52529 * po/cs.po: Update from translation team.
52530 * po/bg.po: Likewise.
52531
295e904f
MP
525322011-07-12 Marek Polacek <mpolacek@redhat.com>
52533
52534 * misc/sys/cdefs.h: Add support for const attribute.
52535 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52536 to gnu_dev_{major,minor,makedev} functions.
52537
3ff94596
MP
525382011-07-20 Marek Polacek <mpolacek@redhat.com>
52539
52540 * intl/dcigettext.c (get_output_charset): Add missing bracket.
52541
28b59fca
AS
525422011-07-20 Andreas Schwab <schwab@redhat.com>
52543
52544 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52545 strlen results.
52546
19df733e
AK
525472011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52548
52549 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52550 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52551 register in order to avoid conflicts with the soft frame pointer
52552 being held in r11 when necessary.
52553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52554 (INTERNAL_VSYSCALL_NCS): Likewise.
52555
c8835729
MP
525562011-07-14 Marek Polacek <mpolacek@redhat.com>
52557
52558 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52559 * elf/dl-fini.c (_dl_fini): Adjust caller.
52560 * elf/dl-close.c (_dl_close_worker): Likewise.
52561 * sysdeps/generic/ldsodefs.h: Adjust declaration.
52562
b902330c
MP
525632011-07-15 Marek Polacek <mpolacek@redhat.com>
52564
8991e135
MP
52565 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52566 "aux_cache->nlibs < 0".
52567
b902330c
MP
52568 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52569 in the reload-count case.
52570
99710781
LD
525712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52572
52573 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52574 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52575 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52576 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52577 * sysdeps/x86_64/multiarch/strcat.S: New file.
52578 * sysdeps/x86_64/multiarch/strncat.S: New file.
52579 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52580 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52581 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52582 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52583 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52584 (USE_AS_STRCAT): Define.
52585 Add strcat and strncat support.
52586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52587 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52588 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52589 * string/strncat.c: Update.
52590 (USE_AS_STRNCAT): Define.
52591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52592 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52593 and i7.
52594 * sysdeps/x86_64/multiarch/init-arch.h
52595 (bit_Prefer_PMINUB_for_stringop): New.
52596 (index_Prefer_PMINUB_for_stringop): Likewise.
52597 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52598 bit_Prefer_PMINUB_for_stringop.
52599
7dc6bd90
UD
526002011-07-19 Ulrich Drepper <drepper@gmail.com>
52601
52602 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52603 buffer64.
52604 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52605 of casting of buffer.
52606 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52607 buffer32 and buffer64.
52608 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52609 writes instead of casting of buffer.
52610 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52611 buffer32.
52612 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52613 casting of buffer.
52614
e0e72284
AS
526152011-07-19 Andreas Schwab <schwab@redhat.com>
52616
52617 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52618
feb1eb0b
UD
526192011-07-19 Ulrich Drepper <drepper@gmail.com>
52620
52621 * nscd/nscd.c (termination_handler): Don't do anything for a database
52622 if it has not yet been initialized.
52623
298711ff
UD
526242011-07-18 Ulrich Drepper <drepper@gmail.com>
52625
52626 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52627
526282011-07-15 Marek Polacek <mpolacek@redhat.com>
52629
52630 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52631
f9d68389
UD
526322011-07-18 Ulrich Drepper <drepper@gmail.com>
52633
52634 * po/nl.po: Update from translation team.
52635 * po/sv.po: Likewise.
52636
db290cf5
RM
526372011-07-16 Roland McGrath <roland@hack.frob.com>
52638
52639 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52640 now disallowed by GCC.
5c550700 52641
fd5e21c7
RM
52642 * configure.in (use-default-link): Default to yes if a test -shared
52643 link meets our qualifications.
52644 * configure: Regenerated.
52645
5c550700
RM
52646 * config.make.in (output-format): New variable.
52647 * configure.in: Check for ld --print-output-format support.
52648 * configure: Regenerated.
52649 * Makerules ($(common-objpfx)format.lds)
52650 [$(output-format) != unknown]: Just use $(output-format),
52651 instead of the linker-script munging.
52652
9fa2c032
RM
526532011-07-14 Roland McGrath <roland@hack.frob.com>
52654
a6928d51
RM
52655 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52656 of $(common-objpfx)shlib.lds.
52657 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52658
661607b3
RM
52659 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52660 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52661
9fa2c032
RM
52662 * configure.in (-z relro check): Adjust test code to add a large
52663 writable data section after it.
52664 * configure: Regenerated.
52665
defe9061
RM
526662011-07-11 Roland McGrath <roland@hack.frob.com>
52667
52668 * configure.in (-z relro check): Fix test code to make the variable
52669 truly const.
52670 * configure: Regenerated.
52671
319b9ad4
UD
526722011-07-11 Ulrich Drepper <drepper@gmail.com>
52673
52674 * nscd/nscd.h (struct traced_file): Define.
52675 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52676 elements. Add traced_files.
52677 (inotify_fd): Declare.
52678 (register_traced_file): Declare.
52679 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52680 (inotify_fd): Export.
52681 (resolv_conf_descr): Remove.
52682 (nscd_init): Move inotify descriptor creation to main.
52683 Don't register files for notification here.
52684 (register_traced_file): New function.
52685 (invalidate_cache): Don't use reset_res to determine whether to call
52686 res_init, go through the list of registered files.
52687 (main_loop_poll): The inotify descriptors are now stored in the
52688 structures for the traced files.
52689 (main_loop_epoll): Likewise
52690 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52691 to __nss_disable_nscd.
52692 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52693 for a database anymore. Check the records for all the registered
52694 files instead.
52695 * nss/Makefile (libnss_files-routines): Add files-init.
52696 (libnss_db-routines): Add db-init.
52697 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52698 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52699 * nss/nss_db/db-init.c: New file.
52700 * nss/nss_files/files-init.c: New file.
52701 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52702 __nss_lookup_function.
52703 (__nss_lookup_function): Call nss_load_library.
52704 (nss_load_all_libraries): New function.
52705 (__nss_disable_nscd): Take parameter with callback function for files
52706 to register. Set is_nscd. Load all the DSOs for the NSS modules
52707 used for the cached services.
52708 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52709 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52710 options for features to all the files in nscd.
52711
52712 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52713
23bee3e8
RM
527142011-07-10 Roland McGrath <roland@hack.frob.com>
52715
52716 * csu/elf-init.c (__libc_csu_init): Comment typo.
52717
46a5b7f0
UD
527182011-07-09 Ulrich Drepper <drepper@gmail.com>
52719
52720 * po/pl.po: Update from translation team.
52721 * po/ja.po: Likewise.
52722 * po/ru.po: Likewise.
52723 * po/ko.po: Likewise.
52724 * po/fr.po: Likewise.
52725
d30cf5bb
RM
527262011-07-09 Roland McGrath <roland@hack.frob.com>
52727
113ddea4
RM
52728 * configure.in (.ctors/.dtors header and trailer check):
52729 Use an empirical test on a built program.
52730 * configure: Regenerated.
52731
574920b4
RM
52732 * configure.in (-z relro check): Use an empirical test on a built DSO.
52733 Detect, but do not require, on ia64.
52734 * configure: Regenerated.
52735
d30cf5bb
RM
52736 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52737 Update tests that use readelf to use $READELF instead.
52738 * configure: Regenerated.
52739
8538fdb3
UD
527402011-07-08 Ulrich Drepper <drepper@gmail.com>
52741
52742 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52743 if the result is not used.
52744
04d08991
AJ
527452011-07-05 Andreas Jaeger <aj@suse.de>
52746
52747 [BZ#9696]
52748 * stdlib/tst-strtod.c: Add testcase.
52749
de283087
AD
527502011-07-07 Ulrich Drepper <drepper@gmail.com>
52751
4e5f31c8 52752 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 52753 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
52754 The latter has a higher limit. Take additional parameter to pass to
52755 the new function.
52756 (__pathconf): Pass file to __statfs_link_max.
52757 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52758 __statfs_link_max.
52759 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52760 __statfs_link_max.
52761
de283087
AD
52762 [BZ #12868]
52763 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52764 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52765 Handle Lustre.
52766 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52767 (__statfs_filesize_max): Likewise.
52768 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52769
c75fa153
AJ
527702011-07-05 Andreas Jaeger <aj@suse.de>
52771
52772 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52773
1a544854
UD
527742011-07-06 Marek Polacek <mpolacek@redhat.com>
52775
52776 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52777 `status' variable.
52778 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52779 Likewise.
52780
6f0eec67
UD
527812011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52782
52783 * Makefile (strop-tests): Add strncat.
52784 * string/test-strncat.c: New file.
52785
aae30307
UD
527862011-06-30 Marek Polacek <mpolacek@redhat.com>
52787
52788 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52789
c0cfb5eb
UD
527902011-06-21 Andreas Jaeger <aj@suse.de>
52791
52792 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52793 Copy rule from iconvdata/Makefile.
52794
01636b21
UD
527952011-07-06 Ulrich Drepper <drepper@gmail.com>
52796
52797 [BZ #12922]
52798 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52799 but no long options are defined, just return 'W'.
52800
9895c8bc
UD
528012011-06-22 Marek Polacek <mpolacek@redhat.com>
52802
52803 [BZ #9696]
52804 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52805
5d4cf042
UD
528062011-07-06 Ulrich Drepper <drepper@gmail.com>
52807
52808 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52809 netgroups to read.
960e5535 52810 (innetgr): Likewise.
5d4cf042 52811
751eb97e
RM
528122011-07-05 Roland McGrath <roland@hack.frob.com>
52813
52814 * config.make.in (install_root): Default to $(DESTDIR).
52815
f15f1e45
UD
528162011-07-05 Ulrich Drepper <drepper@gmail.com>
52817
52818 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52819
4e34ac6a
RM
528202011-07-02 Roland McGrath <roland@hack.frob.com>
52821
5e9b6af4
RM
52822 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52823
84f9ea0f
RM
52824 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52825 containing directory rather than embedding absolute directory names.
52826
ea5ee9f7
RM
52827 * scripts/check-local-headers.sh: Rewritten using awk.
52828 Match by word, not by line. Print error messages for matches.
52829 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52830
1b74661a
RM
52831 * Makerules [shlib-lds-flags empty]:
52832 ($(common-objpfx)libc_pic.opts): New target.
52833 ($(common-objpfx)libc_pic.os.clean): New target.
52834 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52835
52836 * config.make.in (OBJCOPY): New variable.
52837 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52838 * configure: Regenerated.
52839
f781ef40
RM
52840 * config.make.in (use-default-link): New variable.
52841 * configure.in (use_default_link): Grok --with-default-link to set it.
52842 * configure: Regenerated.
52843 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52844 (shlib-lds, shlib-lds-flags): Define to empty.
52845
2d4fa81e
RM
52846 * Makerules (shlib-lds): New variable.
52847 (shlib-lds-flags): New variable.
52848 (build-shlib, build-moduile, build-module-asneeded): Use it.
52849 ($(common-objpfx)libc.so): Use $(shlib-lds).
52850 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52851 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52852
31fffa6b
RM
52853 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52854 DT_FLAGS/DT_FLAGS_1 with zero flags.
52855
4e34ac6a
RM
52856 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52857 linker script munging.
52858
fcfc776b
UD
528592011-07-02 Ulrich Drepper <drepper@gmail.com>
52860
52861 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52862 as 128-bit value.
52863 * crypt/sha512.c (sha512_process_block): Perform total addition using
52864 128-bit if possible.
52865 (__sha512_finish_ctx): Likewise.
52866 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52867 as 64-bit value.
52868 * crypt/sha256.c (SWAP64): Define.
52869 (sha256_process_block): Perform total addition using 64-bit if
52870 possible.
52871 (__sha256_finish_ctx): Likewise.
52872
99231d9a
UD
528732011-07-01 Ulrich Drepper <drepper@gmail.com>
52874
52875 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52876 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52877 * nscd/hstcache.c (cache_addhst): Likewise.
52878 * nscd/grpcache.c (cache_addgr): Likewise.
52879 * nscd/aicache.c (addhstaiX): Likewise
52880 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52881
445b4a53
TK
528822011-07-01 Thorsten Kukuk <kukuk@suse.de>
52883
52884 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52885 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52886 * nscd/hstcache.c (cache_addhst): Likewise.
52887 * nscd/grpcache.c (cache_addgr): Likewise.
52888 * nscd/aicache.c (addhstaiX): Likewise
52889
6d4d8e8e
AS
528902011-07-01 Andreas Schwab <schwab@redhat.com>
52891
52892 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52893 domain only when needed.
52894
89f654c5
AS
528952011-06-30 Andreas Schwab <schwab@redhat.com>
52896
52897 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52898 is always restored.
52899
cf3b23ff
UD
529002011-06-29 Ulrich Drepper <drepper@gmail.com>
52901
52902 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52903 are re-adding the entry.
52904 * nscd/servicescache.c (cache_addserv): Likewise.
52905
751626f9
AJ
529062011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52907
52908 * sysdeps/generic/dl-irel.h: fix protection against multiple
52909 inclusions.
52910 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52911
9113ea1f
UD
529122011-06-28 Ulrich Drepper <drepper@gmail.com>
52913
5c0b8d90
UD
52914 [BZ #12935]
52915 * malloc/memusage.sh: Fix quoting in message.
52916 * debug/xtrace.sh: Likewise.
52917
9113ea1f
UD
52918 * configure.in: Remove support for --experimental-malloc option, make
52919 it the default.
52920 * config.make.in: Likewise.
52921 * malloc/Makefile: Likewise.
52922
a4172181
AS
529232011-06-27 Andreas Schwab <schwab@redhat.com>
52924
52925 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52926 two-byte characters.
52927
78a7eee7
RM
529282011-06-27 Roland McGrath <roland@hack.frob.com>
52929
62bede13
RM
52930 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52931 AC_CACHE_CHECK invocation.
52932 * configure: Regenerated.
52933
78a7eee7
RM
52934 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52935
5ce33a62
UD
529362011-06-27 Ulrich Drepper <drepper@gmail.com>
52937
034807a9
UD
52938 [BZ #12350]
52939 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52940 bit from old_res_options.
52941
4902da17
UD
52942 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52943
5ce33a62
UD
52944 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52945 value type for setfct.
52946
c2344f56
L
529472011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52948
52949 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52950 __gettimeofday instead of gettimeofday.
52951
68468076
UD
529522011-06-26 Ulrich Drepper <drepper@gmail.com>
52953
52954 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52955
acb0d739
L
529562011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52957
52958 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52959
52960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52961 info.
52962
8912479f
L
529632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52964
52965 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52966 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52967 strcpy-sse2-unaligned strncpy-sse2-unaligned
52968 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52969 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52970 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52971 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52972 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52974 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52975 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52976 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52977 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52978 (STRCPY): Support SSE2 and SSSE3 versions.
52979
d5495a11
UD
529802011-06-24 Ulrich Drepper <drepper@gmail.com>
52981
52982 [BZ #12874]
52983 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52984 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52985 kernels which artificially limit size of requests.
52986
0b1cbaae
L
529872011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52988
52989 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52990 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52991 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52992 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52993 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52994 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52995 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52996 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52997 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52998 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52999 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53000 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53001 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53002 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53003 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53005 Enable unaligned load optimization for Intel Core i3, i5 and i7
53006 processors.
53007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53008 Define.
53009 (index_Fast_Unaligned_Load): Define.
53010 (HAS_FAST_UNALIGNED_LOAD): Define.
53011
07f494a0
MP
530122011-06-23 Marek Polacek <mpolacek@redhat.com>
53013
53014 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53015
fa3fc0fe
UD
530162011-06-22 Ulrich Drepper <drepper@gmail.com>
53017
53018 [BZ #12907]
53019 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53020 until it is clear that the information is realy needed.
53021 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53022
e12df166
AS
530232011-06-22 Andreas Schwab <schwab@redhat.com>
53024
53025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53026
852eb34d
UD
530272011-06-22 Ulrich Drepper <drepper@gmail.com>
53028
84e2a551
UD
53029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53030 /sys/devices/system/cpu/online if it is usable.
53031
852eb34d
UD
53032 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53033 reading the information from the /proc filesystem to once a second.
53034
6e502e19
UD
530352011-06-21 Andreas Jaeger <aj@suse.de>
53036
53037 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53038 NULL after inclusion of kernel headers.
53039
75d39ff2
UD
530402011-06-21 Ulrich Drepper <drepper@gmail.com>
53041
51f9aa6a
UD
53042 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53043 calls to internal_setent.
53044
c0244a9d
UD
53045 [BZ #12885]
53046 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53047 addresses using gethostbyname4_r ignore IPv4 addresses.
53048
c5e3c2ae
UD
53049 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53050 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53051
75d39ff2
UD
53052 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53053
42675c6f
DM
530542011-06-20 David S. Miller <davem@davemloft.net>
53055
53056 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53057 inclusions.
53058 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53059
53060 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53061 (elf_irel): Use it.
53062 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53063 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53064 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53065 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53066 * sysdeps/x86_64/dl-irel.h: Likewise.
53067
53068 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53069 * elf/dl-sym.c: Likewise.
53070
57912a71
UD
530712011-06-15 Ulrich Drepper <drepper@gmail.com>
53072
53073 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53074 need to dereference resplen2.
53075
ee22793d
AS
530762011-06-14 Andreas Schwab <schwab@redhat.com>
53077
53078 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53079
a9e836b0
UD
530802011-06-15 Ulrich Drepper <drepper@gmail.com>
53081
77fb9117
UD
53082 * Makeconfig: Define vardbdir and inst_vardbdir.
53083 * nss/Makefile: Add rules to install db-Makefile.
53084
40c1b22c
UD
53085 * nss/nss_db/db-XXX.c: Cleanup.
53086
9f2da732
UD
53087 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53088 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53089 GLIBC_PRIVATE.
53090 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53091 * nss/makedb.c: Implement -g option to specify that value strings
53092 are generated and should not be added to table iterated over for
53093 get*ent calls.
53094 * nss/nss_db/db-initgroups.c: New file.
53095
82e9a1f7
UD
53096 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53097 interface.
53098
c41af17e
UD
53099 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53100 (internal_getgrouplist): Adjust to name change.
53101 Update use_initgroups_entry if this is not the first call.
53102 * nss/databases.def: Add initgroups entry.
53103
a9e836b0
UD
53104 * nss/makedb.c (compute_tables): Check result of multiple hash table
53105 sizes to minimize maximum chain length.
53106
2666d441
UD
531072011-06-14 Ulrich Drepper <drepper@gmail.com>
53108
53109 * Versions.def: Add entry for libnss_db.
53110 * shlib-versions: Likewise.
53111 * nss/Makefile: Add rules to build libnss_db.
53112 * nss/Versions: Add libnss_db information. Organize libnss_files
53113 entries better.
53114 * nss/db-Makefile: Add gshadow support. Change rules for the new
53115 makedb progra. Some minor improvements to generate smaller files.
53116 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53117 here from...
53118 * nss/makedb.c: ...here.
53119 Improve database format to be smaller and require less memory at
53120 runtime.
53121 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53122 db anymore.
53123 * nss/nss_db/db-netgrp.c: Likewise.
53124 * nss/nss_db/db-open.c: Likewise.
53125 * nss/nss_files/flies-XXX.x: Adjust comments.
53126 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53127 * nss/nss_files/files-grp.c: Likewise.
53128 * nss/nss_files/files-hosts.c: Likewise.
53129 * nss/nss_files/files-network.c: Likewise.
53130 * nss/nss_files/files-proto.c: Likewise.
53131 * nss/nss_files/files-pwd.c: Likewise.
53132 * nss/nss_files/files-rpc.c: Likewise.
53133 * nss/nss_files/files-service.c: Likewise.
53134 * nss/nss_files/files-sgrp.c: Likewise.
53135 * nss/nss_files/files-spwd.c: Likewise.
53136 * nss/nss_db/db-alias.c: Removed.
53137 * nss/nss_db/dummy-db.h: Removed.
53138
9ee76b5a
UD
531392011-06-02 Ulrich Drepper <drepper@gmail.com>
53140
53141 * nss/makedb.c: Rewritten to not use database library.
53142 * nss/Makefile: Update to build new makedb program.
53143
c71ca1f8
AJ
531442011-06-14 Andreas Jaeger <aj@suse.de>
53145
53146 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53147 memset declaration.
53148
3154bfb8
UD
531492011-06-10 Andreas Schwab <schwab@redhat.com>
53150
53151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53152 tmpbuf.
53153
b350afab
RM
531542011-06-10 Roland McGrath <roland@hack.frob.com>
53155
decd4e50
RM
53156 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53157 * elf/Makefile ($(objpfx)ld.so): Likewise.
53158
5615eaf2
RM
53159 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53160 Don't list ld.so twice in dependencies.
53161
53162 * posix/bug-regex31.c: Include <stdlib.h>.
53163
53164 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53165
53166 * nis/nss_compat/compat-spwd.c
53167 (getspent_next_nss_netgr): Remove unused variable.
53168 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53169
53170 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53171 nonmembers" output to use the right array.
53172
53173 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53174
53175 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53176
53177 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53178 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53179 * catgets/gencat.c (read_input_file): Likewise.
53180 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53181
53182 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53183 variable definition inside #if's controlling its use.
53184
53185 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53186
53187 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53188
53189 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53190
53191 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53192 unreachable code.
53193
53194 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53195
b68e08db
RM
53196 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53197 * configure: Regenerated.
53198
b350afab
RM
53199 * Makerules: Revert last change.
53200 * elf/Makefile: Likewise.
53201
28368601
RM
532022011-06-09 Roland McGrath <roland@hack.frob.com>
53203
53204 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53205 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53206 (reloc-link): Likewise.
53207
11988f8f
UD
532082011-06-09 Ulrich Drepper <drepper@gmail.com>
53209
53210 * elf/Makefile: Add rules to build pldd.
53211 * elf/pldd.c: New file.
53212 * elf/pldd-xx.c: New file.
53213
e80fab37
UD
532142011-06-07 Ulrich Drepper <drepper@gmail.com>
53215
53216 * version.h: Update for 2.15 development version.
53217
9b849836
DM
532182011-06-07 David S. Miller <davem@davemloft.net>
53219
53220 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53221 ifuncs.
53222 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53223 elf_machine_lazy_rel): Likewise.
53224 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53225 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53226 elf_machine_lazy_rel): Likewise.
53227 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53228 dl_hwcap via passed in argument.
53229 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53230 Likewise.
53231
5a31b283
AK
532322011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53233
53234 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53235
069e52f8
RM
532362011-06-06 Roland McGrath <roland@hack.frob.com>
53237
53238 [BZ #12849]
53239 * manual/fdl-1.1.texi: New file, verbatim from:
53240 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53241 * manual/lgpl-2.1.texi: New file, verbatim from:
53242 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53243 * manual/Makefile (licenses): New variable, list those new file names.
53244 (texis): Use it.
53245 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53246
53247 * manual/fdl.texi: File removed.
53248 * manual/lesser.texi: File removed.
53249 * manual/libc.texinfo (Copying, Documentation License):
53250 Use new @include file names, put @appendix directive before @include.
53251
f16846a5
JJ
532522011-06-04 Jakub Jelinek <jakub@redhat.com>
53253
53254 [BZ #12841]
53255 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53256 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53257 (mq_open): Add __NTH.
53258
3d29045b
L
532592011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53260
53261 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53262 Assume Intel Core i3/i5/i7 processor if AVX is available.
53263
8c297311
UD
532642011-05-31 Ulrich Drepper <drepper@gmail.com>
53265
53266 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53267 typo.
53268
c8fc0c91
UD
532692011-05-31 Andreas Schwab <schwab@redhat.com>
53270
53271 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53272 memory. Use alloca_account. Fix memory leak when retrying.
53273
5b27a807
UD
532742011-05-31 Ulrich Drepper <drepper@gmail.com>
53275
356f8bc6
UD
53276 * version.h (RELEASE): Bump for 2.14 release.
53277 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53278
5b27a807
UD
53279 * config.make.in (RANLIB): Remove entry.
53280
01f16ab0
UD
532812011-05-30 Ulrich Drepper <drepper@gmail.com>
53282
41fce8bd
UD
53283 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53284 (libc.pot): Work around missing support for .ksh extension in xgettext.
53285
4769ae77
UD
53286 [BZ #12684]
53287 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53288 if both request failed.
53289 (send_dg): In case of server errors clear resplen or *resplen2.
53290
6b1e7d19
UD
53291 [BZ #12454]
53292 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53293 when there are multiple maps.
53294 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53295 (_dl_fini): Remove test here.
53296
01f16ab0
UD
53297 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53298
b1ebd700
UD
532992011-05-29 Ulrich Drepper <drepper@gmail.com>
53300
7ae22829
UD
53301 [BZ #12350]
53302 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53303 bit from old_res_options.
53304 (gaih_inet): Likewise.
53305
553149f6 53306 [BZ #11099]
18a84741 53307 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53308 as signed.
53309
652ffab1
UD
53310 * resolv/res_init.c (res_setoptions): Make the code more compact.
53311
16985fd0
UD
53312 [BZ #11558]
53313 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53314 set RES_USEVC.
53315
0464f746
UD
53316 [BZ #11634]
53317 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53318
7d17596c
UD
53319 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53320
cf6bbbd7
UD
53321 [BZ #11781]
53322 * malloc/malloc.h: Declare malloc hook variables as volatile.
53323
13f1ab36
UD
53324 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53325 in last patch.
53326
b1ebd700
UD
53327 [BZ #11799]
53328 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53329 raise in the comment.
80e2212d
UD
53330 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53331 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53332 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53333
ce67228d
UD
533342011-05-28 Ulrich Drepper <drepper@gmail.com>
53335
8887a920
UD
53336 [BZ #12811]
53337 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53338 grow the buffers more if it already has to be sufficient.
53339 (build_wcs_upper_buffer): Likewise.
53340 * posix/regexec.c (check_matching): Likewise.
53341 (clean_state_log_if_needed): Likewise.
53342 (extend_buffers): Don't enlarge buffers beyond size of the input
53343 buffer.
53344 Patches mostly by Emil Wojak <emil@wojak.eu>.
53345 * posix/bug-regex32.c: New file.
53346 * posix/Makefile (tests): Add bug-regex32.
53347
4f031072
UD
53348 * locale/findlocale.c (_nl_find_locale): Return right away if
53349 _nl_explode_name failed.
53350 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53351
d0478f0c
UD
53352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53353
de81b246
UD
53354 * debug/xtrace.sh: Unify messages.
53355 * malloc/memusage.sh: Likewise.
53356
c738465a
UD
53357 [BZ #12813]
53358 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53359 time symbol from vDSO. Substitute with vsyscall if not available.
53360 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53361 __vdso_time.
53362
f1f929d7
UD
53363 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53364 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53365 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53366 Add sendmmsg and internal_sendmmsg.
53367 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53368 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53369 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53370
ce67228d
UD
53371 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53372 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53373 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53374
e57420c6
UD
533752011-05-27 Ulrich Drepper <drepper@gmail.com>
53376
a8509ca5
UD
53377 [BZ #12813]
53378 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53379 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53380 available.
53381 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53382 __vdso_getcpu.
53383
e57420c6
UD
53384 [BZ #12814]
53385 * iconvdata/Makefile (tests): Add bug-iconv9.
53386 * iconvdata/bug-iconv9.c: New file.
53387
4d07db15
AS
533882011-05-27 Andreas Schwab <schwab@redhat.com>
53389
53390 [BZ #12814]
53391 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53392
ea486f69
JJ
533932011-05-25 Jakub Jelinek <jakub@redhat.com>
53394
53395 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53396 (struct user_regs_struct): Change intcs field back to cs.
53397
6f038433
UD
533982011-05-25 Ulrich Drepper <drepper@gmail.com>
53399
53400 * po/ja.po: Update from translation team.
53401
67f86a25
UD
534022011-05-23 Ulrich Drepper <drepper@gmail.com>
53403
53404 [BZ #12795]
53405 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53406 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53407
def7fbd6
AS
534082011-05-20 Andreas Schwab <schwab@redhat.com>
53409
53410 * stdlib/longlong.h: Update from GCC.
53411
f50ef8f1
AS
534122011-05-23 Andreas Schwab <schwab@redhat.com>
53413
53414 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53415 parameter name.
53416 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53417 Add parameter name.
53418 (__sysconf): Pass it down.
53419
de7ce8f1
UD
534202011-05-22 Ulrich Drepper <drepper@gmail.com>
53421
f2962a71
UD
53422 [BZ #12671]
53423 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53424 some situations.
53425 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53426 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53427 add in in __libc_use_alloca calls. Adjust callers.
53428 (glob): Use malloc in some situations.
53429
de7ce8f1
UD
53430 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53431 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53432 pltexit.
53433
aec84f53
UD
534342011-05-21 Ulrich Drepper <drepper@gmail.com>
53435
05bb4a68
UD
53436 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53437 and CLOCK_BOOTTIME_ALARM.
53438
7ea72f99
UD
53439 [BZ #12782]
53440 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53441 is returned.
53442
7e4afad5
UD
53443 * string/_strerror.c (__strerror_r): Print negative errors as signed
53444 numbers.
53445
8e211fec
UD
53446 [BZ #12777]
53447 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53448 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53449 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53450
f7d82dc9
UD
53451 * configure.in: Fix typo in redirection and correct removal of test
53452 files in two cases.
53453
cc9e536d
UD
53454 [BZ #12788]
53455 * locale/setlocale.c (new_composite_name): Fix test to check for
53456 identical name of all categories.
53457
aec84f53
UD
53458 [BZ #12792]
53459 * libio/filedoalloc.c (local_isatty): New function.
53460 (_IO_file_doallocate): Use local_isatty.
53461 * stdio-common/perror.c (perror): In case a new stream is used
53462 forward the stream error.
53463 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53464 error flag.
53465
78e64fdc
RT
534662011-05-20 Ulrich Drepper <drepper@gmail.com>
53467
34a9094f
UD
53468 [BZ #11869]
53469 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53470 alloca.
53471 * include/alloca.h (extend_alloca_account): Define.
53472
78e64fdc
RT
53473 [BZ #11857]
53474 * posix/regex.h: Fix comments with documentation of user-accessible
53475 fields after compilation and describe correct free'ing of pattern
53476 after re_compile_pattern.
53477 Patch by Reuben Thomas <rrt@sc3d.org>.
53478
457bddfc
RA
534792011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
53480
53481 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53482 and -mno-altivec to prevent the compiler from using Altivec and/or
53483 VSX instructions when the corresponding registers are not available.
53484
a4527b51
AS
534852011-05-19 Andreas Schwab <schwab@redhat.com>
53486
53487 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53488
ed690b2f
UD
534892011-05-19 Ulrich Drepper <drepper@gmail.com>
53490
53491 * libio/freopen.c (freopen): Use __dup2, not dup2.
53492 * libio/freopen64.c (freopen64): Likewise.
53493
8db73634
L
534942011-05-17 H.J. Lu <hongjiu.lu@intel.com>
53495
53496 [BZ #12775]
53497 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53498 * math/Makefile (tests): Add test-powl.
53499 (CFLAGS-test-powl.c): Define.
53500 * math/test-powl.c: New file.
53501
0a197a9d
L
535022011-05-16 H.J. Lu <hongjiu.lu@intel.com>
53503
53504 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53505
ee30c380
UD
535062011-05-17 Ulrich Drepper <drepper@gmail.com>
53507
53508 [BZ #11837]
53509 * iconvdata/gb18030.c: Update to GB18020-2005.
53510
6ce75379
UD
535112011-05-16 Ulrich Drepper <drepper@gmail.com>
53512
a4b89fd8
AR
53513 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53514 RE_SYNTAX_POSIX_AWK): Update to match recent development.
53515 Patch by Aharon Robbins <arnold@skeeve.com>.
53516
ea389b12
UD
53517 [BZ #11892]
53518 * stdlib/putenv.c (putenv): Don't always create copy of the variable
53519 on the stack.
53520
68a3f91f
UD
53521 [BZ #11895]
53522 * misc/pselect.c (__pselect): Handle timeout value errors hidden
53523 through underflows.
53524
15cc7dd1
UD
53525 [BZ #12766]
53526 * misc/error.c (error_at_line): Ensure file_name and old_file_name
53527 point to strings before performing equality test for error_one_per_line
53528 mode.
53529
f3799213
UD
53530 [BZ #11697]
53531 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53532
d79a9c94
UD
53533 [BZ #11820]
53534 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53535 (struct user_fpregs_struct): Avoid __uint*_t types.
53536
56e5eb46
UD
53537 [BZ #6420]
53538 * malloc/mtrace.c (tr_where): Add additional parameter to point to
53539 symbol info. Use it instead of calling _dl_addr locally.
53540 (lock_and_info): New function.
53541 (tr_freehook): Call lock_and_info and pass symbol info as additional
53542 parameter to tr_where.
53543 (tr_mallochook): Likewise.
53544 (tr_reallochook): Likewise.
53545 (tr_memalignhook): Likewise.
53546
6ce75379
UD
53547 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
53548 used and couldn't be at all thread-safe.
53549
f8a3b5bf
UD
535502011-05-15 Ulrich Drepper <drepper@gmail.com>
53551
94b7cc37
UD
53552 * libio/freopen.c (freopen): Don't close old file descriptor
53553 before the new one is opened. Instead dup the new file descriptor
53554 to the old one after the new stream is created.
53555 * libio/freopen64.c (freopen64): Likewise.
53556 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53557 * libio/fileops.c (_IO_new_file_close_it): Handle new
53558 _IO_FLAGS2_NOCLOSE flag.
53559 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53560 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53561 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53562 _IO_FLAGS2_NOCLOSE flag.
53563 * include/unistd.h: Add hidden_proto for dup3.
53564 Define __have_dup3.
53565 * io/dup3.c: Define hidden symbol.
53566 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53567
bd25564e
UD
53568 [BZ #7101]
53569 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53570 when an incomplete long option is used.
53571 * posix/tst-getopt_long1.c: New file.
53572 * posix/Makefile (tests): Add tst-getopt_long1.
53573
c84cfef4
UD
53574 [BZ #10138]
53575 * scripts/config.guess: Update from autoconf-2.68.
53576 * scripts/config.sub: Likewise.
53577
3b85df27
UD
53578 [BZ #10157]
53579 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53580 tests into ...
53581 (has_cpuclock): ...this. New function.
53582 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53583 macro here based on has_cpuclock code.
53584
15a856b1
UD
53585 [BZ #10149]
53586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53587 First byte (not low byte) is now always NUL.
53588 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53589
05f399e6
UD
53590 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53591 Use non-cancelable interfaces.
53592
10a52685 53593 [BZ #9809]
94ecc67d
UD
53594 * locale/iso-639.def: Add entry for Sorani.
53595
f8a3b5bf
UD
53596 [BZ #11901]
53597 * include/stdlib.h: Move include protection to the right place.
53598 Define abort_msg_s. Declare __abort_msg with it.
53599 * stdlib/abort.c (__abort_msg): Adjust type.
53600 * assert/assert.c (__assert_fail_base): New function. Majority
53601 of code from __assert_fail. Allocate memory for __abort_msg with
53602 mmap.
53603 (__assert_fail): Now call __assert_fail_base.
53604 * assert/assert-perr.c: Remove bulk of implementation. Use
53605 __assert_fail_base.
53606 * include/assert.hL Declare __assert_fail_base.
53607 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53608 mmap.
53609 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53610
1af4e298
UD
536112011-05-14 Ulrich Drepper <drepper@gmail.com>
53612
f8a3b5bf 53613 [BZ #11952]
d26dfc60
MG
53614 [BZ #12453]
53615 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53616 until all modules are registered in the DTV.
53617 * elf/Makefile: Add rules to build and run tst-tls19.
53618 * elf/tst-tls19.c: New file.
53619 * elf/tst-tls19mod1.c: New file.
53620 * elf/tst-tls19mod2.c: New file.
53621 * elf/tst-tls19mod3.c: New file.
53622 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53623
2fc54d6f
UD
53624 [BZ #12083]
53625 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53626 correctly.
53627
98d76b46
UD
53628 [BZ #12601]
53629 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53630 two-byte sequence errors.
53631 * iconvdata/Makefile (tests): Add bug-iconv8.
53632 * iconvdata/bug-iconv8.c: New file.
53633
da3c19ef
UD
53634 [BZ #12626]
53635 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53636 buf2 definition.
53637
ca408c15
UD
53638 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53639
d6f67f7d
UD
53640 [BZ #12432]
53641 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53642 (dummy_getcfa): New function.
53643 (init): Get _Unwind_GetCFA address, use dummy if not found.
53644 (backtrace_helper): In recursion check, also check whether CFA changes.
53645 (__backtrace): Completely initialize arg.
53646
1af4e298 53647 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
53648 storing incomplete byte sequence in state object. Avoid testing for
53649 guaranteed too small input if we know there is enough data available.
1af4e298 53650
da62f81b
AS
536512011-05-11 Andreas Schwab <schwab@redhat.com>
53652
53653 * Makeconfig (+link-pie): Indent.
53654 * Rules (binaries-pie): Define if $(have-fpie) and
53655 $(build-shared).
53656 (binaries-shared): Also filter out $(binaries-pie).
53657 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53658 * nscd/Makefile (others-pie): Add nscd.
53659 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53660 ($(objpfx)nscd): Remove command override.
53661 * login/Makefile (others-pie): Add pt_chown.
53662 ($(objpfx)pt_chown): Remove command override.
53663 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53664 remove command overrides.
53665
fcabc0f8
UD
536662011-05-13 Ulrich Drepper <drepper@gmail.com>
53667
20030ae6
UD
53668 * libio/tst_putwc.c: Fix error messages.
53669
fcabc0f8
UD
53670 [BZ #12724]
53671 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53672 currently writing and seek to current position when not.
53673 * libio/Makefile (tests): Add bug-fclose1.
53674 * libio/bug-fclose1.c: New file.
53675
320a5dc0
PB
536762011-05-12 Ulrich Drepper <drepper@gmail.com>
53677
53678 [BZ #12511]
53679 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53680 don't set DF_1_NODELETE here.
53681 (do_lookup_x): When entering new entry test for copy relocation
53682 and if necessary set DF_1_NODELETE flag.
53683 * elf/tst-unique4.cc: New file.
53684 * elf/tst-unique4.h: New file.
53685 * elf/tst-unique4lib.cc: New file.
53686 * elf/Makefile: Add rules to build and run tst-unique4.
53687 Patch by Piotr Bury <pbury@goahead.com>.
53688
22836f52
UD
536892011-05-11 Ulrich Drepper <drepper@gmail.com>
53690
f574184a
UD
53691 [BZ #12052]
53692 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53693
e1fb097f
UD
53694 [BZ #12625]
53695 * misc/mntent_r.c (addmntent): Flush the stream after the output
53696
22836f52
UD
53697 [BZ #12393]
53698 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53699 (is_trusted_path_normalize): Skip initial colon. Append slash
53700 to empty buffer. Duplicate is_trusted_path code but allow
53701 constructed patch to be prefix.
53702 (is_dst): Allow $ORIGIN followed by /.
53703 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53704 Correct testing of result of is_trusted_path_normalize
53705 (decompose_rpath): Fix warning.
53706
7b3b0b2a
UD
537072011-05-10 Ulrich Drepper <drepper@gmail.com>
53708
53709 [BZ #11257]
53710 * grp/initgroups.c (internal_getgrouplist): When we found the service
53711 list through the initgroups entry in nsswitch.conf do not always
53712 continue on a successful lookup. Don't always use the
eac80ce2 53713 __nss_group_database value if it is set.
7b3b0b2a
UD
53714 * nss/nsswitch.conf (initgroups): Change action for successful db
53715 lookup to continue for compatibility.
53716
2a81eaa5
UD
537172011-05-09 Ulrich Drepper <drepper@gmail.com>
53718
be97a69e
UD
53719 [BZ #11532]
53720 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53721 and CP774 modules.
53722 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53723 and CP774 modules.
53724 * iconvdata/tst-tables.sh: Likewise.
53725 * iconvdata/cp770.c: New file.
53726 * iconvdata/cp771.c: New file.
53727 * iconvdata/cp772.c: New file.
53728 * iconvdata/cp773.c: New file.
53729 * iconvdata/cp774.c: New file.
53730 * iconvdata/testdata/CP770: New file.
53731 * iconvdata/testdata/CP770..UTF8: New file.
53732 * iconvdata/testdata/CP771: New file.
53733 * iconvdata/testdata/CP771..UTF8: New file.
53734 * iconvdata/testdata/CP772: New file.
53735 * iconvdata/testdata/CP772..UTF8: New file.
53736 * iconvdata/testdata/CP773: New file.
53737 * iconvdata/testdata/CP773..UTF8: New file.
53738 * iconvdata/testdata/CP774: New file.
53739 * iconvdata/testdata/CP774..UTF8: New file.
53740
53741 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53742 END CHARMAP line.
53743 * iconvdata/gen-8bit-gap.sh: Likewise.
53744 * iconvdata/gen-8bit.sh: Likewise.
53745
c1e9e399
UD
53746 * locale/iso-639.def: Add ary entry.
53747
24c55fb3 53748 [BZ #11258]
96b4b1b0
UD
53749 * locale/C-translit.h.in: Add U20A1 transliteration.
53750
bdc2f971
KB
53751 [BZ #12178]
53752 * locale/iso-639.def: Add wae entry.
53753 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53754
2952b117
UD
53755 [BZ #12545]
53756 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53757 for n.
53758
2a81eaa5
UD
53759 [BZ #12711]
53760 * locale/C-translit.h.in: Add entry for U20B9.
53761 Patch by pravin.d.s@gmail.com.
53762
28377d1b
UD
537632011-05-08 Ulrich Drepper <drepper@gmail.com>
53764
7fb90fb8
UD
53765 [BZ #12713]
53766 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53767 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
53768 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53769 in rtld. Use *stat64.
7fb90fb8 53770 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 53771 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 53772 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
53773 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53774 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53775 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53776 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53777 __fstatat64 macros.
7fb90fb8
UD
53778 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53779 * dirent/rewinddir.c: Add libc_hidden_def.
53780 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 53781 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 53782
28377d1b
UD
53783 * include/dirent.h (__alloc_dir): Add flags parameter.
53784 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53785 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53786 __alloc_dir.
53787 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53788 from fdopendir if O_CLOEXEC is already set.
53789
66bdbaa4
AM
537902011-03-15 Alan Modra <amodra@gmail.com>
53791
53792 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53793 l_tls_firstbyte_offset non-zero. Save padding offset in
53794 l_tls_firstbyte_offset for later use.
53795 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53796 freeing static tls block.
53797
95721191
JN
537982011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53799
53800 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53801 where #ifdef was intended. The intent is to prevent ARG_MAX from
53802 being defined by the kernel headers.
53803
f87dfb1f
UD
538042011-05-07 Ulrich Drepper <drepper@gmail.com>
53805
53806 [BZ #12734]
53807 * resolv/resolv.h: Define RES_NOTLDQUERY.
53808 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53809 no-tld-query and set RES_NOTLDQUERY.
53810 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53811 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53812 modern BIND to search name as TLD unless forbidden.
53813
47c3cd7a
UD
538142011-05-07 Petr Baudis <pasky@suse.cz>
53815 Ulrich Drepper <drepper@gmail.com>
53816
53817 [BZ #12393]
53818 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53819 (is_trusted_path): ...to here.
c1e9ea35 53820 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 53821 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 53822 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 53823
8a35c912
PP
538242011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53825
53826 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53827 __BEGIN/__END_DECLS.
53828
acd41f47
UD
538292011-05-06 Ulrich Drepper <drepper@gmail.com>
53830
53831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53832 NSS_STATUS_NOTFOUND if no record was found.
53833
597df647
AS
538342011-05-05 Andreas Schwab <schwab@redhat.com>
53835
53836 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53837 (headers-not-in-tirpc): Remove rpc/netdb.h
53838 * resolv/netdb.h: Revert last change.
53839
b9af1301
PP
538402011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53841
53842 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53843 circular dependency between libgcc.a and libc.a.
53844
4e34d5f5
AS
538452011-05-05 Andreas Schwab <schwab@redhat.com>
53846
53847 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53848 * nis/Makefile: Don't install rpcsvc/*.
53849 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53850 instead of <rpc/types.h>.
53851 (MAXHOSTNAMELEN): Define.
53852
00ee369c
AS
538532011-05-03 Andreas Schwab <schwab@redhat.com>
53854
53855 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53856
0b592a30
MB
538572011-04-28 Maciej Babinski <mbabinski@google.com>
53858
53859 [BZ #12714]
53860 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53861 gethostbyname4_r when IPv6 results are possible.
53862
6e04cbbe
UD
538632011-05-02 Ulrich Drepper <drepper@gmail.com>
53864
53865 [BZ #12723]
53866 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53867 _PC_PIPE_BUF handling.
53868
e4ecafe0
BH
538692011-04-30 Bruno Haible <bruno@clisp.org>
53870
53871 [BZ #12717]
53872 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53873 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53874 to 'int'.
53875 * inet/getnameinfo.c (getnameinfo): Likewise.
53876
125ee683
UD
538772011-04-29 Ulrich Drepper <drepper@gmail.com>
53878
53879 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53880 to groups setting in database lookup.
53881 * nss/nsswitch.conf: Add initgroups entry.
53882
b722481a
EB
538832011-04-22 Ulrich Drepper <drepper@gmail.com>
53884
53885 [BZ #12685]
53886 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53887 mode string.
53888 Patch by Eric Blake <eblake@redhat.com>.
53889
4df46dbd
L
538902011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53891
53892 * sunrpc/Makefile (need-export-routines): Add svc_run.
53893 (routines): Remove svc_run.
53894 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53895 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53896 * sunrpc/svc_run.c (svc_run): Likewise.
53897 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53898
e84142d2
UD
538992011-04-21 Ulrich Drepper <drepper@gmail.com>
53900
53901 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53902 problem in reallocation in last patch.
53903
877175d8
UD
539042011-04-20 Ulrich Drepper <drepper@gmail.com>
53905
53906 * sunrpc/Makefile: Move inclusion of Rules.
53907
ab8eed78
UD
539082011-04-19 Ulrich Drepper <drepper@gmail.com>
53909
53910 * nss/nss_files/files-initgroups.c: New file.
53911 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53912 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53913 _nss_files_initgroups_dyn.
53914
e3d8f584
RS
539152011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53916
53917 * elf/elf.h (R_ARM_IRELATIVE): Define.
53918
af190f45
UD
539192011-04-19 Ulrich Drepper <drepper@gmail.com>
53920
53921 * po/ru.po: Update from translation team.
53922
53cf59ef
UD
539232011-04-17 Ulrich Drepper <drepper@gmail.com>
53924
53925 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53926 dependencies.
53927
4c559bcd
MF
539282011-02-06 Mike Frysinger <vapier@gentoo.org>
53929
53930 [BZ #12653]
53931 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53932 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53935 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53936
4420675c
AS
539372011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53938
53939 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53940 differing bytes.
53941 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53942 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53944
75ea32ab
UD
539452011-04-17 Ulrich Drepper <drepper@gmail.com>
53946
53947 [BZ #12420]
53948 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53949 storing it.
53950 * stdlib/bug-getcontext.c: New file.
53951 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53952
27390476
AK
539532011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53954
53955 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53956 instructions into .machine "z9-109".
53957 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53958 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53959
10442705
AK
539602011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53961
53962 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53963 between environment variables and auxiliary vector.
53964
7b57bfe5
UD
539652011-04-16 Ulrich Drepper <drepper@gmail.com>
53966
53967 * Makefile: Add rules to build linkobj/libc.so.
53968 * include/libc-symbols.h: Define libc_hidden_nolink.
53969 * include/rpc/auth.h: Mark functions which are to be hidden.
53970 * include/rpc/auth_des.h: Likewise.
53971 * include/rpc/auth_unix.h: Likewise.
53972 * include/rpc/clnt.h: Likewise.
53973 * include/rpc/des_crypt.h: Likewise.
53974 * include/rpc/key_prot.h: Likewise.
53975 * include/rpc/pmap_clnt.h: Likewise.
53976 * include/rpc/pmap_prot.h: Likewise.
53977 * include/rpc/pmap_rmt.h: Likewise.
53978 * include/rpc/rpc_msg.h: Likewise.
53979 * include/rpc/svc.h: Likewise.
53980 * include/rpc/svc_auth.h: Likewise.
53981 * include/rpc/xdr.h: Likewise.
53982 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53983 * nss/Makefile: Likewise.
53984 * sunrpc/Makefile: Don't install headers. Build library with normal
53985 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53986 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53987 for the compat linking library. Remove use of INTDEF/INTUSE.
53988 * sunrpc/auth_none.c: Likewise.
53989 * sunrpc/auth_unix.c: Likewise.
53990 * sunrpc/authdes_prot.c: Likewise.
53991 * sunrpc/authuxprot.c: Likewise.
53992 * sunrpc/clnt_gen.c: Likewise.
53993 * sunrpc/clnt_perr.c: Likewise.
53994 * sunrpc/clnt_raw.c: Likewise.
53995 * sunrpc/clnt_simp.c: Likewise.
53996 * sunrpc/clnt_tcp.c: Likewise.
53997 * sunrpc/clnt_udp.c: Likewise.
53998 * sunrpc/clnt_unix.c: Likewise.
53999 * sunrpc/des_crypt.c: Likewise.
54000 * sunrpc/des_soft.c: Likewise.
54001 * sunrpc/get_myaddr.c: Likewise.
54002 * sunrpc/key_call.c: Likewise.
54003 * sunrpc/key_prot.c: Likewise.
54004 * sunrpc/netname.c: Likewise.
54005 * sunrpc/pm_getmaps.c: Likewise.
54006 * sunrpc/pm_getport.c: Likewise.
54007 * sunrpc/pmap_clnt.c: Likewise.
54008 * sunrpc/pmap_prot.c: Likewise.
54009 * sunrpc/pmap_prot2.c: Likewise.
54010 * sunrpc/pmap_rmt.c: Likewise.
54011 * sunrpc/publickey.c: Likewise.
54012 * sunrpc/rpc_cmsg.c: Likewise.
54013 * sunrpc/rpc_common.c: Likewise.
54014 * sunrpc/rpc_dtable.c: Likewise.
54015 * sunrpc/rpc_prot.c: Likewise.
54016 * sunrpc/rpc_thread.c: Likewise.
54017 * sunrpc/rtime.c: Likewise.
54018 * sunrpc/svc.c: Likewise.
54019 * sunrpc/svc_auth.c: Likewise.
54020 * sunrpc/svc_authux.c: Likewise.
54021 * sunrpc/svc_raw.c: Likewise.
54022 * sunrpc/svc_run.c: Likewise.
54023 * sunrpc/svc_simple.c: Likewise.
54024 * sunrpc/svc_tcp.c: Likewise.
54025 * sunrpc/svc_udp.c: Likewise.
54026 * sunrpc/svc_unix.c: Likewise.
54027 * sunrpc/svcauth_des.c: Likewise.
54028 * sunrpc/xcrypt.c: Likewise.
54029 * sunrpc/xdr.c: Likewise.
54030 * sunrpc/xdr_array.c: Likewise.
54031 * sunrpc/xdr_float.c: Likewise.
54032 * sunrpc/xdr_intXX_t.c: Likewise.
54033 * sunrpc/xdr_mem.c: Likewise.
54034 * sunrpc/xdr_rec.c: Likewise.
54035 * sunrpc/xdr_ref.c: Likewise.
54036 * sunrpc/xdr_sizeof.c: Likewise.
54037 * sunrpc/xdr_stdio.c: Likewise.
54038
e6c61494
UD
540392011-04-10 Ulrich Drepper <drepper@gmail.com>
54040
54041 [BZ #12650]
54042 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54043 * sysdeps/ia64/dl-tls.h: Likewise.
54044 * sysdeps/powerpc/dl-tls.h: Likewise.
54045 * sysdeps/s390/dl-tls.h: Likewise.
54046 * sysdeps/sh/dl-tls.h: Likewise.
54047 * sysdeps/sparc/dl-tls.h: Likewise.
54048 * sysdeps/x86_64/dl-tls.h: Likewise.
54049 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54050
34fe483e
AS
540512011-03-14 Andreas Schwab <schwab@redhat.com>
54052
54053 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54054 rpath element also skip the following colon.
54055 (expand_dynamic_string_token): Add is_path parameter and pass
54056 down to DL_DST_REQUIRED and _dl_dst_substitute.
54057 (decompose_rpath): Call expand_dynamic_string_token with
54058 non-zero is_path. Ignore empty rpaths.
54059 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54060 with zero is_path.
54061
f12a32e6
AS
540622011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54063
54064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54065 Make cancelable.
54066
38a7d692
UD
540672011-04-09 Ulrich Drepper <drepper@gmail.com>
54068
54069 [BZ #12655]
54070 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54071 Patch by Filipe David Manana <fdmanana@apache.org>.
54072
e451d22b
AS
540732011-04-07 Andreas Schwab <schwab@redhat.com>
54074
54075 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54076 Maintain aligned stack.
54077 (CHECK_RSP): Remove unused macro.
54078
dedc7c7b
UD
540792011-04-03 Ulrich Drepper <drepper@gmail.com>
54080
54081 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54082 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54083
94521213
UD
540842011-04-02 Ulrich Drepper <drepper@gmail.com>
54085
54086 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54087
8cb700c0 54088 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54089
0354e355
L
540902011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54091
54092 [BZ #12518]
54093 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54094 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54095 * sysdeps/x86_64/memmove.c: New file.
54096 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54097 (memcpy): Renamed to ...
54098 (__new_memcpy): This.
54099 (memcpy): Provide GLIBC_2_14 memcpy.
54100 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54101 (memcpy): Provide GLIBC_2_2_5 memcpy.
54102
8593482f
UD
541032011-04-01 Ulrich Drepper <drepper@gmail.com>
54104
54105 [BZ #12631]
54106 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54107
81a5726b
AS
541082011-03-30 Andreas Schwab <schwab@redhat.com>
54109
54110 * misc/syncfs.c: New file.
54111 * misc/Makefile (routines): Add syncfs.
54112 * posix/unistd.h: Declare syncfs.
54113 * sysdeps/unix/syscalls.list: Add syncfs.
54114
00e5419f
AS
541152011-04-01 Andreas Schwab <schwab@redhat.com>
54116
54117 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54118 open_by_handle_at.
54119 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
54125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54126
748876bf
UD
541272011-04-01 Ulrich Drepper <drepper@gmail.com>
54128
658e451d
UD
54129 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54130 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54132 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54133 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54134 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54135 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54136
748876bf
UD
54137 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54138 sync_file_range.c with -fexceptions.
54139 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54140 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54141 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54142 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54143 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54144 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54146 sync_file_range as cancellation point
54147 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54148 now a wrapper around __call_sync_file_range with cancellation handling.
54149 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54150 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54151 function name to __call_sync_file_range.
54152 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54153 Add call_sync_file_range.
748876bf 54154
6e63d5e1
AS
541552011-04-01 Andreas Schwab <schwab@redhat.com>
54156
54157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54158 bits/timex.h.
6e63d5e1 54159
46998f74
UD
541602011-04-01 Ulrich Drepper <drepper@gmail.com>
54161
4c1423ed
UD
54162 * iconv/iconv.h: Fix typo in comment.
54163 * io/fcntl.h: Likewise.
54164 * libio/stdio.h: Likewise.
54165 * posix/spawn.h: Likewise.
54166 * posix/unistd.h: Likewise.
54167 * stdlib/stdlib.h: Likewise.
54168 * time/time.h: Likewise.
54169 * wcsmbs/wchar.h: Likewise.
54170
158648c0
UD
54171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54172 open_by_handle): Add.
54173 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54174 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54175 Augment a few comments.
54176 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54177 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54178 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54180 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54181 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54182 open_by_handle.
54183
46998f74
UD
54184 * io/fcntl.h (AT_EMPTY_PATH): Define.
54185
83fe108b
UD
541862011-03-30 Ulrich Drepper <drepper@gmail.com>
54187
54188 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54189 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54190 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54191 to...
54192 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54193 * Versions.def: Add GLIBC_2.14.
54194 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54195 Export.
83fe108b 54196
bb242059
UD
541972011-03-22 Ulrich Drepper <drepper@gmail.com>
54198
54199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54200 round counter.
54201 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54202
c97a1282
L
542032011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54204
54205 [BZ #12597]
54206 * string/test-strncmp.c (do_page_test): New function.
54207 (check2): Likewise.
54208 (test_main): Call check2.
54209 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54210
2a115601
UD
542112011-03-20 Ulrich Drepper <drepper@gmail.com>
54212
54213 [BZ #12587]
54214 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54215 Handle cache information in CPU leaf 4.
54216 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54217
8126d904
UD
542182011-03-18 Ulrich Drepper <drepper@gmail.com>
54219
042c49c6 54220 [BZ #12583]
8126d904
UD
54221 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54222 character representation.
54223 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54224
ccfe366e
RA
542252011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54226
54227 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54228 END(__isnan) to END(__isnanf) to match function entry point/label
54229 EALIGN(__isnanf,...).
54230
c6e13027
JJ
542312011-03-10 Jakub Jelinek <jakub@redhat.com>
54232
54233 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54234
33f85a3f
UD
542352011-03-10 Ulrich Drepper <drepper@gmail.com>
54236
028478fa
UD
54237 [BZ #12510]
54238 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54239 copy from the symbol referenced in the relocation to initialize the
54240 used variable.
54241 Patch by Piotr Bury <pbury@goahead.com>.
54242 * elf/Makefile: Add rules to build and tst-unique3.
54243 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54244 * elf/tst-unique3.cc: New file.
54245 * elf/tst-unique3.h: New file.
54246 * elf/tst-unique3lib.cc: New file.
54247 * elf/tst-unique3lib2.cc: New file.
54248
33f85a3f
UD
54249 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54250
03592fc7
MF
542512011-03-10 Mike Frysinger <vapier@gentoo.org>
54252
54253 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54254 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54255 to _start.
03592fc7 54256
6a5ee102
UD
542572011-03-06 Ulrich Drepper <drepper@gmail.com>
54258
54259 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54260 to-be-loaded object along a path to loader is ld.so.
54261
7e4ba49c
HJ
542622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54263 Ulrich Drepper <drepper@gmail.com>
54264
54265 * sysdeps/x86_64/memset.S: After aligning destination, code
54266 branches to different locations depending on the value of
54267 misalignment, when multiarch is enabled. Fix this.
54268
542692011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54270
54271 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54272 Set _x86_64_preferred_memory_instruction for AMD processsors.
54273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54274 Set bit_Prefer_SSE_for_memop for AMD processors.
54275
13a804de
UD
542762011-03-04 Ulrich Drepper <drepper@gmail.com>
54277
54278 * libio/fmemopen.c (fmemopen): Optimize a bit.
54279
9d25c392
AS
542802011-03-03 Andreas Schwab <schwab@redhat.com>
54281
54282 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54283
a5543c6a
RM
542842011-03-03 Roland McGrath <roland@redhat.com>
54285
54286 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54287
012d35f7
DM
542882011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54289
7e4ba49c 54290 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54291 __bzero_ultra1 instead of __memset_ultra1.
54292
4bff6e01
AS
542932011-02-23 Andreas Schwab <schwab@redhat.com>
54294 Ulrich Drepper <drepper@gmail.com>
54295
54296 [BZ #12509]
54297 * include/link.h (struct link_map): Add l_orig_initfini.
54298 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54299 returning unsuccessfully.
54300 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54301 close of a file loaded at startup, restore the original l_initfini
54302 list.
54303 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54304 list, store the pointer.
54305 * elf/Makefile ($(objpfx)noload-mem): New rule.
54306 (noload-ENV): Define.
54307 (tests): Add $(objpfx)noload-mem.
54308 * elf/noload.c: Include <memcheck.h>.
54309 (main): Call mtrace. Close all opened handles.
54310
f2092faf
AS
543112011-02-17 Andreas Schwab <schwab@redhat.com>
54312
54313 [BZ #12454]
54314 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54315 dependencies are missing.
54316
6c8a2e88
ST
543172011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54318
f2092faf 54319 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54320 Hurd needs munmap.
54321 * sysdeps/mach/hurd/ifreq.h: New file.
54322
84a42118
PB
543232011-01-27 Petr Baudis <pasky@suse.cz>
54324 Ulrich Drepper <drepper@gmail.com>
54325
071f805e 54326 [BZ 12445]#
84a42118
PB
54327 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54328 to extend_alloca().
54329 * stdio-common/bug23.c: New file.
54330 * stdio-common/Makefile (tests): Add bug23.
54331
e23fe25b
AS
543322010-09-28 Andreas Schwab <schwab@redhat.com>
54333 Ulrich Drepper <drepper@gmail.com>
54334
54335 [BZ #12489]
54336 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54337 before performing relro protection. At old place add assertion
54338 to make sure nothing changed.
54339
d3f02e10
NS
543402011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54341 Glauber de Oliveira Costa <glommer@gmail.com>
54342
54343 * elf/elf.h: Add new ARM TLS relocs.
54344
d55fd7a5
RA
543452011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54346
54347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54348 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54349 cast from r3.
54350 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54351 'tests' variable.
54352 * sysdeps/wordsize-64/tst-writev.c: New file.
54353
2206397e
RA
543542011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54355
54356 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54357 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54358 insns in _dl_start to prevent a TOC reference before relocs are
54359 resolved.
54360
e9433893
UD
543612011-02-15 Ulrich Drepper <drepper@gmail.com>
54362
54363 [BZ #12469]
54364 * Makeconfig: Remove RANLIB definition.
54365 * Makerules: Don't use RANLIB.
54366 * aclocal.m4: Remove ranlib test.
54367 * configure.in: No need to check for ranlib.
54368 * elf/rtld-Rules: Don't use RANLIB.
54369
f75286c6
ST
543702011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54371
8e31c82d
ST
54372 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54373 protection macro.
54374 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54375 inclusion protection macro.
54376
f75286c6
ST
54377 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54378 SIGRTMIN and SIGRTMAX and print information in that case only when
54379 SIGRTMIN is defined.
54380
c1d0e639
JJ
543812011-02-11 Jakub Jelinek <jakub@redhat.com>
54382
54383 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54384 arginfo fn returning -1.
54385
54386 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54387 and thousands string is zero terminated.
54388
edf9294e
AS
543892011-02-03 Andreas Schwab <schwab@redhat.com>
54390
54391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54392 sysdeps/unix/sysv/linux/bits/socket.h.
54393
2b7e92df
ST
543942011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54395
edf9294e
AS
54396 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54397 (__CPU_COUNT): Remove old macros.
54398 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54399 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54400 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54401 (__sched_cpualloc, __sched_cpufree): Add declarations.
54402
a4c7ea7b
UD
544032011-02-05 Ulrich Drepper <drepper@gmail.com>
54404
54405 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54406 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54407 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54408 (readdhstai): Return value of addhstaiX call.
54409 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54410 (addgrbyX): Return value returned by cache_addgr.
54411 (readdgrbyname): Return value returned by addgrbyX.
54412 (readdgrbygid): Likewise.
54413 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54414 (addpwbyX): Return value returned by cache_addpw.
54415 (readdpwbyname): Return value returned by addhstbyX.
54416 (readdpwbyuid): Likewise.
54417 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54418 (addservbyX): Return value returned by cache_addserv.
54419 (readdservbyname): Return value returned by addservbyX:
54420 (readdservbyport): Likewise.
54421 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54422 (addhstbyX): Return value returned by cache_addhst.
54423 (readdhstbyname): Return value returned by addhstbyX.
54424 (readdhstbyaddr): Likewise.
54425 (readdhstbynamev6): Likewise.
54426 (readdhstbyaddrv6): Likewise.
54427 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54428 (readdinitgroups): Return value returned by addinitgroupsX.
54429 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54430 (prune_cache): Keep track of timeout value of re-added entries.
54431 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54432 * nscd/nscd.h: Adjust prototypes of readd* functions.
54433
a0bf67cc
RM
544342011-02-04 Roland McGrath <roland@redhat.com>
54435
54436 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54437 (nis_stats): Likewise.
54438 * nis/nis_modify.c (nis_modify): Likewise.
54439 * nis/nis_remove.c (nis_remove): Likewise.
54440 * nis/nis_add.c (nis_add): Likewise.
54441
54442 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54443
54444 * posix/fnmatch_loop.c: Add some consts.
54445
54446 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54447
435b95eb
L
544482011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54449
54450 [BZ #12460]
54451 * config.make.in (config-cflags-novzeroupper): Define.
54452 * configure.in: Substitute libc_cv_cc_novzeroupper.
54453 * elf/Makefile (AVX-CFLAGS): Define.
54454 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54455 (CFLAGS-tst-auditmod4a.c): Likewise.
54456 (CFLAGS-tst-auditmod4b.c): Likewise.
54457 (CFLAGS-tst-auditmod6b.c): Likewise.
54458 (CFLAGS-tst-auditmod6c.c): Likewise.
54459 (CFLAGS-tst-auditmod7b.c): Likewise.
54460 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54461
8517b15e
UD
544622011-02-02 Ulrich Drepper <drepper@gmail.com>
54463
54464 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54465 function to the callback.
54466 Patch partly by Jiri Olsa <jolsa@redhat.com>.
54467
10a656fe
AS
544682011-02-02 Andreas Schwab <schwab@redhat.com>
54469
54470 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54471 of errno.
54472
968dad0a
UD
544732011-01-19 Ulrich Drepper <drepper@gmail.com>
54474
9f94d2ea 54475 [BZ #11724]
968dad0a
UD
54476 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54477 of constructors.
54478 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54479 of destructors.
54480 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54481
54482 [BZ #11724]
54483 * elf/Makefile: Add rules to build and run new test.
54484 * elf/tst-initorder.c: New file.
54485 * elf/tst-initorder.exp: New file.
54486 * elf/tst-initordera1.c: New file.
54487 * elf/tst-initordera2.c: New file.
54488 * elf/tst-initordera3.c: New file.
54489 * elf/tst-initordera4.c: New file.
54490 * elf/tst-initorderb1.c: New file.
54491 * elf/tst-initorderb2.c: New file.
54492 * elf/tst-order-a1.c: New file.
54493 * elf/tst-order-a2.c: New file.
54494 * elf/tst-order-a3.c: New file.
54495 * elf/tst-order-a4.c: New file.
54496 * elf/tst-order-b1.c: New file.
54497 * elf/tst-order-b2.c: New file.
54498 * elf/tst-order-main.c: New file.
54499 New test case by George Gensure <werkt0@gmail.com>.
54500
86e92359
UD
545012010-10-01 Andreas Schwab <schwab@redhat.com>
54502
54503 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54504 decoding ACE if AI_CANONIDN.
54505
5d5732b0
UD
545062011-01-18 Ulrich Drepper <drepper@gmail.com>
54507
54508 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54509
a77e8cbc
UD
545102011-01-17 Ulrich Drepper <drepper@gmail.com>
54511
6392473f
UD
54512 * version.h (RELEASE): Bump for 2.13 release.
54513 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54514
620a0529
UD
54515 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54516
18ba70a5
UD
54517 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54518 MADV_NOHUGEPAGE.
32465c3e
UD
54519 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54520 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54522 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54524 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54525
c0dafcf1
UD
54526 * posix/getconf.c: Update copyright year.
54527 * catgets/gencat.c: Likewise.
54528 * csu/version.c: Likewise.
54529 * debug/catchsegv.sh: Likewise.
54530 * debug/xtrace.sh: Likewise.
54531 * elf/ldconfig.c: Likewise.
54532 * elf/ldd.bash.in: Likewise.
54533 * elf/sprof.c (print_version): Likewise.
54534 * iconv/iconv_prog.c: Likewise.
54535 * iconv/iconvconfig.c: Likewise.
54536 * locale/programs/locale.c: Likewise.
54537 * locale/programs/localedef.c: Likewise.
54538 * malloc/memusage.sh: Likewise.
54539 * malloc/mtrace.pl: Likewise.
54540 * nscd/nscd.c (print_version): Likewise.
54541 * nss/getent.c: Likewise.
54542
a77e8cbc
UD
54543 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54544 PF_CAIF, and PF_ALG.
54545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54546
77e8bddf
AS
545472011-01-16 Andreas Schwab <schwab@linux-m68k.org>
54548
1f20b93a
AS
54549 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54550 (modules-names): Use them.
54551 (ifunc-test-modules, ifunc-pie-tests): Define.
54552 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54553 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54554 (test-extras): Likewise.
54555 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54556 $(compile-command.c).
54557 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54558 (all-built-dso): Define.
54559 (check-textrel.out, check-execstack.out): Depend on it.
54560
77e8bddf
AS
54561 * configure.in: Don't override --enable-multi-arch.
54562
bc425b33
UD
545632011-01-15 Ulrich Drepper <drepper@gmail.com>
54564
54565 [BZ #6812]
54566 * nscd/hstcache.c (tryagain): Define.
54567 (cache_addhst): Return tryagain not notfound for temporary errors.
54568 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54569 failed.
54570
794c3ad3
UD
545712011-01-14 Ulrich Drepper <drepper@gmail.com>
54572
70181fdd
UD
54573 [BZ #10563]
54574 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54575 to make the syscall.
54576 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54577
794c3ad3
UD
54578 [BZ #12378]
54579 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54580 and fall back to matching as normal character if the string ends before
54581 the matching ']' is found. This is what POSIX requires.
54582 * posix/testfnm.c: Adjust test result.
54583 * posix/globtest.sh: Adjust test result. Add new test.
54584 * posix/tst-fnmatch.input: Likewise.
54585 * posix/tst-fnmatch2.c: Add new test.
54586
68dc9497
AS
545872010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54588
54589 * elf/Makefile (check-execstack): Revert last change. Depend on
54590 check-execstack.h.
54591 (check-execstack.h): New target.
54592 (generated): Add check-execstack.h.
54593 * elf/check-execstack.c: Include "check-execstack.h".
54594 (main): Revert last change.
54595 (handle_file): Return zero if GNU_STACK is absent and
54596 DEFAULT_STACK_PERMS doesn't include PF_X.
54597
451f001b
UD
545982011-01-13 Ulrich Drepper <drepper@gmail.com>
54599
cfa28e56
UD
54600 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54601 in child fails because the descriptor is already closed.
8cf8ce17
UD
54602 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54603 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54604 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 54605
1086d70d
UD
54606 [BZ #12397]
54607 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54608 syscall.
54609
451f001b
UD
54610 [BZ #10484]
54611 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54612 temporary buffer used to handle multi lookups locally.
a85b5cb4 54613 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 54614
08769175
UD
546152011-01-12 Ulrich Drepper <drepper@gmail.com>
54616
54617 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54618 loader is ld.so.
54619
5e49c52e
UD
546202011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54621
54622 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54623 alignment for SSE2.
54624
60522a5f
UD
546252011-01-12 Ulrich Drepper <drepper@gmail.com>
54626
54627 [BZ #12394]
54628 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54629 characters. When rounding increased number of integer digits recompute
54630 number of groups.
54631 * stdio-common/tst-grouping.c: New file.
54632 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54633
f257bbd7
UD
546342011-01-09 Ulrich Drepper <drepper@gmail.com>
54635
54636 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54637 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54638
54639 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54640 void.
54641 * bits/select.h: Likewise.
54642
fa9c15cb
UD
546432011-01-08 Ulrich Drepper <drepper@gmail.com>
54644
54645 * po/ja.po: Update from translation team.
54646
16c2895f
DM
546472011-01-04 David S. Miller <davem@sunset.davemloft.net>
54648
54649 [BZ #11155]
54650 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54651 implementation just like for lxstat, fxstatat, et al.
54652
2543fef2
JM
546532010-12-27 Jim Meyering <meyering@redhat.com>
54654
54655 [BZ #12348]
54656 * posix/regexec.c (build_trtable): Return failure indication upon
54657 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54658
98727dbe
UD
546592010-12-25 Ulrich Drepper <drepper@gmail.com>
54660
5bd6dc5c
UD
54661 [BZ #12201]
54662 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54663 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54664 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54665 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54666
97983464
UD
54667 [BZ #12207]
54668 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54669
98727dbe
UD
54670 [BZ #12204]
54671 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54672 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54673
4a531bb0
L
546742010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54675
54676 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54677 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54678 script has SORT_BY_INIT_PRIORITY.
54679 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54680 NO_CTORS_DTORS_SECTIONS is defined.
54681 * elf/soinit.c: Likewise.
54682 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54683 NO_CTORS_DTORS_SECTIONS is defined.
54684 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54685 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54686 * sysdeps/sh/init-first.c: Likewise.
54687 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54688
07eb4b71
UD
546892010-12-24 Ulrich Drepper <drepper@gmail.com>
54690
54691 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54692 always use the slow path.
54693
30950a5f
RA
546942010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54695
54696 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54697 similar rule which adds the sysdep directories to the header search in
54698 order to pick up the correct platform stackinfo.h.
54699 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54700 perform test if it is, otherwise return successfully without testing.
54701 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54702 DEFAULT_STACK_PERMS define in stackinfo.h.
54703 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54704 defined in stackinfo.h.
54705 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54706 DEFAULT_STACK_PERMS defined in stackinfo.h.
54707 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54708 * sysdeps/ia64/stackinfo.h: Likewise.
54709 * sysdeps/s390/stackinfo.h: Likewise.
54710 * sysdeps/sh/stackinfo.h: Likewise.
54711 * sysdeps/sparc/stackinfo.h: Likewise.
54712 * sysdeps/x86_64/stackinfo.h: Likewise.
54713 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54714 PF_X for powerpc64. Retain PF_X for powerpc32.
54715
db753e2c
UD
547162010-12-19 Ulrich Drepper <drepper@gmail.com>
54717
14b697f7
UD
54718 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54719 accurately.
db753e2c
UD
54720 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54721 GETDENTS_64BIT_ALIGNED.
54722
28300719
UD
547232010-12-14 Ulrich Drepper <dreper@gmail.com>
54724
14b697f7 54725 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 54726
4f197237
AS
547272010-12-10 Andreas Schwab <schwab@redhat.com>
54728
dbb0472f
AS
54729 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54730 _GNU_SOURCE.
54731
4f197237
AS
54732 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54733 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54734 Remove __restrict.
54735 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54736 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54737
fb88ac72
UD
547382010-12-09 Ulrich Drepper <drepper@gmail.com>
54739
54740 [BZ #11655]
54741 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54742 are initialized.
54743
42acbb92
JJ
547442010-12-09 Jakub Jelinek <jakub@redhat.com>
54745
54746 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54747
c038d98d
UD
547482010-12-03 Ulrich Drepper <drepper@gmail.com>
54749
54750 * po/it.po: Update from translation team.
54751
3a4a2499
L
547522010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54753
54754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54755 unused codes.
54756
1e24cf6e
UD
547572010-11-30 Ulrich Drepper <drepper@gmail.com>
54758
54759 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54760
a7690819
AS
547612010-11-24 Andreas Schwab <schwab@redhat.com>
54762
54763 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54764 specially.
54765 (gaih_getanswer_slice): Likewise.
54766
3bf8d1b1
JJ
547672010-10-20 Jakub Jelinek <jakub@redhat.com>
54768
54769 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54770
6db52fbb
PB
547712010-05-31 Petr Baudis <pasky@suse.cz>
54772
54773 [BZ #11149]
54774 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54775 silently even in the chroot mode.
54776
eaca7569
UD
547772010-11-22 Ulrich Drepper <drepper@gmail.com>
54778
54779 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54780 last patch a bit. Pretty printing
54781
3056dcdb
UD
547822010-05-31 Petr Baudis <pasky@suse.cz>
54783
54784 [BZ #10085]
54785 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54786 initialization of skip_initgroups_dyn.
54787
cf7c9078
UD
547882010-11-19 Ulrich Drepper <drepper@gmail.com>
54789
54790 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54791 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54792
a1fb5e3e
UD
547932010-11-16 Ulrich Drepper <drepper@gmail.com>
54794
54795 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54796
3540d66b
AS
547972010-11-11 Andreas Schwab <schwab@redhat.com>
54798
54799 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54800 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54801 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54802 ($(objpfx)tst-fnmatch-mem): New rule.
54803 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54804 * posix/tst-fnmatch.c (main): Call mtrace.
54805
13b69574
L
548062010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54807
54808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54809 Support Intel processor model 6 and model 0x2c.
54810
da93d214
LM
548112010-11-10 Luis Machado <luisgpm@br.ibm.com>
54812
54813 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54814 signed comparison.
54815
8ca52c6e
L
548162010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54817
54818 [BZ #12205]
54819 * string/test-strncasecmp.c (check_result): New function.
54820 (do_one_test): Use it.
54821 (check1): New function.
54822 (test_main): Use it.
54823 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54824 Support strcasecmp and strncasecmp.
54825
69da074d
UD
548262010-11-08 Ulrich Drepper <drepper@gmail.com>
54827
54828 [BZ #12194]
54829 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54830 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54831
ff02d528
L
548322010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54833
54834 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54835 IFUNC support.
54836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54837 memset-x86-64.
54838 * sysdeps/x86_64/multiarch/bzero.S: New file.
54839 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54840 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54841 * sysdeps/x86_64/multiarch/memset.S: New file.
54842 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54843 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54844 Set bit_Prefer_SSE_for_memop for Intel processors.
54845 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54846 Define.
54847 (index_Prefer_SSE_for_memop): Define.
54848 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54849
344d0b54
LM
548502010-11-04 Luis Machado <luisgpm@br.ibm.com>
54851
54852 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54853 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54854
c0dde15b
UD
548552010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54856
54857 [BZ #12191]
54858 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54859 (__x86_64_raw_data_cache_size_half): Likewise.
54860 (__x86_64_raw_shared_cache_size): Likewise.
54861 (__x86_64_raw_shared_cache_size_half): Likewise.
54862
54863 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54864 (__x86_64_raw_data_cache_size_half): Likewise.
54865 (__x86_64_raw_shared_cache_size): Likewise.
54866 (__x86_64_raw_shared_cache_size_half): Likewise.
54867 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54868 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54869 and __x86_64_raw_shared_cache_size_half. Round
54870 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54871 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54872 to multiple of 256 bytes.
54873
0e516e0e
MS
548742010-11-03 Ulrich Drepper <drepper@gmail.com>
54875
54876 [BZ #12167]
54877 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54878 of inacessible symlinks. Verify result of symlink before returning it.
54879 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54880 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54881
0e012e87
ER
548822010-10-28 Erich Ritz <erichritz@gmail.com>
54883
54884 * math/math.h (isinf): Fix typo in comment.
54885
de0ff7bc
UD
548862010-11-01 Ulrich Drepper <drepper@gmail.com>
54887
54888 * po/da.po: Update from translation team.
54889
fa41c84d
UD
548902010-10-26 Ulrich Drepper <drepper@gmail.com>
54891
54892 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54893 is added to the list.
54894
f0967738
AK
548952010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54896 Ulrich Drepper <drepper@gmail.com>
54897
54898 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54899 the global list here. Move code to...
54900 (_dl_add_to_namespace_list): ...here. New function.
54901 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54902 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54903 * elf/dl-load.c (lose): Don't remove the element from the list.
54904 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54905 (_dl_map_object): Likewise.
54906
549072010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
54908
54909 [BZ #12159]
54910 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54911 into all bytes of SSE register.
54912 Patch by Richard Li <richardpku@gmail.com>.
54913
f0967738 549142010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
54915
54916 [BZ #12140]
54917 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54918 perturbing.
54919
d0b9e94f
MB
549202010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54921
54922 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54923 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54925 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54927 submachine.
54928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54929
8e9f92e9
AS
549302010-10-22 Andreas Schwab <schwab@redhat.com>
54931
54932 * include/dlfcn.h (__RTLD_SECURE): Define.
54933 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54934 mode & __RTLD_SECURE instead.
54935 (open_path): Rename preloaded parameter to secure.
54936 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54937 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54938 * elf/dl-deps.c (openaux): Likewise.
54939 * elf/rtld.c (struct map_args): Remove is_preloaded.
54940 (map_doit): Don't use it.
54941 (dl_main): Likewise.
54942 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54943 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54944
bc96fbda
AS
549452010-09-09 Andreas Schwab <schwab@redhat.com>
54946
54947 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54948 (sysd-rules-targets): Remove duplicates.
54949 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54950 rtld-%.$o dependency.
54951
22cd1c9b
AS
549522010-10-18 Andreas Schwab <schwab@redhat.com>
54953
54954 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54955 _dl_map_object do it.
54956
18edac48
UD
549572010-10-19 Ulrich Drepper <drepper@gmail.com>
54958
54959 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54960 fast fma builtins, define the macros in the C99 standard.
54961 (FP_FAST_FMAF): Likewise.
54962 (FP_FAST_FMAL): Likewise.
54963 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54964
54965 * bits/mathdef.h: Update copyright year.
54966 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54967
d2050124
MM
549682010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54969
54970 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54971 builtins, define the macros in the C99 standard.
54972 (FP_FAST_FMAF): Likewise.
54973 (FP_FAST_FMAL): Likewise.
54974 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54975 multiply/add.
54976 (FP_FAST_FMAF): Likewise.
54977
475facd1
JJ
549782010-10-15 Jakub Jelinek <jakub@redhat.com>
54979
54980 [BZ #3268]
54981 * math/libm-test.inc (fma_test): Some new testcases.
54982 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54983 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54984 y and infinite z. Do multiplication by C already in long double.
54985 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54987 y and infinite z. Do bitwise or of inexact bit into u.d.
54988 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54989 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54990 * sysdeps/i386/fpu/s_fma.S: Removed.
54991 * sysdeps/i386/fpu/s_fmal.S: Removed.
54992
7c08a05c
JJ
549932010-10-16 Jakub Jelinek <jakub@redhat.com>
54994
54995 [BZ #3268]
54996 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54997 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54998 computation is not scheduled after fetestexcept. Fix value
54999 of minimum denormal long double.
55000
f3f7372d
JJ
550012010-10-14 Jakub Jelinek <jakub@redhat.com>
55002
55003 [BZ #3268]
55004 * math/libm-test.inc (fma_test): Add some more tests.
55005 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55006 correctly.
55007
14d43591
AS
550082010-10-15 Andreas Schwab <schwab@redhat.com>
55009
55010 * scripts/data/localplt-s390-linux-gnu.data: New file.
55011 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55012
5e908464
JJ
550132010-10-13 Jakub Jelinek <jakub@redhat.com>
55014
55015 [BZ #3268]
55016 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55017 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55018 instead of dbl-64.
55019 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55020 inlines.
55021 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55023 if one of x and y is very large and the other is subnormal.
55024 * sysdeps/s390/fpu/s_fmaf.c: New file.
55025 * sysdeps/s390/fpu/s_fma.c: New file.
55026 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55027 * sysdeps/powerpc/fpu/s_fma.S: New file.
55028 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55029 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55030 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55031
550322010-10-12 Jakub Jelinek <jakub@redhat.com>
55033
55034 [BZ #3268]
55035 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55036 fma tests.
55037 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55038 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55039 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55040 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55041 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55042 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55043 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55044
b833d51f
UD
550452010-10-12 Ulrich Drepper <drepper@redhat.com>
55046
55047 [BZ #12078]
55048 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55049 * posix/bug-regex31.input: Add test case.
55050
1751705d
UD
550512010-10-11 Ulrich Drepper <drepper@gmail.com>
55052
e9b9cbf5
UD
55053 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55054 * posix/bug-regex31.input: New file.
55055
55056 [BZ #12078]
55057 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55058 (parse_sub_exp): Fix last change, use postorder.
55059
ef06edbe
UD
55060 * posix/bug-regex31.c: New file.
55061 * posix/Makefile: Add rules to build and run bug-regex31.
55062
a129c80d
UD
55063 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55064
55065 [BZ #12078]
55066 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55067
b76b818e
UD
55068 [BZ #12108]
55069 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55070 to have entries in sys_siglist.
55071
1751705d
UD
55072 [BZ #12093]
55073 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55074 be NULL.
55075
9ff8d36f
JJ
550762010-10-07 Jakub Jelinek <jakub@redhat.com>
55077
55078 [BZ #3268]
55079 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55080 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55081 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55082 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55083 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55084 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55085 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55086 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55087 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55088 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55089 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55090 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55091 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55092 * math/ftestexcept.c (fetestexcept): Likewise.
55093 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55094 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55095 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55096 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55097 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55098 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55099 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55100
af325969
UD
551012010-10-11 Ulrich Drepper <drepper@gmail.com>
55102
c579b202 55103 [BZ #12107]
af325969
UD
55104 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55105 newline.
55106
67a67b95
UD
551072010-10-06 Ulrich Drepper <drepper@gmail.com>
55108
55109 * string/bug-strstr1.c: New file.
55110 * string/Makefile: Add rules to build and run bug-strstr1.
55111
5fb308bc
EB
551122010-10-05 Eric Blake <eblake@redhat.com>
55113
55114 [BZ #12092]
55115 * string/str-two-way.h (two_way_long_needle): Always clear memory
55116 when skipping input due to the shift table.
55117
45db99c7
UD
551182010-10-03 Ulrich Drepper <drepper@gmail.com>
55119
3b111893
UD
55120 [BZ #12005]
55121 * malloc/mcheck.c: Handle large requests.
55122
45db99c7
UD
55123 [BZ #12077]
55124 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55125 for strncmp and strncasecmp.
55126 * string/stratcliff.c: Add tests for strcmp and strncmp.
55127 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55128
cf7a1eb8
NI
551292010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55130
55131 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55132 __set_fpscr.
55133
6484ba5e
AJ
551342010-09-30 Andreas Jaeger <aj@suse.de>
55135
55136 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55137 (CGROUP_SUPER_MAGIC): Define.
55138 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55139 Handle btrfs and cgroup file systems.
55140 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55141 Likewise.
55142
91c42559
LM
551432010-09-27 Luis Machado <luisgpm@br.ibm.com>
55144
55145 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55146 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55147
87a97932
AK
551482010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55149
55150 [BZ #12067]
55151 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55152 trying to locate the ELF header.
55153
c21cc9bc
AS
551542010-09-27 Andreas Schwab <schwab@redhat.com>
55155
55156 [BZ #11611]
55157 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55158 Mask out sign-bit copies when constructing f_fsid.
55159
315970f6
PB
551602010-09-24 Petr Baudis <pasky@suse.cz>
55161
55162 * debug/stack_chk_fail_local.c: Add missing licence exception.
55163 * debug/warning-nop.c: Likewise.
55164
1ac7a2c7
JM
551652010-09-15 Joseph Myers <joseph@codesourcery.com>
55166
55167 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55168 implementing getdents64 using getdents syscall, set d_type if
55169 __ASSUME_GETDENTS32_D_TYPE.
55170
56801c50
AS
551712010-09-16 Andreas Schwab <schwab@redhat.com>
55172
55173 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55174 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55175
dda51327
UD
551762010-09-21 Ulrich Drepper <drepper@redhat.com>
55177
55178 [BZ #12037]
55179 * posix/unistd.h: Undo change of feature selection for ftruncate from
55180 2010-01-11.
55181
8ffcee4a
UD
551822010-09-20 Ulrich Drepper <drepper@redhat.com>
55183
a545ecd9 55184 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55185 detection.
55186
e24f0a8b
AS
551872010-09-20 Andreas Schwab <schwab@redhat.com>
55188
55189 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55190 fanotify_mark.
55191 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55192
7291c56f
AS
551932010-09-14 Andreas Schwab <schwab@redhat.com>
55194
55195 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55196 variables after CHECK_SP call.
55197 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55198
bc5fb037
AS
551992010-09-13 Andreas Schwab <schwab@redhat.com>
55200 Ulrich Drepper <drepper@redhat.com>
55201
55202 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55203 re-relocationg ld.so.
55204 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55205 _dl_init_paths call.
55206 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55207 here anymore.
55208
e66e7419
UD
552092010-09-14 Ulrich Drepper <drepper@redhat.com>
55210
55211 * resolv/res_init.c (__res_vinit): Count the default server we added.
55212
c044aa75
CLT
552132010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55214 Ulrich Drepper <drepper@redhat.com>
55215
55216 [BZ #11968]
55217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55218 (____longjmp_chk): Use %ebx for saving value across system call.
55219 Add unwind info.
55220
32cf4069
AS
552212010-09-06 Andreas Schwab <schwab@redhat.com>
55222
55223 * manual/Makefile: Don't mix pattern rules with normal rules.
55224
817328ee
AS
552252010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55226
55227 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55228 operation.
55229 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55230 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55231 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55232 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55233 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55234 Likewise.
55235
29fddf61
UD
552362010-09-04 Ulrich Drepper <drepper@redhat.com>
55237
55238 [BZ #11979]
55239 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55240 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55241
0959ffc9
UD
552422010-09-02 Ulrich Drepper <drepper@redhat.com>
55243
55244 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55245 * sysdeps/x86_64/addmul_1.S: Likewise.
55246 * sysdeps/x86_64/lshift.S: Likewise.
55247 * sysdeps/x86_64/mul_1.S: Likewise.
55248 * sysdeps/x86_64/rshift.S: Likewise.
55249 * sysdeps/x86_64/sub_n.S: Likewise.
55250 * sysdeps/x86_64/submul_1.S: Likewise.
55251
ece29840
ST
552522010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55253
0959ffc9
UD
55254 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55255 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55256 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55257 * bits/sched.h [__need_schedparam]
ece29840 55258 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55259 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55260 (__defined_schedparam): Define to 1.
ece29840
ST
55261 (__sched_param): New structure, identical to sched_param.
55262 (__need_schedparam): Undefine.
55263
e53a31fe
MF
552642010-08-31 Mike Frysinger <vapier@gentoo.org>
55265
fdc0c10d
MF
55266 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55267 (epoll_create1): Declare.
55268
e53a31fe
MF
55269 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55270
a726d796
AS
552712010-08-31 Andreas Schwab <schwab@redhat.com>
55272
55273 [BZ #7066]
55274 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55275 shifting retval into place.
55276
2f3e3dc7
UD
552772010-09-01 Ulrich Drepper <drepper@redhat.com>
55278
f2933da9
UD
55279 * nis/rpcsvc/nis.h: Update copyright notice.
55280 * nis/rpcsvc/nis.x: Likewise.
55281 * nis/rpcsvc/nis_callback.h: Likewise.
55282 * nis/rpcsvc/nis_callback.x: Likewise.
55283 * nis/rpcsvc/nis_object.x: Likewise.
55284 * nis/rpcsvc/nis_tags.h: Likewise.
55285 * nis/rpcsvc/yp.h: Likewise.
55286 * nis/rpcsvc/yp.x: Likewise.
55287 * nis/rpcsvc/ypupd.h: Likewise.
55288 * nis/yp_xdr.c: Likewise.
55289 * nis/ypupdate_xdr.c: Likewise.
55290
2f3e3dc7
UD
55291 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55292 mainly the body of pmap_getport. Add parameters to specify timeouts.
55293 (pmap_getport): Use __libc_rpc_getport.
55294 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55295 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55296 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55297
f3dcc2f9
AS
552982010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55299
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55301 fanotify_mark.
55302
6d34eb5b
RM
553032010-08-27 Roland McGrath <roland@redhat.com>
55304
55305 * sysdeps/i386/i686/multiarch/Makefile
55306 (CFLAGS-varshift.c): New variable.
55307
9ea3de11
UD
553082010-08-27 Ulrich Drepper <drepper@redhat.com>
55309
c96d23fc
UD
55310 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55311 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55312
9ea3de11
UD
55313 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55314
55315 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55316
623aac7f
L
553172010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55318
55319 * sysdeps/x86_64/strlen.S: Unroll the loop.
55320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55321 strlen-sse2 strlen-sse2-bsf.
55322 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55323 __strlen_no_bsf if bit_Slow_BSF is set.
55324 (__strlen_sse42): Removed.
55325 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55326 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55327
8b2b7715
RM
553282010-08-25 Roland McGrath <roland@redhat.com>
55329
55330 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55331 * sysdeps/x86_64/multiarch/varshift.c: New file.
55332 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55333 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55334 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55335 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55336
e73015f2
L
553372010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55338
55339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55340 strlen-sse2 strlen-sse2-bsf.
55341 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55342 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55343 (__strlen_sse2): Removed.
55344 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55345 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55347 bit_Slow_BSF for Atom.
55348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55349 (index_Slow_BSF): Define.
55350 (HAS_SLOW_BSF): Define.
55351
df24a73e
UD
553522010-08-25 Ulrich Drepper <drepper@redhat.com>
55353
55354 [BZ #10851]
55355 * resolv/res_init.c (__res_vinit): When no server address at all
55356 is given default to loopback.
55357
f2ac4868
RM
553582010-08-24 Roland McGrath <roland@redhat.com>
55359
09055553
RM
55360 * configure.in: Remove config-name.h generation.
55361 * configure: Regenerated.
55362 * config-name.in: File removed.
55363 * scripts/config-uname.sh: New file.
55364 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55365 ($(objdir)config-name.h): New target.
55366
f2ac4868
RM
55367 * sunrpc/rpc_parse.h: Avoid nested comment.
55368
73f27d5e
RH
553692010-08-24 Richard Henderson <rth@redhat.com>
55370 Ulrich Drepper <drepper@redhat.com>
55371 H.J. Lu <hongjiu.lu@intel.com>
55372
55373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55374 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55375 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55376 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55377 _mm_alignr_epi8 with _mm_loadu_si128.
55378 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55379 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55380 (__m128i_shift_right): Removed.
55381 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55382 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55383 * sysdeps/x86_64/multiarch/varshift.h: New file.
55384 * sysdeps/x86_64/multiarch/varshift.S: New file.
55385
84b9230c
MF
553862010-08-21 Mike Frysinger <vapier@gentoo.org>
55387
55388 * configure.in: Move assembler checks to before sysdep dir checking.
55389
9bbd0ddc
PB
553902010-08-20 Petr Baudis <pasky@suse.cz>
55391
55392 * LICENSES: Sync the sunrpc license.
55393
9da4bb31
UD
553942010-08-19 Ulrich Drepper <drepper@redhat.com>
55395
a7ab6ec8
UD
55396 * sunrpc/auth_des.c: Update copyright notice once again.
55397 * sunrpc/auth_none.c: Likewise.
55398 * sunrpc/auth_unix.c: Likewise.
55399 * sunrpc/authdes_prot.c: Likewise.
55400 * sunrpc/authuxprot.c: Likewise.
55401 * sunrpc/bindrsvprt.c: Likewise.
55402 * sunrpc/clnt_gen.c: Likewise.
55403 * sunrpc/clnt_perr.c: Likewise.
55404 * sunrpc/clnt_raw.c: Likewise.
55405 * sunrpc/clnt_simp.c: Likewise.
55406 * sunrpc/clnt_tcp.c: Likewise.
55407 * sunrpc/clnt_udp.c: Likewise.
55408 * sunrpc/clnt_unix.c: Likewise.
55409 * sunrpc/des_crypt.c: Likewise.
55410 * sunrpc/des_soft.c: Likewise.
55411 * sunrpc/get_myaddr.c: Likewise.
55412 * sunrpc/getrpcport.c: Likewise.
55413 * sunrpc/key_call.c: Likewise.
55414 * sunrpc/key_prot.c: Likewise.
55415 * sunrpc/openchild.c: Likewise.
55416 * sunrpc/pm_getmaps.c: Likewise.
55417 * sunrpc/pm_getport.c: Likewise.
55418 * sunrpc/pmap_clnt.c: Likewise.
55419 * sunrpc/pmap_prot.c: Likewise.
55420 * sunrpc/pmap_prot2.c: Likewise.
55421 * sunrpc/pmap_rmt.c: Likewise.
55422 * sunrpc/rpc/auth.h: Likewise.
55423 * sunrpc/rpc/auth_unix.h: Likewise.
55424 * sunrpc/rpc/clnt.h: Likewise.
55425 * sunrpc/rpc/des_crypt.h: Likewise.
55426 * sunrpc/rpc/key_prot.h: Likewise.
55427 * sunrpc/rpc/netdb.h: Likewise.
55428 * sunrpc/rpc/pmap_clnt.h: Likewise.
55429 * sunrpc/rpc/pmap_prot.h: Likewise.
55430 * sunrpc/rpc/pmap_rmt.h: Likewise.
55431 * sunrpc/rpc/rpc.h: Likewise.
55432 * sunrpc/rpc/rpc_des.h: Likewise.
55433 * sunrpc/rpc/rpc_msg.h: Likewise.
55434 * sunrpc/rpc/svc.h: Likewise.
55435 * sunrpc/rpc/svc_auth.h: Likewise.
55436 * sunrpc/rpc/types.h: Likewise.
55437 * sunrpc/rpc/xdr.h: Likewise.
55438 * sunrpc/rpc_clntout.c: Likewise.
55439 * sunrpc/rpc_cmsg.c: Likewise.
55440 * sunrpc/rpc_common.c: Likewise.
55441 * sunrpc/rpc_cout.c: Likewise.
55442 * sunrpc/rpc_dtable.c: Likewise.
55443 * sunrpc/rpc_hout.c: Likewise.
55444 * sunrpc/rpc_main.c: Likewise.
55445 * sunrpc/rpc_parse.c: Likewise.
55446 * sunrpc/rpc_parse.h: Likewise.
55447 * sunrpc/rpc_prot.c: Likewise.
55448 * sunrpc/rpc_sample.c: Likewise.
55449 * sunrpc/rpc_scan.c: Likewise.
55450 * sunrpc/rpc_scan.h: Likewise.
55451 * sunrpc/rpc_svcout.c: Likewise.
55452 * sunrpc/rpc_tblout.c: Likewise.
55453 * sunrpc/rpc_util.c: Likewise.
55454 * sunrpc/rpc_util.h: Likewise.
55455 * sunrpc/rpcinfo.c: Likewise.
55456 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55457 * sunrpc/rpcsvc/key_prot.x: Likewise.
55458 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55459 * sunrpc/rpcsvc/mount.x: Likewise.
55460 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55461 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55462 * sunrpc/rpcsvc/rex.x: Likewise.
55463 * sunrpc/rpcsvc/rstat.x: Likewise.
55464 * sunrpc/rpcsvc/rusers.x: Likewise.
55465 * sunrpc/rpcsvc/sm_inter.x: Likewise.
55466 * sunrpc/rpcsvc/spray.x: Likewise.
55467 * sunrpc/rpcsvc/yppasswd.x: Likewise.
55468 * sunrpc/rtime.c: Likewise.
55469 * sunrpc/svc.c: Likewise.
55470 * sunrpc/svc_auth.c: Likewise.
55471 * sunrpc/svc_authux.c: Likewise.
55472 * sunrpc/svc_raw.c: Likewise.
55473 * sunrpc/svc_run.c: Likewise.
55474 * sunrpc/svc_simple.c: Likewise.
55475 * sunrpc/svc_tcp.c: Likewise.
55476 * sunrpc/svc_udp.c: Likewise.
55477 * sunrpc/svc_unix.c: Likewise.
55478 * sunrpc/svcauth_des.c: Likewise.
55479 * sunrpc/xcrypt.c: Likewise.
55480 * sunrpc/xdr.c: Likewise.
55481 * sunrpc/xdr_array.c: Likewise.
55482 * sunrpc/xdr_float.c: Likewise.
55483 * sunrpc/xdr_mem.c: Likewise.
55484 * sunrpc/xdr_rec.c: Likewise.
55485 * sunrpc/xdr_ref.c: Likewise.
55486 * sunrpc/xdr_sizeof.c: Likewise.
55487 * sunrpc/xdr_stdio.c: Likewise.
55488
9da4bb31
UD
55489 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55490 handling.
55491
bdaa77bc
AS
554922010-08-19 Andreas Schwab <schwab@redhat.com>
55493
55494 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55495
fe2f79db
LM
554962010-08-19 Luis Machado <luisgpm@br.ibm.com>
55497
55498 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55499 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55500 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55501 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55502 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55503 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55504 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55505 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55507 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55508 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55509 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55510 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55511 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55512
b9b42ee0
AB
555132010-07-26 Anton Blanchard <anton@samba.org>
55514
55515 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55516 * malloc/arena.c (heap_trim): Likewise.
55517
1c06ba31
UD
555182010-08-16 Ulrich Drepper <drepper@redhat.com>
55519
55520 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55521 here. Not...
55522 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55523 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55524
f8392f40
L
555252010-08-12 H.J. Lu <hongjiu.lu@intel.com>
55526
55527 * sysdeps/i386/elf/Makefile: New file.
55528
3162f12e
AS
555292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55530
55531 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55532 from fanotify_init.
55533 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55534 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55535
28c90b2c
UD
555362010-08-15 Ulrich Drepper <drepper@redhat.com>
55537
55538 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55539 of strncasecmp_l.
1feccb6c 55540 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 55541
ca6bb004
UD
555422010-08-14 Ulrich Drepper <drepper@redhat.com>
55543
e9f82e0d
UD
55544 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55545 strncase_l-nonascii.
55546 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55547 Add strncase_l-ssse3.
55548 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55549 * sysdeps/x86_64/strcmp.S: Likewise.
55550 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55551 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55552 * sysdeps/x86_64/strncase.S: New file.
55553 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55554 * sysdeps/x86_64/strncase_l.S: New file.
55555 * string/Makefile (strop-tests): Add strncasecmp.
55556 * string/test-strncasecmp.c: New file.
55557
55558 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55559 warning.
55560
ca6bb004
UD
55561 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55562 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55563
052fa7b3
AS
555642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
55565
55566 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55567
962dba78
UD
555682010-08-12 Ulrich Drepper <drepper@redhat.com>
55569
55570 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55571 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55572 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55573
bebff237
AM
555742010-05-01 Alan Modra <amodra@gmail.com>
55575
55576 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55577 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55578 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55579 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55580 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55581 tidying. Don't tail-call __sigjmp_save for static lib.
55582 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55583 save location.
55584 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55585 (CALL_MCOUNT): Add eh info, and nop after bl.
55586 (TAIL_CALL_SYSCALL_ERROR): New macro.
55587 (PSEUDO_RET): Use it.
55588 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55589 Correct save location of integer regs and cr.
55590 (_dl_profile_resolve): Correct cr save location. Delete nops
55591 after bl when SHARED. Reduce cfi size a little by better
55592 placement of cfi directives.
55593 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55594 make a stack frame. Instead use parm save area as a temp.
55595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55596 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55598 Don't make a stack frame for parent, use parm save area.
55599 Increase child stack frame to 112 bytes. Don't save unused reg,
55600 and adjust reg usage. Set up cfi on error recovery and
55601 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55603 (__makecontext): Add dummy nop after jump to exit.
55604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55605 Use correct parm save area and cr save, reduce stack frame.
55606 Correct cfi for possible PSEUDO_RET frame setup.
55607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55608 Branch to local label emitted by PSEUDO_RET rather than
55609 __syscall_error.
55610
02637374
AS
556112010-08-12 Andreas Schwab <schwab@redhat.com>
55612
55613 [BZ #11904]
55614 * locale/programs/locale.c (print_assignment): New function.
55615 (show_locale_vars): Use it.
55616
c3e2f19b
UD
556172010-08-11 Ulrich Drepper <drepper@redhat.com>
55618
3cdaa6ad
UD
55619 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55620 field.
55621 (struct statfs64): Likewise.
55622 (_STATFS_F_FLAGS): Define.
55623 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55625 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55626 (ST_VALID): Define locally.
55627 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55628 __statvfs_getflags, use the provided value.
55629 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55630 __ASSUME_STATFS_F_FLAGS.
55631
754f7da3
UD
55632 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55633
10b3bedc
UD
55634 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55635 Add sys/fanotify.h.
55636 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55637 fanotify_mask for GLIBC_2.13.
55638 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55639 fanotify_init and fanotify_mark.
55640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55641 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55642
c08fb0d7
UD
55643 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55644 Add prlimit.
55645 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55646 prlimit64 for GLIBC_2.13.
55647 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55648 prlimit64.
55649 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55650 syscall.
55651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55652 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55653 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55654 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55655 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55656 add prlimit alias.
55657 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55658
15bac72b
UD
55659 [BZ #11903]
55660 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55661 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55662
c3e2f19b
UD
55663 * nss/Makefile: Add rules to build and run tst-nss-test1.
55664 * shlib-versions: Add entry for libnss_test1.
55665 * nss/nss_test1.c: New file.
55666 * nss/tst-nss-test1.c: New file.
55667
55668 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55669 (__nss_configure_lookup): Set appropriate entry in
55670 __nss_configure_lookup to true.
55671 * nss/nsswitch.h: Define enum with indeces of databases in
55672 databases and __nss_database_custom arrays. Declare
55673 __nss_database_custom.
55674 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55675 to avoid using nscd when custom rules are installed.
55676 * nss/getXXbyYY_r.c: Likewise.
55677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55678
55679 * nss/nss_files/files-parse.c: Whitespace fixes.
55680
f15ce4d8
UD
556812010-08-09 Ulrich Drepper <drepper@redhat.com>
55682
55683 [BZ #11883]
55684 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55685 * posix/fnmatch_loop.c: Likewise.
55686
d22e4cc9
AK
556872010-07-17 Andi Kleen <ak@linux.intel.com>
55688
55689 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55690 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55691 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55692 * Versions.def [GLIBC_2.13]: Add.
55693
805bc17d
UD
556942010-08-06 Ulrich Drepper <drepper@redhat.com>
55695
55696 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55697 Also fail if tpwd after pwuid call is NULL.
55698
5a42321d
ST
556992010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55700
55701 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55702 when converting to ms.
55703
fd3ebeda
ST
557042010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55705
55706 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55707 EOPNOTSUPP errors with ENOTTY.
55708 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55709 EOPNOTSUPP errors with ENOTTY.
55710
73507d3a
UD
557112010-07-31 Ulrich Drepper <drepper@redhat.com>
55712
55713 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55714 Add strcasecmp_l-ssse3.
55715 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55716 strcasecmp.
55717 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55718 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55719 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55720
fe36dd02
UD
557212010-07-30 Ulrich Drepper <drepper@redhat.com>
55722
66f6765a
UD
55723 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55724
42e08a54
UD
55725 * string/Makefile (strop-tests): Add strcasecmp.
55726 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55727 strcasecmp_l-nonascii.
55728 (gen-as-const-headers): Add locale-defines.sym.
55729 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55730 * sysdeps/x86_64/strcasecmp.S: New file.
55731 * sysdeps/x86_64/strcasecmp_l.S: New file.
55732 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55733 * sysdeps/x86_64/locale-defines.sym: New file.
55734 * string/test-strcasecmp.c: New file.
55735
fe36dd02
UD
55736 * string/test-strcasestr.c: Test both ends of the range of characters.
55737 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55738
48cbc0d6
RM
557392010-07-29 Roland McGrath <roland@redhat.com>
55740
76e6d6bc 55741 [BZ #11856]
48cbc0d6
RM
55742 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55743
880113d9
UD
557442010-07-27 Ulrich Drepper <drepper@redhat.com>
55745
55746 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55747 for ld.so.
55748
deb9cabb
AS
557492010-07-27 Andreas Schwab <schwab@redhat.com>
55750
55751 * manual/memory.texi (Malloc Tunable Parameters): Document
55752 M_PERTURB.
55753
1c7570ff
RM
557542010-07-26 Roland McGrath <roland@redhat.com>
55755
55756 [BZ #11840]
55757 * configure.in (-fgnu89-inline check): Set and substitute
55758 gnu89_inline, not libc_cv_gnu89_inline.
55759 * configure: Regenerated.
55760 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55761
24fb0f88
UD
557622010-07-26 Ulrich Drepper <drepper@redhat.com>
55763
55764 * string/test-strnlen.c: New file.
55765 * string/Makefile (strop-tests): Add strnlen.
55766 * string/tester.c (test_strnlen): Add a few more test cases.
55767 * string/tst-strlen.c: Better error reporting.
55768
55769 * sysdeps/x86_64/strnlen.S: New file.
55770
8e96b93a
UD
557712010-07-24 Ulrich Drepper <drepper@redhat.com>
55772
55773 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55774 lower-latency instructions.
55775
dbc676d4
UD
557762010-07-23 Ulrich Drepper <drepper@redhat.com>
55777
55778 * string/test-strcasestr.c: New file.
55779 * string/test-strstr.c: New file.
55780 * string/Makefile (strop-tests): Add strstr and strcasestr.
55781 * string/str-two-way.h: Don't undefine MAX.
55782 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55783
f6a31e0e
AS
557842010-07-21 Andreas Schwab <schwab@redhat.com>
55785
55786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55787 strcasestr-nonascii.
55788 (CFLAGS-strcasestr-nonascii.c): Define.
55789 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55790 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55791 Remove unused attribute.
55792
5dbc3b6c
RM
557932010-07-20 Roland McGrath <roland@redhat.com>
55794
55795 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55796 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55797 ld.so.cache was broken. With it, there is no way to disable dsocaps
55798 like LD_HWCAP_MASK can disable hwcaps.
55799
23d101d8
EPM
558002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55801
55802 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55803
cc9f2e47
UD
558042010-07-16 Ulrich Drepper <drepper@redhat.com>
55805
55806 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55807 call in strcasestr.
55808 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55809 __strcasestr_sse42_nonascii.
55810 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55811 strcasestr-nonascii.c.
55812 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55813
77c1b069
LM
558142010-06-15 Luis Machado <luisgpm@br.ibm.com>
55815
55816 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55817 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55818 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55819 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55820
440566c3
UD
558212010-07-09 Ulrich Drepper <drepper@redhat.com>
55822
55823 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55824 fcntl.
55825
5be9d05d
AS
558262010-07-06 Andreas Schwab <schwab@redhat.com>
55827
c30b7ee2 55828 [BZ #11577]
5be9d05d
AS
55829 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55830 dl_signal_cerror.
55831
8a492a67
UD
558322010-07-06 Ulrich Drepper <drepper@redhat.com>
55833
55834 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55835 _PC_PIPE_BUF using F_GETPIPE_SZ.
55836
713df3d5
RM
558372010-07-05 Roland McGrath <roland@redhat.com>
55838
55839 * manual/arith.texi (Rounding Functions): Fix rint description
55840 implicit in round description.
55841
702e8f14
UD
558422010-07-02 Ulrich Drepper <drepper@redhat.com>
55843
55844 * elf/Makefile: Fix linking for a few tests to make recent linker
55845 happy.
55846
52ed8be9
AS
558472010-06-30 Andreas Schwab <schwab@redhat.com>
55848
55849 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55850 $(common-objpfx)libc_nonshared.a.
55851
f47c9a11
LM
558522010-06-21 Luis Machado <luisgpm@br.ibm.com>
55853
55854 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55855 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55856 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55857 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55858 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55859 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55860 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55861 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55876 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55877 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55878 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55879 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55880 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55881 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55882 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55883 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55884 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55885 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55886 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55887 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55902
6fb8cbcb
L
559032010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55904
55905 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55906 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55907 * string/memmove.c (memmove): Renamed to ...
55908 (MEMMOVE): ...this. Default to memmove.
55909 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55910 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55911 (END_CHK): Define.
55912 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55913 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55914 mempcpy-ssse3-back memmove-ssse3-back.
55915 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55917 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55918 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55919 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55920 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55921 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55922 * sysdeps/x86_64/multiarch/memmove.c: New file.
55923 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55924 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55925 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55926 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55927 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55928 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55929 Define.
55930 (index_Fast_Copy_Backward): Define.
55931 (HAS_ARCH_FEATURE): Define.
55932 (HAS_FAST_REP_STRING): Define.
55933 (HAS_FAST_COPY_BACKWARD): Define.
55934
4e733bac 559352010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
55936
55937 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55938 Restore proper fallback handling.
55939
63c4ed22
UD
559402010-06-19 Ulrich Drepper <drepper@redhat.com>
55941
ac2b484c
UD
55942 [BZ #11701]
55943 * posix/group_member.c (__group_member): Correct checking loop.
55944
63c4ed22
UD
55945 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55946 OOM in getpwuid_r correctly. Return error number when the caller
55947 should return, otherwise -1.
55948 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55949 call returning > 0 value.
55950 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55951
765ade4b
AS
559522010-06-07 Andreas Schwab <schwab@redhat.com>
55953
55954 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55955 libc_nonshared.a from targets in modules-names.
55956
80da2e09
KS
559572010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55958
55959 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55960 requires it.
55961
158db122
LM
559622010-06-10 Luis Machado <luisgpm@br.ibm.com>
55963
55964 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55965 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55966 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55967 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55968
caa78cf8
AS
559692010-06-02 Andreas Schwab <schwab@redhat.com>
55970
55971 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55972
b2ef2c01
UD
559732010-06-14 Ulrich Drepper <drepper@redhat.com>
55974
55975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55976 and F_GETPIPE_SZ.
55977 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55978 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55979 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55981 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55982 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55983
fbd643b6
RM
559842010-06-14 Roland McGrath <roland@redhat.com>
55985
55986 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55987
f32f2869
JJ
559882010-06-07 Jakub Jelinek <jakub@redhat.com>
55989
55990 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55991 __REDIRECT followed by __THROW.
55992 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55993 * posix/getopt.h (getopt): Likewise.
55994
2a50c078
EPM
559952010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55996
55997 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55998 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55999 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56000 in AT_FLAGS.
56001 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56002 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56003
eb5ad2eb
LM
560042010-05-28 Luis Machado <luisgpm@br.ibm.com>
56005
56006 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56007
3c88fe1e
L
560082010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56009
56010 [BZ #11640]
56011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56012 Properly check family and model.
56013
d2f73151
TY
560142010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56015
56016 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56017
ebd2e13d
LM
560182010-05-24 Luis Machado <luisgpm@br.ibm.com>
56019
56020 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56021
b32b8b45
UD
560222010-05-21 Ulrich Drepper <drepper@redhat.com>
56023
56024 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56025 symbol reference.
56026
9acbe24d
AS
560272010-05-19 Andreas Schwab <schwab@redhat.com>
56028
56029 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56030 symbol reference.
56031
f0ccf6ea
AS
560322010-05-21 Andreas Schwab <schwab@redhat.com>
56033
3d04ff3a
AS
56034 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56035 and internal_recvmmsg.
56036 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56037 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56038 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56039 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56040
f0ccf6ea
AS
56041 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56042 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56043 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56044
5b08ac57
AS
560452010-05-20 Andreas Schwab <schwab@redhat.com>
56046
56047 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56048
4828935d
LM
560492010-05-17 Luis Machado <luisgpm@br.ibm.com>
56050
56051 POWER7 optimizations.
56052 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56053 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56054
373d545e
UD
560552010-05-19 Ulrich Drepper <drepper@redhat.com>
56056
56057 * version.h: Update for 2.13 development version.
56058
21a2b1ae
AS
560592010-05-12 Andrew Stubbs <ams@codesourcery.com>
56060
56061 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56062 exceptions. Return 0.
56063
3f7dcb2b
RM
560642010-05-07 Roland McGrath <roland@redhat.com>
56065
56066 * elf/ldconfig.c (main): Add a const.
56067
5f24d53a 560682010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56069
a160f8d8
UD
56070 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56071 (args_options): Add no-idn option.
56072 (ahosts_keys_int): Add idn_flags to ai_flags.
56073 (parse_option): Handle 'i' option to clear idn_flags.
56074
5f24d53a
UD
56075 * malloc/malloc.c (_int_free): Possible race in the most recently
56076 added check. Only act on the data if no current modification
56077 happened.
265bb1ce
UD
56078
56079See ChangeLog.17 for earlier changes.